HTTP related Service is throwing errors during startup.

HTTP related Service is throwing errors during startup.

book

Article ID: KB0086432

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
============

When HTTP related components are used (such as HTTP receiver or web service), the BW engine fails to start up successfully. Exception thrown is : "org.apache.catalina.LifecycleException".


Environment:
===========

BW 5.11

Symptoms:
========

The following exception will be thrown during the service startup.

Error [org.apache.catalina.core.ContainerBase] BW-EXT-LOG-100000 A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[TomcatEngine-ExceptionSLAPortalServices].StandardHost[localhost].StandardContext[]]

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[TomcatEngine-ExceptionSLAPortalServices].StandardHost[localhost].StandardContext[]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
    ... 7 more
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getSessionCookieConfig()Ljavax/servlet/SessionCookieConfig;

caused by: An IOException occurred while initializing the service

caused by: com.tibco.plugin.share.http.HttpInitServerIOException

caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[-1]]

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Tomcat]]


Cause:
=====
A conflict with the Tomcat libraries.  BW 5.11 comes with latest Tomcat 7.0 libraries and if any other product overrides these libraries with a lower version, it would cause this issue.


Resolution:
==========

Remove the older version of the Tomcat libraries from the BW classpath. If possible, move them to the end of the classpath.

Issue/Introduction

HTTP related Service is throwing errors during startup.