It's all about the answers!

Ask a question

Unable to start tomcat7 as a windows service for CLM 5.0.1 in Windows 2012

Panduka Siriwardena (1144) | asked Oct 28 '14, 8:02 p.m.
 Dear community,
CLM 5.0.1
I have installed CLM 5.0.1 in Windows 2012 R2 instance in Amazon Cloud, all went ok and work perfectly by manual start of Jazz Team Server(Start The Jazz Team Server).

So, setup the tomcat7 to start as windows service but failed. This setup done according to the instruction given on "Interactive installation guide"  and java options given as

I cross checked this is with server.startup.bat and similar setup ???

in log files:
tomcat7-stderr.2014-10-28.log says,

2014-10-28 23:31:35 Commons Daemon procrun stderr initialized
JVMJ9GC019E -Xmn too large for -Xms
JVMJ9VM015W Initialization error for library j9gc24(2): Failed to initialize

commons-daemon.2014-10-28.log says,

[2014-10-28 23:31:35] [info]  [ 3764] Commons Daemon procrun ( 64-bit) started
[2014-10-28 23:31:35] [info]  [ 3764] Running 'tomcat7' Service...
[2014-10-28 23:31:35] [info]  [ 1868] Starting service...
[2014-10-28 23:31:35] [error] [ 2292] CreateJavaVM Failed
[2014-10-28 23:31:35] [error] [ 1868] Failed to start Java
[2014-10-28 23:31:35] [error] [ 1868] ServiceStart returned 4
[2014-10-28 23:31:35] [info]  [ 3764] Run service finished.
[2014-10-28 23:31:35] [info]  [ 3764] Commons Daemon procrun finished

Can somebody to help me on this please????

Thank you : Panduka

One answer

permanent link
Donald Nong (14.3k211) | answered Oct 28 '14, 8:56 p.m.
Run tomcat7w.exe and check the Java tab for details.
1. Make sure that you pick the right JRE - it's side by side with the "tomcat" folder.
2. Make sure that the two text boxes "initial memory pool" and "maximum memory pool" are empty since you already specify the -Xms and -Xmx in the Java Options text box.
You can see some screen shots in this post.

Ralph Schoon commented Oct 29 '14, 4:59 a.m.

From the error

JVMJ9GC019E -Xmn too large for -Xms

I would agree, that the settings in the service are not done properly.

Your answer

Register or to post your answer.