Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-235

"Problems un-registering MBeans: CacheException: Failure while unregistering mbeans" on server shutdown

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • 8.0.0.Beta1
    • None
    • Clustering
    • None

      Just saw this when i was closely checking logs from clustering testsuite.

      Affected: master 8a6aac3c8eb6bc94b7eddfa4d090c9ac05c7e37b

      15:09:34,380 INFO  [org.apache.catalina.core] (MSC service thread 1-6) JBWEB001079: Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started
      15:09:34,381 INFO  [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003075: Coyote HTTP/1.1 pausing on: http-/127.0.0.1:8180
      15:09:34,381 INFO  [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003077: Coyote HTTP/1.1 stopping on : http-/127.0.0.1:8180
      15:09:34,385 INFO  [org.jboss.web] (ServerService Thread Pool -- 55) JBAS018224: Unregister web context: /stateful
      15:09:34,397 INFO  [org.infinispan.eviction.PassivationManagerImpl] (ServerService Thread Pool -- 6) ISPN000029: Passivating all entries to disk
      15:09:34,398 INFO  [org.infinispan.eviction.PassivationManagerImpl] (ServerService Thread Pool -- 6) ISPN000030: Passivated 0 entries in 0 milliseconds
      15:09:34,403 INFO  [org.infinispan.eviction.PassivationManagerImpl] (ServerService Thread Pool -- 54) ISPN000029: Passivating all entries to disk
      15:09:34,404 INFO  [org.infinispan.eviction.PassivationManagerImpl] (ServerService Thread Pool -- 54) ISPN000030: Passivated 0 entries in 0 milliseconds
      15:09:34,407 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 6) JBAS010282: Stopped org.jboss.as.test.clustering.cluster.ejb3.xpc.bean.StatefulBean cache from ejb container
      15:09:34,407 INFO  [org.apache.coyote.ajp] (MSC service thread 1-8) JBWEB003048: Pausing Coyote AJP/1.3 on ajp-/127.0.0.1:8109
      15:09:34,408 INFO  [org.apache.coyote.ajp] (MSC service thread 1-8) JBWEB003051: Stopping Coyote AJP/1.3 on ajp-/127.0.0.1:8109
      15:09:34,411 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-2) ISPN000029: Passivating all entries to disk
      15:09:34,411 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-2) ISPN000030: Passivated 0 entries in 0 milliseconds
      15:09:34,413 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 54) JBAS010282: Stopped org.jboss.as.test.clustering.cluster.ejb3.xpc.bean.SecondBean cache from ejb container
      15:09:34,419 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010282: Stopped default-host/stateful cache from web container
      15:09:34,437 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 54) JBAS011403: Stopping Persistence Unit Service 'stateful.war#mypc'
      15:09:34,440 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-3) ISPN000029: Passivating all entries to disk
      15:09:34,440 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-3) ISPN000030: Passivated 0 entries in 0 milliseconds
      15:09:34,445 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 54) JBAS010282: Stopped stateful.war#mypc.org.jboss.as.test.clustering.cluster.ejb3.xpc.bean.Employee cache from hibernate container
      15:09:34,449 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-3) JBAS010282: Stopped repl cache from web container
      15:09:34,451 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-8) ISPN000029: Passivating all entries to disk
      15:09:34,451 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-8) ISPN000030: Passivated 0 entries in 0 milliseconds
      15:09:34,452 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-1) JBAS010282: Stopped remote-connector-client-mappings cache from ejb container
      15:09:34,459 INFO  [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 54) ISPN000031: MBeans were successfully registered to the platform MBean server.
      15:09:34,460 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-3) ISPN000080: Disconnecting and closing JGroups Channel
      15:09:34,460 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 54) JBAS010281: Started local-query cache from hibernate container
      15:09:34,461 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 54) HHH000227: Running hbm2ddl schema export
      15:09:34,457 WARN  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-8) ISPN000032: Problems un-registering MBeans: org.infinispan.CacheException: Failure while unregistering mbeans
      	at org.infinispan.jmx.ComponentsJmxRegistration.unregisterMBeans(ComponentsJmxRegistration.java:105)
      	at org.infinispan.jmx.AbstractJmxRegistration.unregisterMBeans(AbstractJmxRegistration.java:70)
      	at org.infinispan.jmx.CacheJmxRegistration.stop(CacheJmxRegistration.java:107)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_17]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_17]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_17]
      	at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_17]
      	at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
      	at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:886)
      	at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:693)
      	at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:571)
      	at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:242)
      	at org.infinispan.CacheImpl.stop(CacheImpl.java:604)
      	at org.infinispan.CacheImpl.stop(CacheImpl.java:599)
      	at org.infinispan.AbstractDelegatingCache.stop(AbstractDelegatingCache.java:348)
      	at org.jboss.as.clustering.infinispan.subsystem.CacheService.stop(CacheService.java:96)
      	at org.jboss.as.clustering.msc.AsynchronousService.stop(AsynchronousService.java:114) [jboss-as-clustering-common-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
      	at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2080) [jboss-msc-1.1.1.Final.jar:1.1.1.Final]
      	at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2041) [jboss-msc-1.1.1.Final.jar:1.1.1.Final]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_17]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_17]
      	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
      Caused by: javax.management.InstanceNotFoundException: jboss.infinispan:type=Cache,name="repl(repl_sync)",manager="ejb",component=StateTransferManager
      	at org.jboss.as.jmx.PluggableMBeanServerImpl.findDelegate(PluggableMBeanServerImpl.java:94)
      	at org.jboss.as.jmx.PluggableMBeanServerImpl.unregisterMBean(PluggableMBeanServerImpl.java:360)
      	at org.infinispan.jmx.JmxUtil.unregisterMBean(JmxUtil.java:112)
      	at org.infinispan.jmx.ComponentsJmxRegistration.unregisterMBeans(ComponentsJmxRegistration.java:101)
      	... 21 more
      

      Same as https://issues.jboss.org/browse/AS7-4247

            pferraro@redhat.com Paul Ferraro
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: