users@glassfish.java.net

Re: Unable to connect to OpenMQ embedded broker

From: <glassfish_at_javadesktop.org>
Date: Tue, 14 Sep 2010 03:35:30 PDT

Your code (line 34) suggests that you are starting the broker on port 4545. But your JMS client doesn't know that and is trying to connect to the default port, which is 7676.

You either need to start the broker on port 7676 (which is the default) or change the client configuration to tell it which port to connect to. Line 57 (which is commented out) shows how to do this.

Nigel
[Message sent by forum member 'nigeldeakin']

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