How are you accessing tomcat ? 

http://localhost:7000/
http://localhost:6000/

???

-----Original Message-----
From: Gary Hirschhorn [mailto:[EMAIL PROTECTED] 
Sent: 19 April 2005 15:34
To: tomcat-user@jakarta.apache.org
Subject: Multiple services in single Tomcat instance


We would like to have a single Tomcat instance running as a web server
that allows requests received on one port to go to one context and
requests on another port to go to a second context.  Is there a way to
do this?  We tried putting the following in our server.xml, but requests
meant for the first service (port 6000) were recieved by the second
service (port 7000). Thank you for any help.

    <Service name="RequestsFromPort6000">
      <Connector protocol="HTTP/1.1" port="6000"/>
      <Engine debug="0" defaultHost="localhost" name="Standalone">
        <Host appBase="c:/projects" name="localhost" unpackWARs="false"
autoDeploy="false" deployOnStartup="false">
          <Context docBase="/app6000" path="/app6000"
reloadable="false"/>
        </Host>
      </Engine>
    </Service>  

    <Service name="RequestsFromPort7000">
      <Connector protocol="HTTP/1.1" port="7000"/>
      <Engine debug="0" defaultHost="localhost" name="Standalone">
        <Host appBase="c:/projects" name="localhost" unpackWARs="false"
autoDeploy="false" deployOnStartup="false">
          <Context docBase="/app7000" path="/app7000"
reloadable="false"/>
        </Host>
      </Engine>
    </Service>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to