It's all about the answers!

Ask a question

How do I make CLM 6.0 run as a service?


Timothy McKemy (1082317) | asked Dec 08 '15, 2:24 p.m.
retagged Dec 09 '15, 10:14 a.m. by Patricia Der (5011)

I need to run CLM 6.0 as a Windows service. I have followed the instructions (https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.jazz.install.doc/topics/t_run_rqm64_win_service.html&scope=null ) to the letter, and have checked and double-checked my work.

When I try to start tomcat7 as a service (either automatically at startup or via the startup.bat file in server/tomcat/bin) the Apache service shows as running, but any CLM page I try to access results in a 'This page can't be displayed' message. In looking at the Catalina 2015-12-08.log I see there is a SEVERE error:

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-9443"]
java.io.IOException: ${jazz.connector.algorithm} KeyManagerFactory not available

 The Java options entered in tomcat7w are:

-Dcatalina.home=D:\CLM_6_PG\server\tomcat

-Dcatalina.base=D:\CLM_6_PG\server\tomcat

-Djava.endorsed.dirs=D:\CLM_6_PG\server\tomcat\endorsed

-Djava.io.tmpdir=D:\CLM_6_PG\server\tomcat\temp

-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

-Djava.util.logging.config.file=D:\CLM_6_PG\server\tomcat\conf\logging.properties

-Djava.endorsed.dirs=D:\CLM_6_PG\server\tomcat\endorsed

-Djava.io.tmpdir=D:\CLM_6_PG\server\tomcat\temp

-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

-Djava.util.logging.config.file=D:\CLM_6_PG\server\tomcat\conf\logging.properties

-DJAZZ_HOME=file:///D:/CLM_6_PG/server/conf

-Djava.awt.headless=true

-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true

-Dcom.ibm.team.repository.tempDir=D:\CLM_6_PG\server\tomcat\temp

-Djazz.connector.sslEnabledProtocols=TLSv1.2

-Djazz.connector.algorithm=IbmX509

-Dlog4j.configuration=file:///D:/CLM_6_PG/server/conf/startup_log4j.properties

-Xgcpolicy:gencon

-Xcompressedrefs

-Xgc:preferredHeapBase=0x100000000

-XX:MaxDirectMemorySize=1G

-Xmx4G

-Xms4G

-Xmn1g

I need to fix this ASAP. What do I need to do?

Accepted answer


permanent link
Zeeshan Choudhry (6541612) | answered Dec 08 '15, 3:19 p.m.
The instructions you are using is for 6.0.1

Please try
https://www-01.ibm.com/support/knowledgecenter/SSYMRC_6.0.0/com.ibm.jazz.install.doc/topics/t_run_rqm64_win_service.html?lang=en

Note

-Djazz.connector.sslEnabledProtocols


-DJAZZ_HOME=file:///C:/PROGRA~1/IBM/JazzTeamServer/server/conf
-Djava.awt.headless=true 
-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true 
-Dcom.ibm.team.repository.tempDir=C:\Program Files\IBM\JazzTeamServer\server\tomcat\temp
-Djazz.connector.sslEnabledProtocols=TLSv1,TLSv1.1,TLSv1.2
-Djazz.connector.algorithm=IbmX509
-Dlog4j.configuration=file:///C:/PROGRA~1/IBM/JazzTeamServer/server/conf/startup_log4j.properties
-Xgcpolicy:gencon
-Xgc:preferredHeapBase=0x100000000
-XX:MaxDirectMemorySize=1G
-Xmx4G
-Xms4G
-Xmn512M

Timothy McKemy selected this answer as the correct answer

Comments
Timothy McKemy commented Dec 10 '15, 1:34 p.m.

It must have been the 6.0.1 settings that were messing me up. CLM now starts as a service. Thanks!!

One other answer



permanent link
Donald Nong (14.5k614) | answered Dec 08 '15, 7:05 p.m.
If you know what to look for, you should find quite a few posts with the same issue on this forum. It's all about passing the JVM parameters correctly the the Tomcat service.
https://jazz.net/forum/questions/105069/how-to-fix-severe-failed-to-initialize-end-point-associated-with-protocolhandler-http-bio-9443
https://jazz.net/forum/questions/205190/protocol-supported-clm-60-when-running-tomcat-as-a-windows-service
https://jazz.net/forum/questions/177826/rtc-502-tomcat-service-error

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.