Hi,

>I'm having problems with auto-reloading of WAR files by the tomcat
server.
>I created a small "hello world" demo application, and before I convert
it
>into .WAR format, I can change it in any way, and the server reloads
it.
>Once I convert it to .war format, the server loads it once, and doesn't
>reload it when I change the file.

When you change the WAR file?  If it's unpacked, the server won't
reload.  So use packed WARs or the manager webapp to do your redeploys.

>I have added into server.xml:
>
> <DefaultContext reloadable="true"/>
>
>underneath <Service name="Catalina">
>
>Also, I have added "reloadable="true" to the applications context
>descriptor.

If you have it in your application's context descriptor take it out of
DefaultContext.

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]

Reply via email to