karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From surya46584 <surya46...@gmail.com>
Subject Re: karaf and tibco ems
Date Fri, 02 Dec 2011 18:29:47 GMT
Thanks everyone for inputs, I feel sense of community... helping each other
on the issues.

Progress Made so far:

1. I have changed the way I connect to ems server, I am connecting directly
and creating ems connection factory as follows, not using jndi look up
way.... This way I am successful in connecting and receiving messages from
EMS. This proves that no issues with 'MyApp' bundle and 'Activator' in

                Code Snippet used to connect to EMS ( working in Karaf): 

                TibjmsConnectionFactory emsConnectionFactory  = new

2. This way does not seems to work. *Roshan *if you can help provide info on
what Libraries/Bundles from EMS you made available for Karaf?
                Code Snippet used to connect to EMS ( NOT working in Karaf): 
                Hashtable<String, String> env = new Hashtable<String,
		env.put(Context.PROVIDER_URL, "tibjmsnaming://emsserverhost:7222");
                Context ctx = new InitialContext(env);
		TibjmsConnectionFactory emsConnectionFactory = (TibjmsConnectionFactory)

Problem still persists "Cannot instantiate class:
com.tibco.tibjms.naming.TibjmsInitialContextFactory [Root exception is

3. I changed jre.properties settings as suggested by *Andi *and this does
not seem to help either in resolving the issue.

The underlying cause for not finding or loading class
"com.tibco.tibjms.naming.TibjmsInitialContextFactory " is still unresolved.

View this message in context: http://karaf.922171.n3.nabble.com/karaf-and-tibco-ems-tp3552646p3555352.html
Sent from the Karaf - User mailing list archive at Nabble.com.

View raw message