Products | Versions |
---|---|
TIBCO BusinessWorks Collaborator | - |
Not Applicable | - |
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;
c) change options to:
-Dcatalina.base=c:\Tomcat5
-Dcatalina.home=c:\Tomcat5
-Djava.endorsed.dirs=c:\Tomcat5\common\endorsed
-Djava.io.tmpdir=c:\Tomcat5\temp
-DTIBCO_DOMAIN_NAME=BWC55
-DTIBCO_DOMAIN_HOME=C:\tibco\tra\5.5\..\domain
-Dcom.inconcert.icjava.mimetypes="C:\tibco\tra\5.5\config\IcJavaMIMETypes.txt"
-Dhawk_home=C:\tibco\hawk
-DTIBCO_TRA_HOME=c:\tibco\tra
-DTIBCO_TRA_VERSION=5.5.2
-Djava.library.path=C:\tibco\tibrv\bin;C:\tibco\tra\5.5\hotfix\icjava\6.2\bin;C:\tibco\tra\5.5\icjava\6.2\bin;C:\tibco\tpcl\5.5\bin;C:\tibco\tra\5.5\hotfix\bin;C:\tibco\tra\5.5\bin;C:\tibco\tibrv\lib
d) change initial memory to 128 and maximum memory to 512
e) in Startup tab specify following values
Class: org.apache.catalina.startup.Bootstrap
Working path: C:\Tomcat5
Arguments: start
Mode :jvm
f) In Shutdown tab specify following values:
Class: org.apache.catalina.startup.Bootstrap
Working path: C:\Tomcat5
Arguments: stop
Timeout:0
Mode :jvm
4. Click Ok, and start it from service.