When you attempt to access the RU6 Symantec Endpoint Protection Manager Web Access Console, you receive a message, "initializing. please wait...." and then "AjaxSwing Error - Internal Error"
The sepm_session.log shows:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
The ajaxswing.log shows:
2010/05/04 23:55:05:912 : Thread-16 : [com.creamtec.ajaxswing.core.ClientAgentFactory$1] Exception while warming up client agent for applicaton sepm (Exception com.creamtec.ajaxswing.core.AjaxSwingException, Timed out while waiting for a new JVM process. Possible reasons are:
Application classes are not not found
JAVA_HOME environment variable is not set correctly (see AjaxSwing/bin/setEnv.bat)
AJAXSWING_HOME environment variable is not set correctly (see AjaxSwing/bin/setEnv.bat)
System configuration prevents AjaxSwing Router from launching agent process
The timeout value for router.agentWaitTimeout in default.properties is too low
Check AjaxSwing log files for application errors.
Double check that you have made your classes available to AjaxSwing and that you can run AjaxSwing/bin/clientagent[.bat] with correct parameters manually)
This seems to occur more often when upgrading from a previous build to RU6(a)
When upgrading from a previous build of SEP, the heap size values currently applied to semsrv are imported into setenv.bat, which handles the heap size values for the web console. From the upgrade.log: Updating setEnv.bat file ... @echo off rem Edit this file to setup AjaxSwing environment and your application parameters *** further down *** set JAVA_OPTS=%JAVA_OPTS% -Xbootclasspath/p:"%CATALINA_HOME%\bin\asboot.jar" -XX:MaxPermSize=512m -XX:MinHeapFreeRatio=40 -XX:MaxHeapFreeRatio=70 -Xms512m -Xmx1024m -Dajaxswing.home="%AJAXSWING_HOME%" -Dcatalina.home="%CATALINA_HOME%" Large environments tend to set the max heap for the SEPM console to 1024, however the web console can have issues when the heap size is set larger than 512MB.
Decrease the maximum heap size value for the web console to no larger than -Xmx512m.
Adjust the max heap (highlighted in bold) for the web console by editing the setEnv.bat file (located by default at):