<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
xdoclet is not being used in either jboss-head or branch4.0.&nbsp; The
descriptors should be in the <br>
[starksm@succubus testsuite]$ ls src/resources/aop/simpleejb/META-INF/<br>
ejb-jar.xml*&nbsp; jboss-service.xml&nbsp; jboss.xml*<br>
<br>
The are just missing from the trunk, and need to be added.<br>
[starksm@succubus testsuite]$ ls src/resources/aop/simpleejb/META-INF/<br>
jboss-service.xml<br>
<br>
Jaroslaw Kijanowski wrote:
<blockquote
 cite="midC2CDEFBECFC9A14892BCCFB4C95F48680879BB6E@EX-201.mail.navisite.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <div><font color="#000000" face="Arial" size="2">Hello,</font></div>
  <div><font face="Arial" size="2">&nbsp;When I run the testsuite, I get an
"ejb not bound" error in the org.jboss.test.aop.test.</font><font
 color="#000000" face="Arial" size="2">SimpleBeanUnitTestCase. "ejb"
should be&nbsp;bound thanks&nbsp;xdoclet, which generates the necessary
ejb-jar.xml. This is the way it was done in JBAS4. What about JBAS5?<br>
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?</font></div>
  <div><font color="#000000" face="Arial" size="2">My temporary
solution for the SimpleBeanUnitTestCase test is as follows:<br>
a) Copy two xml files (attached to this e-mail) to
jboss-head\testsuite\src\resources\aop\simpleejb\META-INF<br>
b) add two lines in jboss-head\testsuite\imports\sections\aop.xml<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;jar destfile="${build.lib}/simpleejb.sar"&gt;<br>
.<br>
.<br>
.</font></div>
  <div><font color="#000000" face="Arial" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fileset
dir="${build.resources}/aop/simpleejb"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;include name="META-INF/jboss-service.xml"/&gt;<br>
&lt;!-- new lines --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;include name="META-INF/jboss.xml"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;include name="META-INF/ejb-jar.xml"/&gt;<br>
&lt;!-- new lines end --&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/fileset&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/jar&gt;</font></div>
  <div><font color="#000000" face="Arial" size="2"><br>
Regards,<br>
&nbsp;Jaroslaw.</font></div>
  <pre wrap="">
<hr size="4" width="90%">
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" <a class="moz-txt-link-rfc2396E" href="http://java.sun.com/dtd/ejb-jar_2_0.dtd">"http://java.sun.com/dtd/ejb-jar_2_0.dtd"</a>&gt;

&lt;ejb-jar &gt;

   &lt;description&gt;&lt;![CDATA[No Description.]]&gt;&lt;/description&gt;
   &lt;display-name&gt;Generated by XDoclet&lt;/display-name&gt;

   &lt;enterprise-beans&gt;

      &lt;!-- Session Beans --&gt;
      &lt;session &gt;
         &lt;description&gt;&lt;![CDATA[]]&gt;&lt;/description&gt;

         &lt;ejb-name&gt;test/Simple&lt;/ejb-name&gt;

         &lt;home&gt;org.jboss.test.aop.simpleejb.SimpleHome&lt;/home&gt;
         &lt;remote&gt;org.jboss.test.aop.simpleejb.Simple&lt;/remote&gt;
         &lt;ejb-class&gt;org.jboss.test.aop.simpleejb.SimpleBean&lt;/ejb-class&gt;
         &lt;session-type&gt;Stateless&lt;/session-type&gt;
         &lt;transaction-type&gt;Container&lt;/transaction-type&gt;

      &lt;/session&gt;

     &lt;!--
       To add session beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called session-beans.xml that contains
       the &lt;session&gt;&lt;/session&gt; markup for those beans.
     --&gt;

      &lt;!-- Entity Beans --&gt;
     &lt;!--
       To add entity beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called entity-beans.xml that contains
       the &lt;entity&gt;&lt;/entity&gt; markup for those beans.
     --&gt;

      &lt;!-- Message Driven Beans --&gt;
     &lt;!--
       To add message driven beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called message-driven-beans.xml that contains
       the &lt;message-driven&gt;&lt;/message-driven&gt; markup for those beans.
     --&gt;

   &lt;/enterprise-beans&gt;

   &lt;!-- Relationships --&gt;

   &lt;!-- Assembly Descriptor --&gt;
   &lt;assembly-descriptor &gt;
     &lt;!--
       To add additional assembly descriptor info here, add a file to your
       XDoclet merge directory called assembly-descriptor.xml that contains
       the &lt;assembly-descriptor&gt;&lt;/assembly-descriptor&gt; markup.
     --&gt;

   &lt;!-- finder permissions --&gt;

   &lt;!-- transactions --&gt;
   &lt;container-transaction &gt;
      &lt;method &gt;
         &lt;ejb-name&gt;test/Simple&lt;/ejb-name&gt;
          &lt;method-name&gt;*&lt;/method-name&gt;
       &lt;/method&gt;
       &lt;trans-attribute&gt;Required&lt;/trans-attribute&gt;
    &lt;/container-transaction&gt;

   &lt;!-- finder transactions --&gt;
   &lt;/assembly-descriptor&gt;

&lt;/ejb-jar&gt;
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" <a class="moz-txt-link-rfc2396E" href="http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">"http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd"</a>&gt;

&lt;jboss&gt;

   &lt;enterprise-beans&gt;

     &lt;!--
       To add beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called jboss-beans.xml that contains
       the &lt;session&gt;&lt;/session&gt;, &lt;entity&gt;&lt;/entity&gt; and &lt;message-driven&gt;&lt;/message-driven&gt;
       markup for those beans.
     --&gt;

      &lt;session&gt;
         &lt;ejb-name&gt;test/Simple&lt;/ejb-name&gt;
         &lt;jndi-name&gt;ejb/test/Simple&lt;/jndi-name&gt;

      &lt;/session&gt;

   &lt;/enterprise-beans&gt;

   &lt;resource-managers&gt;
   &lt;/resource-managers&gt;

&lt;/jboss&gt;
  </pre>
</blockquote>
<br>
</body>
</html>