users@glassfish.java.net

Re: Glassfish clustered LOCAL jms setup, ...

From: <forums_at_java.net>
Date: Wed, 17 Aug 2011 09:29:52 -0500 (CDT)

Following the procedure I outlined in the above post I am still unable to get
the broker to be up and running.

I have a feeling this is due to the brokers host address for the broker/nod
on the DAS being set to localhost.

I find the following warnnings and errors in the log file for the node:
[#|2011-08-17T15:12:01.387+0100|INFO|glassfish3.1|javax.enterprise.resource.jms.com.sun.enterprise.connectors.jms.system|_ThreadID=1;_ThreadName=Thread-1;|JMS
Service Connection URL is : mq://*localhost*:27676/,mq://pbapp2:27676/|#]
[#|2011-08-17T15:12:01.423+0100|WARNING|glassfish3.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.util|_ThreadID=1;_ThreadName=Thread-1;|RAR8000
: The method setHARequired is not present in the class :
com.sun.messaging.jms.ra.ResourceAdapter|#]
[#|2011-08-17T15:12:01.426+0100|WARNING|glassfish3.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.util|_ThreadID=1;_ThreadName=Thread-1;|RAR7097:
No setter method present for the property HARequired in the class
com.sun.messaging.jms.ra.ResourceAdapter|#]
......
[#|2011-08-17T15:12:03.643+0100|WARNING|glassfish3.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=17;_ThreadName=Thread-1;|Local
broker: [17/Aug/2011:15:12:03 BST] ERROR [B3168]: *Invalid broker address for
this broker to run in cluster: Loopback IP address is not allowed in broker
address
mq://127.0.0.1:27676/*?instName=APPAPPGLT1&brokerID=APPAPPGLT1&brokerSessionUID=4792729232598321152&ha=true&storeSessionUID=4792729232598321152
for cluster|#]
[#|2011-08-17T15:12:04.064+0100|WARNING|glassfish3.1|javax.jms|_ThreadID=10;_ThreadName=Thread-1;|[C4003]:
Error occurred on connection creation [localhost:27676]. - cause:
java.net.ConnectException: Connection refused|#]
.........
[#|2011-08-17T15:13:02.305+0100|SEVERE|glassfish3.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=Thread-1;|MQJMSRA_LB4001:
start:Ping broker failed 60573 millis after broker start performed. Failing
ra.start()|#]
[#|2011-08-17T15:13:02.306+0100|WARNING|glassfish3.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=Thread-1;|MQJMSRA_LB4001:
start:Aborting:Check Broker Log File
at:/opt/glassfish3/glassfish/nodes/localhost-GLT/APP-GLT-1/imq/instances/APPAPPGLT1/log/log.txt|#]
[#|2011-08-17T15:13:02.306+0100|SEVERE|glassfish3.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=Thread-1;|MQJMSRA_RA4001:
start:Aborting:Exception starting LOCAL broker=MQJMSRA_LB4001:
start:Aborted:Unable to ping Broker within 60000 millis (startTimeOut)|#]
[#|2011-08-17T15:13:02.306+0100|INFO|glassfish3.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=Thread-1;|SJSMQ
LifecycleManagedBroker configuration=
        brokerInstanceName       =APPAPPGLT1
        brokerBindAddress        =*localhost*
        brokerPort               =27676
        brokerHomeDir            =/opt/glassfish3/mq
        brokerLibDir             =/opt/glassfish3/mq/lib
        brokerVarDir            
=/opt/glassfish3/glassfish/nodes/localhost-GLT/APP-GLT-1/imq
        brokerJavaDir            =/usr/java/jdk1.6.0_24/jre
        brokerArgs               =null
        MasterBroker             =null
        brokerId                 =APPAPPGLT1
        adminUsername            =admin
        adminPassword            =<default>
        adminPassFile            =null
        ConnectionURL           
=mq://localhost:27676/,mq://pbapp2:27676/
        dbType                   =null
        dbProps                  ={}
        dsProps                  ={}
        useJNDIRmiServiceURL     =true
        useSSLJMXConnector       =true
        brokerEnableHA           =true
        clusterId                =APP_MQ
        rmiRegistryPort          =27776
        startRmiRegistry         =true
        brokerStartTimeout       =     
jmxServiceURL            =null
60000
|#]
[#|2011-08-17T15:13:02.308+0100|SEVERE|glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=1;_ThreadName=Thread-1;|java.lang.RuntimeException:
MQJMSRA_LB4001: start:Aborted:Unable to ping Broker within 60000 millis
(startTimeOut)
        at
com.sun.messaging.jms.blc.LocalBrokerRunner.start(LocalBrokerRunner.java:366)
        at
com.sun.messaging.jms.blc.LifecycleManagedBroker.start(LifecycleManagedBroker.java:431)
        at
com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:380)
        at
com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter$1.run(ActiveJmsResourceAdapter.java:360)
        at java.security.AccessController.doPrivileged(Native Method)
        at
com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter.startResourceAdapter(ActiveJmsResourceAdapter.java:353)
        at
com.sun.enterprise.connectors.ActiveOutboundResourceAdapter.init(ActiveOutboundResourceAdapter.java:129)
        at
com.sun.enterprise.connectors.inbound.ActiveInboundResourceAdapterImpl.init(ActiveInboundResourceAdapterImpl.java:90)
        at
com.sun.enterprise.connectors.ActiveRAFactory.instantiateActiveResourceAdapter(ActiveRAFactory.java:135)
        at
com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:106)
        at
com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:212)
        at
com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:348)
        at
com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:356)
        at
com.sun.enterprise.connectors.jms.system.JmsProviderLifecycle.initializeBroker(JmsProviderLifecycle.java:113)
        at
com.sun.enterprise.connectors.jms.system.JmsProviderLifecycle.postConstruct(JmsProviderLifecycle.java:93)
        at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
        at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
        at
com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
        at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
        at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
        at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
        at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:326)
        at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)
        at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
        at
com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
        at
com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
|#]
#|2011-08-17T15:13:02.311+0100|SEVERE|glassfish3.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors|_ThreadID=1;_ThreadName=Thread-1;|RAR6035
: Resource adapter start failed : {0}
javax.resource.spi.ResourceAdapterInternalException:
java.security.PrivilegedActionException:
javax.resource.spi.ResourceAdapterInternalException: MQJMSRA_RA4001:
start:Aborting:Exception starting LOCAL broker=MQJMSRA_LB4001:
start:Aborted:Unable to ping Broker within 60000 millis (startTimeOut)
        at
com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter.startResourceAdapter(ActiveJmsResourceAdapter.java:369)
        at
com.sun.enterprise.connectors.ActiveOutboundResourceAdapter.init(ActiveOutboundResourceAdapter.java:129)
        at
com.sun.enterprise.connectors.inbound.ActiveInboundResourceAdapterImpl.init(ActiveInboundResourceAdapterImpl.java:90)
        at
com.sun.enterprise.connectors.ActiveRAFactory.instantiateActiveResourceAdapter(ActiveRAFactory.java:135)
        at
com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:106)
        at
com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:212)
        at
com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:348)
        at
com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:356)
        at
com.sun.enterprise.connectors.jms.system.JmsProviderLifecycle.initializeBroker(JmsProviderLifecycle.java:113)
        at
com.sun.enterprise.connectors.jms.system.JmsProviderLifecycle.postConstruct(JmsProviderLifecycle.java:93)
        at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
        at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
        at
com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
        at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
        at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
        at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
        at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:326)
        at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)
        at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
        at
com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
        at
com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
Caused by: java.security.PrivilegedActionException:
javax.resource.spi.ResourceAdapterInternalException: MQJMSRA_RA4001:
start:Aborting:Exception starting LOCAL broker=MQJMSRA_LB4001:
start:Aborted:Unable to ping Broker within 60000 millis (startTimeOut)
        at java.security.AccessController.doPrivileged(Native Method)
        at
com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter.startResourceAdapter(ActiveJmsResourceAdapter.java:353)
        ... 25 more
Caused by: javax.resource.spi.ResourceAdapterInternalException:
MQJMSRA_RA4001: start:Aborting:Exception starting LOCAL
broker=MQJMSRA_LB4001: start:Aborted:Unable to ping Broker within 60000
millis (startTimeOut)
        at
com.sun.messaging.jms.blc.LifecycleManagedBroker.start(LifecycleManagedBroker.java:433)
        at
com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:380)
        at
com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter$1.run(ActiveJmsResourceAdapter.java:360)
        ... 27 more
Caused by: java.lang.RuntimeException: MQJMSRA_LB4001: start:Aborted:Unable
to ping Broker within 60000 millis (startTimeOut)
        at
com.sun.messaging.jms.blc.LocalBrokerRunner.start(LocalBrokerRunner.java:366)
        at
com.sun.messaging.jms.blc.LifecycleManagedBroker.start(LifecycleManagedBroker.java:431)
        ... 29 more
|#]
 

 


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