Community
Participate
Working Groups
Build Identifier: 1.0.0.RELEASE In Virgo Tomcat Server, redeploying a bundle containing a persistence unit fails with a NoClassDefFoundError for classes in org.eclipse.persistence.* packages. The first deploy works fine, but any further refreshing (overwrite in pickup) or reinstall (remove from pickup then copy again) fails. The only way I can redeploy the persistence unit is to first restart the bundle "org.eclipse.gemini.jpa". As a workaround I imported in my persistence unit manifest all packages exported by the bundle "org.eclipse.persistence.core". It works now, but makes my persistence unit really not portable. I'm using Virgo 3.0.1.RELEASE, Gemini JPA 1.0.0.RELEASE and EclipseLink 2.3.0. Reproducible: Always Steps to Reproduce: 1. Starts a Virgo server with Gemini JPA 2. Deploy the test bundle 3. Redeploy the test bundle
Created attachment 205628 [details] Test bundle
Created attachment 205629 [details] Stacktrace of the exception
Tested with 1.1.0.M1. No change.
Ok, seems to be resolved in Gemini 1.1.0.RC1 / EL 2.4.0.
Good. Thanks for checking back.