Bug 264589 - jpa.advanced.AdvancedJunitTest.testEL254937 failed on all application servers
Summary: jpa.advanced.AdvancedJunitTest.testEL254937 failed on all application servers
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-02-11 15:25 EST by Kevin Yuan CLA
Modified: 2022-06-09 10:20 EDT (History)
0 users

See Also:


Attachments
patch for the bug (8.98 KB, application/octet-stream)
2009-07-09 14:00 EDT, Kevin Yuan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Yuan CLA 2009-02-11 15:25:48 EST
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)
Comment 1 Kevin Yuan CLA 2009-07-09 14:00:10 EDT
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.
Comment 2 Kevin Yuan CLA 2009-07-09 14:01:56 EDT
Checked in both 2.0 and 1.1 branch. Code reviewed by Edwin Tang.

Revision: 4636
Comment 3 Peter Krogh CLA 2009-08-26 09:47:42 EDT
Mass update to change fixed in target.
Comment 4 Peter Krogh CLA 2009-08-26 09:50:09 EDT
Mass update to change fixed in target.
Comment 5 Peter Krogh CLA 2009-08-26 09:55:39 EDT
Mass update to change fixed in target.
Comment 6 Peter Krogh CLA 2009-08-26 09:57:55 EDT
Mass update to change fixed in target.
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:20:55 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink