File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes SEVERE: Error listenerStart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "SEVERE: Error listenerStart " Watch "SEVERE: Error listenerStart " New topic
Author

SEVERE: Error listenerStart

Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 689


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.


Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Devan Brahma
Ranch Hand

Joined: Jul 07, 2009
Posts: 46

can this be caused by ....missing of any jar files???
me to stuck with this problem....


->R§H<-
Devan Brahma
Ranch Hand

Joined: Jul 07, 2009
Posts: 46

hello nishal...how did you solved that problem??
Pavel Kazlou
Ranch Hand

Joined: Sep 07, 2009
Posts: 33
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

Joined: Jul 07, 2009
Posts: 46

hi pavel,
so that is what i have to do..right??
hmmm...thanks

Devan
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 689

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

Joined: Jul 07, 2009
Posts: 46

hi..nishan,,
thanks for the information

Devan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SEVERE: Error listenerStart