Hi

Add in conf/system.properties the line:
openrejb.classloader.forced-load=org.apache.derby

Not sure why we changed it bu what's sure is putting it in webinf/lib
creates mem leaks (not always an issue if you just start/stop the server)
Le 15 déc. 2013 12:49, "Diego Cattelan" <[email protected]> a écrit :

> Hi, I have Jackrabbit 2.6.4 embedded in my web application on TomEE 1.5.2.
> Now I try to move to TomEE 1.6.0 but when the application use Jackrabbit
> the
> following exceptions raise:
>
> Grave: failed to start Repository: Cannot instantiate persistence manager
> org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
> javax.jcr.RepositoryException: Cannot instantiate persistence manager
> org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager at
>
> org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1353)
> ...
> ...
> Caused by: javax.jcr.RepositoryException: Could not load JDBC driver class
> org.apache.derby.jdbc.EmbeddedDriver
> ...
> ...
> Caused by: java.lang.ClassNotFoundException:
> org.apache.derby.jdbc.EmbeddedDriver
> ...
>
> obviously derby-10.5.3.0_1.jar is in WEB-INF/lib with the required class.
> What should I check ? Thanks
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Jackrabbit-tp4666745.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to