users@glassfish.java.net

Unable to start one instance in a clustered env on one machine

From: <glassfish_at_javadesktop.org>
Date: Fri, 02 Jan 2009 20:37:14 PST

I created two instances to make it clustered on one machine. All of sudden, I started getting this error while starting instance-ONE instance.

[#|2009-01-02T23:21:11.046-0500|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=ea2b8601-f9ac-4217-afa7-9bdfc0009886;|java.lang.RuntimeException: MQJMSRA_LB4001: start:Aborted:Unable to ping Broker within 60000 millis (startTimeOut)
        at com.sun.messaging.jms.ra.LocalBrokerRunner.start(LocalBrokerRunner.java:366)
        at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:447)
        at com.sun.enterprise.connectors.ActiveInboundResourceAdapter$1.run(ActiveInboundResourceAdapter.java:135)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:131)
        at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.<init>(ActiveJmsResourceAdapter.java:248)
        at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:107)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:300)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:445)
        at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:225)
        at com.sun.enterprise.jms.JmsProviderLifecycle.onStartup(JmsProviderLifecycle.java:428)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
        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:585)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
|#]


When I checked the log under cluster1-nodeagent/instance-ONE\imq\instances\cluster1instanceONE\log, I am getting this.

[02/Jan/2009:23:20:12 EST] [B1004]: Starting the jms service using tcp(host = *, port=0, mode=dedicated) with min threads 10 and max threads of 1000
[02/Jan/2009:23:20:12 EST] [B1227]: Using file user repository for jms service connection authentication
[02/Jan/2009:23:20:12 EST] [B1069]: Running as master broker for the cluster.
[02/Jan/2009:23:20:12 EST] [B1065]: Accepting: admin_at_127.0.0.1:1535->admin:1527. Count: service=1 broker=1
[02/Jan/2009:23:20:12 EST] WARNING [B1155]: Unable to process admin request: Broker has not completed startup
[02/Jan/2009:23:20:13 EST] [B1065]: Accepting: admin_at_127.0.0.1:1539->admin:1527. Count: service=2 broker=2
[02/Jan/2009:23:20:13 EST] WARNING [B1155]: Unable to process admin request: Broker has not completed startup
[02/Jan/2009:23:20:14 EST] [B1065]: Accepting: admin_at_127.0.0.1:1541->admin:1527. Count: service=3 broker=3
[02/Jan/2009:23:20:14 EST] WARNING [B1155]: Unable to process admin request: Broker has not completed startup
[02/Jan/2009:23:20:15 EST] [B1065]: Accepting: admin_at_127.0.0.1:1543->admin:1527. Count: service=4 broker=4
[02/Jan/2009:23:20:15 EST] WARNING [B1155]: Unable to process admin request: Broker has not completed startup
[02/Jan/2009:23:20:16 EST] [B1065]: Accepting: admin_at_127.0.0.1:1545->admin:1527. Count: service=5 broker=5
[02/Jan/2009:23:20:16 EST] WARNING [B1155]: Unable to process admin request: Broker has not completed startup
[02/Jan/2009:23:20:17 EST] ERROR [B3095]: Cannot join the cluster because of persistent store state mismatch. Please clear the existing persistent store with "-reset store" and try again. Broker exiting.
[02/Jan/2009:23:20:17 EST] [B1047]: Shutting down broker...
[02/Jan/2009:23:20:17 EST] [B1077]: Broadcast good-bye to all connections ...
[02/Jan/2009:23:20:17 EST] [B1078]: Flushing good-bye messages ...
[02/Jan/2009:23:20:17 EST] [B1007]: Stopping Service admin with protocol tcp(host = *, port=0, mode=dedicated)
[02/Jan/2009:23:20:17 EST] [B1007]: Stopping Service jms with protocol tcp(host = *, port=0, mode=dedicated)
[02/Jan/2009:23:20:17 EST] JMX Connector Server jmxrmi stopped successfully

But I don't see any exception from instance-TWO.

Can anybody tell me why I am getting this and how to resolve it?

Thanks.
[Message sent by forum member 'caesarkim1' (caesarkim1)]

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