Re: How to reload library classes?
Yes. Auto-reloading is not recommended for a production server. --jeff - Original Message - From: "Naren Dasu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, April 06, 2001 10:22 AM Subject: RE: How to reload library classes? > Are there any performance implications when you set the 'reloadable' to > true ? Does tomcat check every time a servlet is invoked ? > > naren > > > At 12:05 PM 4/6/01 +1000, Warren Crossing wrote: > >tomcat only reloads classes that are in WEB-INF/lib/ or WEB-INF/classes > >where the reloadable is set to true in web.xml > >the classes cannot be in the classpath look at classloader.html in the src > >tree > > > >documentation ?? anyone can write some! > > > >-Original Message- > >From: Felix A. Milovanov [mailto:[EMAIL PROTECTED]] > >Sent: Friday, 6 April 2001 11:56 AM > >To: [EMAIL PROTECTED] > >Subject: How to reload library classes? > > > > > > Hello all, > > > > I'm a new user in Tomcat and Java and I've found a problem. I compile my > >library classes to some directory ( /usr/classes ) and there is a structire > >like > > > >/usr/classes/com/my/package1 > >/usr/classes/com/my/package2 > > > > I've added /usr/classes to classpath, and it works - my classes could be > >used by my servlets. BUT! If I recompile any class from that library, Tomcat > >does not reloads them and servlets use the previous version of libraries. > > > > Is there any way to say Tomcat to automatically reload that classes? And > >the very common question - where can I get WHOLE documentation on Tomcat? > >I've just found minimalistic guide... > > > > Sincerely, > > Felix. > > >
RE: How to reload library classes?
Are there any performance implications when you set the 'reloadable' to true ? Does tomcat check every time a servlet is invoked ? naren At 12:05 PM 4/6/01 +1000, Warren Crossing wrote: >tomcat only reloads classes that are in WEB-INF/lib/ or WEB-INF/classes >where the reloadable is set to true in web.xml >the classes cannot be in the classpath look at classloader.html in the src >tree > >documentation ?? anyone can write some! > >-Original Message- >From: Felix A. Milovanov [mailto:[EMAIL PROTECTED]] >Sent: Friday, 6 April 2001 11:56 AM >To: [EMAIL PROTECTED] >Subject: How to reload library classes? > > > Hello all, > > I'm a new user in Tomcat and Java and I've found a problem. I compile my >library classes to some directory ( /usr/classes ) and there is a structire >like > >/usr/classes/com/my/package1 >/usr/classes/com/my/package2 > > I've added /usr/classes to classpath, and it works - my classes could be >used by my servlets. BUT! If I recompile any class from that library, Tomcat >does not reloads them and servlets use the previous version of libraries. > > Is there any way to say Tomcat to automatically reload that classes? And >the very common question - where can I get WHOLE documentation on Tomcat? >I've just found minimalistic guide... > > Sincerely, > Felix. >
RE: How to reload library classes?
tomcat only reloads classes that are in WEB-INF/lib/ or WEB-INF/classes where the reloadable is set to true in web.xml the classes cannot be in the classpath look at classloader.html in the src tree documentation ?? anyone can write some! -Original Message- From: Felix A. Milovanov [mailto:[EMAIL PROTECTED]] Sent: Friday, 6 April 2001 11:56 AM To: [EMAIL PROTECTED] Subject: How to reload library classes? Hello all, I'm a new user in Tomcat and Java and I've found a problem. I compile my library classes to some directory ( /usr/classes ) and there is a structire like /usr/classes/com/my/package1 /usr/classes/com/my/package2 I've added /usr/classes to classpath, and it works - my classes could be used by my servlets. BUT! If I recompile any class from that library, Tomcat does not reloads them and servlets use the previous version of libraries. Is there any way to say Tomcat to automatically reload that classes? And the very common question - where can I get WHOLE documentation on Tomcat? I've just found minimalistic guide... Sincerely, Felix.