jQuery in Action, 3rd edition
The moose likes Tomcat and the fly likes Tomcat Class unloading/classnotfound  problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Class unloading/classnotfound  problem" Watch "Tomcat Class unloading/classnotfound  problem" New topic

Tomcat Class unloading/classnotfound problem

Arvind Subramanian
Ranch Hand

Joined: Jul 25, 2008
Posts: 84
Recently in our web application deployed in tomcat, some weird problem is raising very frequently.
Some of the servlet or class in that web app are getting unloaded. So when the request comes it is sending 404 status or class-not-found exception.
So what we do is reload the context/application from the tomcat manager and then it will work fine.

Searched lot but cant able to find solution to this unloading or classnotfound problem.
Can anyone suggest me why this is happening.

"Many of lifes failure are people who did not realize how close they were to success when they gave up."
-Thomas Edison
Arvind Subramanian
Ranch Hand

Joined: Jul 25, 2008
Posts: 84
sorry to say wrongly, its not classnotfound exception . It is NoClassDefFoundError

I agree. Here's the link: http://aspose.com/file-tools
subject: Tomcat Class unloading/classnotfound problem
It's not a secret anymore!