RE: changing class file and reloading question

2003-08-20 Thread Shapira, Yoav

Howdy,
Someone already answered your main question, but...

>It wouldn't be so bad to do that if it wasn't for the fact that
>tomcat takes ages to read my servlet every time it's restarted.

You might want to find out why tomcat is taking ages to read your
servlet -- that shouldn't be the case and I haven't run across this
behavior before.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: changing class file and reloading question

2003-08-19 Thread Paul Sundling
You can reload using the manager app (the link is on the start page when 
you first start tomcat).  You can also use an ant target.  You can 
reload a single webapp, which is probably the better way of doing it.  
Here's an example target from a build.xml that takes an arguement:



 
   http://127.0.0.1:8080/manager/reload?path=/${app.name}";
   dest="status.txt"
   username="yourtomcataccount"
   password="yourtomcatpassword" />
   
   ${catalina.reload}
   
 

Luke Vanderfluit wrote:

Hi,

I'm running tomcat 4.1.27 standalone on Redhat 9

I have a class that I'm changing (development) and don't want to have to
restart tomcat each time I make a change.
It wouldn't be so bad to do that if it wasn't for the fact that
tomcat takes ages to read my servlet every time it's restarted.
I have got the following entry in my server.xml file

#

   

   
   
#
The class I'm changing is in the ROOT/WEB-INF/classes directory

the console message when I hit 'reload' on the browser is:

WebappClassLoader:   Resource '/WEB-INF/classes/Topic3x4.class' was
modified; Date is now: Wed Aug 20 05:53:59 CST 2003 Was: Wed Aug 20
05:44:04 CST 2003
How do I get tomcat to indeed reload the classes without having to
restart each time?
Thanks,
kind regards,
 



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


changing class file and reloading question

2003-08-19 Thread Luke Vanderfluit
Hi,

I'm running tomcat 4.1.27 standalone on Redhat 9

I have a class that I'm changing (development) and don't want to have to
restart tomcat each time I make a change.

It wouldn't be so bad to do that if it wasn't for the fact that
tomcat takes ages to read my servlet every time it's restarted.

I have got the following entry in my server.xml file

#






#

The class I'm changing is in the ROOT/WEB-INF/classes directory

the console message when I hit 'reload' on the browser is:

WebappClassLoader:   Resource '/WEB-INF/classes/Topic3x4.class' was
modified; Date is now: Wed Aug 20 05:53:59 CST 2003 Was: Wed Aug 20
05:44:04 CST 2003

How do I get tomcat to indeed reload the classes without having to
restart each time?

Thanks,
kind regards,
-- 

"when my computer smiles, I'm happy"

Luke Vanderfluit 
Mobile: 0421 276 282


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