Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Error starting JBoss server after QC (ALM) installation

Probable error message when you run the run.bat file
"Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Press any key to continue . . ."
or
"There was an error starting JBoss server"
or
"Unable to start the JBoss server"

The Solution:
This error is because of heap memory allocation for the JBoss server. By default Application Life-cycle management (Quality Center) tool allocates memory based on the RAM size of your computer. Unfortunately Java 32-bit version supports only a maximum heap size of 1536MB only.

64-bit Windows

If you are using 64-bit windows, check if you have 64-bit Java installed. For resolving the issue, uninstall your 32-bit Java and install 64-bit Java.

If you do not wish to Uninstall/Reinstall, ie want to continue using the same Java, then follow the steps specified in 32-bit windows section below.


32-bit Windows
If you are using 32-bit windows, you need to decrease the heap size of JBoss server. How to do that?
1) Go to your ALM path (By default it will be "C:\Documents and Settings\All Users\Application Data\HP\ALM")
2) Open the folder named JBoss
3) Open the folder named bin
4) Locate a file named run.bat
5) 'Right-click' on the file and select 'edit'
6) Look out for a line similar to "set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m -XX:MaxPermSize=256M". It may not be the same exact line, depending on your RAM the ALM installation would have different values. The two 1024 may change and teh 256 may change, remaining would be the same.
7) After locating the line, change it so something like "set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx512m -XX:MaxPermSize=256M" so that the total size is not going above the 1536MB.
8) Save the file
9) Double click on "run.bat"

Within a couple of minutes, you should see JBossXXXXXX Started in XXXX ms


Related Posts:
How to download Quality Center?

How to extract Quality Center files?
How to install Application Lifecycle Management (ALM) platform?
How to configure the Application Lifecycle Management (ALM) platform?


This post first appeared on Quick Test Professional (QTP) & Test Automation Gu, please read the originial post: here

Share the post

Error starting JBoss server after QC (ALM) installation

×

Subscribe to Quick Test Professional (qtp) & Test Automation Gu

Get updates delivered right to your inbox!

Thank you for your subscription

×