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
- 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 )
- Scroll down to the line
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" - Delete the parameter -Xmx1024m .( This option specifies the maximum size of the memory allocation pool ) After editing the line should look like this :
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" - Save the file and exit the editor.
- Now you can launch the Administrator Console
|