Dear Tomcat Users!
I'm just trying out mod_webapp but am having trouble deploying the
manager: It only seems to work if the virtual server root is not
deployed, i.e.:
Here, the manager *works*:
WebAppDeploy manager warpConnection /manager
#WebAppDeploy . warpConnection /
WebAppInfo /webapp-info
Here, it does not:
WebAppDeploy manager warpConnection /manager
WebAppDeploy . warpConnection /
WebAppInfo /webapp-info
Any help|hints|suggestions|mad ideas would be much appreciated :-)
thanks!
Christoph
ps: I can see nothing bad in the log files...
SPECIFICATION:
linux debian testing/unstable
tomcat 4.1.18
apache 2.0.44
mod_webapp 1.2.0-dev
APACHE2.CONF:
<VirtualHost *>
ServerName webapp.cdfz.de:80
DocumentRoot /var/www/cdfz/webapps/
ServerAdmin [EMAIL PROTECTED]
WebAppDeploy manager warpConnection /manager
#WebAppDeploy . warpConnection /
WebAppInfo /webapp-info
# This is redundant, since access not allowed by JSP/Servlet
spec
<Location /WEB-INF>
Options None
AllowOverride None
order deny,allow
deny from all
</Location>
# This is not interpreted, when WARP serves from the root
<Directory />
Options None
AllowOverride None
order deny,allow
deny from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
SERVER.XML:
...
<!-- Define an Apache-Connector Service -->
<Service name="Tomcat-Apache">
<Connector
className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true" appBase="webapps"
acceptCount="10" debug="0"/>
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="mod_webapp_" suffix=".log" timestamp="true"/>
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
debug="0" resourceName="UserDatabase"/>
<!--
<Realm className="org.apache.catalina.realm.MemoryRealm" />
-->
<!-- Define the virtual host "tuevalon.de" -->
<Host name="webapp.cdfz.de" debug="0"
appBase="/var/www/cdfz/webapps/archimedes.beta-1"
unpackWARs="false" autoDeploy="true"
className="org.apache.catalina.connector.warp.WarpHost">
<Context path="" docBase="" debug="0" />
<Context path="/manager" debug="0" privileged="true"
docBase="/usr/share/tomcat4/server/webapps/manager" />
<!-- Logger shared by all Contexts related to this virtual host.
-->
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="webapp.cdfz.de_" suffix=".log"
timestamp="true"/>
</Host>
</Engine>
</Service>
...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]