Not sure I am in a position to ask for enhancements ;) but the -b
IPAddress feature of JBoss is something we make great use of, and it
makes running multiple instances of JBoss on a single machine very
simple. A similar feature in karaf would be great, so we have a single
point to configure the bind address of all listening sockets.
Regards
Rob
On 22/04/11 08:08, Jean-Baptiste Onofré wrote:
-b is a specific parameter used by JBoss. JBoss populates several args
with that in the jboss-service.xml.
To set the IP address used by the RMI server (in any system), you have
to use the following Java arg:
-Djava.rmi.server.hostname=
If you use 0.0.0.0 it will be bound to all IP address:
-Djava.rmi.server.hostname=0.0.0.0
You can bind to a specific IP address or hostname:
-Djava.rmi.server.hostname=xxx.xxx.xxx.xxx
You have to set that in the karaf startup script.
You have the detail of the RMI properties here:
http://download.oracle.com/javase/1.4.2/docs/guide/rmi/javarmiproperties.html
Regards
JB