java.lang.reflect.InvocationTargetException

JIRA | Andrew Katz | 4 years ago
  1. 0

    I installed SQL Plugin via marketplace, installed trial license, and edited server.xml. Copied jtds-1.3.0.jar to \lib directory, and then stopped and started confluence. Confluence server will not start anymore. When I remove the node in server.xml, server starts fine. <Resource name="jdbc/icMaster" auth="Container" type="javax.sql.DataSource" driverClassName="net.sourceforge.jtds.jdbc.Driver" url="jdbc:jtds:sqlserver://XXX.XXXX.LOCAL/icMaster" username="xxuserxx" password="xxxxxx" maxActive="20" maxIdle="10" maxWait="-1" /> Error in catalina.out: Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [net.sourceforge.jtds.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [HSQLDB Timer @369133f6] but has failed to stop it. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [com.google.inject.internal.Finalizer] but has failed to stop it. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.core.logging.ThreadLocalErrorCollection$2] (value [com.atlassian.core.logging.ThreadLocalErrorCollection$2@3ed76be5]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.plugin.util.ClassLoaderStack$1] (value [com.atlassian.plugin.util.ClassLoaderStack$1@30eca79e]) and a value of type [java.util.LinkedList] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.confluence.concurrent.ThreadLocalMap] (value [com.atlassian.confluence.concurrent.ThreadLocalMap@f08f2a]) and a value of type [java.util.HashMap] (value [{}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.opensymphony.xwork.ActionContext.ActionContextThreadLocal] (value [com.opensymphony.xwork.ActionContext$ActionContextThreadLocal@3021ef0d]) and a value of type [com.opensymphony.xwork.ActionContext] (value [com.opensymphony.xwork.ActionContext@3d5572b]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@2b4dca04]) and a value of type [org.dom4j.DocumentFactory] (value [org.dom4j.DocumentFactory@9e2d2]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.core.logging.ThreadLocalErrorCollection$2] (value [com.atlassian.core.logging.ThreadLocalErrorCollection$2@3ed76be5]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.plugin.util.ClassLoaderStack$1] (value [com.atlassian.plugin.util.ClassLoaderStack$1@30eca79e]) and a value of type [java.util.LinkedList] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.confluence.concurrent.ThreadLocalMap] (value [com.atlassian.confluence.concurrent.ThreadLocalMap@f08f2a]) and a value of type [java.util.HashMap] (value [{}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.core.logging.ThreadLocalErrorCollection$1] (value [com.atlassian.core.logging.ThreadLocalErrorCollection$1@23f6898]) and a value of type [java.util.LinkedList] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org.apache.log4j.helpers.ThreadLocalMap@90a4903]) and a value of type [java.util.Hashtable] (value [{}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.plugin.util.ClassLoaderStack$1] (value [com.atlassian.plugin.util.ClassLoaderStack$1@30eca79e]) and a value of type [java.util.LinkedList] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@10ebd44f]) and a value of type [java.util.WeakHashMap] (value [{class javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference@6abf9736, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@486090fa, class com.sun.jersey.server.wadl.generators.resourcedoc.model.RepresentationDocType=java.lang.ref.WeakReference@3bce3235, class com.sun.jersey.server.wadl.generators.resourcedoc.model.NamedValueType=java.lang.ref.WeakReference@5e42543f, class com.sun.jersey.server.wadl.generators.resourcedoc.model.ParamDocType=java.lang.ref.WeakReference@54a92471, class com.sun.jersey.server.wadl.generators.resourcedoc.model.ResponseDocType=java.lang.ref.WeakReference@2c97a223, class com.sun.jersey.server.wadl.generators.ApplicationDocs=java.lang.ref.WeakReference@1715beb4, class com.sun.jersey.server.wadl.generators.resourcedoc.model.AnnotationDocType=java.lang.ref.WeakReference@149b2743, class com.sun.jersey.server.wadl.generators.resourcedoc.model.RequestDocType=java.lang.ref.WeakReference@562eaa46, class java.util.ArrayList=java.lang.ref.WeakReference@11ad05de, class com.sun.jersey.server.wadl.generators.resourcedoc.model.ClassDocType=java.lang.ref.WeakReference@765c3ae2, class com.sun.research.ws.wadl.Grammars=java.lang.ref.WeakReference@211e0823, class com.sun.research.ws.wadl.Doc=java.lang.ref.WeakReference@3aa842d1, class com.sun.jersey.server.wadl.generators.resourcedoc.model.MethodDocType=java.lang.ref.WeakReference@7cbac56c, class com.sun.jersey.server.wadl.generators.resourcedoc.model.ResourceDocType=java.lang.ref.WeakReference@49f7756d}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@153e6d0b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3568f812]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org.apache.log4j.helpers.ThreadLocalMap@90a4903]) and a value of type [java.util.Hashtable] (value [{}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository. Jan 10, 2013 12:13:50 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8090 Jan 10, 2013 12:13:50 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8443 Jan 10, 2013 12:13:54 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property. Jan 10, 2013 12:13:54 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property. Jan 10, 2013 12:13:54 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property. Jan 10, 2013 12:13:54 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property. Jan 10, 2013 12:13:54 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8090 Jan 10, 2013 12:13:54 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8443 Jan 10, 2013 12:13:54 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 479 ms Jan 10, 2013 12:13:54 PM org.apache.catalina.core.StandardService start INFO: Starting service Tomcat-Standalone Jan 10, 2013 12:13:54 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.32 Jan 10, 2013 12:13:55 PM org.apache.tomcat.util.modeler.Registry registerComponent SEVERE: Null component Standalone:type=JspMonitor,name=jsp,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.UnsupportedClassVersionError: net/sourceforge/jtds/jdbc/Driver : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at java.sql.DriverManager.getCallerClass(Unknown Source) at java.sql.DriverManager.getDrivers(Unknown Source) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.<clinit>(BasicDataSource.java:57) at org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory.createDataSource(BasicDataSourceFactory.java:167) at org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory.getObjectInstance(BasicDataSourceFactory.java:156) at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140) at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.catalina.core.NamingContextListener.addResource(NamingContextListener.java:1020) at org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:629) at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:237) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4611) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) ... 6 more

    JIRA | 4 years ago | Andrew Katz
    java.lang.reflect.InvocationTargetException
  2. 0

    I installed SQL Plugin via marketplace, installed trial license, and edited server.xml. Copied jtds-1.3.0.jar to \lib directory, and then stopped and started confluence. Confluence server will not start anymore. When I remove the node in server.xml, server starts fine. <Resource name="jdbc/icMaster" auth="Container" type="javax.sql.DataSource" driverClassName="net.sourceforge.jtds.jdbc.Driver" url="jdbc:jtds:sqlserver://XXX.XXXX.LOCAL/icMaster" username="xxuserxx" password="xxxxxx" maxActive="20" maxIdle="10" maxWait="-1" /> Error in catalina.out: Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [net.sourceforge.jtds.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [HSQLDB Timer @369133f6] but has failed to stop it. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [com.google.inject.internal.Finalizer] but has failed to stop it. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.core.logging.ThreadLocalErrorCollection$2] (value [com.atlassian.core.logging.ThreadLocalErrorCollection$2@3ed76be5]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.plugin.util.ClassLoaderStack$1] (value [com.atlassian.plugin.util.ClassLoaderStack$1@30eca79e]) and a value of type [java.util.LinkedList] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.confluence.concurrent.ThreadLocalMap] (value [com.atlassian.confluence.concurrent.ThreadLocalMap@f08f2a]) and a value of type [java.util.HashMap] (value [{}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.opensymphony.xwork.ActionContext.ActionContextThreadLocal] (value [com.opensymphony.xwork.ActionContext$ActionContextThreadLocal@3021ef0d]) and a value of type [com.opensymphony.xwork.ActionContext] (value [com.opensymphony.xwork.ActionContext@3d5572b]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@2b4dca04]) and a value of type [org.dom4j.DocumentFactory] (value [org.dom4j.DocumentFactory@9e2d2]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.core.logging.ThreadLocalErrorCollection$2] (value [com.atlassian.core.logging.ThreadLocalErrorCollection$2@3ed76be5]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.plugin.util.ClassLoaderStack$1] (value [com.atlassian.plugin.util.ClassLoaderStack$1@30eca79e]) and a value of type [java.util.LinkedList] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.confluence.concurrent.ThreadLocalMap] (value [com.atlassian.confluence.concurrent.ThreadLocalMap@f08f2a]) and a value of type [java.util.HashMap] (value [{}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.core.logging.ThreadLocalErrorCollection$1] (value [com.atlassian.core.logging.ThreadLocalErrorCollection$1@23f6898]) and a value of type [java.util.LinkedList] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org.apache.log4j.helpers.ThreadLocalMap@90a4903]) and a value of type [java.util.Hashtable] (value [{}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.plugin.util.ClassLoaderStack$1] (value [com.atlassian.plugin.util.ClassLoaderStack$1@30eca79e]) and a value of type [java.util.LinkedList] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@10ebd44f]) and a value of type [java.util.WeakHashMap] (value [{class javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference@6abf9736, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@486090fa, class com.sun.jersey.server.wadl.generators.resourcedoc.model.RepresentationDocType=java.lang.ref.WeakReference@3bce3235, class com.sun.jersey.server.wadl.generators.resourcedoc.model.NamedValueType=java.lang.ref.WeakReference@5e42543f, class com.sun.jersey.server.wadl.generators.resourcedoc.model.ParamDocType=java.lang.ref.WeakReference@54a92471, class com.sun.jersey.server.wadl.generators.resourcedoc.model.ResponseDocType=java.lang.ref.WeakReference@2c97a223, class com.sun.jersey.server.wadl.generators.ApplicationDocs=java.lang.ref.WeakReference@1715beb4, class com.sun.jersey.server.wadl.generators.resourcedoc.model.AnnotationDocType=java.lang.ref.WeakReference@149b2743, class com.sun.jersey.server.wadl.generators.resourcedoc.model.RequestDocType=java.lang.ref.WeakReference@562eaa46, class java.util.ArrayList=java.lang.ref.WeakReference@11ad05de, class com.sun.jersey.server.wadl.generators.resourcedoc.model.ClassDocType=java.lang.ref.WeakReference@765c3ae2, class com.sun.research.ws.wadl.Grammars=java.lang.ref.WeakReference@211e0823, class com.sun.research.ws.wadl.Doc=java.lang.ref.WeakReference@3aa842d1, class com.sun.jersey.server.wadl.generators.resourcedoc.model.MethodDocType=java.lang.ref.WeakReference@7cbac56c, class com.sun.jersey.server.wadl.generators.resourcedoc.model.ResourceDocType=java.lang.ref.WeakReference@49f7756d}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@153e6d0b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3568f812]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Jan 10, 2013 12:13:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: The web application [] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org.apache.log4j.helpers.ThreadLocalMap@90a4903]) and a value of type [java.util.Hashtable] (value [{}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository. Jan 10, 2013 12:13:50 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8090 Jan 10, 2013 12:13:50 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8443 Jan 10, 2013 12:13:54 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property. Jan 10, 2013 12:13:54 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property. Jan 10, 2013 12:13:54 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property. Jan 10, 2013 12:13:54 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property. Jan 10, 2013 12:13:54 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8090 Jan 10, 2013 12:13:54 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8443 Jan 10, 2013 12:13:54 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 479 ms Jan 10, 2013 12:13:54 PM org.apache.catalina.core.StandardService start INFO: Starting service Tomcat-Standalone Jan 10, 2013 12:13:54 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.32 Jan 10, 2013 12:13:55 PM org.apache.tomcat.util.modeler.Registry registerComponent SEVERE: Null component Standalone:type=JspMonitor,name=jsp,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.UnsupportedClassVersionError: net/sourceforge/jtds/jdbc/Driver : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at java.sql.DriverManager.getCallerClass(Unknown Source) at java.sql.DriverManager.getDrivers(Unknown Source) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.<clinit>(BasicDataSource.java:57) at org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory.createDataSource(BasicDataSourceFactory.java:167) at org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory.getObjectInstance(BasicDataSourceFactory.java:156) at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140) at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.catalina.core.NamingContextListener.addResource(NamingContextListener.java:1020) at org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:629) at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:237) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4611) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) ... 6 more

    JIRA | 4 years ago | Andrew Katz
    java.lang.reflect.InvocationTargetException
  3. 0

    Error reading 'driverClassList

    GitHub | 3 years ago | emmanuel-keller
    java.lang.UnsupportedClassVersionError: net/sourceforge/jtds/jdbc/Driver : Unsupported major.minor version 51.0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 4.99::NoSuitableDriver exception running against a jtds driver. kc

    hivmr.com | 11 months ago
    java.lang.UnsupportedClassVersionError: net/sourceforge/jtds/jdbc/Driver : Unsupported major.minor version 51.0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedClassVersionError

      net/sourceforge/jtds/jdbc/Driver : Unsupported major.minor version 51.0

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      DriverManager.getDrivers
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClassCond(Unknown Source)
      3. java.lang.ClassLoader.defineClass(Unknown Source)
      4. java.security.SecureClassLoader.defineClass(Unknown Source)
      5. java.net.URLClassLoader.defineClass(Unknown Source)
      6. java.net.URLClassLoader.access$000(Unknown Source)
      7. java.net.URLClassLoader$1.run(Unknown Source)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.net.URLClassLoader.findClass(Unknown Source)
      10. java.lang.ClassLoader.loadClass(Unknown Source)
      11. java.lang.ClassLoader.loadClass(Unknown Source)
      12. java.lang.Class.forName0(Native Method)
      13. java.lang.Class.forName(Unknown Source)
      14. java.sql.DriverManager.getCallerClass(Unknown Source)
      15. java.sql.DriverManager.getDrivers(Unknown Source)
      15 frames
    3. org.apache.tomcat
      BasicDataSourceFactory.getObjectInstance
      1. org.apache.tomcat.dbcp.dbcp.BasicDataSource.<clinit>(BasicDataSource.java:57)
      2. org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory.createDataSource(BasicDataSourceFactory.java:167)
      3. org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory.getObjectInstance(BasicDataSourceFactory.java:156)
      3 frames
    4. Web Container Naming Utilities
      ResourceFactory.getObjectInstance
      1. org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)
      1 frame
    5. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
      1 frame
    6. Web Container Naming Utilities
      NamingContext.lookup
      1. org.apache.naming.NamingContext.lookup(NamingContext.java:793)
      2. org.apache.naming.NamingContext.lookup(NamingContext.java:140)
      3. org.apache.naming.NamingContext.lookup(NamingContext.java:781)
      4. org.apache.naming.NamingContext.lookup(NamingContext.java:153)
      4 frames
    7. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.NamingContextListener.addResource(NamingContextListener.java:1020)
      2. org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:629)
      3. org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:237)
      4. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      5. org.apache.catalina.core.StandardContext.start(StandardContext.java:4611)
      6. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      7. org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
      8. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      9. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      10. org.apache.catalina.core.StandardService.start(StandardService.java:525)
      11. org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
      12. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      12 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    9. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      2 frames