Bug 296384 - testCreateWithOutProxy() failed on GlassFish V2 against Oracle 11.1.0.7
Summary: testCreateWithOutProxy() failed on GlassFish V2 against Oracle 11.1.0.7
Status: CLOSED INVALID
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:53 EST by Yiping Zhao CLA
Modified: 2022-06-09 10:30 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:53:52 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.

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)
Comment 1 Yiping Zhao CLA 2010-02-23 09:48:56 EST
Verified that the problem no longer exists ater Mitesh fixed bug 300565.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:30:48 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink