At 04:56 PM 8/15/01 -0500, you wrote:
>Thanks, man.
>
>Does setting "reloadable=true" affect performance much?
>
>-----Original Message-----
>From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 15, 2001 4:57 PM
>To: [EMAIL PROTECTED]
>Subject: RE: auto-reload classes
>
>
>set the reloadable="true" in you server.xml or other main xml files (in the
>webapp config). Reloading is only possible for servlets btw, so not classes
>used by servlets.
Yep, Martin is right.
It takes the fun right out of reloadable=true, don't you think so?
When you put objects in your servletcontext or in a session you will also
have to restart Tomcat because of nullpointerexceptions...
(Do you guys also have a restart-tomcat-batchfile?)
Okay, my advise would be: Do not rely on reloadable is true if your
servlets do anything more than pitting out a straitforward response.
Good luck,
Erwin
>
>Mvgr,
>Martin
>
>> -----Original Message-----
>> From: Mills, Theo [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, August 15, 2001 11:50 PM
>> To: '[EMAIL PROTECTED]'
>> Subject: auto-reload classes
>>
>>
>> Where is the option to toggle the auto-reload classes capability? In other
>> words, i make a change to a class in my WEB-INF/classes directory. Don't I
>> normally need to restart tomcat? Is there an option that avoids a restart?
>>
>> -Theo
>>
>
>