openejb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Build failure due to StatefulTransactionAttributesTest
Date Wed, 02 Apr 2008 10:17:34 GMT
Hi,

Just attempted to build openejb and run across the following failure:

-------------------------------------------------------------------------------
Test set: org.apache.openejb.core.stateful.StatefulTransactionAttributesTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.234
sec <<< FAILURE!
test(org.apache.openejb.core.stateful.StatefulTransactionAttributesTest)
 Time elapsed: 1.062 sec  <<< ERROR!
org.apache.openejb.OpenEJBException: createApplication.failed
[org.apache.openejb.jee.EjbJar@17b0998]: Error building bean 'Red'.
Exception: class java.lang.IllegalStateException: Call
back method does not exist:
org.apache.openejb.core.stateful.StatefulTransactionAttributesTest$Red.ejbCreate:
Callback method does not exist:
org.apache.openejb.core.stateful.StatefulTr
ansactionAttributesTest$Red.ejbCreate
        at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:592)
        at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:416)
        at org.apache.openejb.assembler.classic.Assembler.createEjbJar(Assembler.java:359)
        at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:352)
        at org.apache.openejb.core.stateful.StatefulTransactionAttributesTest.test(StatefulTransactionAttributesTest.java:89)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:993)
Caused by: org.apache.openejb.OpenEJBException: Error building bean
'Red'.  Exception: class java.lang.IllegalStateException: Callback
method does not exist: org.apache.openejb.core.sta
teful.StatefulTransactionAttributesTest$Red.ejbCreate: Callback method
does not exist:
org.apache.openejb.core.stateful.StatefulTransactionAttributesTest$Red.ejbCreate
        at org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:64)
        at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:489)
        ... 27 more
Caused by: java.lang.IllegalStateException: Callback method does not
exist: org.apache.openejb.core.stateful.StatefulTransactionAttributesTest$Red.ejbCreate
        at org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.toMethod(EnterpriseBeanBuilder.java:340)
        at org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:164)
        at org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:52)
        ... 28 more
Caused by: java.lang.NoSuchMethodException:
org.apache.openejb.core.stateful.StatefulTransactionAttributesTest$Red.ejbCreate(java.lang.String)
        at java.lang.Class.getDeclaredMethod(Class.java:1909)
        at org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.toMethod(EnterpriseBeanBuilder.java:338)
        ... 30 more

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message