RE: Reloadable Class

2001-12-28 Thread Taylor Cowan

Yes, in Tomcat 4.  You can tell tomcat to reload a web archive.  See the
tomcat doc.

Taylor

-Original Message-
From: ymsha [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 8:06 PM
To: [EMAIL PROTECTED]
Subject: Reloadable Class


I am using struts with Tomcat.  Eachtime I build the formbean or
an action servlet, I should restart the server and then take
the new effect.  It cost me too much time when there are many
pages there.  I wonder whether there is a method to solve this
problem?



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Reloadable Class

2001-12-07 Thread Craig R. McClanahan

Tomcat has a setting to automatically reload the application when classes
are changed.  In addition, you can trigger a restart through the admin app
(Tomcat 3.x) or Manager app (Tomcat 4.x) on the fly.  I tend to use the
latter approach, by keeping a browser window opened on the reload
command and just submit it whenever needed.

Further questions about this should be addressed to the TOMCAT-USER list
instead of here.

Craig


On Thu, 6 Dec 2001, ymsha wrote:

 Date: Thu, 6 Dec 2001 09:06:19 +0800
 From: ymsha [EMAIL PROTECTED]
 Reply-To: Struts Developers List [EMAIL PROTECTED],
  ymsha [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Reloadable Class

 I am using struts with Tomcat.  Eachtime I build the formbean or
 an action servlet, I should restart the server and then take
 the new effect.  It cost me too much time when there are many
 pages there.  I wonder whether there is a method to solve this
 problem?




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Reloadable Class

2001-12-07 Thread Jon Wall

FYI

I believe that the reloadable attribute that he's
referring to will only work for classes under
WEB-INF/lib and WEB-INF/classes...


--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
 Tomcat has a setting to automatically reload the
 application when classes
 are changed.  In addition, you can trigger a restart
 through the admin app
 (Tomcat 3.x) or Manager app (Tomcat 4.x) on the fly.
  I tend to use the
 latter approach, by keeping a browser window opened
 on the reload
 command and just submit it whenever needed.
 
 Further questions about this should be addressed to
 the TOMCAT-USER list
 instead of here.
 
 Craig
 
 
 On Thu, 6 Dec 2001, ymsha wrote:
 
  Date: Thu, 6 Dec 2001 09:06:19 +0800
  From: ymsha [EMAIL PROTECTED]
  Reply-To: Struts Developers List
 [EMAIL PROTECTED],
   ymsha [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Reloadable Class
 
  I am using struts with Tomcat.  Eachtime I build
 the formbean or
  an action servlet, I should restart the server and
 then take
  the new effect.  It cost me too much time when
 there are many
  pages there.  I wonder whether there is a method
 to solve this
  problem?
 
 
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Reloadable Class

2001-12-07 Thread Johan Compagner

 In fact, even if you use the Admin or Manager tool to reload a webapp,
 *only* classes loaded from WEB-INF/lib or WEB-INF/classes are reloaded.
 This is due to limitations of the JDK, not any desires on the part of the
 Tomcat development team.

in jdk1.4 there is hotswap so you can change the class on the fly
Great for IDE's and debugging but i also think webapps could use it also.

johan




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Reloadable Class

2001-12-05 Thread ymsha

I am using struts with Tomcat.  Eachtime I build the formbean or 
an action servlet, I should restart the server and then take
the new effect.  It cost me too much time when there are many 
pages there.  I wonder whether there is a method to solve this 
problem?