tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Robert <prob...@os.ca>
Subject Help with VirtualHost and multiple webapps
Date Fri, 17 Jan 2003 18:27:19 GMT
Hi list,

I'm trying to deploy multiple webapps inside one virtual host with the WARP
connector (mod_webapp, Tomcat 4.06, Apache 1.3.27, OS X 10.2.3 Server).

I have one directory (outside Tomcat's tree) with 3 apps:

- ROOT
- mobile
- utilitaires

The only app I can reach is ROOT, I get 404's (from Tomcat) for the two
other apps.  I don't see errors in the application's log, and catalina.out
displays 'WarpEngine[Apache]: Mapping request' at every access I try.  So it
looks line a URL mapping problem but I don't see why.

Apache's conf:

---------------
<IfModule mod_webapp.c>
        WebAppConnection tomcat_warp warp localhost:8008
</IfModule>

WebAppDeploy mobile tomcat_warp /mobile
WebAppDeploy ROOT tomcat_warp /
WebAppDeploy utilitaires tomcat_warp /utilitaires
Alias /mobile "/path/to/webapps/mobile"
Alias /utilitaires "/path/to/webapps/utilitaires"
---------------


Tomcat's conf/server.xml:

---------------
<Host name="jsp.acaiq.com" debug="3"
        appBase="/path/to/webapps"
        unpackWARs="true">

<Context path="" docBase="ROOT" debug="0" />
<Context path="/mobile" docBase="mobile" debug="3" />
<Context path="/utilitaires" docBase="utilitaires" debug="0" />

---------------


Filesystem:

---------------
% ls -l /path/to/webapps

total 0
drwxr-xr-x  3 root  admin  102 Jan 17 08:59 ROOT
drwxr-xr-x  4 root  admin  136 Jan 17 07:46 mobile
drwxr-xr-x  3 root  admin  102 Jan 17 07:50 utilitaires
---------------


Last lines of the log file:

---------------
2003-01-17 09:00:40 StandardContext[/mobile]: Posting standard context
attributes
2003-01-17 09:00:40 StandardWrapper[/mobile:default]: Loading container
servlet default
2003-01-17 09:00:40 StandardWrapper[/mobile:invoker]: Loading container
servlet invoker
2003-01-17 09:00:40 StandardContext[/mobile]: Starting completed
---------------

When I make a request for /mobile, this is the last line in catalina.out.






--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message