We noticed the below exception when shutting down the G-Reg server when
clustering is enabled.

[1] - https://wso2.org/jira/browse/REGISTRY-1749


[2013-08-16 16:42:27,520]  INFO
{org.wso2.carbon.core.init.CarbonServerManager} -  Shutting down OSGi
framework...
[2013-08-16 16:42:27,710]  WARN
{org.wso2.carbon.registry.task.internal.RegistryTaskServiceComponent} -
 Unable to clean-up scheduled tasks
org.wso2.carbon.ntask.common.TaskException: Error in getting all tasks from
repository
at
org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks(RegistryBasedTaskRepository.java:128)
 at
org.wso2.carbon.ntask.core.impl.standalone.StandaloneTaskManager.getAllTasks(StandaloneTaskManager.java:74)
 at
org.wso2.carbon.registry.task.internal.RegistryTaskServiceComponent.unsetTaskService(RegistryTaskServiceComponent.java:160)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
at
org.eclipse.equinox.internal.ds.model.ComponentReference.unbind(ComponentReference.java:476)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.unbindReference(ServiceComponentProp.java:619)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.unbind(ServiceComponentProp.java:264)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:390)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
 at
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
 at
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
at
org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
 at
org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
 at
org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
at
org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
 at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
 at
org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
 at
org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
at
org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
 at
org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
 at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
 at
org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
 at
org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
 at
org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
 at
org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
 at
org.wso2.carbon.core.init.CarbonServerManager.shutdown(CarbonServerManager.java:849)
 at
org.wso2.carbon.core.init.CarbonServerManager.shutdownGracefully(CarbonServerManager.java:883)
 at
org.wso2.carbon.core.init.CarbonServerManager$4.run(CarbonServerManager.java:894)
Caused by: java.lang.IllegalStateException: Hazelcast Instance is not
active!
 at com.hazelcast.impl.FactoryImpl.initialChecks(FactoryImpl.java:728)
 at com.hazelcast.impl.MProxyImpl.beforeCall(MProxyImpl.java:102)
at com.hazelcast.impl.MProxyImpl.access$000(MProxyImpl.java:49)
 at com.hazelcast.impl.MProxyImpl$DynamicInvoker.invoke(MProxyImpl.java:64)
 at $Proxy145.containsKey(Unknown Source)
at com.hazelcast.impl.MProxyImpl.containsKey(MProxyImpl.java:312)
 at org.wso2.carbon.caching.impl.CacheImpl.containsKey(CacheImpl.java:255)
 at
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:248)
 at
org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:629)
at
org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks(RegistryBasedTaskRepository.java:117)
 ... 36 more
[2013-08-16 16:42:29,775]  INFO
{org.wso2.carbon.core.init.CarbonServerManager} -  Stopping
CarbonServerManager...
[2013-08-16 16:42:30,014]  INFO
{org.wso2.carbon.tomcat.ext.internal.CarbonTomcatServiceComponent} -
 Stopping the carbon web-app registered under : /
[2013-08-16 16:42:30,032]  INFO
{org.apache.synapse.commons.util.RMIRegistryController} -  Removing the RMI
registry bound to port : 2209
[2013-08-16 16:42:30,080] ERROR
{org.wso2.carbon.governance.list.internal.GovernanceMgtUIListMetadataServiceComponent}
-  Error while stopping the tasks
org.wso2.carbon.ntask.common.TaskException: Error in getting all tasks from
repository
at
org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks(RegistryBasedTaskRepository.java:128)
 at
org.wso2.carbon.ntask.core.impl.standalone.StandaloneTaskManager.getAllTasks(StandaloneTaskManager.java:74)
 at
org.wso2.carbon.governance.list.internal.GovernanceMgtUIListMetadataServiceComponent.deactivate(GovernanceMgtUIListMetadataServiceComponent.java:269)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.deactivate(ServiceComponent.java:387)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
 at
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
 at
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:368)
 at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:225)
 at
org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.deactivate(RegistryCoreServiceComponent.java:199)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.deactivate(ServiceComponent.java:387)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
 at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
 at
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
 at
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
at
org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
 at
org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
 at
org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
at
org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
 at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
 at
org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
 at
org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
at
org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
 at
org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
 at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
 at
org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
 at
org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
 at
org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
 at
org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
 at
org.wso2.carbon.core.init.CarbonServerManager.shutdown(CarbonServerManager.java:849)
 at
org.wso2.carbon.core.init.CarbonServerManager.shutdownGracefully(CarbonServerManager.java:883)
 at
org.wso2.carbon.core.init.CarbonServerManager$4.run(CarbonServerManager.java:894)
Caused by: java.lang.IllegalStateException: Hazelcast Instance is not
active!
 at com.hazelcast.impl.FactoryImpl.initialChecks(FactoryImpl.java:728)
 at com.hazelcast.impl.MProxyImpl.beforeCall(MProxyImpl.java:102)
at com.hazelcast.impl.MProxyImpl.access$000(MProxyImpl.java:49)
 at com.hazelcast.impl.MProxyImpl$DynamicInvoker.invoke(MProxyImpl.java:64)
 at $Proxy145.containsKey(Unknown Source)
at com.hazelcast.impl.MProxyImpl.containsKey(MProxyImpl.java:312)
 at org.wso2.carbon.caching.impl.CacheImpl.containsKey(CacheImpl.java:255)
 at
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:248)
 at
org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:629)
at
org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks(RegistryBasedTaskRepository.java:117)
 ... 55 more
[2013-08-16 16:42:30,109]  INFO
{org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent}
-
 
org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent.deactivate
[2013-08-16 16:42:31,317]  INFO
{org.wso2.carbon.core.init.CarbonServerManager} -  Shutdown complete
[2013-08-16 16:42:31,317]  INFO
{org.wso2.carbon.core.init.CarbonServerManager} -  Halting JVM

Regards,
Evanthika Amarasiri
Senior Technical Lead - Quality Assurance
Mobile: +94773125935
*
*
wso2.com Lean Enterprise Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to