The following comment has been added to this issue:

     Author: Luk Kuz
    Created: Wed, 2 Feb 2005 7:21 AM
       Body:
Hi again,

As you suggested I added 'jndi-name="comarch/testadv/ejb/BasicCalculatorAdv"' 
to my doclet tag. Websphere specific deployment descriptor looks now like that:

<ejbRefBindings xmi:id="EJBRefBnd_2"    
jndiName="comarch/testadv/ejb/BasicCalculatorAdv">
                <bindingEjbRef href="META-INF/ejb-jar.xml#EJBRef_1"/>
</ejbRefBindings>

Everything would be fine but there is a small problem with nested 
'bindingEjbRef' tag. The proper value of href attribute should have the form: 
"META-INF/ejb-jar.xml#EJBLocalRef_2". When I change it by hand  and deploy then 
it works great -- deployer doesn't complain about missing reference binding.

Generated 'ejb-jar.xml' contains the following:
<ejb-local-ref id="EJBLocalRef_2">
            <ejb-ref-name>ejb/BasicCalculatorAdvLocal</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
<local-home>comarch.testadv.ejb.BasicCalculatorAdvLocalHome</local-home>
           <local>comarch.testadv.ejb.BasicCalculatorAdvLocal</local>
</ejb-local-ref>

---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1250?page=comments#action_15837

---------------------------------------------------------------------
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 7:21 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
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to