Dear Experts,
We are trying to upgrade the AE 21 version in our SBX which is running on AE 12.3 AE DB, Utlities, AE binaries, Service manager, Service Manager dialog are upgraded successfully.
During the update of AWI on Tomcat, we are unable to connect AWI with AE.
We could see the WS port is created successfully
20220223/180816.186 - 34 Jetty: Logging initialized @7260ms to com.automic.agents.impl.AgentLogBridge
20220223/180816.289 - 34 Jetty: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 1.8.0_321-b07
20220223/180816.321 - 34 Jetty: DefaultSessionIdManager workerName=node0
20220223/180816.321 - 34 Jetty: No SessionScavenger set, using defaults
20220223/180816.321 - 34 Jetty: node0 Scavenging every 600000ms
20220223/180816.399 - 34 Jetty: Started o.e.j.s.ServletContextHandler@2f915e8{/,null,AVAILABLE}
20220223/180816.482 - 34 Jetty: x509=X509@62ebf23(hostname,h=[],w=[]) for Server@1735783f[provider=null,keyStore=file:///D:/Automic_Engine/AutomationEngine/bin/automic-sbx,trustStore=null]
20220223/180816.513 - 34 Jetty: Started ServerConnector@1a9904bf{SSL, (ssl, http/1.1)}{0.0.0.0:8420}
20220223/180816.513 - 34 Jetty: Started @7599ms
we created a der certificate file using keystore explorer from keyfile used for AE. We put the location of the der file in the uc4config.xml file.
However when we try to connect to AWI , we get the below error

in AWI logs, we get the below error
2022-02-23 21:49:06,364 Thread-16 [TRACE] NOLOGIN/- NOUI [com.uc4.ecc.framework.core.aetracing.AutomationEngineTraceListener] - Starting: Opening connection to hostname/Ip address:8420
2022-02-23 21:49:06,364 Thread-16 [TRACE] NOLOGIN/- NOUI [com.uc4.ecc.framework.core.aetracing.AutomationEngineTraceListener] - Loading certificates from directory: 'D:\certs'.
2022-02-23 21:49:06,380 Thread-16 [TRACE] NOLOGIN/- NOUI [com.uc4.ecc.framework.core.aetracing.AutomationEngineTraceListener] - Certificate loaded from file 'D:\certs\automic-sbx.der'.
2022-02-23 21:49:06,380 Thread-16 [TRACE] NOLOGIN/- NOUI [com.uc4.ecc.framework.core.aetracing.AutomationEngineTraceListener] - adding 90 certificates from the default trust manager
2022-02-23 21:49:06,442 Thread-16 [TRACE] NOLOGIN/- NOUI [com.uc4.ecc.framework.core.aetracing.AutomationEngineTraceListener] - WebSocketClient started.
2022-02-23 21:49:06,552 Thread-16 [TRACE] NOLOGIN/- NOUI [com.uc4.ecc.framework.core.aetracing.AutomationEngineTraceListener] - WebSocketClient has no more active sessions and will shut down.
2022-02-23 21:49:06,567 Thread-16 [TRACE] NOLOGIN/- NOUI [com.uc4.ecc.framework.core.aetracing.AutomationEngineTraceListener] - WebSocketClient stopped.
2022-02-23 21:49:10,405 pool-1-thread-2 [WARN ] NOLOGIN/- 8E84C96FD617944ABB73EC68D76B78B5-0 [com.uc4.ecc.framework.core.inject.AEAwareScope] - Cannot inject Key[type=com.uc4.ecc.framework.core.interfaces.IContentService, annotation=[none]] when no AE Connection is set on context.
2022-02-23 21:49:19,393 ps-jsse-nio-443-exec-2 [WARN ] NOLOGIN/- 8E84C96FD617944ABB73EC68D76B78B5-0 [com.uc4.ecc.framework.core.inject.AEAwareScope] - Cannot inject Key[type=com.uc4.ecc.framework.core.interfaces.ISessionShutdownService, annotation=[none]] when no AE Connection is set on context.
2022-02-23 21:49:19,393 ps-jsse-nio-443-exec-2 [WARN ] NOLOGIN/- 8E84C96FD617944ABB73EC68D76B78B5-0 [com.uc4.ecc.framework.core.inject.AEAwareScope] - Cannot inject Key[type=com.uc4.ecc.framework.core.interfaces.IContentService, annotation=[none]] when no AE Connection is set on context.
content of uc4config.xml file
<?xml version="1.0" encoding="ISO-8859-15"?>
<configuration>
<!-- 0: off, 1: send, 2: receive, >=3: all -->
<trace count="10" xml="2"></trace>
<connections trustedCertFolder="D:\certs\">
<connection name="AutomicSandbox" system="SBX">
<cp ip="<hostname>" port="8420"/>
</connection>
</connections>
</configuration>
Any suggestions from your side please.
Thanks and Regards
Vimalan