-
1. Re: Bind to specific IP
erik777 Jan 30, 2004 5:08 PM (in response to wpfeiffe)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). -
2. Re: Bind to specific IP
erik777 Jan 30, 2004 7:40 PM (in response to wpfeiffe)I found the answer on this thread:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=41532
where you can specify the host ip with the syntax:
./run.sh --host=<host ip>
or
./run.sh -h
to get a list of options.
I haven't tried on Windows yet, but am hoping it will work the same.
Erik
OpenStandards.net -
3. Re: Bind to specific IP
erik777 Jan 30, 2004 8:13 PM (in response to wpfeiffe)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?