Re: Reload webapp and context

2005-03-17 Thread Lionel Farbos
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

Re: Reload webapp and context

2005-03-17 Thread QM
On Thu, Mar 17, 2005 at 08:32:54AM +0100, Roland Carlsson wrote: : 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. Perhaps

SV: Reload webapp and context

2005-03-17 Thread Roland Carlsson
Hi and thanks for your answer! Do I read you correctly that there are no solution but to restart Tomcat to reload the context completly? Lionel, the manager doesn't seem to re-read the context file under /conf/Catalina/mydomain/myapp.xml and that is the one I have have to change. Thanks in

Re: SV: Reload webapp and context

2005-03-17 Thread QM
On Thu, Mar 17, 2005 at 02:12:06PM +0100, Roland Carlsson wrote: : Do I read you correctly that there are no solution but to restart Tomcat to : reload the context completly? That's not at all what I said. I can't provide an authoritative answer to that question as I didn't write Tomcat. ;)

Re: SV: Reload webapp and context

2005-03-17 Thread Lionel Farbos
On Thu, 17 Mar 2005 14:12:06 +0100 Roland Carlsson [EMAIL PROTECTED] wrote: Hi and thanks for your answer! Do I read you correctly that there are no solution but to restart Tomcat to reload the context completly? False. Lionel, the manager doesn't seem to re-read the context file under

Re: Reload webapp and context

2005-03-17 Thread Bernard
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

Re: Reload webapp and context

2005-03-17 Thread Bernard
Roland, You might want to add yourself to the cc list of this bug: Normal startup causes server error 500 http://issues.apache.org/bugzilla/show_bug.cgi?id=34050 It might be in the area of your interest. Regards, Bernard On Thu, 17 Mar 2005 11:02:57 +0100, you wrote: Hi, To reload,

Re: Reload webapp and context

2005-03-17 Thread Torrey Rice
I have a similar problem in 5.5 when deploying my .war files. If I go to the manager and undeploy a webapp that was deployed from a war it only deletes the .war file and not the exploded directory. If I want to deploy an update I have to stop tomcat and start it again for it to pickup the

Re: Reload webapp and context

2005-03-17 Thread Bernard
Hi Torrey, I can't comment on .war file deployment directly because I am not using it. But I want to help you anyway, suggesting the approach I would take. I would forget manager for a moment. A basic servlet engine (these things have been around for 10 years or more, remember Sun's Java Server)

Re: Reload webapp and context

2005-03-17 Thread Torrey Rice
Thank you for your suggestions. I will give them a shot. It's even stranger when you set the server to not unpack wars. You might find it interesting so I'll give you a brief description of what I found in my tests to get tomcat to redeploy without a restart. Let's say I have a war called

Reload webapp and context

2005-03-16 Thread Roland Carlsson
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