Configuring Apache Tomcat server to run as a Windows service
To run Jazz™ Team
Server as a Windows service, you must configure tomcat7.exe that
ships with the Jazz Team Server.
Before you begin
Note: In
the following examples, the default installation directory is used.
Change the path according to your installation and note the use of
the forward slash (/) in the property files. Also to avoid problems,
do not use spaces in file paths. For example, for the Program
Files directory you can use PROGRA~1.
If the following entries are not present in your teamserver.properties files, do not add them. In addition, if they are present, but commented out, do not uncomment them. However, you might want to change their values to absolute paths for later use.
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\jts\teamserver.properties file:
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/jts/derby/repositoryDB to:
com.ibm.team.repository.db.jdbc.location=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/jts/derby/repositoryDB
- If you use Apache Derby as your data warehouse, change com.ibm.team.datawarehouse.db.jdbc.location=conf/jts/derby/warehouseDB to:
com.ibm.team.datawarehouse.db.jdbc.location=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/jts/derby/warehouseDB
- Change com.ibm.team.fulltext.indexLocation=conf/jts/indices/workitemindex to:
com.ibm.team.fulltext.indexLocation=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/jts/indices/workitemindex
- Change com.ibm.team.jfs.index.root.directory=indices to:
com.ibm.team.jfs.index.root.directory=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/jts/indices
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/jts/derby/repositoryDB to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\ccm\teamserver.properties file:
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/ccm/derby/repositoryDB to:
com.ibm.team.repository.db.jdbc.location=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/ccm/derby/repositoryDB
- If you use Apache Derby as your data warehouse, change com.ibm.team.datawarehouse.db.jdbc.location=//localhost\:1527/conf/jts/derby/warehouseDB to:
com.ibm.team.datawarehouse.db.jdbc.location=//localhost\:1527/C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/jts/derby/warehouseDB
- Change com.ibm.team.fulltext.indexLocation=conf/ccm/indices/workitemindex to:
com.ibm.team.fulltext.indexLocation=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/ccm/indices/workitemindex
- Change com.ibm.team.jfs.index.root.directory=indices to:
com.ibm.team.jfs.index.root.directory=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/ccm/indices
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/ccm/derby/repositoryDB to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\qm\teamserver.properties file:
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/qm/derby/repositoryDB to:
com.ibm.team.repository.db.jdbc.location=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/qm/derby/repositoryDB
- If you use Apache Derby as your data warehouse, change com.ibm.team.datawarehouse.db.jdbc.location=//localhost\:1527/conf/jts/derby/warehouseDB to:
com.ibm.team.datawarehouse.db.jdbc.location=//localhost\:1527/C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/jts/derby/warehouseDB
- Change com.ibm.team.fulltext.indexLocation=conf/qm/indices/workitemindex to:
com.ibm.team.fulltext.indexLocation=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/qm/indices/workitemindex
- Change com.ibm.team.jfs.index.root.directory=indices to:
com.ibm.team.jfs.index.root.directory=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/qm/indices
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/qm/derby/repositoryDB to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\rm\teamserver.properties file:
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/rm/derby/repositoryDB to:
com.ibm.team.repository.db.jdbc.location=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/rm/derby/repositoryDB
- If you use Apache Derby as your data warehouse, change com.ibm.team.datawarehouse.db.jdbc.location=//localhost\:1527/conf/jts/derby/warehouseDB to:
com.ibm.team.datawarehouse.db.jdbc.location=//localhost\:1527/C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/jts/derby/warehouseDB
- Change com.ibm.team.jfs.index.root.directory=indices to:
com.ibm.team.jfs.index.root.directory=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/rm/indices
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/rm/derby/repositoryDB to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\dcc\teamserver.properties file:
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/dcc/derby/repositoryDB to:
com.ibm.team.repository.db.jdbc.location=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/dcc/derby/repositoryDB
- If you use Apache Derby as your data warehouse, change com.ibm.team.datawarehouse.db.jdbc.location=//localhost\:1527/conf/jts/derby/warehouseDB to:
com.ibm.team.datawarehouse.db.jdbc.location=//localhost\:1527/C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/jts/derby/warehouseDB
- Change com.ibm.team.fulltext.indexLocation=conf/dcc/indices/workitemindex to:
com.ibm.team.fulltext.indexLocation=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/dcc/indices/workitemindex
- Change com.ibm.team.jfs.index.root.directory=indices to:
com.ibm.team.jfs.index.root.directory=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/dcc/indices
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/dcc/derby/repositoryDB to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\gc\teamserver.properties file:
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/gc/derby/repositoryDB to:
com.ibm.team.repository.db.jdbc.location=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/gc/derby/repositoryDB
- If you use Apache Derby as your data warehouse, change com.ibm.team.datawarehouse.db.jdbc.location=//localhost\:1527/conf/jts/derby/warehouseDB to:
com.ibm.team.datawarehouse.db.jdbc.location=//localhost\:1527/C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/jts/derby/warehouseDB
- Change com.ibm.team.fulltext.indexLocation=conf/gc/indices/workitemindex to:
com.ibm.team.fulltext.indexLocation=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/gc/indices/workitemindex
- Change com.ibm.team.jfs.index.root.directory=indices to:
com.ibm.team.jfs.index.root.directory=C\:/PROGRA~1/IBM/JazzTeamServer/server/conf/gc/indices
- If you use Apache Derby as your database, change com.ibm.team.repository.db.jdbc.location=conf/gc/derby/repositoryDB to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\jts\log4j.properties file:
- Change log4j.appender.file.File=logs/jts.log to:
log4j.appender.file.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/jts.log
- Change log4j.appender.etl.File=logs/jts-etl.log to:
log4j.appender.etl.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/jts-etl.log
- Change log4j.appender.etlDriver.File=logs/jts-etl-driver.log to:
log4j.appender.etlDriver.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/jts-etl-driver.log
- Change log4j.appender.etlfilter.File=logs/etl-filter.log to:
log4j.appender.etlfilter.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/etl-filter.log
- Change log4j.appender.file.File=logs/jts.log to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\ccm\log4j.properties file:
- Change log4j.appender.file.File=logs/ccm.log to:
log4j.appender.file.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/ccm.log
- Change log4j.appender.etl.File=logs/ccm-etl.log to:
log4j.appender.etl.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/ccm-etl.log
- Change log4j.appender.file.File=logs/ccm.log to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\qm\log4j.properties file:
- Change log4j.appender.file.File=logs/qm.log to:
log4j.appender.file.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/qm.log
- Change log4j.appender.etl.File=logs/qm-etl.log to:
log4j.appender.etl.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/qm-etl.log
- Change log4j.appender.file.File=logs/qm.log to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\rm\log4j.properties file:
- Change log4j.appender.rmLog.File=logs/rm.log to:
log4j.appender.rmLog.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/rm.log
- Change log4j.appender.rmPerfLog.File=logs/rmPerfLog.log to:
log4j.appender.rmPerfLog.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/rmPerfLog.log
- Change log4j.appender.rmPerfSnap.File=logs/rmPerfSnapshots.log to:
log4j.appender.rmPerfSnap.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/rmPerfSnapshots.log
- Change log4j.appender.rrdg.File=logs/rrdg.log to:
log4j.appender.rrdg.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/rrdg.log
- Change log4j.appender.rmFilter.File=logs/rmfilter.log to:
log4j.appender.rmFilter.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/rmfilter.log
- Change log4j.appender.etlDriver.File=logs/rm-etl-driver.log to:
log4j.appender.etlDriver.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/rm-etl-driver.log
- Change log4j.appender.etl.File=logs/rm-etl.log to:
log4j.appender.etl.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/rm-etl.log
- Change log4j.appender.etlfilter.File=logs/rm-etl-filter.log to:
log4j.appender.etlfilter.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/rm-etl-filter.log
- Change log4j.appender.rmLog.File=logs/rm.log to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\dcc\log4j.properties file:
- Change log4j.appender.file.File=logs/dcc.log to:
log4j.appender.file.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/dcc.log
- Change log4j.appender.dccetl.File=logs/dcc_etl.log to:
log4j.appender.dccetl.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/dcc_etl.log
- Change log4j.appender.dccetldata.File=logs/dcc_etl_data.log to:
log4j.appender.dccetldata.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/dcc_etl_data.log
- Change log4j.appender.file.File=logs/dcc.log to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\rs\log4j.properties file:
- Change log4j.appender.R.File=logs/rs.log to:
log4j.appender.R.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/rs.log
- Change log4j.appender.R.File=logs/rs.log to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\lqe\log4j.properties file:
- Change log4j.appender.file.File=logs/lqe.log to:
log4j.appender.file.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/lqe.log
- Change log4j.appender.file.File=logs/lqe.log to:
- Edit the C:\Program Files\IBM\JazzTeamServer\server\conf\gc\log4j.properties file:
- Change log4j.appender.file.File=logs/gc.log to:
log4j.appender.file.File=C\:/PROGRA~1/IBM/JazzTeamServer/server/logs/gc.log
- Change log4j.appender.file.File=logs/gc.log to:
Note: If you do not provide paths for the log files, the log
files will be written to C:\Program Files\IBM\JazzTeamServer\server\tomcat\bin\logs.
Procedure
Watch videos CLM playlistJazz.net channel User Education channel |
Learn more CLM learning circleAgile learning circle Learning circles |
Ask questions Jazz.net forumdeveloperWorks forums |
Get support Support PortalDeployment wiki Support blog |