• 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

SEVERE: Error listenerStart

 
Ranch Hand
Posts: 689
Scala Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hello every one,

I am using Tomcat 5.0 with Spring, Log4j, Jsp and Servlet. But when I tried to start my server I found problem SEVERE: Error listenerStart ..

Please help me... ASAP.

 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This could be anything - basically it's just the Spring container saying it couldn't start. You'll need to look through the Tomcat logs to find the cause.

 
Ranch Hand
Posts: 46
Hibernate Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can this be caused by ....missing of any jar files???
me to stuck with this problem....
 
Devan Brahma
Ranch Hand
Posts: 46
Hibernate Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello nishal...how did you solved that problem??
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A very frequent problem.
As Nathan Pruett has already mentioned, it is because of Spring container launching as listener (specified in web.xml) cannot be started.
To know the exact reason of this failure you have to look through spring logs. As spring uses commons-logging (not log4j) as its default you have to tell him to use log4j.
This can be done by creating file commons-logging.properties on the classpath and entering there the following line:

After that don't forget to specify the logging level for spring in your log4j.properties:
 
Devan Brahma
Ranch Hand
Posts: 46
Hibernate Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi pavel,
so that is what i have to do..right??
hmmm...thanks

Devan
 
Nishan Patel
Ranch Hand
Posts: 689
Scala Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Devan,

we have problem because of Jar version. In our development environment one developer use higher version jar and at the same thing when we are configure to out system it shows error. So, just change and make Jar version same, JDK same , tomcat same solve the problem.
 
Devan Brahma
Ranch Hand
Posts: 46
Hibernate Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi..nishan,,
thanks for the information

Devan
 
reply
    Bookmark Topic Watch Topic
  • New Topic