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

Tomcat server won't start after installing CLM 4.0.1 with an Evaluation Topology

I have installed the Rational solution for CLM on Windows 7 for the purposes of doing a demonstration.

I have followed the steps outlined in the Interactive Setup Guide, and the installation proceeds normally, until I reach step 4 -- Start the Apache Tomcat Server.  When I reach the step to start the server and run setup to configure it, the server will not start.

When I attempt to run the server from the command line, a second command prompt window is quickly displayed, then closed.  The log files int <JazzInstallDir>\server\tomcat\logs all remain empty.

My initial attempt was on Windows 7 in a VMware virtual machine.  When I ran into the issue, I tried installing to a CentOS virtual machine instead.  Both encountered the same issue.

I appreciate any advice that might help me resolve this.

Thanks


0 votes

Comments

Your problem is probably because you are executing server.startup from a command window that is not an Administrator window.

Open a command window by right-clicking on the Command item in the Start menu and selecting Run as Administrator. Then run server.startup. You should see the second command window open, but it will remain and you'll see the status messages as the server and applications are initialized.


Accepted answer

Permanent link
Hi David,

This usually happens when the system does not have enough RAM to start.  By default, the Tomcat startup script uses a 4GB JVM heap, so if your system cannot allocate the memory for the JVM, Tomcat will not start.  I would suggest making sure the VM has at least 8GB of RAM.  To confirm this is the case, you can modify the server.startup file in the server home directory and change the following lines to a smaller value (ie - 2GB).  If the server starts up, that is your issue, but I would not recommend you do not continue further until the server can start with 4G.  Hope it helps,

set JAVA_OPTS=%JAVA_OPTS% -Xmx4G
set JAVA_OPTS=%JAVA_OPTS% -Xms4G
David Fardoe selected this answer as the correct answer

4 votes

Comments

I was able to increase the memory allocation to the VM, and it seems to be running fine.

Looks like that was it.

Thanks Benjamin!

 same thing i try with same config but its not running


2 other answers

Permanent link
 David,
Have you tried to start tomcat with the Run as Admin option?
Also, are there any errors/warnings in the system Event Viewer that coincide with the start up attempt?

1 vote

Comments

I did try running as Admin, but got the same result.  No errors/warnings in the event viewer either.

I tried increasing the available memory as Benjamin suggested, and that got it.

Thanks for your response, Ara!


Permanent link
Your problem is probably because you are executing server.startup from a command window that is not an Administrator window.

Open a command window by right-clicking on the Command item in the Start menu and selecting Run as Administrator. Then run server.startup. You should see the second command window open, but it will remain and you'll see the status messages as the server and applications are initialized.

1 vote

Comments

I did try running as Admin, but got the same result.  Just a command prompt window that closed immediately.

I tried Benjamin's suggestion (increasing available memory) and that seemed to do it.

Thanks for your response, Jim!

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,495
× 40

Question asked: Jan 29 '13, 12:48 p.m.

Question was seen: 6,786 times

Last updated: Jul 24 '13, 1:16 a.m.

Confirmation Cancel Confirm