The following issue has been updated:
Updater: Matthias Germann (mailto:[EMAIL PROTECTED])
Date: Thu, 23 Dec 2004 12:10 AM
Comment:
Here is a patch which fixes the issue for resource-ref and resource-env-ref
Changes:
Attachment changed to patch.diff
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1205?page=history
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1205
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1205
Summary: bindings-DD invalid if jndi-name not set for every ejb.resource-ref
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
IBM Module
Versions:
1.3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Matthias Germann
Created: Thu, 23 Dec 2004 12:09 AM
Updated: Thu, 23 Dec 2004 12:10 AM
Description:
The bindings-DD is invalid if the jndi-name property is specified only for some
of the ejb.resource-ref tags.
The problem is that the href attribute of the bindingResourceRef element does
not use the correct id for linking to the resource-ref element from ejb-jar.xml
in this case.
This is because the tag tries to generate the id with the same algorithm as the
template for ejb-jar.xml. But the id in the bindings-DD is only incremented if
the jndi-name parameter is set on a datasource whereas the id of the
resource-ref element in ejb-jar.xml is incremented for each ejb.resource-ref
tag (also without jndi-name). Therefore, the id's get out of sync if the
jndi-name parameter is only set for some of the ejb.resource-ref tags.
IMHO, a resourceEnvBindings element with a bindingResourceRef should be
generated for each ejb.resource-ref tag. This keepts the id's in sync.
The same applies for ejb.resource-env-ref
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel