Hello all
i am trying to start several servers and have defined my own jboss-bindings.xml that's read at startup. both servers have distinct ports for WebService, RmiPort, etc. The first server starts up fine, the second throws a bunch of BindExceptions and specifically mentions port conflicts such as:
10:18:55,970 ERROR [WebService] Starting failed
java.net.BindException: Address already in use: JVM_Bind
....
10:18:55,980 INFO [NamingService] Starting jnp server
10:18:56,041 ERROR [NamingService] Starting failed
java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
All of these ports are actually unique according to my service-bindings.xml. what am i doing wrong?
thanks a lot
james
Hi james,
obviously, both servers try to use the same ports. e.g. namingService of server1 listens on port 1098 and server2 tries the same und you get those "JVM_BIND" errors.
So check your configurations or post your configurations.