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

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

Environment

Novell Sentinel 6.1 Collector Manager
Novell Sentinel 6.1 Sentinel Server

Situation

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$ConnectTask.run
    ; Exception java.lang.StackOverflowError;

Resolution

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  -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF8 -Desecurity.router.config.file=../config/event-router.properties -Desecurity.cache.directory=../data/das_query.cache -Desecurity.dataobjects.config.file=/xml/BaseMetaData.xml,/xml/WorkflowMetaData.xml -Djava.util.logging.config.file=../config/das_query_log.prop -Djava.security.auth.login.config=../config/auth.login -Djava.security.krb5.conf=../config/krb5.conf -Desecurity.execution.config.file=../config/execution.properties -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
https://www-304.ibm.com/support/docview.wss?uid=swg21162896

Feedback service temporarily unavailable. For content questions or problems, please contact Support.