Tom,

I agree with Wendy.  I play around on Tomcat 5.0.28, Struts (1.1 and 1.2.4),
Eclipse v3.0 (now 3.0.1 as of last night).  I use the Sysdeo tomcat plug-In
and have to make the application reload (a simple menu option) to see any
resource changes like the properties file.  I could make it restart all of
Tomcat but there is no need.  I'm sure your Eclipse plug-in has something
similar for per-application restarting versus full-tomcat restarting.

Fyi... For my plug-In in Eclipse, in the Java perspective, I right click on
my project, go to "Tomcat project" and choose the menu option "reload this
context" to force Tomcat to reload ONLY my webapp.  Using the buttons the
Sysdeo plug-In puts on the menu bar, that would restart the whole Tomcat
server, which I don't want to do.  The sysdeo plugIn is available at:
http://www.sysdeo.com/eclipse/tomcatPlugin.html

Regards,
David

-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 7:19 PM
To: Struts Users Mailing List
Subject: Re: a re-deploy does not refresh ApplicationResources in Apache


From: <[EMAIL PROTECTED]>
> if I change the ApplicationResources.properties file then redeploy it to
> tomcat, my struts web app does not see
> the change.  I need to stop/start tomcat to see a change in the properties
> file.
> My question, is there a struts or tomcat configuration value that will
make
> the properties file active without recycling tomcat?

(Apache 5.0.27?  I assume you mean Tomcat, which is an Apache project by way
of Jakarta.)

I hesitate to say for sure because I'm not on Tomcat 5 or Eclipse.  But...
you shouldn't have to restart Tomcat entirely, just the individual webapp.
I do it with Ant targets, first 'install' then 'reload'.

If that's one of the files that gets read once when the webapp starts up,
the only way to get it to be read again is to reload (or stop and start) the
webapp (context).

--
Wendy Smoak


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


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

Reply via email to