This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Cached classes in tomcat 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Cached classes in tomcat 4" Watch "Cached classes in tomcat 4" New topic

Cached classes in tomcat 4

Gordon Jenkinson

Joined: Feb 03, 2002
Posts: 14
I'm using Tomcat 4.0 and when I update my class files I have to restart the server before they are active. My JSPs are fine as they are recomplied whenever they are changed.
Is there a way to force tomcat to reload classes without having to restart the server?

Gordon Jenkinson
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15958

There's an apache/tomcat forum on the JavaRanch where you'll find a more concentrated pool of expertise for that kind of question.
I think there's a way, but I haven't studied it - there are just too many pitfalls. Especially since the startup/shutdown cycle for Tomcat is fairly brief.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Cached classes in tomcat 4
Similar Threads
Compilation exeption
Cached classes in tomcat 4
Loading .jar files
Tomcat restart for changes
Any cache at Tomcat?