NutzCN Logo
问答 使用阿里巴巴数据库插件 com.alibaba.druid报错,请高手看看
发布于 2517天前 作者 qq_7bff7329 3739 次浏览 复制 上一个帖子 下一个帖子
标签:

环境 resin
jdk: 1.7.0_80

这是什么问题?怎么解决?

 javax.management.InstanceNotFoundException: com.alibaba.druid:type=DruidStatService
        at com.caucho.jmx.MBeanContext.unregisterMBean(MBeanContext.java:294)
        at com.caucho.jmx.AbstractMBeanServer.unregisterMBean(AbstractMBeanServer.java:487)
        at com.alibaba.druid.stat.DruidStatService.unregisterMBean(DruidStatService.java:372)
        at com.alibaba.druid.stat.DruidDataSourceStatManager.removeDataSource(DruidDataSourceStatManager.java:205)
        at com.alibaba.druid.pool.DruidDataSource$2.run(DruidDataSource.java:1413)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.alibaba.druid.pool.DruidDataSource.unregisterMbean(DruidDataSource.java:1409)
        at com.alibaba.druid.pool.DruidDataSource.close(DruidDataSource.java:1368)
        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 org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18)
        at org.nutz.ioc.ObjectProxy.depose(ObjectProxy.java:83)
        at org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:114)
        at org.nutz.ioc.impl.ScopeContext.depose(ScopeContext.java:121)
        at org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:259)
        at org.nutz.mvc.impl.NutLoading.depose(NutLoading.java:439)
        at org.nutz.mvc.ActionHandler.depose(ActionHandler.java:35)
        at org.nutz.mvc.NutFilter.destroy(NutFilter.java:133)
        at com.caucho.server.dispatch.FilterManager.destroy(FilterManager.java:201)
        at com.caucho.server.webapp.WebApp.stop(WebApp.java:2765)
        at com.caucho.server.webapp.WebApp.destroy(WebApp.java:2797)
        at com.caucho.server.deploy.DeployController.stopImpl(DeployController.java:750)
        at com.caucho.server.deploy.AbstractDeployControllerStrategy.stop(AbstractDeployControllerStrategy.java:77)
        at com.caucho.server.deploy.DeployController.stop(DeployController.java:571)
        at com.caucho.server.deploy.DeployContainer.stop(DeployContainer.java:380)
        at com.caucho.server.webapp.WebAppContainer.stop(WebAppContainer.java:1111)
        at com.caucho.server.host.Host.stop(Host.java:559)
        at com.caucho.server.host.Host.destroy(Host.java:576)
        at com.caucho.server.deploy.DeployController.stopImpl(DeployController.java:750)
        at com.caucho.server.deploy.AbstractDeployControllerStrategy.stop(AbstractDeployControllerStrategy.java:77)
        at com.caucho.server.deploy.DeployController.stop(DeployController.java:571)
        at com.caucho.server.deploy.DeployContainer.stop(DeployContainer.java:380)
        at com.caucho.server.host.HostContainer.stop(HostContainer.java:495)
        at com.caucho.server.cluster.Server.stop(Server.java:1649)
        at com.caucho.server.cluster.Server.destroy(Server.java:1671)
        at com.caucho.server.resin.Resin.destroy(Resin.java:817)
        at com.caucho.server.resin.Resin$DestroyThread.run(Resin.java:1787)
5 回复

是reload的时候报的?

启动resin的时候报的

把应该是其他异常在先

一重启resin 就出现这样的异常

这是关闭的时候报的,无视

添加回复
请先登陆
回到顶部