views:

28

answers:

0

Datanucleus supports some pool manager options:

http://www.datanucleus.org/products/accessplatform_2_2/rdbms/connection_pooling.html

DBCP plugin

C3P0 plugin

Proxool plugin

And recently

BoneCP plugin

I've tried EVERYONE of them, with NO success, because of OSGI (i'm under ECLIPSE RCP)

The closest i've been to succeed was with DBCP, but i had to implement a MANUAL initialization of DBCP, and could not start Datanucleus with the required parameters...

So, what happens?

The JARs are on the classpath, but the classes are not loaded.


Caused by: java.lang.ClassNotFoundException: com.jolbox.bonecp.BoneCPConfig at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)

at java.lang.ClassLoader.loadClass(Unknown Source)

ANYONE here implemented a Poolmanager UNDER ECLIPSE RCP and Datanucleus?

Thanks a lot.