Re: Problem when connect from windows to unix

Tim Anderson <[email protected]> Wed, 11 Apr 2007 08:59:55 +1000
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
The JNDI connection URL is different to the URL used internally by the
connection factories.

You need to ensure that the value for 'host' in
<ServerConfiguration/> [1] is also an

IP address.

By convention, port 1099 is used for RMI communication, so that is the
default

port for the RMI connector [2]. Port 3035 is the default port for the
TCP connector [3].

-Tim

[1]
http://openjms.sourceforge.net/config/reference.html#ServerConfiguration

[2]
http://openjms.sourceforge.net/config/reference.html#RmiConfiguration

[3]
http://openjms.sourceforge.net/config/reference.html#TcpConfiguration

Quang Huynh wrote:

Hi Tim,

Thank you for your reply.
Yes, I'm using the real IP address for the url (such
as tpc://999.999.999.999:3035). On the server, I also
have Tomcat, mySQL, ... which I can connect quickly
from my local winXP.
In openJMS, is there any difference of using between
3035 and 1099 port?

Thanks,

Quang

--- Tim Anderson <[email protected]> wrote:

qhuynh wrote:

Hi Tim,

Thank you for your help.
It's working now. Yeah, the firewall block the

the port.

But it's so slow to connect from window to unix.

It takes about 80 seconds

to connect. Once it's connected, the message will

be sent quickly? Any

suggestion for this?
If everything in the unix box, it connects right

away.

Quang

OpenJMS converts host names to IP addresses - it
could be that the DNS
lookup is taking a long time
to respond. Try replacing host names in openjms.xml
with the real IP
addresses.

-Tim

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user