Re: Is it posible to Start and Stop a single web application on local server without using the Manager application
The problem you are experiencing is caused by mod_webapp's configuration peculiarities, not by any deficiency in Tomcat or the Tomcat Manager app. Since mod_webapp is no longer actively developed, my guess is you will have to develop a workaround on your own if it is causing you problems. I suggest contacting Tomcat directly on port 8080 as the workaround. John On Mon, 14 Jul 2003 21:47:03 +0200, Ove Heimark <[EMAIL PROTECTED]> wrote: I don't use mod_webapp. If you are contacting Tomcat's manager on port 8080, Tomcat will behave according to the host header (host name) used in the URL. If there's a web app under that host name and everything else is correct (permissions, etc.) then you can manage the web app. This is not the case, every webapp maps to a different url, these virtual hostnames are defined in the apache httpd.conf file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it posible to Start and Stop a single web application on local server without using the Manager application
Reason #953 why you shouldn't use mod_webapp. My point is simple: if it is a separate web application, and it is working, then it should be accessible via the Tomcat Manager application. There is no reason whatsoever to involve Apache or mod_webapp if doing so is causing you grief. Just talk to Tomcat directly. What URL you need to use to do so, and what other things you have to do to get Tomcat's Manager to understand your virtual host setup are up to you...if the Manager app didn't work with multiple virtual hosts and multiple web applications, there'd be no point in having it, would there? That said, you could even modify your own catalina.sh script to issue the commands as necessary, but asking for the dev team to change catalina.sh as you suggested would probably be met with some resistance, with the answer being "use the manager application to stop and start your web applications, that is why it is there." John On Mon, 14 Jul 2003 21:47:03 +0200, Ove Heimark <[EMAIL PROTECTED]> wrote: I don't use mod_webapp. If you are contacting Tomcat's manager on port 8080, Tomcat will behave according to the host header (host name) used in the URL. If there's a web app under that host name and everything else is correct (permissions, etc.) then you can manage the web app. This is not the case, every webapp maps to a different url, these virtual hostnames are defined in the apache httpd.conf file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Is it posible to Start and Stop a single web application on local server without using the Manager application
>I don't use mod_webapp. If you are contacting Tomcat's manager on port >8080, Tomcat will behave according to the host header (host name) used in >the URL. If there's a web app under that host name and everything else is >correct (permissions, etc.) then you can manage the web app. This is not the case, every webapp maps to a different url, these virtual hostnames are defined in the apache httpd.conf file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it posible to Start and Stop a single web application on local server without using the Manager application
I don't use mod_webapp. If you are contacting Tomcat's manager on port 8080, Tomcat will behave according to the host header (host name) used in the URL. If there's a web app under that host name and everything else is correct (permissions, etc.) then you can manage the web app. John On Mon, 14 Jul 2003 21:34:48 +0200, Ove Heimark <[EMAIL PROTECTED]> wrote: Will I be able to control all the webapps mounted with Apache/mod_web app from this single Manager webapp using Tomcat native http connector on port 8080? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: 14. juli 2003 21:28 To: Tomcat Users List Subject: Re: Is it posible to Start and Stop a single web application on local server without using the Manager application Don't use mod_webapp. Contact the Tomcat Manager on port 8080 (use :8080 in your URL), and avoid Apache entirely. John On Mon, 14 Jul 2003 21:25:35 +0200, Ove Heimark <[EMAIL PROTECTED]> wrote: It would be convenient to be able to control each web application in automatic deployment/update routines from ANT or other shell scripts executing locally. When using Apache webserver and mod_webapp to map virtual hosts to webapps, the usage of the Tomcat Manager application seem to be unsupported? Something like this would be nice: ./catalina stop_app "myapp" ./catalina start_app "myapp" Ove - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - 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] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Is it posible to Start and Stop a single web application on local server without using the Manager application
Will I be able to control all the webapps mounted with Apache/mod_web app from this single Manager webapp using Tomcat native http connector on port 8080? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: 14. juli 2003 21:28 To: Tomcat Users List Subject: Re: Is it posible to Start and Stop a single web application on local server without using the Manager application Don't use mod_webapp. Contact the Tomcat Manager on port 8080 (use :8080 in your URL), and avoid Apache entirely. John On Mon, 14 Jul 2003 21:25:35 +0200, Ove Heimark <[EMAIL PROTECTED]> wrote: > It would be convenient to be able to control each web application in > automatic deployment/update routines from ANT or other shell scripts > executing locally. > > When using Apache webserver and mod_webapp to map virtual hosts to > webapps, > the usage of the Tomcat Manager application seem to be unsupported? > > Something like this would be nice: > > ./catalina stop_app "myapp" > ./catalina start_app "myapp" > > > Ove > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - 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]
Re: Is it posible to Start and Stop a single web application on local server without using the Manager application
Don't use mod_webapp. Contact the Tomcat Manager on port 8080 (use :8080 in your URL), and avoid Apache entirely. John On Mon, 14 Jul 2003 21:25:35 +0200, Ove Heimark <[EMAIL PROTECTED]> wrote: It would be convenient to be able to control each web application in automatic deployment/update routines from ANT or other shell scripts executing locally. When using Apache webserver and mod_webapp to map virtual hosts to webapps, the usage of the Tomcat Manager application seem to be unsupported? Something like this would be nice: ./catalina stop_app "myapp" ./catalina start_app "myapp" Ove - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Is it posible to Start and Stop a single web application on local server without using the Manager application
It would be convenient to be able to control each web application in automatic deployment/update routines from ANT or other shell scripts executing locally. When using Apache webserver and mod_webapp to map virtual hosts to webapps, the usage of the Tomcat Manager application seem to be unsupported? Something like this would be nice: ./catalina stop_app "myapp" ./catalina start_app "myapp" Ove - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]