Hello,
When I run the testsuite, I get an "ejb not
bound" error in the org.jboss.test.aop.test.SimpleBeanUnitTestCase. "ejb" should be bound
thanks xdoclet, which generates the necessary ejb-jar.xml. This is the way
it was done in JBAS4. What about JBAS5?
In
org.jboss.test.aop.simpleejb.SimpleBean.java there are still tags which allow to
generate the ejb-jar.xml file, but XDoclet isn't enabled. Is XDoclet history?
How should this file be generated? maybe "no xml files" strategy thanks ejb3.0
annotations? or should this file be generated manually?
My temporary solution for the
SimpleBeanUnitTestCase test is as follows:
a) Copy two xml files (attached to
this e-mail) to jboss-head\testsuite\src\resources\aop\simpleejb\META-INF
b)
add two lines in
jboss-head\testsuite\imports\sections\aop.xml
<jar destfile="${build.lib}/simpleejb.sar">
.
.
.
<fileset
dir="${build.resources}/aop/simpleejb">
<include name="META-INF/jboss-service.xml"/>
<!-- new lines
-->
<include
name="META-INF/jboss.xml"/>
<include name="META-INF/ejb-jar.xml"/>
<!-- new lines end
-->
</fileset>
</jar>
Regards,
Jaroslaw.