users@glassfish.java.net

Re: Glassfish, VirtualBox, NAT, rich client using EJB, JMS - bad ports

From: <glassfish_at_javadesktop.org>
Date: Sat, 20 Dec 2008 01:52:58 PST

With the JMS broker switched from "EMBEDDED" to "LOCAL" mode, I can now see in the log file [b]{DOMAINDIR}/imq/instances/imqbroker/log/log.txt[/b] the port that JMS expects the client to be connecting back on:

[20/Dec/2008:09:44:03 GMT] [B1065]: Accepting: guest_at_127.0.0.1:44698->jms:57680. Count: service=12 broker=13

And indeed the client connects on that port, and fails:-

INFO: MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...
20-Dec-2008 09:48:19 com.sun.messaging.jmq.jmsclient.ExceptionHandler throwConnectionException
WARNING: [C4003]: Error occurred on connection creation [localdev01.wallstreetsystems.com:57680]. - cause: java.net.ConnectException: Connection refused: connect
[Message sent by forum member 'edrandall' (edrandall)]

http://forums.java.net/jive/thread.jspa?messageID=322765