File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat deployement Problem SEVERE: Error listenerStart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat deployement Problem SEVERE: Error listenerStart" Watch "Tomcat deployement Problem SEVERE: Error listenerStart" New topic
Author

Tomcat deployement Problem SEVERE: Error listenerStart

Satyajit Bhadange
Ranch Hand

Joined: May 13, 2010
Posts: 104
hi,

I am deplyoying application on tomcat 5.5 from eclipse.But it is not getting deployed.Ii is giving me error like


following is the server log



PLease help.


Thanks
user101
Problems And Solutions - Algorithms
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

how are you building/deploying the application?
It looks like (as is stated in the stack trace) that some of the classes that you are trying to deploy have compilation problems.
You need to fix these before the application will run.
Satyajit Bhadange
Ranch Hand

Joined: May 13, 2010
Posts: 104
there are no compilation error while creating jar.

and also i am deploying those jar's manually.

so what might be the problem ?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I'd delete the existing jar's in Tomcat, clean and rebuild the project in Eclipse, then manually deploy and see if it makes a difference.
Satyajit Bhadange
Ranch Hand

Joined: May 13, 2010
Posts: 104
I tried what you have said.but still no difference.

It gives me same error
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

1) do you have any code deployed to the jre/lib/ext directory for your java version?
2) do you have any custom jars added to the tomcat/common/lib (or equivalent for your Tomcat version)
3) what version of the JDK are you using to compile your code?
4) what version of the JRE are you using to run Tomcat?
Satyajit Bhadange
Ranch Hand

Joined: May 13, 2010
Posts: 104
One thing whic i am not getting here is.

My Web.xml is reading my ApplicationContextListener.why while reading that file it is not looking all jar's from lib folder of web-inf.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

It should be, which is why you should have deleted the WEB-INF/lib and WEB-INF/classes directories and created from freshly compiled code.
 
 
subject: Tomcat deployement Problem SEVERE: Error listenerStart