How to configure external tomcat to start as window service?
book
Article ID: KB0087394
calendar_today
Updated On:
Products
Versions
TIBCO BusinessWorks Collaborator
-
Not Applicable
-
Description
Resolution:
BWC5.5.0 onward we use external tomcat to deploy the bwc application. Here we need to register the external tomcat with admin domain using domain utility, after registration startup script gets generated to start the tomcat through command line. The scripts are generated under <tibco home>\tra\domain\<domain>\Tomcat\bin\start-<port>.bat
Default behavior is to start the tomcat through command line (i.e through startup scrip generated mentioned in above directory)
But if you want to start tomcat as window service you need to follow the below steps:
1. Launch <tomcat home>/bin/tomcat5w.exe 2. Click on Logging to change level or location if you desire. 3. Click on Java tab to make the following changes:
a) change JVM to "c:\tibco\jre\1.5.0\bin\server\jvm.dll"
in section b you need to put c:\Tomcat5\bin\bootstrap.jar; at the start without it, service is not going to start. And about rest of the classpath entries you can take it from the startup script generated at the time of tomcat registration through domain utility.(i.e c:\tibco\tra\domain\BWC55\Tomcat\bin\start-7070.bat)
b) change classpath to: c:\Tomcat5\bin\bootstrap.jar; C:\tibco\bwc\5.5\hotfix\lib\icjava720.jar;C:\tibco\bwc\5.5\lib\icjava720.jar;%JAVA_HOME%\lib\tools.jar;C:\tibco\tra\5.5\hotfix\icjava\6.2\lib\icjava621.jar;C:\tibco\tra\5.5\icjava\6.2\lib\icjava621.jar;C:\tibco\tra\5.5\hotfix\lib\TIBCrypt.jar;C:\tibco\tra\5.5\lib\TIBCrypt.jar;C:\tibco\tra\5.5\..\dependency\default\%TIBCO_TPCL_LIB_NAME%;C:\tibco\tra\5.5\..\dependency\default\HAWKlib.jar;C:\tibco\tra\5.5\lib\TIBCOjms.jar;C:\tibco\tra\5.5\..\dependency\default\RVlib.jar;