From: <jco...@ya...> - 2001-09-05 19:39:43
|
Hi ! I try to use XDoclet to generate Session Bean (facade) that refer to BMPs, so I need to use the @ejb:ejb-ref tag and optionnaly @jboss:ejb-ref-jndi .... for the JBoss integration. That's the Header Tags I use: /** * @ejb:bean type="Stateless" name="ejb/zeit/Client" jndi-name="ejb/zeit/Client" * @ejb:interface remote-class="de.wearix.client.interfaces.Client" * @ejb:ejb-ref ejb-name="ejb/zeit/User" * * @jboss:container-configuration name="Standard Stateless SessionBean" * @jboss:ejb-ref-jndi ref-name="ejb/zeit/User" jndi-name="ejb/zeit/User" * * @author $Author: joe...@co... $ */ And That's the OUTPUT MESSAGE: [ejbdoclet] Generating Javadoc [ejbdoclet] Javadoc execution [ejbdoclet] Loading source file C:\Daten\Joel\wearix\src\de\wearix\client\ejb\ClientBean.java... [ejbdoclet] Constructing Javadoc information... [ejbdoclet] javadoc: warning - Import not found: de.wearix.users.interfaces.UserHome - ignoring! [ejbdoclet] javadoc: warning - Import not found: de.wearix.users.interfaces.User - ignoring! [ejbdoclet] javadoc: warning - Import not found: de.wearix.users.client.JNDINames - ignoring! [ejbdoclet] javadoc: warning - Cannot find class de.wearix.client.ejb.UserData [ejbdoclet] javadoc: warning - Cannot find class de.wearix.client.ejb.UserRole [ejbdoclet] javadoc: warning - Cannot find class de.wearix.client.ejb.CostPerHour [ejbdoclet] javadoc: warning - Cannot find class de.wearix.client.ejb.UserModel [ejbdoclet] javadoc: warning - Cannot find class de.wearix.users.interfaces.UserHome [ejbdoclet] Create Home Interface for: de.wearix.client.ejb.ClientBean [ejbdoclet] log4j:ERROR No appenders could be found for category (xdoclet.SubTask.getParameterValue). [ejbdoclet] log4j:ERROR Please initialize the log4j system properly. [ejbdoclet] Create Remote Interface for: de.wearix.client.ejb.ClientBean [ejbdoclet] Create Session Class for: de.wearix.client.ejb.ClientBean [ejbdoclet] Create ejb-jar.xml [ejbdoclet] Running ejbdoclet failed: [ejbdoclet] Invoking method failed: forAllClasses , line=33 of template file: xdoclet\ejb\ejb-body.j ,exception: null [ejbdoclet] 8 warnings NOTE THAT THE is NO PROBLEM, when I delete the reference tag @ejb:ejb-ref , but then I can't reference external EJB ! Thanks for the help Joel ___________________________________________________________ Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr ! Yahoo! Courrier : http://fr.mail.yahoo.com |