Announcement Announcement Module
Collapse
No announcement yet.
Why this is no JDBC filter in Spring Insight Dashboard Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why this is no JDBC filter in Spring Insight Dashboard

    I am using Spring Insight (use STS )to monitor my project .
    my environment is structs2+jpa+hibernate3+spring + windowsxp
    I am using JNDI in my project and configure that in context.xml in STS.
    When I am using Spring Insight to monitor my project, why this is no JDBC filter in dashboard ?
    also ,when I am starting the server , there is one warning and one exception
    as below.
    However , my project and Spring Insight still work after starting the server.
    just lost the JDBC filter

    ****************warning starts************
    tomcatWeavingInsightClassLoader@118cb3a] warning javax.* types are not being woven because the weaver option '-Xset:weaveJavaxPackages=true' has not been specified
    ****************warning ends ************

    ********************exception starts***************
    java.sql.SQLException
    at org.apache.tomcat.jdbc.pool.PooledConnection.conne ctUsingDriver(PooledConnection.java:201)
    at org.apache.tomcat.jdbc.pool.PooledConnection.conne ct(PooledConnection.java:150)
    at org.apache.tomcat.jdbc.pool.ConnectionPool.createC onnection(ConnectionPool.java:619)
    at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowC onnection(ConnectionPool.java:562)
    at org.apache.tomcat.jdbc.pool.ConnectionPool.init(Co nnectionPool.java:425)
    at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>( ConnectionPool.java:130)
    at org.apache.tomcat.jdbc.pool.DataSourceProxy.create Pool(DataSourceProxy.java:93)
    at org.apache.tomcat.jdbc.pool.DataSourceFactory.crea teDataSource(DataSourceFactory.java:490)
    at org.apache.tomcat.jdbc.pool.DataSourceFactory.getO bjectInstance(DataSourceFactory.java:219)
    at org.apache.naming.factory.ResourceFactory.getObjec tInstance(ResourceFactory.java:140)
    at javax.naming.spi.NamingManager.getObjectInstance(U nknown Source)
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:793)
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:140)
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:781)
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:153)
    at org.apache.catalina.core.NamingContextListener.add Resource(NamingContextListener.java:1020)
    at org.apache.catalina.core.NamingContextListener.cre ateNamingContext(NamingContextListener.java:629)
    at org.apache.catalina.core.NamingContextListener.lif ecycleEvent(NamingContextListener.java:237)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:142)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4540)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:568)
    at org.apache.catalina.startup.HostConfig.deployDescr iptor(HostConfig.java:637)
    at org.apache.catalina.startup.HostConfig.deployDescr iptors(HostConfig.java:563)
    at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:498)
    at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1282)
    at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:321)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:142)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:807)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:445)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:519)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:414)
    Caused by: java.lang.NullPointerException
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.apache.tomcat.jdbc.pool.PooledConnection.conne ctUsingDriver(PooledConnection.java:195)
    ... 41 more
    2011-4-19 18:44:01 org.apache.catalina.core.NamingContextListener addResource

    ********************exception ends***************

    Any help will be appreciated.
    Last edited by freelancer; Apr 19th, 2011, 10:07 PM.

  • #2
    Does anybody encounter this problem

    Does anybody encounter this problem ?

    Comment


    • #3
      Please see this issue for more details: https://issuetracker.springsource.com/browse/INSIGHT-12

      In short, disable aspectj overweaving or wait for Insight 1.5.1

      Comment

      Working...
      X