You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kent Tong <ke...@cpttm.org.mo> on 2005/04/16 15:46:24 UTC

Java class is reloaded automatically?

Hi,

I notice that in Tomcat 5.5 changes to my Java class take
effects without reloading the app. The content is not marked
as reloadable. There is no message in the console saying
the app is reloaded. It is like the classloader is loading
the new java class automatically. At the same time I can't 
find any doc describing this behavior. Any idea?

Thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Java class is reloaded automatically?

Posted by Christoph Kutzinski <ku...@gmx.de>.
Hi,

are you debugging Tomcat when this happens? Then this is maybe related 
to class "hotswapping"

Christoph

Kent Tong wrote:

>Hi,
>
>I notice that in Tomcat 5.5 changes to my Java class take
>effects without reloading the app. The content is not marked
>as reloadable. There is no message in the console saying
>the app is reloaded. It is like the classloader is loading
>the new java class automatically. At the same time I can't 
>find any doc describing this behavior. Any idea?
>
>Thanks!
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org