Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-54405

Error unregistering MBean for Marketplace plugin on shutdown of Resin 4.0.33

    Details

      Description

      The following error displays on shutdown of Resin when trying to undeploy the Marketplace plugin.

      [junit] Error unregistering cache for management for net.sf.ehcache:type=Cache,CacheManager=liferay-multi-vm-clustered,name=com.liferay.portal.kernel.dao.orm.FinderCache.com.liferay.marketplace.model.impl.ModuleImpl.List2 . Error was net.sf.ehcache:type=Cache,CacheManager=liferay-multi-vm-clustered,name=com.liferay.portal.kernel.dao.orm.FinderCache.com.liferay.marketplace.model.impl.ModuleImpl.List2javax.management.InstanceNotFoundException: net.sf.ehcache:type=Cache,CacheManager=liferay-multi-vm-clustered,name=com.liferay.portal.kernel.dao.orm.FinderCache.com.liferay.marketplace.model.impl.ModuleImpl.List2
          [junit] 	at com.caucho.jmx.MBeanContext.unregisterMBean(MBeanContext.java:309)
          [junit] 	at com.caucho.jmx.AbstractMBeanServer.unregisterMBean(AbstractMBeanServer.java:499)
          [junit] 	at com.liferay.portal.kernel.jmx.MBeanRegistry.unregister(MBeanRegistry.java:115)
          [junit] 	at com.liferay.portal.kernel.jmx.RegistryAwareMBeanServer.unregisterMBean(RegistryAwareMBeanServer.java:396)
          [junit] 	at net.sf.ehcache.management.ManagementService.notifyCacheRemoved(ManagementService.java:395)
          [junit] 	at net.sf.ehcache.event.CacheManagerEventListenerRegistry.notifyCacheRemoved(CacheManagerEventListenerRegistry.java:179)
          [junit] 	at net.sf.ehcache.CacheManager.removeCache(CacheManager.java:1467)
          [junit] 	at com.liferay.portal.cache.ehcache.EhcachePortalCacheManager.removeCache(EhcachePortalCacheManager.java:188)
          [junit] 	at com.liferay.portal.cache.MultiVMPoolImpl.removeCache(MultiVMPoolImpl.java:52)
          [junit] 	at com.liferay.portal.dao.orm.common.FinderCacheImpl.removeCache(FinderCacheImpl.java:181)
          [junit] 	at com.liferay.portal.kernel.dao.orm.FinderCacheUtil.removeCache(FinderCacheUtil.java:87)
          [junit] 	at com.liferay.marketplace.service.persistence.ModulePersistenceImpl.destroy(ModulePersistenceImpl.java:3525)
          [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          [junit] 	at java.lang.reflect.Method.invoke(Method.java:606)
          [junit] 	at org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:273)
          [junit] 	at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:199)
          [junit] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)
          [junit] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:463)
          [junit] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:431)
          [junit] 	at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1048)
          [junit] 	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1022)
          [junit] 	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:970)
          [junit] 	at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:384)
          [junit] 	at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:78)
          [junit] 	at com.liferay.portal.spring.context.PortletContextLoaderListener.contextDestroyed(PortletContextLoaderListener.java:68)
          [junit] 	at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeUndeploy(SpringHotDeployListener.java:116)
          [junit] 	at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeUndeploy(SpringHotDeployListener.java:57)
          [junit] 	at com.liferay.portal.deploy.hot.HotDeployImpl.fireUndeployEvent(HotDeployImpl.java:111)
          [junit] 	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployUtil.java:32)
          [junit] 	at com.liferay.portal.kernel.servlet.PluginContextListener.fireUndeployEvent(PluginContextListener.java:169)
          [junit] 	at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalDestroy(PluginContextListener.java:132)
          [junit] 	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalDestroy(BasePortalLifecycle.java:31)
          [junit] 	at com.liferay.portal.kernel.servlet.PluginContextListener.contextDestroyed(PluginContextListener.java:97)
          [junit] 	at com.caucho.server.webapp.WebApp.stop(WebApp.java:4850)
          [junit] 	at com.caucho.server.webapp.WebApp.destroy(WebApp.java:4889)
          [junit] 	at com.caucho.env.deploy.DeployController.destroyInstance(DeployController.java:794)
          [junit] 	at com.caucho.env.deploy.DeployController.stopImpl(DeployController.java:778)
          [junit] 	at com.caucho.env.deploy.AbstractDeployControllerStrategy.stop(AbstractDeployControllerStrategy.java:85)
          [junit] 	at com.caucho.env.deploy.DeployController.stop(DeployController.java:561)
          [junit] 	at com.caucho.env.deploy.DeployContainer.stop(DeployContainer.java:404)
          [junit] 	at com.caucho.server.webapp.WebAppContainer.stop(WebAppContainer.java:1222)
          [junit] 	at com.caucho.server.host.Host.stop(Host.java:828)
          [junit] 	at com.caucho.server.host.Host.destroy(Host.java:849)
          [junit] 	at com.caucho.env.deploy.DeployController.destroyInstance(DeployController.java:794)
          [junit] 	at com.caucho.env.deploy.DeployController.stopImpl(DeployController.java:778)
          [junit] 	at com.caucho.env.deploy.AbstractDeployControllerStrategy.stop(AbstractDeployControllerStrategy.java:85)
          [junit] 	at com.caucho.env.deploy.DeployController.stop(DeployController.java:561)
          [junit] 	at com.caucho.env.deploy.DeployContainer.stop(DeployContainer.java:404)
          [junit] 	at com.caucho.server.host.HostContainer.stop(HostContainer.java:553)
          [junit] 	at com.caucho.server.cluster.ServletService.stop(ServletService.java:1656)
          [junit] 	at com.caucho.server.cluster.ServletSystem.stop(ServletSystem.java:81)
          [junit] 	at com.caucho.env.service.ResinSystem.stop(ResinSystem.java:598)
          [junit] 	at com.caucho.env.service.ResinSystem.destroy(ResinSystem.java:615)
          [junit] 	at com.caucho.env.shutdown.ShutdownSystem.shutdownImpl(ShutdownSystem.java:295)
          [junit] 	at com.caucho.env.shutdown.ShutdownSystem.access$200(ShutdownSystem.java:49)
          [junit] 	at com.caucho.env.shutdown.ShutdownSystem$ShutdownThread.run(ShutdownSystem.java:477)
          [junit] 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                roy.hartzler Roy Hartzler (Inactive)
                Reporter:
                albert.lee Albert Lee
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 18 weeks ago

                  Packages

                  Version Package
                  7.0.0 M5