Community
Participate
Working Groups
This is not a new regression, we never run JPA tests on GlassFish V2 using Oracle before, we used to run JPA tests on GlassFish V2 using Derby. Note:I saw the failure before on other application servers with oracle database in my local runs, it's related to database and it's intermittent error, but I am not sure if it's true for GlassFish, we need to continue to watch the nightly result. The test is in org.eclipse.persistence.testing.tests.jpa.fieldaccess.advanced.EntityManagerJUnitTestSuite. nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: Stateless SessionBean method returned without completing transaction javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: Stateless SessionBean method returned without completing transaction java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: Stateless SessionBean method returned without completing transaction at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:243) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152) at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225) at org.eclipse.persistence.testing.framework.server.__TestRunner_Remote_DynamicStub.runTest(org/eclipse/persistence/testing/framework/server/__TestRunner_Remote_DynamicStub.java) at org.eclipse.persistence.testing.framework.server._TestRunner_Wrapper.runTest(org/eclipse/persistence/testing/framework/server/_TestRunner_Wrapper.java) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBareClient(JUnitTestCase.java:452) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:426) Caused by: java.rmi.RemoteException: Stateless SessionBean method returned without completing transaction at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:251) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1420) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1325) at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:210) at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:77) at $Proxy44.runTest(Unknown Source) at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154) at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687) at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088) at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567) at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555) javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: Stateless SessionBean method returned without completing transaction at org.eclipse.persistence.testing.framework.server._TestRunner_Wrapper.runTest(org/eclipse/persistence/testing/framework/server/_TestRunner_Wrapper.java) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBareClient(JUnitTestCase.java:452) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:426)
I will investigate it to see if it's related to database schema cleanup, if it's not, I will remove "test" from keywords.
*** This bug has been marked as a duplicate of bug 296961 ***
Noticed that the bug 296961 has been closed as fixed, which is the bug this bug is duplicated to, but the tests described in this bug still failed as for today's result, so I need to reopen this bug. http://stame02.us.oracle.com/eclipselink-server-certification/main/2010-05-11/server-test-lrg-glassfish-3-oracle-11.1-thin.html#FAServerTestSuite
Same test in jpa/advanced model has already been taken out from server testing as stated in 262251, so this test in fieldaccess/advanced model needs to be taken out as well. The change is adding isOnServer() in if(!ss.getLogin().getPlatform().supportsSequenceObjects()) in testSequenceObjectDefinition(), the update has been checked in main as revision 7968, 2.1.x as revision 7969 and 2.0.x as revision 7973. code is reviewed by Kevin Yuan.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink