I have now managed to get it to work. I have defined two contexts (InboundA and InboundB) in server.xml and specified Inbound as the docBase for both contexts. So, what does the context parameter in workers2.properties actually do?
Regards Roger > > > > -----Original Message----- > > From: Varley, Roger [mailto:[EMAIL PROTECTED] > > Sent: 23 April 2004 13:51 > > To: [EMAIL PROTECTED] > > Subject: URL Mapping Question > > > > > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software <a href="http://www.qas.com">www.qas.com</a> Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- </FONT> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________________________________ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________________________________ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]