RTC 4.0.4 Tomcat7 Windows 7 as a service won't start
Just upgraded RTC 4.0.3 under windows 7 to RTC 4.0.4. We were previously running tomcat as a service with RTC 4.0.3. We ran through the upgrade steps very carefully, including the steps to "replace" the 4.0.3 tomcat service setup with the 4.0.4 tomcat service setup. Now when we try to start the service it stays in a stopped state and we really see no errors. We can start up RTC 4.0.4 successfully and all looks good but we can't start up the tomcat service.
Here is what we see in the tomcat7.stderr 2013-10-02 12:04:21 Commons Daemon procrun stderr initialized Unrecognized option: -Xgcpolicy:gencon 2013-10-02 12:05:02 Commons Daemon procrun stderr initialized Unrecognized option: -Xgcpolicy:gencon 2013-10-02 12:06:01 Commons Daemon procrun stderr initialized Unrecognized option: -Xgcpolicy:gencon 2013-10-02 12:18:52 Commons Daemon procrun stderr initialized Unrecognized option: -Xgcpolicy:gencon 2013-10-02 12:22:06 Commons Daemon procrun stderr initialized Unrecognized option: -Xgcpolicy:genc Would appreciate any help we can get. |
3 answers
If the error message can be trusted, the Tomcat service picks up the incorrect JVM when it starts up. -Xgcpolicy:genconis for IBM Java while -Xgc:gencon is for Oracle Sun Java.
Comments
Donald Poulin
commented Oct 03 '13, 7:48 a.m.
If I remember correctly those parms are set when you run the tomcat7w.exe to set up the service and the actual startup command on the "General" tab comes up greyed out. So what file and where would you change to "gencon" to "genconis"?
Is the Java Virtual Machine path set to the jvm.dll in the JazzTeamServer directory? ...\JazzTeamServer\server\jre\bin\j9vm\jvm.dll |
Post all your JAVA tab options in tomcat7w.exe
Looks like a configuration issue of JAVA parameters and selecting the right JVM. |
It sounds like you may *not* have switched the default JVM to the one included with the CLM install.
( I can reproduce your error by using the default jvm which on my system is a 32 bit version of the Sun\Oracle jvm) To fix it open tomcat7w.exe, switch to the java tab and deselect the "use default box". Then manually set the full path to the jvm that Kot mentioned in her comment. (...\JazzTeamServer\server\jre\bin\j9vm\jvm.dll ) With that setting you should stick with -Xgcpolicy:gencon If the start button is grayed out make sure tomcat.exe is not running in task manager with "show processes from all users" selected Then restart tomcat7w.exe (grayed out usually means that the tomcat service is in a funky state) Comments
Donald Poulin
commented Oct 04 '13, 12:31 p.m.
It looks like you are pointing to a 32 bit JVM which is likely to be an Oracle one.
|
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.