This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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: 17257

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Cached classes in tomcat 4
It's not a secret anymore!