Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Port conflict

Status
Not open for further replies.

ddrillich

Technical User
Jun 11, 2003
546
US
Good Day,

We are trying to run two instances of Tomcat on one server. One of them is invoked via the Intraspect software and the other one is a standalone Tomcat install.

When trying to bring up the Intraspect server we get the following message:

StandardServer.await: create[8010]: java.net.BindException: Address already in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
[16-Jun-06 10:05:17 (Worker #0)]: at java.net.PlainSocketImpl.socketBind(Native Method)
[16-Jun-06 10:05:17 (Worker #0)]: at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
[16-Jun-06 10:05:17 (Worker #0)]: at java.net.ServerSocket.bind(ServerSocket.java:309)
[16-Jun-06 10:05:17 (Worker #0)]: at java.net.ServerSocket.<init>(ServerSocket.java:183)
[16-Jun-06 10:05:17 (Worker #0)]: at org.apache.catalina.core.StandardServer.await(StandardServer.java:509)
[16-Jun-06 10:05:17 (Worker #0)]: at com.intraspect.management.ServletsService.run(ServletsService.java:221)
[16-Jun-06 10:05:17 (Worker #0)]: at org.apache.avalon.util.lang.Worker.run(Worker.java:82)
[16-Jun-06 10:05:17 (ServiceManagerShutdown)]: Server is shutting down.
[16-Jun-06 10:05:17 (ServiceManagerShutdown)]: Server cleanup - started.

Apparently there is a conflict over port 8010. However, the standalone Tomcat instance doesn't refer to this port in its config files.

Any ideas?

Thanks,
Dan
 
You need to have a seperate 'server.xml' config files for each instance of tomcat. Each one of them must have a different Connector port value.

Ex: <Connector port="8080" ... on 1 server
<Connector port="8081" ... on the next server
 
Hi lacou,

The conflict seems to be on port 8010 and not on port 8080. Do I miss something?

Regards,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top