AW: HowTo restart VHosts on 6.0.20
This seems not to work. I have copied the original manager.xml from /conf/Catalina/localhost to /conf/Catalina/webapp1/manager.xml 404 -Ursprüngliche Nachricht- Von: CBy-2 [mailto:tom...@byrman.demon.nl] Gesendet: Donnerstag, 14. Januar 2010 11:44 An: users@tomcat.apache.org Betreff: Re: HowTo restart VHosts on 6.0.20 Alexander Diedler wrote: We want to have the possibility, to reload every VHost seperatly by using the MANAGER App in every vhost. What have we to do? You can make the manager web app available by placing an XML fragment file with just the Context element in each Conf/Catalina/[virtual host] directory. Alexander Diedler wrote: 2nd question: How we can secure the manager app in every context only be accessed by special IP ranges? See Remote Host Filter in http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html -- View this message in context: http://old.nabble.com/HowTo-restart-VHosts-on-6.0.20-tp27158947p27159305.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AW: HowTo restart VHosts on 6.0.20
On 14/01/2010 11:13, Alexander Diedler wrote: This seems not to work. I have copied the original manager.xml from /conf/Catalina/localhost to /conf/Catalina/webapp1/manager.xml 404 CBy-2 left out an important detail. You'll need to copy the manager directory (and all the contents) from /webapps to /webappA There are ways to organise this so you only have a single manager directory but just copying it is the quickest solution. Mark -Ursprüngliche Nachricht- Von: CBy-2 [mailto:tom...@byrman.demon.nl] Gesendet: Donnerstag, 14. Januar 2010 11:44 An: users@tomcat.apache.org Betreff: Re: HowTo restart VHosts on 6.0.20 Alexander Diedler wrote: We want to have the possibility, to reload every VHost seperatly by using the MANAGER App in every vhost. What have we to do? You can make the manager web app available by placing an XML fragment file with just the Context element in each Conf/Catalina/[virtual host] directory. Alexander Diedler wrote: 2nd question: How we can secure the manager app in every context only be accessed by special IP ranges? See Remote Host Filter in http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AW: HowTo restart VHosts on 6.0.20
markt-2 wrote: CBy-2 left out an important detail. You'll need to copy the manager directory (and all the contents) from /webapps to /webappA There are ways to organise this so you only have a single manager directory but just copying it is the quickest solution. I didn't mention it, because I always refer to a single manager directory, i.e. the default one, which works fine for me. Perhaps it didn't work for Alexander because he used /manager instead of /manager/html to access it? (All the Tomcat distributions I worked with have this link wrong too: try to click the /manager link in the manager application.) Carsten -- View this message in context: http://old.nabble.com/HowTo-restart-VHosts-on-6.0.20-tp27158947p27160221.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AW: HowTo restart VHosts on 6.0.20
On 14/01/2010 12:00, CBy-2 wrote: markt-2 wrote: CBy-2 left out an important detail. You'll need to copy the manager directory (and all the contents) from /webapps to /webappA There are ways to organise this so you only have a single manager directory but just copying it is the quickest solution. I didn't mention it, because I always refer to a single manager directory, i.e. the default one, which works fine for me. Perhaps it didn't work for Alexander because he used /manager instead of /manager/html to access it? (All the Tomcat distributions I worked with have this link wrong too: try to click the /manager link in the manager application.) That isn't wrong - that is by design. The links on the manager page that lists deployed applications aren't guaranteed to work since there is no guarantee that a webapp will respond to an http GET request of /contextpath. Nearly all do, but the manager is one of the exceptions. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AW: HowTo restart VHosts on 6.0.20
markt-2 wrote: That isn't wrong - that is by design. The links on the manager page that lists deployed applications aren't guaranteed to work since there is no guarantee that a webapp will respond to an http GET request of /contextpath. Nearly all do, but the manager is one of the exceptions. True, but it can be a bit confusing and might be the reason why it didn't work for Alexander. -- View this message in context: http://old.nabble.com/HowTo-restart-VHosts-on-6.0.20-tp27158947p27160432.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
AW: AW: HowTo restart VHosts on 6.0.20
Hmm ok. I copy the complete manager dir from webapps to C:\apps\webapps1 But I seems not to work, 404. Greetings Alexander -Ursprüngliche Nachricht- Von: CBy-2 [mailto:tom...@byrman.demon.nl] Gesendet: Donnerstag, 14. Januar 2010 13:21 An: users@tomcat.apache.org Betreff: Re: AW: HowTo restart VHosts on 6.0.20 markt-2 wrote: That isn't wrong - that is by design. The links on the manager page that lists deployed applications aren't guaranteed to work since there is no guarantee that a webapp will respond to an http GET request of /contextpath. Nearly all do, but the manager is one of the exceptions. True, but it can be a bit confusing and might be the reason why it didn't work for Alexander. -- View this message in context: http://old.nabble.com/HowTo-restart-VHosts-on-6.0.20-tp27158947p27160432.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: AW: HowTo restart VHosts on 6.0.20
From: Alexander Diedler [mailto:adied...@tecracer.de] Subject: AW: AW: HowTo restart VHosts on 6.0.20 I copy the complete manager dir from webapps to C:\apps\webapps1 But I seems not to work, 404. What URL are you using? I'm also suspicious of your directory structure. Please post your server.xml and the location and content of the Context elements for your webapps. I'm wondering if you have a docBase= somewhere, which will lead to all sorts of sometimes subtle problems. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org