TIBCO EMS Standalone agent doesn't start with TIBCO EM 8.3

Document ID : KB000091952
Last Modified Date : 18/04/2018
Show Technical Document Details
Question:

TIBCO EMS Standalone agent doesn't start with TIBCO EM 8.3. In the IntroscopeAgent.log the below messages are reported:

[WARN] [com.wily.soaextension.tibcoems.agent.TibcoEMSMonitor] tibjms.jar is present in agent classpath but does not exist. This jar file is required to run agent, provide valid jar file in classpath and run agent again.

[WARN] [com.wily.soaextension.tibcoems.agent.TibcoEMSMonitor] slf4j-simple-1.4.2.jar is present in agent classpath but does not exist.

[WARN] [com.wily.soaextension.tibcoems.agent.TibcoEMSMonitor] jms.jar is present in agent classpath but does not exist. This jar file is required to run agent, provide valid jar file in classpath and run agent again.

[WARN] [com.wily.soaextension.tibcoems.agent.TibcoEMSMonitor] slf4j-api-1.4.2.jar is present in agent classpath but does not exist.

[WARN] [com.wily.soaextension.tibcoems.agent.TibcoEMSMonitor] tibcrypt.jar is present in agent classpath but does not exist.

[WARN] [com.wily.soaextension.tibcoems.agent.TibcoEMSMonitor] tibjmsadmin.jar is present in agent classpath but does not exist. This jar file is required to run agent, provide valid jar file in classpath and run agent

[ERROR] [com.wily.soaextension.tibcoems.agent.TibcoEMSMonitor] Some mandatory jar files are missing from agent classpath, ending agent application.

 

Environment:
TIBCO EM 8.x
Answer:
The EMSMonitor.bat/sh includes references to the TIBCO EM libraries valid for TIBCO EM 6.1 only.
To resolve the issue update the TIBCO EM Agent startup script with the correct files:

6.1                                       |   8.3

----------------------------------------------
jms.jar                                | jms-2.0.jar
slf4j-api-1.4.2.jar              | slf4j-api-1.5.2.jar
slf4j-simple-1.4.2.jar       | slf4j-simple-1.5.2.jar

Here is an example:

++++
export JAVA_HOME=/opt/tibco/tibcojre64/1.8.0
 
#TIBCO_EMS_HOME setting.
export TIBCO_EMS_HOME=/opt/tibco/ems/8.3
 
export TIB_JMS_JAR=$TIBCO_EMS_HOME/lib/tibjms.jar
export TIB_JMS_ADMIN_JAR=$TIBCO_EMS_HOME/lib/tibjmsadmin.jar
export JMS_JAR=$TIBCO_EMS_HOME/lib/jms-2.0.jar
 
#Jar files required for SSL Connection.
export TIB_CRYPT_JAR=$TIBCO_EMS_HOME/lib/tibcrypt.jar
export TIB_SLF4J_API_JAR=$TIBCO_EMS_HOME/lib/slf4j-api-1.5.2.jar
export TIB_SLF4J_SIMPLE_JAR=$TIBCO_EMS_HOME/lib/slf4j-simple-1.5.2.jar
+++
 
Make sure to set TIBCO_EMS_HOME and JAVA_HOME to the correct paths accordingly to your environment.