javax.jms.JMSContext not found when Route + Tibco EMS

One Star

javax.jms.JMSContext not found when Route + Tibco EMS

Dear all, 
I'm trying Talend ESB 6.3 route with Tibco EMS 8.3, just a very simple sample, receiver message then log it, 
and customer connection factory by: 

but when deploy it to ESB Runtime, got the exception: 
Caused by: java.lang.ClassNotFoundException: javax.jms.JMSContext cannot be found by commonwebservice.Emsmr_0.2.0
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        ... 21 more
tried place the jms-2.0.jar/tibjms.jar in lib/ext, but still don't work. 
anyone can save me? 
One Star

Re: javax.jms.JMSContext not found when Route + Tibco EMS

customer connection code: 
com.tibco.tibjms.TibjmsConnectionFactory factory = new com.tibco.tibjms.TibjmsConnectionFactory();

if(context.emsPasswd !=null) {

jmsConnectionFactory = factory;
One Star

Re: javax.jms.JMSContext not found when Route + Tibco EMS

Hi armenpoon, have you solved the problem ?; I had to deal with a similar one and finaly got solved using the camel-sjms instead of camel-jms; I did install first the geronimo-jms_2.0 bundle within karaf, and just then activate the camel-sjms feature. ( tos-6.2.1 ).
Don't hesitate to ask me for help.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now


Introduction to Talend Open Studio for Data Integration.


Downloads and Trials

Test drive Talend's enterprise products.


Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.