Kelly Wong

Tech Tip - CA Single Sign-On: R12.52 SP1 CR5 Secure Proxy Server crashes

Blog Post created by Kelly Wong Employee on Jul 17, 2016

CA Single Sign-On Tech Tip by Sau Lai Wong, Principal Support Engineer for 18th July 2016

Issue:

Tomcat Proxy-Engine is crashing with SPS R12.52 SP1 CR5 release.

 

Following is logged in the nohup.log:

Jun 11, 2016 11:11:11 AM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.commons.pool.impl.CursorableLinkedList$Cursor.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1612)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
    at org.apache.commons.pool.impl.CursorableLinkedList.cursor(CursorableLinkedList.java:305)
    at org.apache.commons.pool.impl.GenericObjectPool.evict(GenericObjectPool.java:1488)
    at org.apache.commons.pool.impl.GenericObjectPool$Evictor.run(GenericObjectPool.java:1700)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)

Exception in thread "Timer-1" java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/CursorableLinkedList$Cursor
    at org.apache.commons.pool.impl.CursorableLinkedList.cursor(CursorableLinkedList.java:305)
    at org.apache.commons.pool.impl.GenericObjectPool.evict(GenericObjectPool.java:1488)
    at org.apache.commons.pool.impl.GenericObjectPool$Evictor.run(GenericObjectPool.java:1700)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool.impl.CursorableLinkedList$Cursor
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
    ... 5 more
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x764ac54f, pid=1111, tid=0x00001374
#
# JRE version: Java(TM) SE Runtime Environment (7.0_101-b31) (build 1.7.0_101-b31)
# Java VM: Java HotSpot(TM) Client VM (24.101-b31 mixed mode windows-x86 )
# Problematic frame:
# C  [KERNELBASE.dll+0xc54f]
#
# Core dump written. Default location: d:\Program Files (x86)\CA\secure-proxy\proxy-engine\hs_err_pid1111.mdmp
#
# An error report file with more information is saved as:
# d:\Program Files (x86)\CA\secure-proxy\proxy-engine\hs_err_pid1111.log
#
# If you would like to submit a bug report, please visit:
#  
http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Environment:

R12.52 SP1 CR5 Secure Proxy Server

 

Cause:

Stack trace from hs_err_pidxxxx.log:

Stack: [0x5ca20000,0x5ca70000],  sp=0x5ca6ec48,  free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [KERNELBASE.dll+0xc54f]
C  [MSVCR80.dll+0x28e89]
C  [MSVCP80.dll+0x2b3e7]
C  [MSVCP80.dll+0x38e7]
C  [MSVCP80.dll+0x4845]
C  [SPS60Agent.dll+0x58cd]
C  [HttpPlugin.dll+0xa758]

The core file analysis indicates that the crash happened under specific circumstances while SMSESSION cookie is being deleted. The crash is introduced by a fix (DE99753) incorporated with CR5 release.

 

Resolution:

Crash condition is addressed. Fix is scheduled to be released with R12.52 SP1 CR6 SPS release.

Outcomes