Re: CMP failures in 2.3 (was: Openjeb itests - 552 tests, 2 failures, 2 errors)
On Dec 7, 2006, at 5:20 AM, Gianny Damour wrote: On 07/12/2006, at 11:10 AM, David Blevins wrote: On Dec 6, 2006, at 12:38 PM, Prasad Kashyap wrote: We are now down to just 2 failures and 2 errors on the Openejb-2.3 itests. The stack trace is here -- http://rifers.org/paste/show/ 2622 org.apache.openejb.test.TestFailureException : null; nested exception is: junit.framework.AssertionFailedError: Should have thrown DuplicateKeyException at junit.framework.Assert.fail(Assert.java:47) at org.apache.openejb.test.entity.cmp.CmpTransactionTests.testInvokeCrea teCreateSameCMP(CmpTransactionTests.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Transaction.testInvokeCreateFindForceCacheFlush Time elapsed: 0.32 sec FAILURE! junit.framework.AssertionFailedError: Received Exception class org.apache.openejb.test.TestFailureException : null; nested exception is: junit.framework.AssertionFailedError: expected:1 but was:0 at junit.framework.Assert.fail(Assert.java:47) at org.apache.openejb.test.entity.cmp.CmpTransactionTests.testInvokeCrea teFindForceCacheFlush(CmpTransactionTests.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Hi David, Sorry for not pro-actively helping (hope to be back to OEJB after some WADI stuff). No worries, you're a free man :) Thanks for looking at the tests. -David
Re: CMP failures in 2.3 (was: Openjeb itests - 552 tests, 2 failures, 2 errors)
On 07/12/2006, at 11:10 AM, David Blevins wrote: On Dec 6, 2006, at 12:38 PM, Prasad Kashyap wrote: We are now down to just 2 failures and 2 errors on the Openejb-2.3 itests. The stack trace is here -- http://rifers.org/paste/show/ 2622 org.apache.openejb.test.TestFailureException : null; nested exception is: junit.framework.AssertionFailedError: Should have thrown DuplicateKeyException at junit.framework.Assert.fail(Assert.java:47) at org.apache.openejb.test.entity.cmp.CmpTransactionTests.testInvokeCreat eCreateSameCMP(CmpTransactionTests.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Transaction.testInvokeCreateFindForceCacheFlush Time elapsed: 0.32 sec FAILURE! junit.framework.AssertionFailedError: Received Exception class org.apache.openejb.test.TestFailureException : null; nested exception is: junit.framework.AssertionFailedError: expected:1 but was:0 at junit.framework.Assert.fail(Assert.java:47) at org.apache.openejb.test.entity.cmp.CmpTransactionTests.testInvokeCreat eFindForceCacheFlush(CmpTransactionTests.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Hi David, Sorry for not pro-actively helping (hope to be back to OEJB after some WADI stuff). I debugged the two above tests and identified the issue: an automatic pk generation were wrongly configured for the CMP BasicCmpBeanExplicitPK. This causes at least the two above failures. It seems that something is wrong with my build as I observe weird JNDI lookup problems and I am not sure that dropping the key- generator element does not impact other tests. So, Prasad, could you please do me favor and drop this element for BasicCmpBeanExplicitPK and re-execute? Meanwhile, I will try to fix my build. Thanks, Gianny CMRMappingTests.testOneToManyDoNotSetCMR Time elapsed: 0.26 sec ERROR! org.apache.openejb.test.TestFailureException: null; nested exception is: junit.framework.AssertionFailedError: Received Exception class javax.transaction.RollbackException : Unable to commit: transaction marked for rollback at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean.te stOneToManyDoNotSetCMR(CMRMappingFacadeBean.java:245) at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean$ $FastClassByCGLIB$$9687c6d6.invoke(generated) at org.apache.openejb.dispatch.AbstractMethodOperation.invoke (AbstractMethodOperation.java:58) at org.apache.openejb.slsb.BusinessMethod.execute (BusinessMethod.java:36) CMRMappingTests.testOneToOneDoNotSetCMR Time elapsed: 0.06 sec ERROR! org.apache.openejb.test.TestFailureException: null; nested exception is: junit.framework.AssertionFailedError: Received Exception class javax.transaction.RollbackException : Unable to commit: transaction marked for rollback at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean.te stOneToOneDoNotSetCMR(CMRMappingFacadeBean.java:137) at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean$ $FastClassByCGLIB$$9687c6d6.invoke(generated) at org.apache.openejb.dispatch.AbstractMethodOperation.invoke (AbstractMethodOperation.java:58) at org.apache.openejb.slsb.BusinessMethod.execute (BusinessMethod.java:36) Nothing is jumping out at me. Gianny, you have any ideas? -David
Re: CMP failures in 2.3 (was: Openjeb itests - 552 tests, 2 failures, 2 errors)
I dropped the key-generator element from the BasicCmpBeanExplicitPK cmp entity and that fixed the 2 failures. Please apply the patch in - https://issues.apache.org/jira/browse/OPENEJB-402 We are now down to just 2 errors ! Thanx Prasad On 12/7/06, Gianny Damour [EMAIL PROTECTED] wrote: On 07/12/2006, at 11:10 AM, David Blevins wrote: On Dec 6, 2006, at 12:38 PM, Prasad Kashyap wrote: We are now down to just 2 failures and 2 errors on the Openejb-2.3 itests. The stack trace is here -- http://rifers.org/paste/show/ 2622 org.apache.openejb.test.TestFailureException : null; nested exception is: junit.framework.AssertionFailedError: Should have thrown DuplicateKeyException at junit.framework.Assert.fail(Assert.java:47) at org.apache.openejb.test.entity.cmp.CmpTransactionTests.testInvokeCreat eCreateSameCMP(CmpTransactionTests.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Transaction.testInvokeCreateFindForceCacheFlush Time elapsed: 0.32 sec FAILURE! junit.framework.AssertionFailedError: Received Exception class org.apache.openejb.test.TestFailureException : null; nested exception is: junit.framework.AssertionFailedError: expected:1 but was:0 at junit.framework.Assert.fail(Assert.java:47) at org.apache.openejb.test.entity.cmp.CmpTransactionTests.testInvokeCreat eFindForceCacheFlush(CmpTransactionTests.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Hi David, Sorry for not pro-actively helping (hope to be back to OEJB after some WADI stuff). I debugged the two above tests and identified the issue: an automatic pk generation were wrongly configured for the CMP BasicCmpBeanExplicitPK. This causes at least the two above failures. It seems that something is wrong with my build as I observe weird JNDI lookup problems and I am not sure that dropping the key- generator element does not impact other tests. So, Prasad, could you please do me favor and drop this element for BasicCmpBeanExplicitPK and re-execute? Meanwhile, I will try to fix my build. Thanks, Gianny CMRMappingTests.testOneToManyDoNotSetCMR Time elapsed: 0.26 sec ERROR! org.apache.openejb.test.TestFailureException: null; nested exception is: junit.framework.AssertionFailedError: Received Exception class javax.transaction.RollbackException : Unable to commit: transaction marked for rollback at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean.te stOneToManyDoNotSetCMR(CMRMappingFacadeBean.java:245) at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean$ $FastClassByCGLIB$$9687c6d6.invoke(generated) at org.apache.openejb.dispatch.AbstractMethodOperation.invoke (AbstractMethodOperation.java:58) at org.apache.openejb.slsb.BusinessMethod.execute (BusinessMethod.java:36) CMRMappingTests.testOneToOneDoNotSetCMR Time elapsed: 0.06 sec ERROR! org.apache.openejb.test.TestFailureException: null; nested exception is: junit.framework.AssertionFailedError: Received Exception class javax.transaction.RollbackException : Unable to commit: transaction marked for rollback at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean.te stOneToOneDoNotSetCMR(CMRMappingFacadeBean.java:137) at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean$ $FastClassByCGLIB$$9687c6d6.invoke(generated) at org.apache.openejb.dispatch.AbstractMethodOperation.invoke (AbstractMethodOperation.java:58) at org.apache.openejb.slsb.BusinessMethod.execute (BusinessMethod.java:36) Nothing is jumping out at me. Gianny, you have any ideas? -David
Re: CMP failures in 2.3 (was: Openjeb itests - 552 tests, 2 failures, 2 errors)
Thanks for confirming that it does not break other tests. I will debug the two other failures other the week-end. Thanks, Gianny On 08/12/2006, at 5:20 AM, Prasad Kashyap wrote: I dropped the key-generator element from the BasicCmpBeanExplicitPK cmp entity and that fixed the 2 failures. Please apply the patch in - https://issues.apache.org/jira/browse/OPENEJB-402 We are now down to just 2 errors ! Thanx Prasad On 12/7/06, Gianny Damour [EMAIL PROTECTED] wrote: CMRMappingTests.testOneToManyDoNotSetCMR Time elapsed: 0.26 sec ERROR! org.apache.openejb.test.TestFailureException: null; nested exception is: junit.framework.AssertionFailedError: Received Exception class javax.transaction.RollbackException : Unable to commit: transaction marked for rollback at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean.t e stOneToManyDoNotSetCMR(CMRMappingFacadeBean.java:245) at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean$ $FastClassByCGLIB$$9687c6d6.invoke(generated) at org.apache.openejb.dispatch.AbstractMethodOperation.invoke (AbstractMethodOperation.java:58) at org.apache.openejb.slsb.BusinessMethod.execute (BusinessMethod.java:36) CMRMappingTests.testOneToOneDoNotSetCMR Time elapsed: 0.06 sec ERROR! org.apache.openejb.test.TestFailureException: null; nested exception is: junit.framework.AssertionFailedError: Received Exception class javax.transaction.RollbackException : Unable to commit: transaction marked for rollback at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean.t e stOneToOneDoNotSetCMR(CMRMappingFacadeBean.java:137) at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean$ $FastClassByCGLIB$$9687c6d6.invoke(generated) at org.apache.openejb.dispatch.AbstractMethodOperation.invoke (AbstractMethodOperation.java:58) at org.apache.openejb.slsb.BusinessMethod.execute (BusinessMethod.java:36) Nothing is jumping out at me. Gianny, you have any ideas? -David
Openjeb itests - 552 tests, 2 failures, 2 errors
Thanks to Rick, the pervasive NoClassDefFoundException in openejb itests were fixed. Tha plan openejb-jar.xml needed the ORBConfigAdapter gbean. It also needed a dependency on the j2ee-corba-yoko config. https://issues.apache.org/jira/browse/OPENEJB-399 fixes that issue. We are now down to just 2 failures and 2 errors on the Openejb-2.3 itests. The stack trace is here -- http://rifers.org/paste/show/2622 Cheers Prasad
CMP failures in 2.3 (was: Openjeb itests - 552 tests, 2 failures, 2 errors)
On Dec 6, 2006, at 12:38 PM, Prasad Kashyap wrote: We are now down to just 2 failures and 2 errors on the Openejb-2.3 itests. The stack trace is here -- http://rifers.org/paste/show/2622 org.apache.openejb.test.TestFailureException : null; nested exception is: junit.framework.AssertionFailedError: Should have thrown DuplicateKeyException at junit.framework.Assert.fail(Assert.java:47) at org.apache.openejb.test.entity.cmp.CmpTransactionTests.testInvokeCreateC reateSameCMP(CmpTransactionTests.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Transaction.testInvokeCreateFindForceCacheFlush Time elapsed: 0.32 sec FAILURE! junit.framework.AssertionFailedError: Received Exception class org.apache.openejb.test.TestFailureException : null; nested exception is: junit.framework.AssertionFailedError: expected:1 but was:0 at junit.framework.Assert.fail(Assert.java:47) at org.apache.openejb.test.entity.cmp.CmpTransactionTests.testInvokeCreateF indForceCacheFlush(CmpTransactionTests.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) CMRMappingTests.testOneToManyDoNotSetCMR Time elapsed: 0.26 sec ERROR! org.apache.openejb.test.TestFailureException: null; nested exception is: junit.framework.AssertionFailedError: Received Exception class javax.transaction.RollbackException : Unable to commit: transaction marked for rollback at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean.test OneToManyDoNotSetCMR(CMRMappingFacadeBean.java:245) at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean$ $FastClassByCGLIB$$9687c6d6.invoke(generated) at org.apache.openejb.dispatch.AbstractMethodOperation.invoke (AbstractMethodOperation.java:58) at org.apache.openejb.slsb.BusinessMethod.execute (BusinessMethod.java:36) CMRMappingTests.testOneToOneDoNotSetCMR Time elapsed: 0.06 sec ERROR! org.apache.openejb.test.TestFailureException: null; nested exception is: junit.framework.AssertionFailedError: Received Exception class javax.transaction.RollbackException : Unable to commit: transaction marked for rollback at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean.test OneToOneDoNotSetCMR(CMRMappingFacadeBean.java:137) at org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean$ $FastClassByCGLIB$$9687c6d6.invoke(generated) at org.apache.openejb.dispatch.AbstractMethodOperation.invoke (AbstractMethodOperation.java:58) at org.apache.openejb.slsb.BusinessMethod.execute (BusinessMethod.java:36) Nothing is jumping out at me. Gianny, you have any ideas? -David