Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Cannot Reproduce
-
4.7.0
-
None
-
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
Windows XP SP2
maven 2.0.4
svn 1.3.1
Description
The iTest of the sprin2 assembly fails because the spring2.xml file does not contain any information about the deployed beans for test.
I get the following exception:
-------------------------------------------------------------------------------
Test set: org.openejb.SpringAssembler2Test
-------------------------------------------------------------------------------
Tests run: 397, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.59 sec <<< FAILURE!
Stateless.JNDI.Jndi_lookupHome Time elapsed: 0 sec <<< FAILURE!
junit.framework.AssertionFailedError: Received Exception class javax.naming.NameNotFoundException : Name "client/tests/stateless/BasicStatelessPojoLocalHome" not found.
at junit.framework.Assert.fail(Assert.java:47)
at org.openejb.test.stateless.StatelessPojoLocalJndiTests.test02_Jndi_lookupHome(StatelessPojoLocalJndiTests.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.openejb.test.NumberedTestCase.runTestMethod(NumberedTestCase.java:117)
at org.openejb.test.NumberedTestCase$1.protect(NumberedTestCase.java:102)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at org.openejb.test.NumberedTestCase.run(NumberedTestCase.java:105)
at org.openejb.test.NumberedTestCase.run(NumberedTestCase.java:85)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.openejb.test.TestSuite.run(TestSuite.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:182)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:743)
We need to fill in this file with the required info to make the iTests pass successfully.