aspose file tools*
The moose likes Tomcat and the fly likes Error listenerStart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error listenerStart" Watch "Error listenerStart" New topic
Author

Error listenerStart

bror jonsson
Greenhorn

Joined: Jun 01, 2005
Posts: 3
Hi everybody!

I have a huge problem. Have an webapplication up and running on jboss4.0.1 and are now trying to migrate it to tomcat 5.5.9.
At the startup I get the error listed in the subjet row, below is the hole printout.

Would be very greatful if someone know what could be the cause and guide me in the right direction, thanks.

/Bror

2005-jun-01 18:09:44 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
2005-jun-01 18:09:44 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 801 ms
2005-jun-01 18:09:44 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2005-jun-01 18:09:44 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
2005-jun-01 18:09:44 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2005-jun-01 18:09:44 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive buysell.war
2005-jun-01 18:09:47 org.apache.catalina.core.StandardContext start
ALLVARLIG: Error listenerStart
2005-jun-01 18:09:47 org.apache.catalina.core.StandardContext start
ALLVARLIG: Context [/buysell] startup failed due to previous errors
2005-jun-01 18:09:48 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2005-jun-01 18:09:48 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
2005-jun-01 18:09:48 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/40 config=null
2005-jun-01 18:09:48 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
2005-jun-01 18:09:48 org.apache.catalina.startup.Catalina start
INFO: Server startup in 4336 ms
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

It looks like you have a Servlet Listener of some sort defined in your web.xml that isn't working with Tomcat for whatever reason.


GenRocket - Experts at Building Test Data
bror jonsson
Greenhorn

Joined: Jun 01, 2005
Posts: 3
Yes Im using
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>

I have developed with springframwork.
Why would this be a problem?
bror jonsson
Greenhorn

Joined: Jun 01, 2005
Posts: 3
I found the solution, thanks for the pointer.

have to use org.springframwork.web.context.ContextLoaderServlet instead of a listener on some webcontainers...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error listenerStart