java.lang.StackOverflowError exception after switching process to 64-bit JVM

  • 7009008
  • 18-Jul-2011
  • 27-Apr-2012


Novell Sentinel 6.1 Collector Manager
Novell Sentinel 6.1 Sentinel Server


DAS service throws Java 'StackOverflowError' exception after switching process to 64-bit Java JVM:
Mon Jun 27 18:03:38 CEST 2011|SEVERE|Timer-1|esecurity.base.ccs.comp.dataobject.ConnectionManager$
    ; Exception java.lang.StackOverflowError;


1) Edit the configuration.xml file, and change the parameter '-Xss' to 4 MB. For example:
"/opt/novell/sentinel6/jre64/bin/java" -server -Dsrv_name=DAS_Query -Xmx3500m -Xms64m -XX:+UseParallelGC -Xss4m -Xrs -Duser.language=en -Dfile.encoding=UTF8 -Desecurity.router.config.file=../config/ -Desecurity.dataobjects.config.file=/xml/BaseMetaData.xml,/xml/WorkflowMetaData.xml -Djava.util.logging.config.file=../config/das_query_log.prop -Desecurity.execution.config.file=../config/ -Dcom.esecurity.configurationfile=../config/configuration.xml -jar ../lib/ccsbase.jar ../config/das_query.xml

2) Restart sentinel services.

Additional Information

Stack Overflow errors are due to recursive looping either in the application code or the java generated JIT code. It should be noted that each thread (except on Solaris and HP-UX) has a default java stack and native stack. In cases where the defaults are not sufficient, it could result in java stack overflow or native stack issues.

For more information:
Diagnosing a java.lang.StackOverflowError