You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2007/11/16 17:39:43 UTC

[jira] Created: (OPENEJB-719) URL resource-ref are not handled correctly when embedded in Geronimo

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

                 Key: OPENEJB-719
                 URL: https://issues.apache.org/jira/browse/OPENEJB-719
             Project: OpenEJB
          Issue Type: Bug
          Components: integration
    Affects Versions: (trunk/openejb3)
            Reporter: Jarek Gawor


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.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENEJB-719) URL resource-ref are not handled correctly when embedded in Geronimo

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevan Miller resolved OPENEJB-719.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-beta-2

Applied patch. Thanks Jarek!

> URL resource-ref are not handled correctly when embedded in Geronimo
> --------------------------------------------------------------------
>
>                 Key: OPENEJB-719
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-719
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: integration
>    Affects Versions: (trunk/openejb3)
>            Reporter: Jarek Gawor
>            Assignee: Kevan Miller
>             Fix For: 3.0-beta-2
>
>         Attachments: OPENEJB-719.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OPENEJB-719) URL resource-ref are not handled correctly when embedded in Geronimo

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevan Miller reassigned OPENEJB-719:
------------------------------------

    Assignee: Kevan Miller

> URL resource-ref are not handled correctly when embedded in Geronimo
> --------------------------------------------------------------------
>
>                 Key: OPENEJB-719
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-719
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: integration
>    Affects Versions: (trunk/openejb3)
>            Reporter: Jarek Gawor
>            Assignee: Kevan Miller
>             Fix For: 3.0-beta-2
>
>         Attachments: OPENEJB-719.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENEJB-719) URL resource-ref are not handled correctly when embedded in Geronimo

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor updated OPENEJB-719:
--------------------------------

    Attachment: OPENEJB-719.patch

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.




> URL resource-ref are not handled correctly when embedded in Geronimo
> --------------------------------------------------------------------
>
>                 Key: OPENEJB-719
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-719
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: integration
>    Affects Versions: (trunk/openejb3)
>            Reporter: Jarek Gawor
>         Attachments: OPENEJB-719.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.