You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alexander Diedler <ad...@tecracer.de> on 2011/05/05 10:53:46 UTC
HowTo place Manager-App
Hello,
What´s the best place to make access to the manager-app?
1. Place a separate context for Manager in the Host-Tag in the
server.xml
2. Place the manager.xml in the /conf/Catalina/[Hostname]/ path?
Best regards
Alexander
Re: AW: HowTo place Manager-App
Posted by Mark Thomas <ma...@apache.org>.
On 09/05/2011 12:21, Alexander Diedler wrote:
> Hello,
> Ok, so I have to place the context.xml in the conf-Base. But how I can use
> Valves, like Remote Adress filter to grant access to the Manager app only
> from localhost, 127.0.0.1 and IPs inside from corporate network?
As per the docs, Valves can be nested inside Context elements.
Mark
>
> Greetings
> Alexander
>
>
> -----Ursprüngliche Nachricht-----
> Von: Thomas Freitag [mailto:thomas@freit.ag]
> Gesendet: Donnerstag, 5. Mai 2011 15:08
> An: users@tomcat.apache.org
> Betreff: Re: HowTo place Manager-App
>
> Hello Alexander,
>
> On 05/05/2011 10:53 AM, Alexander Diedler wrote:
>> What´s the best place to make access to the manager-app?
>
>> 1. Place a separate context for Manager in the Host-Tag in the
>> server.xml
>
>> 2. Place the manager.xml in the /conf/Catalina/[Hostname]/ path?
>
> Quoting the docs: "For Tomcat 6, unlike Tomcat 4.x, it is NOT recommended to
> place <Context> elements directly in the server.xml file.
> This is because it makes modifying the Context configuration more invasive
> since the main conf/server.xml file cannot be reloaded without restarting
> Tomcat." (see:
> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html)
>
> I'd suggests option 2, even if the quoted argument does not really hold in
> your case...
>
> Regards,
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
AW: HowTo place Manager-App
Posted by Alexander Diedler <ad...@tecracer.de>.
Hello,
Ok, so I have to place the context.xml in the conf-Base. But how I can use
Valves, like Remote Adress filter to grant access to the Manager app only
from localhost, 127.0.0.1 and IPs inside from corporate network?
Greetings
Alexander
-----Ursprüngliche Nachricht-----
Von: Thomas Freitag [mailto:thomas@freit.ag]
Gesendet: Donnerstag, 5. Mai 2011 15:08
An: users@tomcat.apache.org
Betreff: Re: HowTo place Manager-App
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Alexander,
On 05/05/2011 10:53 AM, Alexander Diedler wrote:
> What´s the best place to make access to the manager-app?
>
> 1. Place a separate context for Manager in the Host-Tag in the
> server.xml
>
> 2. Place the manager.xml in the /conf/Catalina/[Hostname]/ path?
Quoting the docs: "For Tomcat 6, unlike Tomcat 4.x, it is NOT recommended to
place <Context> elements directly in the server.xml file.
This is because it makes modifying the Context configuration more invasive
since the main conf/server.xml file cannot be reloaded without restarting
Tomcat." (see:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html)
I'd suggests option 2, even if the quoted argument does not really hold in
your case...
Regards,
- --
Thomas Freitag
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk3CoRgACgkQGE5pHr3PKuW/jgCfabb3+XZVhi3unAyyFyiTWTEg
NMEAn38mIhjuntCcC3Hd3kP6XZtFzjo/
=F8d0
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: HowTo place Manager-App
Posted by Thomas Freitag <th...@freit.ag>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Alexander,
On 05/05/2011 10:53 AM, Alexander Diedler wrote:
> What´s the best place to make access to the manager-app?
>
> 1. Place a separate context for Manager in the Host-Tag in the
> server.xml
>
> 2. Place the manager.xml in the /conf/Catalina/[Hostname]/ path?
Quoting the docs: "For Tomcat 6, unlike Tomcat 4.x, it is NOT
recommended to place <Context> elements directly in the server.xml file.
This is because it makes modifying the Context configuration more
invasive since the main conf/server.xml file cannot be reloaded without
restarting Tomcat." (see:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html)
I'd suggests option 2, even if the quoted argument does not really hold
in your case...
Regards,
- --
Thomas Freitag
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk3CoRgACgkQGE5pHr3PKuW/jgCfabb3+XZVhi3unAyyFyiTWTEg
NMEAn38mIhjuntCcC3Hd3kP6XZtFzjo/
=F8d0
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org