How to deploy the BWC application when you start tomcat as window service?

How to deploy the BWC application when you start tomcat as window service?

book

Article ID: KB0086887

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks Collaborator -
Not Applicable -

Description

Resolution:
By default we have to start the tomcat through command line ( by startup script present under &lttibco home>\tra\domain\&ltdomain>\Tomcat\bin\start-&ltport>.bat)

But if you configure tomcat to start as window service then you need follow the below steps


1 ) Configure the &lttomcat_home>\bin\tomcat5w.exe for starting tomcat as NT service (steps are given in FAQ1-9HOXHC)

2) Edit the &lttibco_home>\tra\domain\&ltdomain name>\Tomcat\bin\start-&ltport>.bat and delete everything and put the following lines in this startup bat file ( only these two line should contain in the startup script)
==========
set TIBCO_TPCL_LIB_NAME=TPCLlib5.5.jar
NET START "Tomcat5"
==========
Note: "Tomcat5" is the Windows Service Name, please change this value per your environment.

"TIBCO_TPCL_LIB_NAME=TPCLlib5.5.jar"
Otherwise validation (checking TPCL version) done during deploy will fail.


3) Edit Server.xml file you will find under &lttomcat_home>\conf and comment the following entries in that file

<!-- &ltListener className="org.apache.catalina.core.AprLifecycleListener" /> -->
And
<!-- &ltConnector port="8099" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />  -->

4) We have seen db connections gradually increase when max was set to  5. It should be set to 100 instead of 5 using domain Utility and update these 3 tables (AdMap, AuMap and PAMap) in domain database.


5) You can now start admin, hawk and tomcat as window service and then deploy the bwc application.

Issue/Introduction

How to deploy the BWC application when you start tomcat as window service?