dev@glassfish.java.net

Re: configure-cluster and server startup failure

From: Sivakumar Thyagarajan <Sivakumar.Thyagarajan_at_Sun.COM>
Date: Tue, 14 Nov 2006 21:29:47 +0530

Sankar,

Sorry if this is a dup. Replying to all so that for others it is a
headsup :)

> This appears to happen because your localhost resolves to loopback address 127.0.0.1
> There is already a MQ RFE raised to fix this.
> AS issue: 6477607
> MQ RFE: 6476343
>
> Workaround as of now: Change localhost to point to a non-loopback address [your machine's IP address] and MQ RA should be able to startup in EE.
>

Thanks
--Siva.


sankara rao bhogi wrote:
>
> I did a configure-cluster target with the latest sources and
> bootstrap-all and server failed to start with the following exception.
> Has anyone experienced the same problem?
>
> [#|2006-11-14T17:51:46.282+0530|SEVERE|sun-appserver-ee9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;_RequestID=11055d7a-d2bf-49f4-acce-41becf4a1120;|MQJMSRA_RA4001:
> start:Aborting:Exception starting EMBEDDED broker=null|#]
>
> [#|2006-11-14T17:51:46.284+0530|WARNING|sun-appserver-ee9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=11055d7a-d2bf-49f4-acce-41becf4a1120;|java.lang.NullPointerException
>
> at
> com.sun.messaging.jmq.jmsserver.BrokerStateHandler.<init>(BrokerStateHandler.java:83)
>
> at com.sun.messaging.jmq.jmsserver.Broker.start(Broker.java:1199)
> at com.sun.messaging.jmq.jmsserver.Broker.start(Broker.java:359)
> at
> com.sun.messaging.jmq.jmsserver.BrokerProcess.start(BrokerProcess.java:155)
> at
> com.sun.messaging.jms.ra.EmbeddedBrokerRunner.start(EmbeddedBrokerRunner.java:212)
>
> at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:427)
> at
> com.sun.enterprise.connectors.ActiveInboundResourceAdapter$1.run(ActiveInboundResourceAdapter.java:121)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:117)
>
> at
> com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.<init>(ActiveJmsResourceAdapter.java:219)
>
> at
> com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:94)
>
> at
> com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:288)
>
> at
> com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:435)
>
> at
> com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:227)
>
> at
> com.sun.enterprise.jms.JmsProviderLifecycle.onStartup(JmsProviderLifecycle.java:415)
>
>