You can do it with the RMI environment variable java.rmi.server.hostname. 

Check out the rmi spec for details:
http://www.javasoft.com/products/jdk/1.2/docs/guide/rmi/spec/rmi-properties.
doc1.html#4746

-gabe

-----Original Message-----
From: Bruno Dumant [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 1:16 AM
To: Jean-Claude MEILLAND
Cc: [EMAIL PROTECTED]
Subject: Re: [Fwd: RMI Registry]




I don't know how to do that with rmiregistry, but you can do it easily with
the registry
provided by Jeremie, using the -Djonathan.tcpip.localhost=<YOUR PREFERED IP
ADDRESS> option
on the command line.

Bruno

Alexandre Lefebvre wrote:

> Hi,
>
> I have a computer with multiple network interfaces (2 network cards) and
therefore 2 IP.
> How can I specify the java tool rmiregistry which IP to use.
>
> I use EJB with JONAS.
>
> Thanxs for your help.
>
> Jec
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to