Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

URL Mapping Question

Varley, Roger

2004-04-23


Hi

I have Tomcat 4.4.18 running behind Microsofts IIS web server. In IIS I have two virtual directories defined InboundA and InboundB both of which are mapped to the same physical directory $TOMCAT_HOME/webapps/Inbound.

In workers2.properties I have added the lines ...
[uri:/InboundA/*]
context=/Inbound
[uri:/InboundB/*]
context=/Inbound

and I have added the context Inbound to the server.xml in $TOMCAT/conf

After restarting IIS and Tomcat, the Tomcat manger application sees the Inbound context loaded and I can run the servlets contained in the context by accessing Tomcat directly via port 8080 (http://<hostname>:8080/Inbound/<servletname>, however when I use the browser to access http://<hostname>/InboundA/<servletname> or InboundB I get a 404 response from IIS rather than a response from Tomcat which implies that the forwarding is not taking place.

What am I missing?

Regards
Roger


__________________________________________________________________________
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive this
e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender
does not warrant that this transmission is virus-free and will not be
liable for any damages resulting from any virus transmitted.
__________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.