Community
Participate
Working Groups
The following error message are received during running on WLS 10.3: Error during postInvoke.; nested exception is: java.lang.Exception: [EJB:011063]Stateless session beans with bean-managed transactions must commit or rollback their transactions before completing a business method. The method runTest(java.lang.String,java.lang.String,java.util.Properties) of EJB 'TestRunner' either returned or threw an Exception without properly completing a transaction. javax.ejb.EJBException: Error during postInvoke.; nested exception is: java.lang.Exception: [EJB:011063]Stateless session beans with bean-managed transactions must commit or rollback their transactions before completing a business method. The method runTest(java.lang.String,java.lang.String,java.util.Properties) of EJB 'TestRunner' either returned or threw an Exception without properly completing a transaction. at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:105) at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:87) at $Proxy0.runTest(Unknown Source) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBareClient(JUnitTestCase.java:388) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:362)Caused by: java.lang.Exception: [EJB:011063]Stateless session beans with bean-managed transactions must commit or rollback their transactions before completing a business method. The method runTest(java.lang.String,java.lang.String,java.util.Properties) of EJB 'TestRunner' either returned or threw an Exception without properly completing a transaction. at weblogic.ejb.container.manager.StatelessManager.postInvoke(StatelessManager.java:184) at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:481) at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60) at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441) at org.eclipse.persistence.testing.framework.server.TestRunner_q0mh0s_TestRunnerImpl.runTest(TestRunner_q0mh0s_TestRunnerImpl.java:77) at org.eclipse.persistence.testing.framework.server.TestRunner_q0mh0s_TestRunnerImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589) at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230) at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473) at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Created attachment 141224 [details] patch for the bug Based on the suggestion from James Sutherland, this test shouldn't run on Application Server, it check the internal exception.
Checked in both 2.0 and 1.1 branch. Code reviewed by Edwin Tang. Revision: 4636
Mass update to change fixed in target.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink