users@glassfish.java.net

Re: JMS Connection Reset

From: <forums_at_java.net>
Date: Thu, 28 Jul 2011 04:30:27 -0500 (CDT)

Hi Nigel

[quote]

You say you restarted your client JVM (and computer) and it tried to connect
to the broker, but it wouldn't connect. Exactly what exception was thrown?

[/quote]

You always get the same exception - WARNING: [C4003]: Error occurred on
connection creation [PublicServer]. - cause: java.net.SocketException:
Connection reset

[quote]

When you got into that state, could you connect directly to the portmapper
port? (try "telnet <servername> <portmapperPort>" and see what is returned)

[/quote]

yes the telnet works perfectly. We have configured OpenMQ so that it goes out
on 3545 and then 'Responds' on 3546 as opposed to the default dynamic
behaviour.

[code]

101 imqbroker 4.5
                 cluster_discovery tcp CLUSTER_DISCOVERY 0
                                                         
portmapper tcp PORTMAPPER 3545 [imqvarhome=C:\glassfish\3.1\gl
assfish\domains\domain1\imq,imqhome=C:\glassfish\3.1\mq,sessionid=1539159380999417344]
                                                                                     
jmxrmi rmi JMX 0 [url=service:jmx:
rmi://publicServer/jndi/rmi://publicServer.domain.com:8686/publicServer.domain.com/3545/jmxrmi]
                                                                                       
admin tcp ADMIN 61124
                                                                                                            
jms tcp NOR
MAL 3546
        mqdirect2 none NORMAL 0
                               jmsdirect none
NORMAL 0
                                                     
cluster tcp CLUSTER 61125
                                                                              
.

[/code]

[quote]

Were you going through a firewall?

[/quote]

Yes, the server is a hosted one. The ports that are open for the queue are
3545 and 3546. As for the client sites - they aren't under our control (they
are differeny companies that we interact with) but all of them have ports
3545 and 3546 open.

 

PS thanks for the assistence with my
[url=http://www.java.net/node/705043]embedded JMS problem[/url] last year,
I'm now starting to use GlassFish 3.1 where I can, and can get rid of my
kickstart dummy application :)


--
[Message sent by forum member 'timsa']
View Post: http://forums.java.net/node/826943