• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error listenerStart

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic