EMS server plugin added to a domain build using TIBCO Runtime Agent 5.9.0 throws the exception "Exception in thread "main" java.lang.NoClassDefFoundError:javax/jms/ExceptionListener" upon startup.

EMS server plugin added to a domain build using TIBCO Runtime Agent 5.9.0 throws the exception "Exception in thread "main" java.lang.NoClassDefFoundError:javax/jms/ExceptionListener" upon startup.

book

Article ID: KB0086039

calendar_today

Updated On:

Products Versions
TIBCO Administrator -
Not Applicable -

Description

Description:
EMS server plugin added to a domain build using TRA 5.9.0 on startup throws the following exception. Note: This KB will be applicable to only TIBCO Runtime Agent 5.9.0 and above.
***********************************************************************************
Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/ExceptionListener
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.jms.ExceptionListener
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
Unable to find the start class
***********************************************************************************


Issue/Introduction

EMS server plugin added to a domain build using TIBCO Runtime Agent 5.9.0 throws the exception "Exception in thread "main" java.lang.NoClassDefFoundError:javax/jms/ExceptionListener" upon startup.

Resolution

1). Run traUpgradeManager on the generated TIBCO Enterprise Message Server (EMS) plugin tra file.
=====================================================
Example : traUpgradeManager.exe -path C:\tibco590\tra\domain\filerv\application\TIBCOServers\TIBCOServers-EMS_7222.tra -ems C:\tibco590\ems\8.0
=====================================================

2). Make a backup of the new modified EMS server plugin generated tra file.

3). Manually cut the tibco.env.EMS_HOME variable line and paste it as the first line of the generated tra file.

Start the EMS plugin server.

Additional Information