AnsweredAssumed Answered

TIBCO EMS Connectivity Issue

Question asked by dhanasekar-s on Aug 9, 2018
Latest reply on Aug 10, 2018 by dhanasekar-s

Hi Team, 

 

DevTest Version 10.3.0

Objective- To create a Tibco EMS JNDI Based VS by Request and Response Pairs

Available Jars- tibcrypt, tibjms, tibjmsadmin, tibjmsapps, tibrvjms - V8.3.0_Client JAR files

Transport Protocol Used- JMS

Created the JMS Asset as follows

TIBCO- JMS Connection Factory -->Direct JMS Connection Factory for TIBCO EMS (Class) -->Server URL

 

Getting below error while connecting the server URL. 

 

Verifying Asset
Error: Error loading class com.tibco.tibjms.TibjmsConnectionFactory from jar file tibjms.jar: javax/jms/JMSContext


============================================================================
| Exception:
============================================================================
| Message: Error loading class com.tibco.tibjms.TibjmsConnectionFactory from jar file tibjms.jar: javax/jms/JMSContext
----------------------------------------------------------------------------
| Trapped Exception: javax/jms/JMSContext
| Trapped Message: java.lang.NoClassDefFoundError: javax/jms/JMSContext
----------------------------------------------------------------------------
STACK TRACE
java.lang.NoClassDefFoundError: javax/jms/JMSContext
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.itko.lisa.asset.util.ReflectionClassSpec.loadClass(ReflectionClassSpec.java:47)
at com.itko.lisa.messaging.providers.tibco.AbstractTibcoDirectConnectionFactoryAsset.verifyEnvironment(AbstractTibcoDirectConnectionFactoryAsset.java:150)
at com.itko.lisa.asset.AssetUtils.verifyRuntimeAsset(AssetUtils.java:1288)
at com.itko.lisa.asset.ui.AssetEditor$5.run(AssetEditor.java:306)
at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:142)
at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:100)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: javax.jms.JMSContext
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 14 more
============================================================================


at com.itko.lisa.asset.util.ReflectionClassSpec.loadClass(ReflectionClassSpec.java:58)
at com.itko.lisa.messaging.providers.tibco.AbstractTibcoDirectConnectionFactoryAsset.verifyEnvironment(AbstractTibcoDirectConnectionFactoryAsset.java:150)
at com.itko.lisa.asset.AssetUtils.verifyRuntimeAsset(AssetUtils.java:1288)
at com.itko.lisa.asset.ui.AssetEditor$5.run(AssetEditor.java:306)
at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:142)
at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:100)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

 

Please suggest how to resolve this error. 

Outcomes