2011/10/26 Roland Schmitt <[email protected]>:
> I have configure the tomcat webroot outside of the tomcat directory.
> But then the tomcat managment application isn't accessible any more.
> I have then tried to create an subcontext /manager which should allow access
> to the manager application. But localhost/manager doesn't show any content.
>
> How can i configure an subcontext just for accessing the manager application?
>
> I have configured two contextes under:
> Tomcat7\conf\catalina\localhost
>
> ROOT.XML:
> <Context path="" docBase="D:/webroot/" cookies="false" reloadable="false"
> allowLinking="false" caseSensitive="true" unpackWAR="false" useNaming="false">
> </Context>
>
> manager.xml
> <Context path="/manager" docBase="D:\Programs\Tomcat 7\webapps\manager">
> </Context>
1. You cannot use path attribute in *.xml context files.
2. Manager webapp needs to be privileged.
<?xml version="1.0" encoding="UTF-8"?>
<Context docBase="${catalina.home}\webapps\manager"
antiResourceLocking="false" privileged="true">
</Context>
You may want to add a <Valve
className="org.apache.catalina.valves.RemoteAddrValve" ... /> inside
the <Context> tag.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]