java.lang.NoClassDefFoundError: com/tibco/tibjms/TibjmsTopicConnectionFactory.

java.lang.NoClassDefFoundError: com/tibco/tibjms/TibjmsTopicConnectionFactory.

book

Article ID: KB0073886

calendar_today

Updated On:

Products

TIBCO Designer Not Applicable

Description

Description:
When starting designer to test EMS, or using domainutility to connect to EMS, the following error is thrown:

java.lang.NoClassDefFoundError: com/tibco/tibjms/TibjmsTopicConnectionFactory


Symptoms:
When user uses a custom jms.jar file, there are missing EMS client libraries which are needed by the TRA runtime component.

Cause:
Missing EMS libs/classes in the class path.

Issue/Introduction

java.lang.NoClassDefFoundError: com/tibco/tibjms/TibjmsTopicConnectionFactory.

Resolution

Please run traUpgradeManage to update the EMS location for designer.tra. 
cd $TIBCO_HOME/tra/5.x/bin
./traUpgradeManager -path $TIBCO_HOME/designer/5.x/bin/designer.tra -ems $TIBCO_HOME/ems/8.x

for exmaple:
cd /home/fpei/tibco511/tra/5.11/bin
./traUpgradeManager -path /home/fpei/tibco511/designer/5.11/bin/designer.tra -ems /home/fpei/tibco511/ems/8.5


Alternatively, users can run below command to update the EMS location for all components under $TIBCO_HOME with command like below:
./traUpgradeManager -path $TIBCO_HOME/ -ems $TIBCO_HOME/ems/8.x