We are trying to run multiple instances of JBOSS 4.0.5 on the same machine and 
are running into port conflict issues. 

For configuring multiple instances, we have followed instructions from the foll 
JBOSS documentation : 

http://docs.jboss.org/jbossas/guides/j2eeguide/r2/en/html/ch08.html#ch10.bindingmanager.

We setup two instances by copying the default settings . Changes to the ports 
numbers were made for the second instance in the foll files


<jboss-instance2>conf\jboss-service.xml
<jboss-instance2>\deploy\http-invoker.sar\META-INF\jboss-service.xml 
<jboss-instance2>\deploy\jbossweb-tomcat55.sar\server.xml
<jboss-instance2>\deploy\jms\uil2-service.xml


When we try to run the first instance there are no issues, when we run the 
second instance on the same machine, we get an error "Port 0 already in use" . 

"java.rmi.server.ExportException: Port already in use: 0; nested exception is: 
        java.net.BindException: Address already in use: JVM_Bind
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:243)
        at 
sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178)
        at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
        at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
        at 
sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:180)
        at 
java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
        at 
java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:235)
        at java.rmi.server.UnicastRemoteObject.(UnicastRemoteObject.java:133)
        at java.rmi.server.UnicastRemoteObject.(UnicastRemoteObject.java:119)
......................"


1) How do we rectify this error?

2) Are there any other configuration changes that need to be done to run 
multiple instances of JBOSS ?

thanks,
Sridevi

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128675#4128675

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128675
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to