Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Java-SCA-2.x
-
None
Description
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.