Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Migration Glassfish 3.1.2 to Wildfly: Challenge trying to get EclipseLink to Work(Migration Glassfish 3.1.2 to Wildfly: Challenge trying to get EclipseLink to Work)
Migration Glassfish 3.1.2 to Wildfly: Challenge trying to get EclipseLink to Work [message #1413366] Thu, 28 August 2014 11:11
daslan govender is currently offline daslan govenderFriend
Messages: 1
Registered: August 2014
Junior Member
Hi

I have got EclipseLink enabled on WildFly using post from other forums.

The problem I am getting now is:
10:53:43,430 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) JBAS014613: Operation ("deploy") failed - address: ({"deployment" => "fnds-ear-1.0.0.ear"}) - failure description: {
"JBAS014671: Failed services" => {"jboss.persistenceunit.\"fnds-ear-1.0.0.ear/fnds-persistence-1.0.0.jar#za.co.fnds_fnds-core_ejb_1.0.0PU\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"fnds-ear-1.0.0.ear/fnds-persistence-1.0.0.jar#za.co.fnds_fnds-core_ejb_1.0.0PU\": javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [za.co.fnds_fnds-core_ejb_1.0.0PU] failed.

Internal Exception: Exception [EclipseLink-7250] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.ValidationException
Exception Description: [class za.co.fnds.persistence.entities.Tcu05CustomerBinProgs] uses a non-entity [class za.co.fnds.persistence.entities.Tca11BinPrograms] as target entity in the relationship attribute [field binProgId].
Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.EntityManagerSetupException

To make this error go away I add za.co.fnds.persistence.entities.Tca11BinPrograms to the persitance.xml. Please see file attached


How do I solve this problem of not adding all these entities into this xml file? What does it mean when you add them to this file using the class tag?

Tks,
daslan
Previous Topic:Right outer join
Next Topic:Left join with where condition
Goto Forum:
  


Current Time: Fri Apr 26 22:10:01 GMT 2024

Powered by FUDForum. Page generated in 0.52013 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top