RTC 3.0 - Tomcat Windows Service
Morning,
for RTC 3.0 I tried to install Tomcat as a Windows Service.
I found documentation how to do it for RTC 2.x but not for RTC 3.x.
I installed in the following way:
1. Run "D:\..\JazzTeamServer\server\tomcat/bin service.bat install
2. Used Derby - Changed
D:\..\JazzTeamServer\server\conf\jts\teamserver.properties
D:\..\JazzTeamServer\server\conf\jts\log4j.properties
3. Run "D:\..\JazzTeamServer\server\tomcat/bin tomcat5w.exe
4. Add jvm.dll file
5. Modified Java Options:
-DJAZZ_HOME=file:///d:/../JazzTeamServer/server/conf
-Djava.awt.headless=true
-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true
-Dcom.ibm.team.repository.tempDir=%TEMP%
-Dlog4j.configuration=file:///d:/../JazzTeamServer/conf/startup-log4j.properties
With my actual settings it's not working.
Are there special entries for RTC 3.0 or another way to install it ?
for RTC 3.0 I tried to install Tomcat as a Windows Service.
I found documentation how to do it for RTC 2.x but not for RTC 3.x.
I installed in the following way:
1. Run "D:\..\JazzTeamServer\server\tomcat/bin service.bat install
2. Used Derby - Changed
D:\..\JazzTeamServer\server\conf\jts\teamserver.properties
D:\..\JazzTeamServer\server\conf\jts\log4j.properties
3. Run "D:\..\JazzTeamServer\server\tomcat/bin tomcat5w.exe
4. Add jvm.dll file
5. Modified Java Options:
-DJAZZ_HOME=file:///d:/../JazzTeamServer/server/conf
-Djava.awt.headless=true
-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true
-Dcom.ibm.team.repository.tempDir=%TEMP%
-Dlog4j.configuration=file:///d:/../JazzTeamServer/conf/startup-log4j.properties
With my actual settings it's not working.
Are there special entries for RTC 3.0 or another way to install it ?
10 answers
Hi Katrin,
please have a look here in the deployment guide http://jazz.net/library/article/542. Find and follow the link to the RTC help for Tomcat 32 Bit and Tomcat 64 Bit.
Ralph
please have a look here in the deployment guide http://jazz.net/library/article/542. Find and follow the link to the RTC help for Tomcat 32 Bit and Tomcat 64 Bit.
Ralph
Morning,
for RTC 3.0 I tried to install Tomcat as a Windows Service.
I found documentation how to do it for RTC 2.x but not for RTC 3.x.
I installed in the following way:
1. Run "D:\..\JazzTeamServer\server\tomcat/bin service.bat install
2. Used Derby - Changed
D:\..\JazzTeamServer\server\conf\jts\teamserver.properties
D:\..\JazzTeamServer\server\conf\jts\log4j.properties
3. Run "D:\..\JazzTeamServer\server\tomcat/bin tomcat5w.exe
4. Add jvm.dll file
5. Modified Java Options:
-DJAZZ_HOME=file:///d:/../JazzTeamServer/server/conf
-Djava.awt.headless=true
-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true
-Dcom.ibm.team.repository.tempDir=%TEMP%
-Dlog4j.configuration=file:///d:/../JazzTeamServer/conf/startup-log4j.properties
With my actual settings it's not working.
Are there special entries for RTC 3.0 or another way to install it ?
Hi,
I have the same problem!
I've installed RTC 3.0 on Windows Server 2003 and I tried to install Tomcat as a Windows Service.
I executed the steps described in the RTC help for 32 bit, but the result is that when I try to connect to the jazz team server internet page it appears:
"Firefox can't establish a connection to the server at <myhost>:9443".
Can someone help me ??
I have the same problem!
I've installed RTC 3.0 on Windows Server 2003 and I tried to install Tomcat as a Windows Service.
I executed the steps described in the RTC help for 32 bit, but the result is that when I try to connect to the jazz team server internet page it appears:
"Firefox can't establish a connection to the server at <myhost>:9443".
Can someone help me ??
Hi Bruno,
I saw a post here recently where someone was able to get it working with 64 Bit.
The only hint I can give you right now is:
1. check the server.startup.bat file for parameters that might need to be added to the service specification.
2. when editing the teamserver.properties to provide absolute paths for the various directories, make sure you don't miss any.
Another thing that I found helpful: before trying to start the server as service try starting it with server.startup but. If your setting are wrong you will see that immediately.
Running as service means you will have to go looking into the logs. That the server is not reachable is unfortunately not really an information that helps with debugging the cause.
Ralph
I saw a post here recently where someone was able to get it working with 64 Bit.
The only hint I can give you right now is:
1. check the server.startup.bat file for parameters that might need to be added to the service specification.
2. when editing the teamserver.properties to provide absolute paths for the various directories, make sure you don't miss any.
Another thing that I found helpful: before trying to start the server as service try starting it with server.startup but. If your setting are wrong you will see that immediately.
Running as service means you will have to go looking into the logs. That the server is not reachable is unfortunately not really an information that helps with debugging the cause.
Ralph
Hi,
I have the same problem!
I've installed RTC 3.0 on Windows Server 2003 and I tried to install Tomcat as a Windows Service.
I executed the steps described in the RTC help for 32 bit, but the result is that when I try to connect to the jazz team server internet page it appears:
"Firefox can't establish a connection to the server at <myhost>:9443".
Can someone help me ??
Hi,
I have the same problem!
I've installed RTC 3.0 on Windows Server 2003 and I tried to install Tomcat as a Windows Service.
I executed the steps described in the RTC help for 32 bit, but the result is that when I try to connect to the jazz team server internet page it appears:
"Firefox can't establish a connection to the server at <myhost>:9443".
Can someone help me ??
I checked it again and the problem was that I only changed properties files in jts-directory. I also do it in ccm-directory and after restart of tomcat it works.
I changed the propeties in jts-directory and also in ccm-directory.
I changed the db.jdbc.location value in "D:/Program Files/...../server/conf/jts/derby/repositoryDB" in the jts-directory and the db.jdbc.location value in "D:/Program Files/...../server/conf/ccm/derby/repositoryDB" in the ccm-directory.
I made the same for the fulltext.indexLocation but in the ccm directory I've founded the workitemindex folder whereas in the jts-deirectory there isn't this folder!!
I think that probably, for this reason, the service doesn't start correctly.
How can I resolve it??
I changed the db.jdbc.location value in "D:/Program Files/...../server/conf/jts/derby/repositoryDB" in the jts-directory and the db.jdbc.location value in "D:/Program Files/...../server/conf/ccm/derby/repositoryDB" in the ccm-directory.
I made the same for the fulltext.indexLocation but in the ccm directory I've founded the workitemindex folder whereas in the jts-deirectory there isn't this folder!!
I think that probably, for this reason, the service doesn't start correctly.
How can I resolve it??
I changed the propeties in jts-directory and also in ccm-directory.
I changed the db.jdbc.location value in "D:/Program Files/...../server/conf/jts/derby/repositoryDB" in the jts-directory and the db.jdbc.location value in "D:/Program Files/...../server/conf/ccm/derby/repositoryDB" in the ccm-directory.
I made the same for the fulltext.indexLocation but in the ccm directory I've founded the workitemindex folder whereas in the jts-deirectory there isn't this folder!!
I think that probably, for this reason, the service doesn't start correctly.
How can I resolve it??
Hi
I have a clean install of RTC 3 - and it only has a single workitemindex folder
C:\Program Files\IBM\JazzTeamServer\server\conf\ccm\indices\workitemindex
So your directory structure seems correct (no jts workitemindex folder), but maybe the settings are wrong.
anthony
Hi,
in RTC3 the index files are stored in conf/<app>/indices, with <app> being ccm or jts (or jazz if migrating from 2) by default.
The Index files will be created and used when rdf artifacts are stored.
You might not seen them if the server was not yet started.
When you change the path to absolute just replace the . with the path to the server install directory e.g. JazzTeamServer/server.
Ralph
in RTC3 the index files are stored in conf/<app>/indices, with <app> being ccm or jts (or jazz if migrating from 2) by default.
The Index files will be created and used when rdf artifacts are stored.
You might not seen them if the server was not yet started.
When you change the path to absolute just replace the . with the path to the server install directory e.g. JazzTeamServer/server.
Ralph
Hi all,
I know this thread is a bit older but I'm having the same problem. When configuring RTC 3.0 as a Windows Service it doesn't come up. Starting the Jazz Team Server from the start menu works.
I already checked the teamserver.properties config files in both ccm and jts directories several times. I replaced all relative paths with absolute paths (except the clmhelp path). The paths are also correct.
I tried to get some error messages by setting the log level to debug in log4j.properties and the tomcat5w dialog. But there is no problem. I have the following Java Options in tomcat5w config dialog
-Dcatalina.base=C:\Programme\IBM\JazzTeamServer\server\tomcat
-Dcatalina.home=C:\Programme\IBM\JazzTeamServer\server\tomcat
-Djava.endorsed.dirs=C:\Programme\IBM\JazzTeamServer\server\tomcat\common\endorsed
-Djava.io.tmpdir=C:\Programme\IBM\JazzTeamServer\server\tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\Programme\IBM\JazzTeamServer\server\tomcat\conf\logging.properties
-DJAZZ_HOME=file:///c:/Programme/IBM/JazzTeamServer/server/conf
-Djava.awt.headless=true
-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true
-Dcom.ibm.team.repository.tempDir=%TEMP%
-Djazz.connector.sslProtocol=SSL_TLS
-Djazz.connector.algorithm=IbmX509
-Dlog4j.configuration=file:///c:/Programme/IBM/JazzTeamServer/server/conf/startup_log4j.properties
I wonder whether there has to be a working path set on the startup and shutdown tab.
Any help is highly appreciated :)
Thanks in advance,
arens
I know this thread is a bit older but I'm having the same problem. When configuring RTC 3.0 as a Windows Service it doesn't come up. Starting the Jazz Team Server from the start menu works.
I already checked the teamserver.properties config files in both ccm and jts directories several times. I replaced all relative paths with absolute paths (except the clmhelp path). The paths are also correct.
I tried to get some error messages by setting the log level to debug in log4j.properties and the tomcat5w dialog. But there is no problem. I have the following Java Options in tomcat5w config dialog
-Dcatalina.base=C:\Programme\IBM\JazzTeamServer\server\tomcat
-Dcatalina.home=C:\Programme\IBM\JazzTeamServer\server\tomcat
-Djava.endorsed.dirs=C:\Programme\IBM\JazzTeamServer\server\tomcat\common\endorsed
-Djava.io.tmpdir=C:\Programme\IBM\JazzTeamServer\server\tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\Programme\IBM\JazzTeamServer\server\tomcat\conf\logging.properties
-DJAZZ_HOME=file:///c:/Programme/IBM/JazzTeamServer/server/conf
-Djava.awt.headless=true
-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true
-Dcom.ibm.team.repository.tempDir=%TEMP%
-Djazz.connector.sslProtocol=SSL_TLS
-Djazz.connector.algorithm=IbmX509
-Dlog4j.configuration=file:///c:/Programme/IBM/JazzTeamServer/server/conf/startup_log4j.properties
I wonder whether there has to be a working path set on the startup and shutdown tab.
Any help is highly appreciated :)
Thanks in advance,
arens
I've been able to get the service to run but I've still got an issue. The documentation isn't very clear because it doesn't explain all the details. I'm running RTC 3.0 on Windows Server 2008 x86_64 with SQL Server Express 2008 R2...all under VMware ESXi 4.1.
Here's my problem...coming from the Equinox bridge:
I'm using the following java options on the service config:
The service comes up and I can login to the jazz admin console, but I get various errors there about services failing. It all works perfectly if I start it using the server.startup.bat file. I've not been able to identify what's missing yet.
Anyone have any ideas?
Here's my problem...coming from the Equinox bridge:
SEVERE: Servlet.service() for servlet equinoxbridgeservlet threw exception
org.apache.http.HttpException: Cannot make local requests for theming when an IOAuthImplicitKeyService is not available
at net.jazz.ajax.service.internal.http.ThemingHandler.sendJfsRequest(ThemingHandler.java:1451)
at net.jazz.ajax.service.internal.http.ThemingHandler.sendBasicJFSGet(ThemingHandler.java:417)
at net.jazz.ajax.service.internal.http.ThemingHandler.createRootNamespace(ThemingHandler.java:1272)
at net.jazz.ajax.service.internal.http.ThemingHandler.initMetadata(ThemingHandler.java:1241)
at net.jazz.ajax.service.internal.http.ThemingHandler.handle(ThemingHandler.java:257)
at com.ibm.team.server.httpcore.bridge.AbstractHandlerWrapperServlet.doWrappedService(AbstractHandlerWrapperServlet.java:136)
at net.jazz.ajax.service.internal.EndpointRegistrar$1.doWrappedService(EndpointRegistrar.java:83)
at com.ibm.team.server.httpcore.bridge.AbstractHandlerWrapperServlet.service(AbstractHandlerWrapperServlet.java:109)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
I'm using the following java options on the service config:
-Dcatalina.base=C:\Program Files (x86)\IBM\JazzTeamServer\server\tomcat
-Dcatalina.home=C:\Program Files (x86)\IBM\JazzTeamServer\server\tomcat
-Djava.endorsed.dirs=C:\Program Files (x86)\IBM\JazzTeamServer\server\tomcat\common\endorsed
-Djava.io.tmpdir=C:\Program Files (x86)\IBM\JazzTeamServer\server\tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\Program Files (x86)\IBM\JazzTeamServer\server\tomcat\conf\logging.properties
-DJAZZ_HOME=file:///C:/Program Files (x86)/IBM/JazzTeamServer/server/conf
-Djava.awt.headless=true
-Dcom.ibm.team.repository.tempDir=%TEMP%
-Djazz.connector.sslProtocol=SSL_TLS
-Djazz.connector.algorithm=IbmX509
-Dlog4j.configuration=file:///C:/Program Files (x86)/IBM/JazzTeamServer/server/conf/startup_log4j.properties
-DSQLSERVER_JDBC=file:///C:/Program Files (x86)/IBM/JazzTeamServer/server/sqlserver
-DSQLSERVER_JDBC_DRIVER_FILE=file:///C:/Program Files (x86)/IBM/JazzTeamServer/server/sqlserver/sqljdbc4.jar
The service comes up and I can login to the jazz admin console, but I get various errors there about services failing. It all works perfectly if I start it using the server.startup.bat file. I've not been able to identify what's missing yet.
Anyone have any ideas?
Hello,
I would:
1 - remove the -DSQLSERVER_JDBC but keep -DSQLSERVER_JDBC_DRIVER_FILE
variable
2 - replace in all variables:
Program Files (x86)
with
PROGRA~2
--
Eric JODET
Jazz Development - L3 Maintenance
On 3/9/2011 11:53 PM, philipereed wrote:
I would:
1 - remove the -DSQLSERVER_JDBC but keep -DSQLSERVER_JDBC_DRIVER_FILE
variable
2 - replace in all variables:
Program Files (x86)
with
PROGRA~2
--
Eric JODET
Jazz Development - L3 Maintenance
On 3/9/2011 11:53 PM, philipereed wrote:
I've been able to get the service to run but I've still got an issue.
The documentation isn't very clear because it doesn't explain all the
details. I'm running RTC 3.0 on Windows Server 2008 x86_64 with SQL
Server Express 2008 R2...all under VMware ESXi 4.1.
Here's my problem...coming from the Equinox bridge:
SEVERE: Servlet.service() for servlet
equinoxbridgeservlet threw exception
org.apache.http.HttpException: Cannot make local requests for
theming when an IOAuthImplicitKeyService is not available
at
net.jazz.ajax.service.internal.http.ThemingHandler.sendJfsRequest(ThemingHandler.java:1451)
at
net.jazz.ajax.service.internal.http.ThemingHandler.sendBasicJFSGet(ThemingHandler.java:417)
at
net.jazz.ajax.service.internal.http.ThemingHandler.createRootNamespace(ThemingHandler.java:1272)
at
net.jazz.ajax.service.internal.http.ThemingHandler.initMetadata(ThemingHandler.java:1241)
at
net.jazz.ajax.service.internal.http.ThemingHandler.handle(ThemingHandler.java:257)
at
com.ibm.team.server.httpcore.bridge.AbstractHandlerWrapperServlet.doWrappedService(AbstractHandlerWrapperServlet.java:136)
at
net.jazz.ajax.service.internal.EndpointRegistrar$1.doWrappedService(EndpointRegistrar.java:83)
at
com.ibm.team.server.httpcore.bridge.AbstractHandlerWrapperServlet.service(AbstractHandlerWrapperServlet.java:109)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at
com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:62)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
I'm using the following java options on the service config:-Dcatalina.base=C:\Program Files
(x86)\IBM\JazzTeamServer\server\tomcat
-Dcatalina.home=C:\Program Files
(x86)\IBM\JazzTeamServer\server\tomcat
-Djava.endorsed.dirs=C:\Program Files
(x86)\IBM\JazzTeamServer\server\tomcat\common\endorsed
-Djava.io.tmpdir=C:\Program Files
(x86)\IBM\JazzTeamServer\server\tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\Program Files
(x86)\IBM\JazzTeamServer\server\tomcat\conf\logging.properties
-DJAZZ_HOME=file:///C:/Program Files
(x86)/IBM/JazzTeamServer/server/conf
-Djava.awt.headless=true
-Dcom.ibm.team.repository.tempDir=%TEMP%
-Djazz.connector.sslProtocol=SSL_TLS
-Djazz.connector.algorithm=IbmX509
-Dlog4j.configuration=file:///C:/Program Files
(x86)/IBM/JazzTeamServer/server/conf/startup_log4j.properties
-DSQLSERVER_JDBC=file:///C:/Program Files
(x86)/IBM/JazzTeamServer/server/sqlserver
-DSQLSERVER_JDBC_DRIVER_FILE=file:///C:/Program Files
(x86)/IBM/JazzTeamServer/server/sqlserver/sqljdbc4.jar
The service comes up and I can login to the jazz admin console, but I
get various errors there about services failing. It all works
perfectly if I start it using the server.startup.bat file. I've not
been able to identify what's missing yet.
Anyone have any ideas?