Discussion:
[openjms-developer] OpenJMS Virtual IP Address problem
Arthur Catherine
2003-12-22 00:44:24 UTC
Permalink
We are using OpenJMS v.0.7.5 on a machine configured to have
a virtual IP Address. Using NetStat we are able to observe that
the client will connect to the JNDI using the virtual IP address to
create 1 queue connection and 1 topic connection. The problem
is, these connections will be created using the real IP address of
the machine and all subsequent client server comms is on the
real address..
Our openjms.xml is configured so the ServerConfiguration host
uses the virtual IP with embeddedJNDI set to true. We are using
an RMI connector that is also embedded and using port 7099.
How do we configure OpenJMS so all comms are using the
virtual IP address?
Thanks in advance,
Catherine.
Tim Anderson
2003-12-22 13:41:11 UTC
Permalink
You may need to use the tcp connector.
See the following thread for examples:
http://sourceforge.net/mailarchive/message.php?msg_id=4347370

Alternatively, try hardcoding the IP addresses in openjms.xml:
<ServerConfiguration host="<virtual IP address>"/>

Regards,

Tim
Arthur Catherine
We are using OpenJMS v.0.7.5 on a machine configured to have
a virtual IP Address. Using NetStat we are able to observe that
the client will connect to the JNDI using the virtual IP address to
create 1 queue connection and 1 topic connection. The problem
is, these connections will be created using the real IP address of
the machine and all subsequent client server comms is on the
real address..
Our openjms.xml is configured so the ServerConfiguration host
uses the virtual IP with embeddedJNDI set to true. We are using
an RMI connector that is also embedded and using port 7099.
How do we configure OpenJMS so all comms are using the
virtual IP address?
Thanks in advance,
Catherine.
Arthur Catherine
2003-12-23 01:00:02 UTC
Permalink
Thanks for your quick response.

I have changed to the TCP connector and everything seems
to be working fine. I used the virtual IP Address for the
ServerConfiguration host and the real IP Address for the
TCPConfiguration internalHost.

Thanks again,

Catherine.
-----Original Message-----
Sent: Tuesday, 23 December 2003 12:41 AM
Subject: RE: [openjms-developer] OpenJMS Virtual IP Address problem
You may need to use the tcp connector.
http://sourceforge.net/mailarchive/message.php?msg_id=4347370
<ServerConfiguration host="<virtual IP address>"/>
Regards,
Tim
Arthur Catherine
We are using OpenJMS v.0.7.5 on a machine configured to have
a virtual IP Address. Using NetStat we are able to observe that
the client will connect to the JNDI using the virtual IP
address to
create 1 queue connection and 1 topic connection. The problem
is, these connections will be created using the real IP address of
the machine and all subsequent client server comms is on the
real address..
Our openjms.xml is configured so the ServerConfiguration host
uses the virtual IP with embeddedJNDI set to true. We are using
an RMI connector that is also embedded and using port 7099.
How do we configure OpenJMS so all comms are using the
virtual IP address?
Thanks in advance,
Catherine.
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign
up for IBM's
Free Linux Tutorials. Learn everything from the bash shell
to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
openjms-developer mailing list
https://lists.sourceforge.net/lists/listinfo/openjms-developer
Loading...