Those sound like they would be used for ajp12 or 13 port 
numbers.  Are you sure the http connector isn't still enabled 
on both server.xml files for port 8080?  I'd be happy to glance 
at the two files if you like.

Best Regards,

Jason Koeninger
J&J Computer Consulting
http://www.jjcc.com

On Wed, 25 Jul 2001 13:52:21 -0700, Abhijat Thakur wrote:

>Hi,
>
>i am actually using different ports. 8007(server1.xml) and
>8009(server2.xml). but i still get the error message.
>
>thanks
>
>
>-----Original Message-----
>From: Jason Koeninger [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, July 25, 2001 1:37 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Multiple Instances of Tomcat
>
>
>The http, ajp12, and/or ajp13 services can't bind to the same port on
>the same IP address.  You need to modify server.xml to put things
>on different ports or different IP addresses.
>
>Best Regards,
>
>Jason Koeninger
>J&J Computer Consulting
>http://www.jjcc.com
>
>On Wed, 25 Jul 2001 13:46:29 -0700, Abhijat Thakur wrote:
>
>>
>>Hi,
>>
>>I am trying to run multiple instances of Tomcat. The documentation tells me
>>that i have to have two server.xml files and have to start Tomca with
>>bin/startup.sh -f /conf/server1.xml and bin/startup.sh -f
>/conf/server2.xml.
>>Depending on the tomcat instance to which a servlet in a particular
>>application has to be directed the context for that application has to be
>>defined in that particular server.xml file.
>>
>>Now when i start my tomcat and try and start my second instnace of tomcat i
>>get an error. However the port on which i am starting the second tomcat
>>instance is free.
>>
>>FATAL:java.net.BindException: Address already in use
>>java.net.BindException: Address already in use
>>        at java.net.PlainSocketImpl.socketBind(Native Method)
>>        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
>>        at java.net.ServerSocket.<init>(ServerSocket.java:170)
>>        at java.net.ServerSocket.<init>(ServerSocket.java:121)
>>        at
>>org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServer
>S
>>ocketFactory.java:97)
>>        at
>>org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.jav
>a
>>:239)
>>        at
>>org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
>>        at
>>org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>>        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>>        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>>
>>
>>Any advice is highly appreciated.
>>
>>Abhijat Thakur
>>
>
>
>


Reply via email to