Bugs item #480889, was opened at 2001-11-12 13:41
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=480889&group_id=31602

Category: ejbdoclet
Group: v1.0.1
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Hugh Greene (hgreene_np)
Assigned to: Vincent Harcq (vharcq)
>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: Vincent Harcq (vharcq)
Date: 2002-02-28 22:48

Message:
Logged In: YES 
user_id=125677

Still open really ?

----------------------------------------------------------------------

Comment By: Hugh Greene (hgreene_np)
Date: 2002-01-07 14:11

Message:
Logged In: YES 
user_id=372238

Set Status=Open and Resolution=None because ko5tik still
seemed to be looking for more info from me.  Also set
Group=v1.0.1.  Hope that's okay -- I'm not familiar with
your policies so, of course, feel free to change it back if
you like :-)

I noticed a value for Group of "v1.1" -- is there an ETA for
this?  Or should I just try using the CVS tip to get a fix
for this (if it's stable enough)?

Thanks in advance for any help,
Hugh

----------------------------------------------------------------------

Comment By: Hugh Greene (hgreene_np)
Date: 2002-01-07 14: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 15: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

Reply via email to