EclipseLink2 BROKEN on JOnAS 5.2.0 RELEASE ?
"Hans J. Prueller" <[email protected]> Thu, 07 Apr 2011 08:02:10 +0200
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Organization | LBS logics GmbH |
| Message-ID | <1302156130.19174.4.camel@kodos> |
Hi All, I guess something is broken with EclipseLink2 on JOnAS 5.2.0 Release Version. We switchted to EclipseLink2 without Problems - it worked fine until 5.2.0-M5. Now when I try to upgrade my development machine to 5.2.0 release version, I get the following error: ***** [EL Info]: 2011-04-07 07:57:50.073--ServerSession(297333178)--EclipseLink, version: Eclipse Persistence Services - 2.1.2.v20101206-r8635 [EL Info]: 2011-04-07 07:57:50.148--ServerSession(297333178)--Server: EasyBeans [EL Severe]: 2011-04-07 07:57:50.652--ServerSession(297333178)--Local Exception Stack: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.IntegrityException Descriptor Exceptions: --------------------------------------------------------- Exception [EclipseLink-60] (Eclipse Persistence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The method [_persistence_set_businessTripDay_vh] or [_persistence_get_businessTripDay_vh] is not defined in the object [com.lbslogics.ims.model.Event]. Internal Exception: java.lang.NoSuchMethodException: com.lbslogics.ims.model.Event._persistence_get_businessTripDay_vh() Mapping: org.eclipse.persistence.mappings.ManyToOneMapping[businessTripDay] Descriptor: RelationalDescriptor(com.lbslogics.ims.model.Event --> [DatabaseTable(EventBean_)]) Exception [EclipseLink-60] (Eclipse Persistence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The method [_persistence_set_businessTrip_vh] or [_persistence_get_businessTrip_vh] is not defined in the object [com.lbslogics.ims.model.Event]. Internal Exception: java.lang.NoSuchMethodException: com.lbslogics.ims.model.Event._persistence_get_businessTrip_vh() Mapping: org.eclipse.persistence.mappings.ManyToOneMapping[businessTrip] Descriptor: RelationalDescriptor(com.lbslogics.ims.model.Event --> [DatabaseTable(EventBean_)]) Runtime Exceptions: --------------------------------------------------------- java.lang.NullPointerException at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:471) at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:406) at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:666) at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:615) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:228) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:389) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:164) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:221) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:209) at org.ow2.easybeans.persistence.TxEntityManagerHandler.buildNewTxEntityManager(TxEntityManagerHandler.java:124) at org.ow2.easybeans.persistence.TxEntityManagerHandler.getCurrent(TxEntityManagerHandler.java:112) at org.ow2.easybeans.persistence.TxEntityManager.getCurrentEntityManager(TxEntityManager.java:74) at org.ow2.easybeans.persistence.TxEntityManager.createNamedQuery(TxEntityManager.java:246) at org.ow2.easybeans.persistence.ContainerManagedEntityManager.createNamedQuery(ContainerManagedEntityManager.java:244) at com.lbslogics.ims.model.Employee.findByAppUsername(Employee.java:192) ***** We did not change a single line of code which basically works perfect on JOnAS 5.2.0-M5 with eclipselink2 ---> guess it is some configuration problem of the 5.2.0 release bundle ??? Hans