JBoss Community

Multiple instances of JBoss AS7 on the same machine

new comment by Johannes Koch View all comments on this document

I think I don't quite understand approach #2: I cloned my existing JBoss AS installation directory and kept everything as it was, except for the file system paths and the port-offset parameter of the socket-binding-group. But when I try to start the second instance, the console output is "ERROR: transport error 202: bind failed: The address is already in use". Is there a part of approach #1 that I need to include in following approach #2?

 

The reason I went with approach #2 to begin with is that I want both instances to be reachable from the Internet, so I figured I'd have to bind them both to <any-address>. Or to the host's external IP address? Or am I completely missing something here?