Hi.
Try something like this in your context.xml
<Context path="/webapp" docBase="webapp" debug="99" reloadable="true" antiJARLocking="true" antiResourceLocking="false">

I've had similar problems with Tomcat 5.5.x on Linux but the above line works.

HTH,  Sergey.

Ritchie Gillam пишет:

1)I have created the WAR file on Windows and deployed to Solaris but I also 
tried using the Tomcat Manager GUI without any luck.  It is interesting to note 
that when I FTP the WAR file over from the Windows box,  both the app directory 
and the new WAR file disappear.  If I FTP the WAR a second time it seems to 
deploy fine.

2) The system clocks ARE in sync.

3) The file attributes are OK
4) If I touch the war file it seems to blow up the application that is running.

Thanks,



Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
Fax: (902) 490-6583

[EMAIL PROTECTED] 09/13/05 10:31 am >>>
Do you create the WAR file on Windows and deploy to Solaris?
Have you checked that the system clocks are in sync?
Have you checked that the file attributes are ok on Solaris?
Have you tried to "touch" the war file?

Olena Mitovska wrote:
Hi,

We have Tomcat 5.5.7 installed on Solaris 9 and the autoDeploy option doesn't work. We have to restart the server every time we redeploy the application so that changes will be seen, and it is unacceptable for us since it is a production server.
Here is the excerpt from our server.xml where we enabled autoDeploy option.

- <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true" 
xmlNamespaceAware="false" xmlValidation="false">

and for every application  the Context element have attribute  
reloadable="true".

The same settings work fine in windows environment so we tend to think it is 
specific Unix problem. Can you, please ,advise, how we can redeploy application 
without having to restart the server every time.

Olena


---------------------------------------------------------------------
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]


---------------------------------------------------------------------
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