Layer7 Access Management

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

By wonsa03 posted 07-17-2016 07:03 PM

  

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.

9 comments
1 view

Comments

07-26-2016 06:29 PM

That's a great news. Thanks for the update.

07-26-2016 10:24 AM

Hi Ujwol,

 

looks like Dev-fix you provided has resolved problem in Production and after applying patch we don't see any backend server crash. Thank you once again.

 

Regards

Prashant

07-24-2016 01:52 AM

No worries, hope it goes all well

07-24-2016 01:51 AM

Thanks Ujwol for quick fix provided.

 

We will apply this fix in affected end. (production) and will update you.

 

Regards

Prashant

07-24-2016 01:22 AM

CA note : DE165316

07-24-2016 01:15 AM

Hi Prashant,

 

I just uploaded the dev fix to the case and sent you an email.

Give it a go.

 

Regards,

Ujwol

07-24-2016 12:54 AM

Thanks Ujwol for quick response, yes we have already opened case with CA and SE team is working to provide Dev fix for this issue.

 

CA Case # 00461730

 

Regards

Prashant

07-24-2016 12:51 AM

Yes, we do. Could you please open a support ticket and request the same ?

07-24-2016 12:11 AM

Hi,

 

We recently updated our SPS to R12.52 SP1 CR5 and we are facing similar Tomcat Proxy-Engine is crashing issue.

 

Does CA has any Dev-fix for this issue ?

 

This is happening in our production environment hence we cannot wait until next release of CR6.

 

Regards

Prashant