The following comment has been added to this issue:
Author: Luk Kuz
Created: Wed, 2 Feb 2005 4:48 AM
Body:
Hi,
I was getting the same error message about ejb-name attribute. Now, when I am
using latest version from CVS xdoclet runs smoothly. The problem is that the
generated deployment descripots doesn't work properly. There is a problem when
I try to deploy ear application. The message from the deployer is:
ADMA0007E: A Validation error occurred in task Mapping EJB references to
enterpr se beans. The Java Naming and Directory Interface (JNDI) name is not
specified for reference binding ejb/BasicCalculatorAdvLocal in module Generated
by XDoclet."
My doclet looks like that:
@ejb.ejb-external-ref
view-type="local"
ref-name="ejb/BasicCalculatorAdvLocal"
type="Session"
home="comarch.testadv.ejb.BasicCalculatorAdvLocalHome"
business="comarch.testadv.ejb.BasicCalculatorAdvLocal"
Generated ibm-ejb-jar-bnd.xmi is:
<ejbBindings xmi:id="Session_bnd_2" jndiName="comarch/test/ejb/BasicCalculator">
<enterpriseBean xmi:type="ejb:Session"
href="META-INF/ejb-jar.xml#Session_BasicCalculator"/>
</ejbBindings>
I am not a guru, but my guess is that there should be a 'ejbRefBindings' tag
nested inside 'ejbBindigs', so that the mapping would be correct.
Any Help Appreciated,
Lukasz
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1250?page=comments#action_15834
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1250
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1250
Summary: webSphere ejb: ejb.ejb-external-ref does not work
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
IBM Module
Assignee: xdoclet-devel (Use for new issues)
Reporter: Michael Kopp
Created: Thu, 27 Jan 2005 8:59 AM
Updated: Wed, 2 Feb 2005 4:48 AM
Description:
It still requires the ejb-name to be specified although it is deprecated. And
if specified it searches for it an complains that it cannot find it. How should
it, it is an external EJB.
---------------------------------------------------------------------
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
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel