Hey Certus,

Future ideas for Karaf are always welcomed :)

I'm not sure if it is enough to set the RMI host to another IP. This
have to be validated first. Though, please feel free to create a JIRA
for this that we can collect the ideas, requirements and experiences
to this topic. TBH I've never made any real use for the -b option of
JBoss (except for -b 0.0.0.0 of cause :)), but I think it's a valid
option and a good idea to include into Karaf.

Kind regards,
Andreas

On Fri, Apr 22, 2011 at 9:56 PM, Certus Technology <[email protected]> wrote:
> 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
>>
>
>

Reply via email to