dev@glassfish.java.net

cannot start cluster after upgrade

From: Cheng Fang <cheng.fang_at_oracle.com>
Date: Fri, 03 Dec 2010 17:55:38 -0500

After a cluster upgrade from v2.1.1 domain to 3.1, it failed to
start-cluster cl1.

I followed the instruction at
http://wikis.sun.com/display/GlassFish/V3.1ClusterUpgradeExample

at step 6, after recreating 2 instances in the upgraded 3.1 domain,
start-cluster command hangs and eventually timed out. Any idea?

It happened when I upgrade a domain with, or without any deployed apps.

[#|2010-12-03T17:45:51.607-0500|SEVERE|glassfish3.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.work|_ThreadID=17;_ThreadName=Thread-1;|Thread-pool
[ default thread-pool of server ] not found|#]

[#|2010-12-03T17:45:51.615-0500|SEVERE|glassfish3.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.work|_ThreadID=17;_ThreadName=Thread-1;|An
error occurred during instantiation
of the work manager for resource-adapter [ jmsra ]
com.sun.appserv.connectors.internal.api.ConnectorRuntimeException:
Thread-pool [ default thread-pool of server ] not found
         at
com.sun.enterprise.connectors.work.CommonWorkManager.<init>(CommonWorkManager.java:131)
         at
com.sun.enterprise.connectors.work.WorkManagerFactory.createWorkManager(WorkManagerFactory.java:125)
         at
com.sun.enterprise.connectors.work.WorkManagerFactory.getWorkManagerProxy(WorkManagerFactory.java:196)
         at
com.sun.enterprise.connectors.ConnectorRuntime.getWorkManagerProxy(ConnectorRuntime.java:1127)
         at
com.sun.enterprise.connectors.BootstrapContextImpl.initializeWorkManager(BootstrapContextImpl.java:161)
         at
com.sun.enterprise.connectors.BootstrapContextImpl.<init>(BootstrapContextImpl.java:103)
         at
com.sun.enterprise.connectors.ActiveOutboundResourceAdapter.init(ActiveOutboundResourceAdapter.java:126)
         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:210)
         at
com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:344)
         at
com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:354)
         at
com.sun.enterprise.connectors.jms.system.JmsProviderLifecycle.initializeBroker(JmsProviderLifecycle.java:110)
         at
com.sun.enterprise.connectors.jms.system.JmsProviderLifecycle.postConstruct(JmsProviderLifecycle.java:93)
         at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:128)
         at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:88)
         at
com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:79)
         at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:64)
         at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:136)
         at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:73)
         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)
|#]