Community
Participate
Working Groups
EL: trunk (2.4) The following are all 8 tests failed on all application servers, the stack trace are from WLS 10.3.5 (with jpa2.0 supported patch): 1.) org.eclipse.persistence.testing.tests.jpa.cacheable.CacheableModelJunitTestDisableSelective.testEmbeddableProtectedCaching and testDerivedIDProtectedRead: ========================================================================= javax.transaction.NotSupportedException: Another transaction is associated with this thread. Existing transaction Xid=BEA1-026AE7A8103D7F28EDB9(1054745237),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=30,activeThread=Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads],XAServerResourceInfo[EclipseLinkDS_mydomain]=(ServerResourceInfo[EclipseLinkDS_mydomain]=(state=started,assigned=none),xar=weblogic.jdbc.wrapper.JTSEmulateXAResourceImpl@69b08471,re-Registered = false),SCInfo[mydomain+myserver]=(state=active),properties=({weblogic.jdbc.remote.EclipseLinkDS=t3://10.156.51.8:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=myserver+10.156.51.8:7001+mydomain+t3+, XAResources={EclipseLinkDS_mydomain, WSATGatewayRM_myserver_mydomain},NonXAResources={})],CoordinatorURL=myserver+10.156.51.8:7001+mydomain+t3+) 2.) org.eclipse.persistence.testing.tests.jpa.cacheable.CacheableModelJunitTestDisableSelective.testMergeNonCachedWithRelationship: =============================================== Entity must be managed to call remove: org.eclipse.persistence.testing.models.jpa.cacheable.CacheableFalseEntity@429fdb4a, try merging the detached and try the remove again. 3.) org.eclipse.persistence.testing.tests.jpa.cacheable.CacheableModelJunitTestAll.testCachingOnALL, org.eclipse.persistence.testing.tests.jpa.cacheable.CacheableModelJunitTestNone.testCachingOnNONE, org.eclipse.persistence.testing.tests.jpa.cacheable.CacheableModelJunitTestEnableSelective.testCachingOnENABLE_SELECTIVE, org.eclipse.persistence.testing.tests.jpa.cacheable.CacheableModelJunitTestDisableSelective.testCachingOnDISABLE_SELECTIVE, org.eclipse.persistence.testing.tests.jpa.cacheable.CacheableModelJunitTestUnspecified.testCachingOnUNSPECIFIED: ================================ java.lang.NullPointerException at org.eclipse.persistence.testing.tests.jpa.cacheable.CacheableModelJunitTest.usesNoCache(CacheableModelJunitTest.java:1790) at org.eclipse.persistence.testing.tests.jpa.cacheable.CacheableModelJunitTest.testCachingOnUNSPECIFIED(CacheableModelJunitTest.java:993) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBareServer(JUnitTestCase.java:652) at org.eclipse.persistence.testing.framework.server.TestRunner5Bean.runTest(TestRunner5Bean.java:87) at org.eclipse.persistence.testing.framework.server.TestRunner5_42jnxs_TestRunner5Impl.__WL_invoke(Unknown Source) at org.eclipse.persistence.testing.framework.server.TestRunner5_42jnxs_TestRunner5Impl.runTest(Unknown Source) at org.eclipse.persistence.testing.framework.server.TestRunner5_42jnxs_TestRunner5Impl_WLSkel.invoke(Unknown Source)
James has fixed this issues with his transaction (revision 10175), and verified by running these tests on WAS 8 and Glassfish v3.*.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink