Hans J. Prueller
2011-09-08 05:52:27 UTC
Hi JOnAS Team!
I just downloaded and configured the new JOnAS 5.3 M4 Milestone, and
tried to deploy our EAR application.
Basically it works, but there seems to be a Problem with contained
EclipseLink (2.1.3) - seems that weaving does not take place!
The identical EAR archive which works on 5.2.0-M5/RC produces the
following error on 5.3.0 M4:
[EL Info]: 2011-09-08
07:45:23.633--ServerSession(2018501004)--EclipseLink, version: Eclipse
Persistence Services - 2.1.3.v20110304-r9073
[EL Info]: 2011-09-08 07:45:23.661--ServerSession(2018501004)--Server:
EasyBeans
[EL Severe]: 2011-09-08 07:45:24.343--ServerSession(2018501004)--Local
Exception Stack:
Exception [EclipseLink-0] (Eclipse Persistence Services -
2.1.3.v20110304-r9073):
org.eclipse.persistence.exceptions.IntegrityException
Descriptor Exceptions:
---------------------------------------------------------
Exception [EclipseLink-60] (Eclipse Persistence Services -
2.1.3.v20110304-r9073):
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_)])
Exception [EclipseLink-60] (Eclipse Persistence Services -
2.1.3.v20110304-r9073):
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_)])
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.system.objects.IMSSetting.loadFromStore(IMSSetting.java:430)
Seems very clear to me that the error occurs because the JPA entities
are not "enhanced"/weaved by EclipseLink -- what do you think ?
regards,
HANS
I just downloaded and configured the new JOnAS 5.3 M4 Milestone, and
tried to deploy our EAR application.
Basically it works, but there seems to be a Problem with contained
EclipseLink (2.1.3) - seems that weaving does not take place!
The identical EAR archive which works on 5.2.0-M5/RC produces the
following error on 5.3.0 M4:
[EL Info]: 2011-09-08
07:45:23.633--ServerSession(2018501004)--EclipseLink, version: Eclipse
Persistence Services - 2.1.3.v20110304-r9073
[EL Info]: 2011-09-08 07:45:23.661--ServerSession(2018501004)--Server:
EasyBeans
[EL Severe]: 2011-09-08 07:45:24.343--ServerSession(2018501004)--Local
Exception Stack:
Exception [EclipseLink-0] (Eclipse Persistence Services -
2.1.3.v20110304-r9073):
org.eclipse.persistence.exceptions.IntegrityException
Descriptor Exceptions:
---------------------------------------------------------
Exception [EclipseLink-60] (Eclipse Persistence Services -
2.1.3.v20110304-r9073):
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_)])
Exception [EclipseLink-60] (Eclipse Persistence Services -
2.1.3.v20110304-r9073):
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_)])
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.system.objects.IMSSetting.loadFromStore(IMSSetting.java:430)
Seems very clear to me that the error occurs because the JPA entities
are not "enhanced"/weaved by EclipseLink -- what do you think ?
regards,
HANS