Bugs item #480889, was opened at 2001-11-12 04:41 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402704&aid=480889&group_id=31602
Category: ejbdoclet Group: None Status: Closed Resolution: Works For Me Priority: 5 Submitted By: Hugh Greene (hgreene_np) Assigned to: Nobody/Anonymous (nobody) >Summary: reentrant="false" breaks ejb-jar.xml Initial Comment: Hi there, first, many thanks for a very useful labour-saving tool :-) My problem is with a simple Entity bean I've been using to experiment with XDoclet's <ejbdoclet/> task. By default, the ejb-jar.xml file generated marks it as reentrant. Adding 'reentrant="false"' to the @ejb:bean tag gets me the following error from XDoclet: -------------------------------------------------------- Running XDoclet failed: Invoking method failed: forAllClasses , line=46 of template file: xdoclet\ejb\ejb-body.j ,exception: null -------------------------------------------------------- My bean's tags are: -------------------------------------------------------- * @ejb:bean name="Account" jndi-name="ejb/AccountManager/Account" * type="CMP" primkey-field="id" * reentrant="false" * remote-business-interface="com.netphysic.tools.accountmanager.interfaces.Account" * @ejb:home generate="remote" * @ejb:interface generate="remote" * @ejb:finder signature="Collection findAll()" * @ejb:pk class="java.lang.Long" * @ejb:permission role-name="everyone" * @ejb:data-object container="false" * * @jboss:create-table create="false" -------------------------------------------------------- If it helps I can ZIP up the few source files (and generated code?) and attach it in a followup. Thanks in advance for any help, Hugh ---------------------------------------------------------------------- >Comment By: Hugh Greene (hgreene_np) Date: 2002-01-07 05:04 Message: Logged In: YES user_id=372238 I used the 1.0.1 release, and I've boiled down the problem to the attached example (including ANT build file). Removing the javadoc comment line ' * reentrant="false"' gets rid of the error (but leaves the class marked reentrant, of course). The build output is as follows: -------------------------------------------------------- ejbdoclet: Generating Javadoc Javadoc execution Loading source file C:\NetPhysicApps\Version1\Java\com\netphysic\tools\accountmanager\ejb\AccountBean.java... Loading source file C:\NetPhysicApps\Version1\Java\com\netphysic\tools\accountmanager\ejb\DefaultEntityBean.java... Constructing Javadoc information... log4j:ERROR No appenders could be found for category (xdoclet.SubTask.merge). log4j:ERROR Please initialize the log4j system properly. Create Home Interface for: com.netphysic.tools.accountmanager.ejb.AccountBean Create Remote Interface for: com.netphysic.tools.accountmanager.ejb.AccountBean Create Entity CMP Class for: com.netphysic.tools.accountmanager.ejb.AccountBean Create ejb-jar.xml Running XDoclet failed: Invoking method failed: forAllClasses , line=46 of template file: xdoclet\ejb\ejb-body.j ,exception: null -------------------------------------------------------- ---------------------------------------------------------------------- Comment By: Konstantin Pribluda (ko5tik) Date: 2001-11-12 06:56 Message: Logged In: YES user_id=91100 Could not reproduce error in current CVS version. What version you were using? ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402704&aid=480889&group_id=31602 _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
