Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SEVERE: Error listenerStart

 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • 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.

 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • 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.

 
Devan Brahma
Ranch Hand
Posts: 46
Hibernate Java Tomcat Server
  • Mark post as helpful
  • send pies
  • 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 Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello nishal...how did you solved that problem??
 
Pavel Kazlou
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • 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 Java Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • 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 Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..nishan,,
thanks for the information

Devan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic