Hi,
Maybe this can help:
In Tomcat 5.5, the file context.xml in the server's conf directory
allows for watched resources, which when touched, cause an application
reload:
It looks like this:
<!-- The contents of this file will be loaded for each web application
-->
<Context>
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<WatchedResource>META-INF/context.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat
restarts -->
<!--
<Manager pathname="" />
-->
</Context>
I am trying to not include the manager application in a production
system because of the additional security risk.
Regards,
Bernard
On Thu, 17 Mar 2005 11:02:57 +0100, you wrote:
>Hi,
>
>To reload, start, stop, deploy, undeploy contexts see the Manager :
>http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html
>
>I don't know your tomcat version, but it works since TC 4.
>
>Cheers.
>
>On Thu, 17 Mar 2005 08:32:54 +0100
>Roland Carlsson <[EMAIL PROTECTED]> wrote:
>
>> Hi!
>>
>> I have a problem with an webapp with deploying webapps. The problem is the
>> contextfile that since my development environment differs a little to my
>> deployment environment have to be edited a little after deployment. But how
>> do I force tomcat to re-load the context? Right now the only way I know
>> about is to reboot tomcat witch leads to a full stop of all my web-apps
>> instead of only one witch in turn leads to more complaints from my users.
>>
>> So, is there a way to force reload of the context when reloading the
>> web-app?
>>
>> Thanks in advance
>> Roland Carlsson
>>
>>
>> ---------------------------------------------------------------------
>> 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]