tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Bowen <>
Subject SEVERE: Error listenerStart -- without entering the listener
Date Wed, 06 Aug 2008 15:39:04 GMT
Hi all,

Using: Mac OS X 10.4.5 running Tomcat 5.5.26 -- this is a brand-new  
copy downloaded from Apache & unzipped; no changes.

This project used to work; I'm trying to figure out what got broken.

Symptom:  listenerStart fails without even getting to the first line  
of the AppListener (catalina.out trace below).

 From web.xml:


I've tried swapping the first two lines; neither works anymore.
Both listener classes are present in WEB-INF/classes.

My application context.xml is in META-INF:

<Context path="" debug="5" reloadable="true" crossContext="true">

   <Resource name="jdbc/ct_alerts" auth="Container"  
         maxActive="100" maxIdle="30" maxWait="10000"
	username="xxxxx" password="xxxxx"
	validationQuery="select 1"

I've dropped raw println's at the beginning of the listeners, e.g.:

         public void contextInitialized(ServletContextEvent  

But as you can see from the catalina.out trace below, these are not  
being executed.

To eliminate possible permission problems, I've made the entire app  
tree in webapps
universally read-write-executable (anyway, it's all owned by me and  
tomcat is running
as me -- started both from or from Eclipse).

Any thoughts or pointers about working this out will be greatly  

Here's the startup trace from catalina.out:

Aug 6, 2008 11:07:40 AM org.apache.catalina.core.AprLifecycleListener  
INFO: The Apache Tomcat Native library which allows optimal  
performance in production environments was not found on the  
java.library.path: /System/Library/Frameworks/JavaVM.framework/ 
Aug 6, 2008 11:07:40 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Aug 6, 2008 11:07:40 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 673 ms
Aug 6, 2008 11:07:41 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 6, 2008 11:07:41 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
Aug 6, 2008 11:07:41 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 6, 2008 11:07:41 AM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:  
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string:  
News / Redirect URL:],  
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param  
name: paramName / Target param value: paramValue / Redirect URL: 
], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect  
log4j:WARN No appenders could be found for logger  
log4j:WARN Please initialize the log4j system properly.
Aug 6, 2008 11:07:42 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 6, 2008 11:07:42 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/connectedtrading] startup failed due to previous  
Aug 6, 2008 11:07:42 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message