javax.management.InstanceNotFoundException

tomcat.jdbc:name="jdbc/ntrsDataSource",context=/test##0.0.1-SNAPSHOT,engine=Catalina,type=ConnectionPool,host=localhost,class=org.apache.tomcat.jdbc.pool.DataSource

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web185

  • via GitHub by hdeadman
    , 9 months ago
    tomcat.jdbc:name="jdbc/ntrsDataSource",context=/test##0.0.1-SNAPSHOT,engine=Catalina,type=ConnectionPool,host=localhost,class=org.apache.tomcat.jdbc.pool.DataSource
  • Catalina:type=DataSource,path=/appdb,host=localhost,class=javax.sql.DataSource,name="jdbc/appdb"
  • org.mongodb.driver:type=ConnectionPool,clusterId=1,host=mongo-1.foobarcompany.com,port=27017
  • Stack trace

    • javax.management.InstanceNotFoundException: tomcat.jdbc:name="jdbc
    • trsDataSource",context=/test##0.0.1-SNAPSHOT,engine=Catalina,type=ConnectionPool,host=localhost,class=org.apache.tomcat.jdbc.pool.DataSource at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1444) at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1324) at se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor.unregisterMBeans(ClassLoaderLeakPreventor.java:993) at se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor.contextDestroyed(ClassLoaderLeakPreventor.java:831) at org.test.memleak.ClassloaderMemoryLeakAvoidanceListener.contextDestroyed(ClassloaderMemoryLeakAvoidanceListener.java:21) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4859) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:827) at org.apache.catalina.startup.HostConfig.undeploy(HostConfig.java:1404) at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1330) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1552) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:285) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1141) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1377) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1349) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 3 months ago
    Once, 4 months ago
    Once, 7 months ago
    Unknown user
    Once, 8 months ago
    Unknown user
    Once, 10 months ago
    20 more bugmates