java.lang.ClassNotFoundException: com.tibco.tibjms.TibjmsTopicConnectionFactory

java.lang.ClassNotFoundException: com.tibco.tibjms.TibjmsTopicConnectionFactory

book

Article ID: KB0070163

calendar_today

Updated On:

Products Versions
TIBCO Administrator -

Description

Error while starting the newly created domain:
---------
Exception in thread "Thread-1" java.lang.NoClassDefFoundError: com/tibco/tibjms/TibjmsTopicConnectionFactory
        at com.tibco.repo.JMSRepoProcess.<init>(JMSRepoProcess.java:77)
        at com.tibco.repo.JMSRepoProcessFactory.getJMSRepoProcessIntfImplementation(JMSRepoProcessFactory.java:8)
        at com.tibco.repo.RemoteRepoServlet$JMSRepoProcessThread.run(RemoteRepoServlet.java:190)
Caused by: java.lang.ClassNotFoundException: com.tibco.tibjms.TibjmsTopicConnectionFactory
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 3 more

---------

Resolution

Cause:
-----------
TIBCO Enterprise Message Service Client libraries are required for domains using 
1. TIBCO EMS as a transport. 
OR
2. For products that have a dependency on the EMS client libraries (Not using the EMS as transport)

Resolution:
-----------
Run the TRA utility traUpgradeManager against the TIBCO_HOME to set the EMS_HOME in all .tra files. 
traUpgradeManager should be under the $TIBCO_HOME/tra/5.x/bin folder. 
Here is the command:
    traUpgradeManager -path <TIBCO_HOME> -ems <EMS_HOME>
e.g.,
    traUpgradeManager -path C:/TIBCO_HOME -ems C:/tibco/ems/8.0 (where C:/TIBCO_HOME is your actual TIBCO_HOME location)

After this, you should see tibco.env.EMS_HOME like below in those updated .tra files.
tibco.env.EMS_HOME c:/tibco/ems/10.2

Please contact TIBCO Support should you still have questions. 

Issue/Introduction

java.lang.ClassNotFoundException: com.tibco.tibjms.TibjmsTopicConnectionFactory