OneClick Java client hanging every few minutes

Document ID : KB000115379
Last Modified Date : 19/09/2018
Show Technical Document Details
Issue:
On Spectrum 10.2.3 the OneClick Client is hanging every 5-10 minutes for 30+ seconds or more.
When performing jstacks the following is seen quite a bit in the stack:
 
http-bio-80-exec-10" #172 daemon prio=5 os_prio=0 tid=0x000000875c99d800 nid=0x2158 waiting on condition [0x0000008767eee000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x00000007a6518038> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireInterruptibly(AbstractQueuedSynchronizer.java:897)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1222)
	at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:335)
	at com.ca.itechnology.iclient.IclUtil.mutexLock(IclUtil.java:4231)
	at com.ca.eiam.SafeSession.lock(SafeSession.java:87)
	at com.ca.eiam.SafeSession.exportSession(SafeSession.java:373)
	at com.ca.eiam.SafeSession.exportSession(SafeSession.java:339)
	at com.aprisma.spectrum.app.sso.eem.EEMSSOContext.authenticateWithSession(EEMSSOContext.java:330)
	at com.aprisma.spectrum.app.sso.eem.EEMSSOImplementation.authenticateWithSession(EEMSSOImplementation.java:120)
	at com.aprisma.tomcat.authenticator.ExternalSSOAuth.authenticate(ExternalSSOAuth.java:334)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:578)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	- locked <0x00000007a69ae418> (a org.apache.tomcat.util.net.SocketWrapper)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Resolution:
The issue is caused by EEM.
It is suggested to disable EEM and utilize the built in LDAP authentication within Spectrum.
This will solve the performance problems.

If EEM must be used, a ticket should be opened with CA Support to engage engineering.