Can someone please attempt to answer this question. Can JBoss be bound to a single IP, permitting multiple instances in a machine with multiple IP addresses.
I would like to be able to run multiple instances of JBoss in testing and production easily, binding each to a different IP address. Apache httpd, Tomcat and MySQL all support this, and last I checked awhile back JBoss did not (3.0.6). Does JBoss support it in 3.2.3 now?
If JBoss does not support it, can people describe work arounds. If virtual hosting is a work around, how do you manage physical independence of the ear from the deployment environment... in other words, permit it to be bound to any domain without changing deployment descriptors inside the ear. I currently enjoy having EARs that can simply be dropped in the deployment, testing or production instances without internal modification. Binding to IP would continue this capability, as well as immune one domain's application life-cycle to another's (i.e., downtime).
I found the answer on this thread:
where you can specify the host ip with the syntax:
./run.sh --host=<host ip>
to get a list of options.
I haven't tried on Windows yet, but am hoping it will work the same.
I confirmed that it works in Windows under 3.2.3. Run.bat supports both the -h (help) and the --host options.
I noticed though that the JVM is still listening to all IP addresses on ports 1162, 4703 and 4704. Does anyone know what services are listening on these ports?