[Gemini JPA] The Start order of the Domain Bundle is important? [message #850444] |
Fri, 20 April 2012 03:28 |
Eduardo Frazão Messages: 123 Registered: January 2012 |
Senior Member |
|
|
Hi all. Im using Gemini JPA with Virgo, and if my Domain Bundle is not the first, some Eclipselink class not found exceptions occour when createEntityManagerFactory of EntityManagerFactoryBuilder service is invoked.
Example:
Caused by: org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: org.eclipse.persistence.internal.weaving.PersistenceWeaved in KernelBundleClassLoader: [bundle=br.com.centrocate.weld.domain_1.0.0]
(Importing this class causes other eclipselink classes missing, etc). If I change the deploy order, and put the domain bundle as first, no problem occours, and I dont need to import anything from eclipselink.
Thanks
Eduardo Frazão
[Updated on: Fri, 20 April 2012 03:29] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03306 seconds