When running DX NetOps Spectrum users may see the following error message when trying to launch the OneClick WebApp:
SPC-OCC-10251: Could not connect to Web server at http(s)://<HOSTNAME>:<PORT>
When reviewing the <SPECROOT>/webtomcat/bin/logs/webswing.log file, you may see the following error:
2024-01-12 13:17:19,952 ERROR [Webswing Process Handler] (SwingProcessImpl.java:218) [oneclickwebapp_anonym_
2024-01-12 13:17:19,952 ERROR [Webswing Process Handler] (SwingProcessImpl.java:218) [oneclickwebapp_anonym_
2024-01-12 13:17:19,952 ERROR [Webswing Process Handler] (SwingProcessImpl.java:218) [oneclickwebapp_anonym_
2024-01-12 13:17:19,952 ERROR [Webswing Process Handler] (SwingProcessImpl.java:218) [oneclickwebapp_anonym_
Releases : 21.2.x - 23.3.x
Component: SPCOCK - OneClick
The $SPECROOT/webtomcat/webswing/webswing.config file needs to be modified as follows:
Make a backup of the current $SPECROOT/webtomcat/webswing/webswing.config file
Remove the following entry:
-Dtomcat.server.xml=${SPECROOT}/tomcat/conf/server.xml
Add the following where <PASSWD> is the value of the keystorePass:
-Djavax.net.ssl.trustStore=${SPECROOT}/custom/keystore/cacerts -Djavax.net.ssl.trustStorePassword=<PASSWD>
Restart webtomcat