Citrix
Skip navigation links
Overview Expand Overview
Products Expand Products
Solutions Expand Solutions
Support Services Expand Support Services
Partners Expand Partners
About Us Expand About Us
How to Buy


[139] Unable to Launch Administrator Console on Windows due to JVM issues    « Back to Category
Author: Pradeep Parmar, Created on: Jan 18, 2007 12:51 PM
Categories: XenServer 3.1 Product Family, XenServer 3.2 Product Family
Language: English
Rating:


Symptoms


It is a possible situation that Administrator console may fail to start on Windows with error “Could not create the Java virtual machine”
In such a situation you have to edit the "C:\Program Files\XenSource\bin\xenserver-client.bat" and change the options ( parameters ) passed to javaw ( application launcher )

Resolution


  1. Open "C:\Program Files\XenSource\bin\xenserver-client.bat" in notepad or any other simple editor of your choice.( Its recommended that backup this file before editing )

  2. Scroll down to the line

  3. start jre1.5.0_06\bin\javaw -Xms32m -Xmx1024m -Djavax.net.ssl.trustStore=client.ks -Djavax.net.ssl.trustStoreType=JCEKS -DLOGDIR="%PERUSER%\xensource\log" -Dclient.properties="file:///%PERUSER_URL%/xensource/client.properties" -Dlog4j.configuration="file:///%PERUSER_URL%/xensource/log4j.properties" -Ddefault.layout="file:///%PERUSER_URL%/xensource/default0.layout" -Drdesktop="%CD%\xensource.rdp" -jar "xenserver-client.jar"

  4. Delete the parameter -Xmx1024m .( This option specifies the maximum size of the memory allocation pool ) After editing the line should look like this :

  5. start jre1.5.0_06\bin\javaw -Xms32m -Djavax.net.ssl.trustStore=client.ks -Djavax.net.ssl.trustStoreType=JCEKS -DLOGDIR="%PERUSER%\xensource\log" -Dclient.properties="file:///%PERUSER_URL%/xensource/client.properties" -Dlog4j.configuration="file:///%PERUSER_URL%/xensource/log4j.properties" -Ddefault.layout="file:///%PERUSER_URL%/xensource/default0.layout" -Drdesktop="%CD%\xensource.rdp" -jar "xenserver-client.jar"

  6. Save the file and exit the editor.

  7. Now you can launch the Administrator Console


Document Rating
Rating:
Your Rating:          
 

Comments
Click to create a comment Add a Comment
No comments. Click "Add a Comment" to create one.

Related Documents
No Related Documents