You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by xa...@iname.com on 2001/02/13 11:57:48 UTC

BindException starting Tomcat the second time

Hello,

I am trying the example "configuring for same machine mulitple tomcat JVMs" from the user guide. (jakarta 3.2 on a NT machine)

First, there is something that I don't understand : Do I need to write the 2 lines
ApJServMount /joe apjv12://localhost:8007/joe
ApJServMount /bill apjv12://localhost:8007/bill
(I thing I don't because the file is automatically generated and erased when starting tomcat, but it is not clear to me).

Then, I did everything in m files server_joe.xml and ser_bill.xml

When I start: bin\startup -f conf\server_joe.xml
T have

2001-02-13 11:26:55 - ContextManager: Adding context Ctx( /joe )
2001-02-13 11:26:55 - ContextManager: Adding context Ctx( /bill )
Starting tomcat. Check logs/tomcat.log for error messages
2001-02-13 11:26:56 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
2001-02-13 11:26:56 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007


When I start: bin\startup -f conf\server_bill.xml
I have:
2001-02-13 11:27:55 - ContextManager: Adding context Ctx( /joe )
2001-02-13 11:27:55 - ContextManager: Adding context Ctx( /bill )
Starting tomcat. Check logs/tomcat.log for error messages
2001-02-13 11:27:56 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
2001-02-13 11:27:56 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8009

and I have the error address in use : JVM bind and this JVM exists.

Any idea ?

Thanks,
Xavier Marjou

PS: I also find strange that both processes have the 2 context manager "/joe" and "/bill"







---------------------------------------------------
Get free personalized email at http://www.iname.com