accessing open jms from osgi container

Daniel Luis dos Santos <[email protected]> Mon, 30 Nov 2009 02:12:57 +0000
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Hello,

I am trying to access a open jms server (0.7.6.1 and 0.7.7-beta-1) from an osgi container. I have tried two (knopflerfish and equinox(eclipse)).

In both cases when I am trying to obtain a jndi initial context the org.exolab.jms.jndi.InitialContextFactory can't be loaded. Either a class not found exception or a class cast exception occur. (to a javax.naming.spi.InitialContextFactory.

Out of the container it runs fine.

Is anyone willing to look into this or should I quit open jms and try something else ? I'm putting this very plainly because the test I made to verify these situations assure me that I have not detected no other error in the test that I can blame on something else. I really suspect that there is some incompatibility between the two. I can send the osgi bundle that tests this.





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july