search cancel

Process Monitoring search error sun.security.ssl.SSLContextImpl$TLSContext

book

Article ID: 257701

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

Attempting to monitor from process monitoring returns error Workflow monitor could not be loaded:

java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:315)
    at java.base/java.security.Provider$Service.getImplClass(Provider.java:1918)
    at java.base/java.security.Provider$Service.newInstance(Provider.java:1894)
    at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
    at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
    at java.base/javax.net.ssl.SSLContext.getInstance(SSLContext.java:168)
    at org.apache.http.ssl.SSLContexts.createDefault(SSLContexts.java:51)
    at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:966)
    at com.uc4.api.rest.connection.RestConnection.sendRestRequestAndWait(RestConnection.java:113)
    at com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.sendRestRequestAndWait(RestConnectionService.java:65)
    at com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.sendRequestWithAuthAndWait(RestConnectionService.java:51)
    at com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:72)
    at com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source)
    at com.uc4.ecc.backends.impl.dataservice.ert.ErtService.getLiveErtEstimation(ErtService.java:37)
    at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.actions.LoadController.loadGraphicalMonitorItems(LoadController.java:142)
    at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.actions.LoadController.loadWorkflowMonitor(LoadController.java:106)
    at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.GraphicalWorkflowMonitorController.load(GraphicalWorkflowMonitorController.java:579)
    at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.GraphicalWorkflowMonitorController.lambda$initRequestCoordinator$500(GraphicalWorkflowMonitorController.java:490)
    at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:231)
   at com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)

Searching in global search brings back Search Error: No Results

Clicking on the error shows:

java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext
 
java.lang.RuntimeException
 
com.uc4.ecc.framework.entrypoint.core.dialogs.search.GlobalSearchResultGroupPresenter$1.load(GlobalSearchResultGroupPresenter.java:112) com.uc4.ecc.framework.entrypoint.core.dialogs.search.GlobalSearchResultGroupPresenter$1.load(GlobalSearchResultGroupPresenter.java:93) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:16) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:7) com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:231) com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72) java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) java.base/java.lang.Thread.run(Thread.java:829)
 
java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext
 
java.util.concurrent.ExecutionException
 
java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) com.uc4.ecc.framework.entrypoint.core.dialogs.search.GlobalSearchResultGroupPresenter$1.load(GlobalSearchResultGroupPresenter.java:98) com.uc4.ecc.framework.entrypoint.core.dialogs.search.GlobalSearchResultGroupPresenter$1.load(GlobalSearchResultGroupPresenter.java:93) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:16) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:7) com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:231) com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72) java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) java.base/java.lang.Thread.run(Thread.java:829)
 
Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext
 
java.lang.NoClassDefFoundError
 
java.base/java.lang.Class.forName0(Native Method) java.base/java.lang.Class.forName(Class.java:315) java.base/java.security.Provider$Service.getImplClass(Provider.java:1918) java.base/java.security.Provider$Service.newInstance(Provider.java:1894) java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:236) java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:164) java.base/javax.net.ssl.SSLContext.getInstance(SSLContext.java:168) org.apache.http.ssl.SSLContexts.createDefault(SSLContexts.java:51) org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:966) com.uc4.api.rest.connection.RestConnection.sendRestRequestAndWait(RestConnection.java:113) com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.sendRestRequestAndWait(RestConnectionService.java:65) com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.sendRequestWithAuthAndWait(RestConnectionService.java:51) com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:72) com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source) com.uc4.ecc.backends.impl.dataservice.search.GlobalSearchService.sendSearchRequest(GlobalSearchService.java:36) com.uc4.ecc.backends.impl.dataservice.search.GlobalSearchService.search(GlobalSearchService.java:47) com.uc4.ecc.plugins.ae.perspectives.processassembly.search.ProcessAssemblySearchProvider$1.call(ProcessAssemblySearchProvider.java:79) com.uc4.ecc.plugins.ae.perspectives.processassembly.search.ProcessAssemblySearchProvider$1.call(ProcessAssemblySearchProvider.java:74) com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72) java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) java.base/java.lang.Thread.run(Thread.java:829)

Environment

Release : 12.3

Resolution

Steps to resolve:

  1. Stop all JWPs and JCPs for the system
  2. On the server where the Automation Engine is, navigate to the automationengine/bin/indexcache folder
  3. Delete all folders and files in the automationengine/bin/indexcache directory
  4. Start the JWPs and JCPs