We are using all of the following URL formats to access Tomcat.  There
is a singe IP address on the machine, and a single domain name
registered for the IP address.

http://localhost:6000/app6000
http://localhost:7000/app7000
http://machinename.hostname.com:6000/app6000 
http://machinename.hostname.com:7000/app7000


-----Original Message-----
From: Raghupathy,Gurumoorthy
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 19, 2005 7:56 AM
To: 'Tomcat Users List'
Subject: RE: Multiple services in single Tomcat instance

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]


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

Reply via email to