users@glassfish.java.net

Re: JMS behind firewall does not work :/

From: <glassfish_at_javadesktop.org>
Date: Wed, 10 Oct 2007 02:33:50 PDT

A bit more explanation of why this is happening

7676 is the Broker *main* port -- i.e. it's what the port mapper binds
to. The real port, if dynamically bound, is bound to at runtime and tcp
clients connect to 7676 to figure out which real port to bind to for
either normal jms, secure jms, normal admin, or secure admin, which are
all services running on different ports.

To solve the issue, you need to
-- run the jms service on a static port, and open up 7676 + the static
port in the firewall

The MQ docs deal with this --

See 'imq.<serviceName>.<protocolType>.port' in

http://docs.sun.com/app/docs/doc/819-4467/6n6k98bqr?a=view

(It's 3.7 docs, but the props are the same)
[Message sent by forum member 'rampsarathy' (rampsarathy)]

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