geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <>
Subject [jira] Updated: (GERONIMO-2142) EJB Refs to EJB in parent module often fail
Date Fri, 22 Sep 2006 08:18:22 GMT
     [ ]

David Jencks updated GERONIMO-2142:

    Attachment: ejbref.src.jar

Previous patch seems to have wrong parents indicated in the ejb, ejb2, and war modules.  Hopefully
this time I got it right.

> EJB Refs to EJB in parent module often fail
> -------------------------------------------
>                 Key: GERONIMO-2142
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment, OpenEJB
>    Affects Versions: 1.1
>            Reporter: Aaron Mulder
>         Assigned To: David Jencks
>             Fix For: 1.1.1
>         Attachments: ejbref-itests.jar, ejbref.src.jar
> In OpenEJBReferenceBuilder:
> createEJBLocalRef and createEJBRemoteRef accept a targetConfigId argument.
> Then they often call getMatch or getImplicitMatch and don't use the targetConfigId. 
As a result, the current module's ID is always used as the targetConfigId:
> context.findGBeans(new AbstractNameQuery(context.getId(), ...
> This means that the query will never match EJBs in a parent of the current configuration.
 It should be changed to use the targetConfigId instead of the current module's ID.
> This does not come up if a pattern element is used in the mapping, though that mapping
strategy runs into a different 1.1 bug (ClassCastException on org.openejb.proxy.ProxyInfo)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message