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 <tibco home>\tra\domain\<domain>\Tomcat\bin\start-<port>.bat)
But if you configure tomcat to start as window service then you need follow the below steps
1 ) Configure the <tomcat_home>\bin\tomcat5w.exe for starting tomcat as NT service (steps are given in FAQ1-9HOXHC)
2) Edit the <tibco_home>\tra\domain\<domain name>\Tomcat\bin\start-<port>.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 <tomcat_home>\conf and comment the following entries in that file
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?