Hi,
I'm experiencing the following error in weblogic 12c when running from a jenkins maven build some integration tests deploying an ear-file and accessing the application.
Caused by: java.lang.NoClassDefFoundError: net/bull/javamelody/JdbcWrapper$ConnectionInvocationHandler
at net.bull.javamelody.JdbcWrapper.createConnectionProxy(JdbcWrapper.java:809)
at net.bull.javamelody.JdbcWrapper$2.invoke(JdbcWrapper.java:695)
at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:287)
at $Proxy62.connect(Unknown Source)
at weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:553)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:518)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:511)
It's working fine when accessing the application as a user would do.
I'm a bit confused as the JDBCWrapper is found but not the inner class.
Any suggestion would be appreciated.
Thanks,
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG JavaMelody filter init started
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG OS: Linux unknown, i386/32
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG Java: Java(TM) SE Runtime Environment, 1.6.0_29-b11
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG Server: WebLogic Server Temporary Patch for BUG15926456 Fri Mar 15 19:12:44 MDT 2013 WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012 WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012 WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012 WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012 WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012 WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012 WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012 WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012 WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012 WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 Oracle WebLogic Server Module Dependencies 12.1 Mon Nov 21 16:41:37 UTC 2011 Oracle WebLogic Server on JRockit Virtual Edition Module Dependencies 12.1 Fri Oct 21 21:16:45 UTC 2011
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG Webapp context: /MYAPP
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG JavaMelody version: 1.53.0-SNAPSHOT
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG JavaMelody classes loaded from: file:/opt/appserver/weblogic/user_projects/domains/myapp/servers/AdminServer/tmp/_WL_user/MYAPP_EAR/3qzdst/APP-INF/lib/javamelody.jar
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG Host: ....
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG parameter defined: displayed-counters=sql,log,ejb
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG parameter defined: no-database=false
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG parameter defined: disabled=false
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG parameter defined: datasources=java:comp/env/jdbc/myDataSource
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG log listeners initialized
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG datasources found in JNDI: [java:comp/env/jdbc/myDataSource]
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG Datasource needs rewrap: java:comp/env/jdbc/myDataSource of class weblogic.jdbc.common.internal.RmiDataSource
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG Datasource rewrapped: java:comp/env/jdbc/myDataSource
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG counters initialized
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG counters data read from files in /tmp/javamelody/MYAPP....
Wed Aug 27 09:18:26 GMT+01:00 2014 DEBUG collect task scheduled every 60s
Wed Aug 27 09:18:27 GMT+01:00 2014 DEBUG first collect of data done
Wed Aug 27 09:18:27 GMT+01:00 2014 DEBUG JavaMelody filter init done in 951 ms
Wed Aug 27 09:18:29 GMT+01:00 2014 DEBUG ejb interceptor initialized
Wed Aug 27 09:18:29 GMT+01:00 2014 DEBUG ejb interceptor initialized
Wed Aug 27 09:18:29 GMT+01:00 2014 DEBUG ejb interceptor initialized
....
Jean-Noel