Agent will not start. Exception: "no class found for javax/jms/Message".

Agent will not start. Exception: "no class found for javax/jms/Message".

book

Article ID: KB0089308

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Agent will not start. Exception: "no class found for javax/jms/Message".

Environment:
===========
BusinessEvents 4.0.1
All Operating Systems


Symptoms:
=========
The following exception is thrown upon startup:

Error [main] - [root] Exception in thread "main"
Error [main] - [root] java.lang.NoClassDefFoundError: javax/jms/Message
Error [main] - [root]     at java.lang.Class.forName0(Native Method)

Cause:
======
Wrong classpath settings (EMS libraries)

Resolution:
========
1.) set EMS_HOME in be-engine.tra

example:
tibco.env.EMS_HOME=C:/tibco/ems/5.0

2.) It's required to update the classpath settings for the EMS server version 5.

Change the settings in property "tibco.env.STD_EXT_CP"
from "%EMS_HOME%/clients/java"
to "%EMS_HOME%/lib"

Example:

tibco.env.STD_EXT_CP %TIB_JAVA_HOME%/lib%PSP%%TIB_JAVA_HOME%/lib/ext%PSP%%BE_HOME%/hotfix/lib/eclipse/plugins%PSP%%BE_HOME%/lib/eclipse/plugins%PSP%%BE_HOME%/hotfix/mm/lib/be-q.jar%PSP%%BE_HOME%/mm/lib/be-q.jar%PSP%%BE_HOME%/hotfix/views/lib%PSP%%BE_HOME%/views/lib%PSP%%BE_HOME%/hotfix/views/lib/ext%PSP%%BE_HOME%/views/lib/ext%PSP%%BE_HOME%/hotfix/lib%PSP%%BE_HOME%/lib%PSP%%BE_HOME%/hotfix/lib/palettes%PSP%%BE_HOME%/lib/palettes%PSP%%BE_HOME%/hotfix/lib/ext/tpcl%PSP%%BE_HOME%/lib/ext/tpcl%PSP%%BE_HOME%/hotfix/lib/ext/tpcl/emf%PSP%%BE_HOME%/lib/ext/tpcl/emf%PSP%%BE_HOME%/hotfix/lib/ext/tpcl/apache%PSP%%BE_HOME%/lib/ext/tpcl/apache%PSP%%BE_HOME%/hotfix/lib/ext/tibco%PSP%%BE_HOME%/lib/ext/tibco%PSP%%BE_HOME%/hotfix/lib/ext%PSP%%BE_HOME%/lib/ext%PSP%%RV_HOME%/lib%PSP%%EMS_HOME%/lib%PSP%%BW_CUSTOM_EXT_PREPEND_CP%%PSP%%BW_STD_EXT_CP%%PSP%%BW_CUSTOM_EXT_APPEND_CP%

Issue/Introduction

Agent will not start. Exception: "no class found for javax/jms/Message".