users@glassfish.java.net

Re: Glassfish fails to start when JMS configured to LOCAL

From: <glassfish_at_javadesktop.org>
Date: Mon, 05 Jan 2009 12:31:26 PST

We could try the 32-bit VM, but do you really think this is a VM level problem?
  
Looking at the log output, it seems there is a connection error when GF looks for the local broker.
  
[#|2009-01-04T12:59:22.954-0800|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_LB1101: Looking for Broker Running at:localhost:7676|#]

[#|2009-01-04T12:59:23.006-0800|WARNING|sun-appserver9.1|javax.jms|_ThreadID=10;_ThreadName=main;_RequestID=ee380073-2e90-407f-9848-dfb5b6d0e747;|[C4003]: Error occurred on connection creation [localhost:7676]. - cause: java.net.ConnectException: Connection refused|#]
  
Is there anyway to change the value from localhost to something else? -- we've tried imq.hostname with no luck

When we run the broker standalone, we can see it listening on 7676 under the extenal hostname...

[05/Jan/2009:12:15:21 PST] [B1039]: Broker "imqbroker_at_XXX.XXX.XXX.com:7676" ready.

We've also tried running under REMOTE. First we start imqbrokerd then GF, we don't see the above connection refused error but GF still hangs.
[Message sent by forum member 'mwadhera' (mwadhera)]

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