Warning "[driver.jms] Error while enabling FT switch logging java.lang.ClassNotFoundException: com.tibco.tibjms.Tibjms" IBM MQ for JMS channel

Warning "[driver.jms] Error while enabling FT switch logging java.lang.ClassNotFoundException: com.tibco.tibjms.Tibjms" IBM MQ for JMS channel

book

Article ID: KB0083814

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.4.0

Description

The following warning is seen during engine startup even though the TIBCO BusinessEvents project uses MQ as a JMS provider and does not use EMS. The tibjms.jar file is not included in the classpath.

017 Jul 06 19:19:27:747 GMT +2 c-1088 Warning [main] - [driver.jms] Error while enabling FT switch logging
java.lang.ClassNotFoundException: com.tibco.tibjms.Tibjms
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at com.tibco.cep.driver.jms.BaseJMSChannel$JmsExceptionListener.setExceptionOnFTSwitch(SourceFile:588)
        at com.tibco.cep.driver.jms.BaseJMSChannel$JmsExceptionListener.<init>(SourceFile:577)
        at com.tibco.cep.driver.jms.BaseJMSChannel.<init>(SourceFile:107)
        at com.tibco.cep.driver.jms.JMSChannel.<init>(SourceFile:31)
        at com.tibco.cep.driver.jms.JMSDriver.createChannel(SourceFile:28)
        at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.registerChannel(ChannelManagerImpl.java:114)
        at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.init(ChannelManagerImpl.java:106)
        at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initChannels(RuleServiceProviderImpl.java:1151)
        at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initAll(RuleServiceProviderImpl.java:615)
        at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:260)
        at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:172)
        at com.tibco.cep.container.standalone.BEMain.main(SourceFile:71)

Environment

All Operating Systems IBM MQ JMS provider

Resolution

This is a warning only and can be ignored. It will be reported when a JNDI User and JNDI Password is defined in the JMS resource for the MQ connection.

Issue/Introduction

Warning "Error while enabling FT switch logging" thrown on startup of the agent (agent starts correctly).

Additional Information

MQ, JMS shared resource