[c3p0-users] C3P0 (Unsupported Management version) and Jdeveloper
Status: Beta
Brought to you by:
swaldman
From: Franklin A. <fra...@gm...> - 2008-06-02 14:00:49
|
Hi All, I keep getting this error when using c3p0-0.9.1.1.jar with Jdeveloper 10.1.3. However the same thing works perfectly fine on Eclipse. Seems like some JMX registration problem, which I have no use of. Is there some way to get around this. Another thing noticed is that c3p0-0.9.1-pre6.jar works fine. My JDK is 1.5 WARN CglibSubclassingInstantiationStrategy 2008-05-25 15:44:27,130 Factory method [public static javax.sql.DataSource com.mchange.v2.c3p0.DataSources.unpooledDataSource(java.lang.String,java.lang.String,java.lang.String) throws java.sql.SQLException] threw exception java.lang.InternalError: Unsupported Management version at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:992) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at sun.management.ManagementFactory.<clinit>(ManagementFactory.java:417) at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:512) at com.mchange.v2.c3p0.management.ActiveManagementCoordinator.<init>(ActiveManagementCoordinator.java:42) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at com.mchange.v2.c3p0.C3P0Registry.<clinit>(C3P0Registry.java:134) at com.mchange.v2.c3p0.impl.DriverManagerDataSourceBase.<init>(DriverManagerDataSourceBase.java:206) at com.mchange.v2.c3p0.DriverManagerDataSource.<init>(DriverManagerDataSource.java:60) at com.mchange.v2.c3p0.DriverManagerDataSource.<init>(DriverManagerDataSource.java:56) at com.mchange.v2.c3p0.DataSources.unpooledDataSource(DataSources.java:152) at com.mchange.v2.c3p0.DataSources.unpooledDataSource(DataSources.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:109) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:281) Thanks, Franklin. -- View this message in context: http://www.nabble.com/C3P0-%28Unsupported-Management-version%29-and-Jdeveloper-tp17602040p17602040.html Sent from the c3p0 - users mailing list archive at Nabble.com. |