• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error listenerStart

 
bror jonsson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
bror jonsson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found the solution, thanks for the pointer.

have to use org.springframwork.web.context.ContextLoaderServlet instead of a listener on some webcontainers...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic