OpenEJB
  1. OpenEJB
  2. OPENEJB-719

URL resource-ref are not handled correctly when embedded in Geronimo

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.7.0
    • Fix Version/s: 3.0-beta-2
    • Component/s: integration
    • Labels:
      None

      Description

      JndiEncBuilder creates a "URLReference(referenceInfo.resourceID)" reference using resourceID. When embedded in Geronimo the resourceID is a jndi location to lookup and not the actual value of the reference.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        9d 30m 1 Kevan Miller 25/Nov/07 17:08
        Andy Gumbrecht made changes -
        Affects Version/s 4.7.0 [ 12325654 ]
        Affects Version/s (trunk/tomee) [ 12312808 ]
        David Blevins made changes -
        Assignee Kevan Miller [ kevan ] Jarek Gawor [ gawor@mcs.anl.gov ]
        Kevan Miller made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 3.0-beta-2 [ 12312804 ]
        Hide
        Kevan Miller added a comment -

        Applied patch. Thanks Jarek!

        Show
        Kevan Miller added a comment - Applied patch. Thanks Jarek!
        Kevan Miller made changes -
        Assignee Kevan Miller [ kevan ]
        Jarek Gawor made changes -
        Field Original Value New Value
        Attachment OPENEJB-719.patch [ 12369676 ]
        Hide
        Jarek Gawor added a comment -

        A patch for this issue.

        For standalone case, I'm not sure why URLReference is created with the referenceInfo.resourceID since resourceID maps to the .mappedName() of the annotation and not the actual value. If that's incorrect the entire if ("java.net.URL".equals(referenceInfo.referenceType)) block can be removed.

        Show
        Jarek Gawor added a comment - A patch for this issue. For standalone case, I'm not sure why URLReference is created with the referenceInfo.resourceID since resourceID maps to the .mappedName() of the annotation and not the actual value. If that's incorrect the entire if ("java.net.URL".equals(referenceInfo.referenceType)) block can be removed.
        Jarek Gawor created issue -

          People

          • Assignee:
            Jarek Gawor
            Reporter:
            Jarek Gawor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development