You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by JV832 <jv...@orange.nl> on 2007/01/19 12:13:52 UTC

Using the manager for multiple hosts

Hi there,

Is it possible to use the manager for differents hosts on one instance 
of Tomcat 5.5? And how can I get this working?

Thanks!

JV

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Using the manager for multiple hosts

Posted by David Delbecq <de...@oma.be>.
I have here manager running with 2 virtual hosts

One host is mapped to webapps/, another one (the default host) is mapped
to webapps-alternate/
I just used a unix symlink from webapps-alternate/manager to
webapps/manager. Now i have manager on both host with a common
installation. However, be aware that those are 2 different web
application. The applications i deploy using manager will deploy on one
or the other host depending on the virtual host referenced. This is
quite pratical in my case because, i need one host to have the
adminapplications and the other one to have the public applications ^^

So accessing http://host1/manager allow me to deploy/manage applications
for host1 and http://host2/manager allow me to deploy/manage
applications for host2 and

En l'instant précis du 01/19/07 12:13, JV832 s'exprimait en ces termes:
> Hi there,
>
> Is it possible to use the manager for differents hosts on one instance
> of Tomcat 5.5? And how can I get this working?
>
> Thanks!
>
> JV
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Using the manager for multiple hosts

Posted by JV832 <jv...@orange.nl>.
Thanks Charles,

I have it running now. Furthermore I found out that using the admin.xml 
I can limit access to the manager to certain ip-addresses.

JV

Caldarale, Charles R wrote:
>> From: JV832 [mailto:jv832@orange.nl] 
>> Subject: Using the manager for multiple hosts
>>
>> Is it possible to use the manager for differents hosts on one 
>> instance of Tomcat 5.5? And how can I get this working?
> 
> The manager app is normally located in server/webapps, not the regular
> webapps directory, and deployed via an .xml file in
> conf/Catalina/localhost.  All you need to do is copy the manager.xml
> from conf/Catalina/localhost to each conf/Catalina/[otherhost]
> directory, and it will be deployed for each such <Host> that you have
> configured.  No symlinks or other copying required.  As David pointed
> out, this gets you one instance of the manager for each <Host>.
> 
>  - 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 start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Using the manager for multiple hosts

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: JV832 [mailto:jv832@orange.nl] 
> Subject: Using the manager for multiple hosts
> 
> Is it possible to use the manager for differents hosts on one 
> instance of Tomcat 5.5? And how can I get this working?

The manager app is normally located in server/webapps, not the regular
webapps directory, and deployed via an .xml file in
conf/Catalina/localhost.  All you need to do is copy the manager.xml
from conf/Catalina/localhost to each conf/Catalina/[otherhost]
directory, and it will be deployed for each such <Host> that you have
configured.  No symlinks or other copying required.  As David pointed
out, this gets you one instance of the manager for each <Host>.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org