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. This test is in org.eclipse.persistence.testing.tests.jpa.proxyauthentication.ProxyAuthenticationServerTestSuite. Note: today we found a issue with the testCreateWithOutProxy() itself, on WebSphere the exception "ORA-00942: table or view does not exist" is wrapped in RollbackException, so the test failed because it didn't see the exception "ORA-00942: table or view does not exist". So we need to change the test to catch RollbackException, then look for inner exception to see if it includes "ORA-00942: table or view does not exist". So I will investigate this on GlassFish to see if it's the case, if it's not, I will remove "test" in keywords. Exception on GlassFish is: 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 $Proxy101.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)
Verified that the problem no longer exists ater Mitesh fixed bug 300565.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink