Bug 296380 - testSequenceObjectDefinition() in fieldaccess/advanced model failed on GlassFish V2 against Oracle 11.1.0.7
Summary: testSequenceObjectDefinition() in fieldaccess/advanced model failed on GlassF...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-11-27 16:34 EST by Yiping Zhao CLA
Modified: 2022-06-09 10:28 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yiping Zhao CLA 2009-11-27 16:34:35 EST
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)
Comment 1 Yiping Zhao CLA 2009-11-27 16:56:54 EST
I will investigate it to see if it's related to database schema cleanup, if it's not, I will remove "test" from keywords.
Comment 2 Tom Ware CLA 2009-12-04 15:01:36 EST

*** This bug has been marked as a duplicate of bug 296961 ***
Comment 3 Yiping Zhao CLA 2010-05-11 10:58:51 EDT
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
Comment 4 Yiping Zhao CLA 2010-08-03 15:49:02 EDT
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.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:14:07 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:28:13 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink