Friday, December 9, 2011

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?

Thursday, December 8, 2011

How to Install QC 11 (Quality Center) / Application Lifecycle management (ALM) 11? Part 2 – Extracting the files

This is second part of four-part series on How to Install QC 11 (Quality Center) / Application Lifecycle management (ALM) 11

Click on the first part if you landed on this page accidently/missed the first part on How to download QC 11 (Quality Center) / Application Lifecycle management (ALM)

1) Ensure that both the files are downloaded in the same folder, if not ensure you copy the files in the same folder.


Click on the image to enlarge
 2) Ensure the names are same except for the extension (Viz Software_HP_ALM_11.00_Windows_TC096_15000.zip & Software_HP_ALM_11.00_Windows_TC096_15000.z01)

3) Install winrar if you don’t have it already. You can download it here

4) Now, right click on the zip file we downloaded (viz Software_HP_ALM_11.00_Windows_TC096_15000.zip) and select the option Extract to Software_HP_ALM_11.00_Windows_TC096_15000

Click on the image to enlarge
5) It will create a new folder in the current directory as shown below.

Click on the image to enlarge
6) Wait for the extraction process to complete

7) Now open the newly created folder, it will contain a file named TC096-15000.iso, repeat the same step as above. Viz Rightclick on the.iso file and select Extract to TC096-15000

8) This will create a new folder in the current directory as shown below

Click on the image to enlarge
9) Wait for the extraction process to complete, comparatively it will take more time now.

10) After extracting open the newly created folder, it will contain the below folders

Click on the image to enlarge
We now have all the files we need for installing Quality center 11 aka Application Lifecycle Management 11.

This is the end of Part 2 - Extracting the software, please continue with How to Install QC 11 (Quality Center) / Application Lifecycle management (ALM) 11 – Part 3 Installing the ALM platform

Also Read,
ALM - QTP integration
A sample framework for ALM – QTP integration

How to Install QC 11 (Quality Center) / Application Lifecycle management (ALM) 11? Part 1 - Downloading the software

This is a general question I always get from my subscribers, why is it so difficult to install Quality center 11 aka Application Lifecycle Management (ALM). I am putting together this document on step by step installation of Quality Center 11 with the screenshots as I am installing it. Please leave a comment and share your thoughts if you feel anything is missing, I will be glad to help you with that.

Let us beging the first part of four-part series - Downloading the required files

1) Ensure that the system meets the pre-requisites for installing Quality Center 11 / Application Lifecycle management (ALM) 11 by clicking on the link. If you don’t find the page here, leave a comment I can fix it for you, HP keeps changing these pages.

2) Go to the download URL Again, if you don’t find the link here please leave a comment, I will update the correct link. HP has changed this download location for the 3rd time this year that I know of.

3) Click on dropdown that says trials and demos.

Click on the image to enlarge

4) Click on “HP APPLICATION LIFECYCLE MANAGEMENT 11 EVALUATION”

Cick on the image to enlarge
5) Click on “New User Registration” tab if you do not have a HP passport id already. You can also read step #2 of this article to get more information on getting a HP learner id.

Click on the image to enlarge
6) After getting an id, use it to sign in to the portal

Click on the image to enlarge
7) On the next screen (Evaluation software terms of use), click on the button “I agree”

Click on the image to enlarge
8) Now you will have access to download section depending on the operating system choose the appropriate files. For Windows you need the below shown 2 files (Viz Software_HP_ALM_11.00_Windows_TC096_15000.zip (194.03 MB) & Software_HP_ALM_11.00_Windows_TC096_15000.z01 (1800.00 MB) Total size = 2 GB, so these files may take some time to download depending on your internet speed

Click on the image to enslarge it

This is the end of Part 1 - Downloading the software, please continue with How to Install QC (ALM) 11 Part 2 - Extracting the files.

Also Read,
How to integrate QC and QTP?
A sample framework for QC – QTP integration