• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Cached classes in tomcat 4

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
Thanks
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check this thread:
http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=56&t=000208

Just checked it myself... you might have to read the 'original' thread to get the flow of the topic, but trust me, it addresses your question. The 'original' thread is linked in my first post in the thread.
[ February 22, 2002: Message edited by: Mike Curwen ]
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there.

regarding this topic I tried to go link shown above but it seems to be unavailable.

I want to know the answer to this question exactly.

Is there a way to force tomcat to reload classes without having to restart the server?

Thanx and Best Regards
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
 
Wasim Ayoubi
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there

have anybody ever wrote his own WebappLoader "implemented the org.apache.catalina.Loader" before?

what I am trying here to do is to implement my own Loader so that it does not reload all the webapplication again in case of modifying any class file in WEB-INF/classes, because what is the purpose of the className attribute in the Loader tag as descriped on the apache site

Loader

and do anybody believe that I can do it or it is just a fantasy :roll:
do any body also know where can I post this question "APACHE FORUMS" such as an example.

[ June 21, 2005: Message edited by: wasim ayoubi ]

[ June 21, 2005: Message edited by: wasim ayoubi ]
[ June 21, 2005: Message edited by: wasim ayoubi ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by wasim ayoubi:
do any body also know where can I post this question "APACHE FORUMS" such as an example.



Apache uses mailing lists:
http://jakarta.apache.org/site/mail.html

'Writing custom class-loaders' has been disscussed on the tomcat-user mailing list several times before so you may want to search it before asking the question.
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic