Johnny Kewl wrote:


----- Original Message ----- From: "Mark Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Friday, May 30, 2008 4:21 PM
Subject: Re: tomcat 6 does not reflect the change in class



Johnny Kewl wrote:


----- Original Message ----- From: "sur_1805" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Friday, May 30, 2008 7:43 AM
Subject: tomcat 6 does not reflect the change in class



i am using tomcat 6 when i make some changes in class and put the class in server then changes not show in page i have to restart tomcat to show the
change.
Please give some solution so i dont need to restart tomcat after every
change?

You cant, its the nature of Java not Tomcat.
You have to write code to do it.
Read up on custom class loaders.

Ur no. Tomcat does this out of the box by detecting the change and reloading the webapp. No need to restart Tomcat at all.

Ok, read it as the op didnt want to interrupt TC operation at all.
Lose cookies etc. Ok sorry.

With some recent bug fixes (in trunk - not yet all in 6.0.x) Tomcat should correctly handle requests that occur during the reload (pause them until the reload is finished then handle them). Combine this with persistent sessions and context reload should be pretty much invisible to the clients now.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to