You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Mike Edwards (JIRA)" <de...@tuscany.apache.org> on 2010/12/09 17:26:01 UTC

[jira] Created: (TUSCANY-3808) binding-jms-runtime does not work under OSGi

binding-jms-runtime does not work under OSGi
--------------------------------------------

                 Key: TUSCANY-3808
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3808
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA JMS Binding Extension
    Affects Versions: Java-SCA-2.x
            Reporter: Mike Edwards
            Assignee: Mike Edwards
             Fix For: Java-SCA-2.x


Currently, the binding-jms-runtime module does not work under OSGi.

The problem concerns the loading of the JNDI InitialContext in the class JMSResourceFactoryImpl of org.apache.tuscany.sca.binding.jms.provider, which at present results in a loadClass using the ThreadContextClassLoader using the name of the InitialContextFactory derived from a string in a properties file.  This does not work under OSGi since all classes are in bundles and there is no access to the bundle holding the InitialContextFactory.



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


[jira] Commented: (TUSCANY-3808) binding-jms-runtime does not work under OSGi

Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970153#action_12970153 ] 

Mike Edwards commented on TUSCANY-3808:
---------------------------------------

Initial fixes committed under 1044330

> binding-jms-runtime does not work under OSGi
> --------------------------------------------
>
>                 Key: TUSCANY-3808
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3808
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA JMS Binding Extension
>    Affects Versions: Java-SCA-2.x
>            Reporter: Mike Edwards
>            Assignee: Mike Edwards
>             Fix For: Java-SCA-2.x
>
>
> Currently, the binding-jms-runtime module does not work under OSGi.
> The problem concerns the loading of the JNDI InitialContext in the class JMSResourceFactoryImpl of org.apache.tuscany.sca.binding.jms.provider, which at present results in a loadClass using the ThreadContextClassLoader using the name of the InitialContextFactory derived from a string in a properties file.  This does not work under OSGi since all classes are in bundles and there is no access to the bundle holding the InitialContextFactory.

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