Apache Tomcat

Apache Tomcat


One or more listeners failed to start

启动时,webapps 里某个 App 加载失败,tomcat 日志 (logs/catalina.out) 里显示 "SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file"

The simple way to identify the problem:

In your WEB-INF/classes directory of the application, make a new file: logging.properties.

Add the following in that file:


Restart tomcat.

Now you'll have the complete stacktrace and debug the problem from there on.

Choose unique values for the 'webAppRootKey' context-param in your web.xml files!




参数“webAppRootKey”的值(上述示例里这个参数值为“webapp.root.one”)对于 tomcat 里部署的每个 App 必须唯一。

Last update: 2018-05-17 09:09:36 UTC