XMLWordPrintableJSON

    Details

    • Type: Question
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.6.2
    • Fix Version/s: None
    • Component/s: JMX
    • Labels:
      None
    • Environment:

      jdk1.8,resin3

      Description

      1.pool-1-thread-1 ERROR Could not unregister MBeans for org.apache.logging.log4j2:type=7276c8cd,component=Loggers,name=*,subtype=RingBuffer java.lang.NullPointerException
      at org.apache.logging.log4j.core.jmx.Server.unregisterAllMatching(Server.java:329)
      at org.apache.logging.log4j.core.jmx.Server.unregisterAsyncLoggerConfigRingBufferAdmins(Server.java:322)
      at org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:259)
      at org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:237)
      at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:300)
      at org.apache.logging.log4j.core.LoggerContext$1.run(LoggerContext.java:265)
      at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry$RegisteredCancellable.run(DefaultShutdownCallbackRegistry.java:102)
      at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.run(DefaultShutdownCallbackRegistry.java:72)
      at java.lang.Thread.run(Thread.java:745)

      2.main ERROR Could not register mbeans javax.management.InstanceAlreadyExistsException: org.apache.logging.log4j2:type=7276c8cd,component=Loggers,name=
      at com.caucho.jmx.AbstractMBeanServer.registerMBean(AbstractMBeanServer.java:412)
      at org.apache.logging.log4j.core.jmx.Server.register(Server.java:380)
      at org.apache.logging.log4j.core.jmx.Server.registerLoggerConfigs(Server.java:349)
      at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:183)
      at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:138)
      at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:507)
      at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:566)
      at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:582)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.efun.general.BeanHelper.invokeMethod(BeanHelper.java:852)
      at com.efun.mainland.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:76)
      at com.caucho.server.webapp.WebApp.start(WebApp.java:1891)
      at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
      at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
      at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
      at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:161)
      at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:664)
      at com.caucho.server.host.Host.start(Host.java:450)
      at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
      at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
      at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
      at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:161)
      at com.caucho.server.host.HostContainer.start(HostContainer.java:484)
      at com.caucho.server.cluster.Server.start(Server.java:1319)
      at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710)
      at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542)
      at com.caucho.server.resin.Resin.start(Resin.java:703)
      at com.caucho.server.resin.Resin.initMain(Resin.java:1162)
      at com.caucho.server.resin.Resin.main(Resin.java:1365)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lz2016 lizhou
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: