Unable to start Jazz 4.0.5 as a service on Windows Server 2012
![]()
Romuald Tisserand (7●6●8)
| asked Mar 20 '14, 5:04 a.m.
retagged Mar 20 '14, 10:39 a.m. by Laura W. Hinson (161●2●6)
Hi,
I've successfully installed Jazz RTC 4.0.5 on Windows 7 and managed to start it as a Windows Service, and it works fine. Unfortunately, the same procedure doesn't work on Windows Server 2012. Pre-condition: Jazz RTC is correctly installed and works fine if started manually. I followed the instructions from the official IBM documentation: http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/index.jsp?topic=%2Fcom.ibm.jazz.install.doc%2Ftopics%2Ft_run_rqm64_win_service.html But it seems a bit incomplete, so I also executed these instructions: https://jazz.net/help-dev/rational-insight/index.jsp?topic=%2Fcom.ibm.jazz.install.doc%2Ftopics%2Fc_deploying_tomcat.html My Windows service is well created with all necessary parameters. The computer has 6 GB or RAM. Once the changes made, I checked Jazz RTC starts well again when it is manually run, and it does. But when I try to start the Tomcat 7 Windows Service, the JVM initialisation fails, with the error code: JVMJ9VM015W. I insist, I do NOT get this error when Jazz is started manually. Thanks.
showing 5 of 10
show 5 more comments
|
Accepted answer
![]()
Patrick Remington (201●3)
| answered Mar 20 '14, 11:01 a.m.
FORUM MODERATOR / JAZZ DEVELOPER edited Mar 20 '14, 11:23 a.m. Romuald, I don't know if it will make any difference to your situation, but I noticed that you referred to the information in the V4R0 information center for the topic instead of the V4R0M5 information center. In comparing the topics from the two versions, I see some additional instructions in the V4R0M5 version, some having to do with the initial and maximum memory pools. Look at http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m5/index.jsp?re=1&topic=/com.ibm.jazz.install.doc/topics/t_run_rqm64_win_service.html&scope=null Romuald Tisserand selected this answer as the correct answer
Comments This makes all the diffence Patrick, it works, fantastic! Thanks a lot.
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Great to hear you got it working.
Hi Romuald
Hi Renato,
|
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.
Comments
Hi Romuald,
There are different root causes of JVMJ9VM015W. Where do you see this error JVMJ9VM015W? In any log file? Please provide us the full error message to better troubleshoot it.
Hi Krzysztof,
Yes in a log file: #root path#\JazzTeamServer\server\tomcat\logs\tomcat7-stderr.2014-03-19
Full content is:
In English, this message is: "Initialization error if the library j9gc24(2): Failed to
instantiate segment. 4g requested."
That's all, end of story.
Romuald,
It seems that due to any reason you Virtual Machine for Jazz is not able to allocate 4GB of memory. How much free memory you have on your machine when attempting to start RTC server?
Anyway it is strange for me that it starts when running from command line.
All is here Krzysztof. Jazz runs in this very moment, just launched through the server.startup batch. The server has 6 GB of RAM and Jazz is the sole installed application.
Right now, with Jazz working, the PC consumes 3GB of RAMn has 3GB Free, and Jazz runs 2GB. This means the server only consumes 1GB and 5GB Free when Jazz does not run.
how much memory is available to the service?
If you can start it using the script, but it won't start as service, one reason could be that you did not locate all the settings in the startup script and made sure they are also used in the service. This could cause defaults that might lead to memory allocation issues.
Hi Sam,
Thanks to help. I've never seen anything about memory allocation for services, if you know how to check this, it'd be great!
Thanks to help Ralph.
I've checked again:
- in all teamserver.properties files, all values containing "conf/" are well absolute pathes
- in all log4j.properties files, all values containing "logs/" are well absolute pathes
All with forward slash, of course.
I do not really see what I can further do in this area.
If I remember correctly, you where also to look into the server.startup file and bring the Java Options over e.g. the lines with
These are important too and will not be automatically set in the service startup, if you don't specify them.....Thanks, they are, here is the full Java parameters list:
-Dcatalina.base=C:\Jazz\JazzTeamServer\server\tomcat
-Dcatalina.home=C:\Jazz\JazzTeamServer\server\tomcat
-Djava.endorsed.dirs=C:\Jazz\JazzTeamServer\server\tomcat\endorsed
-Djava.io.tmpdir=C:\Jazz\JazzTeamServer\server\tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\Jazz\JazzTeamServer\server\tomcat\conf\logging.properties
-DJAZZ_HOME=file:///C:/Jazz/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.sslProtocol=SSL_TLS
-Djazz.connector.algorithm=IbmX509
-Dlog4j.configuration=file:///C:/Jazz/JazzTeamServer/server/conf/startup_log4j.properties
-Xgcpolicy:gencon
-Xcompressedrefs
-Xgc:preferredHeapBase=0x100000000
-XX:MaxDirectMemorySize=1G
-Xmx4G
-Xms4G
-Xmn512M