TIBCO BW serviceagent gives error “caused by: java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z” during startup when used with TRA 5.6 and Hawk 4.9.

TIBCO BW serviceagent gives error “caused by: java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z” during startup when used with TRA 5.6 and Hawk 4.9.

book

Article ID: KB0084738

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
When TIBCO BW 5.8 is used with TRA 5.6 and Hawk 4.9 , the following error during startup of serviceagent may be seen:
----------------------------------------------------------------------------------------
2011 Jun 11 16:26:31:545 GMT -4 BW.Express-Express_Policy_Process-013 Error [BW-Core] BWENGINE-100001 Activation error with plugin agent [BusinessProcess/ServiceProcess/Express_PolicyService/PolicyService.serviceagent]
Activation error with plugin agent [BusinessProcess/ServiceProcess/Express_PolicyService/PolicyService.serviceagent]
    at com.tibco.pe.core.AgentJobCreator.setState(AgentJobCreator.java:125)
    at com.tibco.pe.core.JobPool.a(JobPool.java:2423)
    at com.tibco.pe.core.JobPool.resume(JobPool.java:2328)
    at com.tibco.pe.core.JobPool.a(JobPool.java:336)
    at com.tibco.pe.core.JobPool.startNotFT(JobPool.java:329)
    at com.tibco.pe.PEMain.do(PEMain.java:419)
    at com.tibco.pe.PEMain.a(PEMain.java:197)
    at com.tibco.pe.PEMain.<init>(PEMain.java:184)
    at com.tibco.pe.PEMain.main(PEMain.java:122)
caused by: An IOException occurred while initializing the service
    at com.tibco.bw.service.serviceAgent.ServiceServiceAgent.activate(ServiceServiceAgent.java:211)
    at com.tibco.pe.core.AgentJobCreator.setState(AgentJobCreator.java:123)
    at com.tibco.pe.core.JobPool.a(JobPool.java:2423)
    at com.tibco.pe.core.JobPool.resume(JobPool.java:2328)
    at com.tibco.pe.core.JobPool.a(JobPool.java:336)
    at com.tibco.pe.core.JobPool.startNotFT(JobPool.java:329)
    at com.tibco.pe.PEMain.do(PEMain.java:419)
    at com.tibco.pe.PEMain.a(PEMain.java:197)
    at com.tibco.pe.PEMain.<init>(PEMain.java:184)
    at com.tibco.pe.PEMain.main(PEMain.java:122)
caused by: com.tibco.plugin.share.http.HttpInitServerIOException
    at com.tibco.bw.service.binding.bwhttp.HttpDriver.startListening(HttpDriver.java:67)
    at com.tibco.bw.service.binding.soap.http.SoapHttpTransportApplication.activate(SoapHttpTransportApplication.java:70)
    at com.tibco.bw.service.impl.DefaultService.activate(DefaultService.java:219)
    at com.tibco.bw.service.serviceAgent.ServiceServiceAgent.activate(ServiceServiceAgent.java:208)
    at com.tibco.pe.core.AgentJobCreator.setState(AgentJobCreator.java:123)
    at com.tibco.pe.core.JobPool.a(JobPool.java:2423)
    at com.tibco.pe.core.JobPool.resume(JobPool.java:2328)
    at com.tibco.pe.core.JobPool.a(JobPool.java:336)
    at com.tibco.pe.core.JobPool.startNotFT(JobPool.java:329)
    at com.tibco.pe.PEMain.do(PEMain.java:419)
    at com.tibco.pe.PEMain.a(PEMain.java:197)
    at com.tibco.pe.PEMain.<init>(PEMain.java:184)
    at com.tibco.pe.PEMain.main(PEMain.java:122)
caused by: java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z
    at org.apache.commons.logging.impl.SLF4JLog.isTraceEnabled(SLF4JLog.java:79)
---------------------------------------------------------------------------------------------


Environment:
===========
ALL

Symptoms:
========
Error: caused by: java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z

Cause:
=====
Different versions of  theslf4j library that shipped with Hawk 4.9 and TRA 5.6.

Resolution:
==========
Back up <TIBCO_Home>\tpcl\5.6\lib\ slf4j-jdk14.jar and remove it from the path.  Go to <Hawk_Home>\4.9\lib\ and find the following five jar files:

 slf4j-log4j12-1.5.2.jar
 jcl-over-slf4j-1.5.2.jar
 slf4j-api-1.5.2.jar
 commonlogging-slf4jadapter.jar
 log4j-1.2.15.jar

Copy and paste these files into <TIBCO_Home>\tpcl\5.6\lib

Issue/Introduction

TIBCO BW serviceagent gives error “caused by: java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z” during startup when used with TRA 5.6 and Hawk 4.9.