Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How do I make CLM 6.0 run as a service?

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?

0 votes


Accepted answer

Permanent link
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

1 vote

Comments

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
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,501
× 1,381

Question asked: Dec 08 '15, 2:24 p.m.

Question was seen: 4,548 times

Last updated: Dec 10 '15, 1:34 p.m.

Confirmation Cancel Confirm