Portal is https
Da is https
Everything was working fine, but after the upgrade to 23.3.8, we are no longer getting any threshold events in portal.
Event manager data source is green and available in data sources view.
DA karaf.log
..
WARN | EventPush | 2024-04-29T07:54:54,087 | PhaseInterceptorChain | ache.cxf.common.logging.LogUtils 465 | org.apache.cxf.cxf-core | | Interceptor for {http://netqos.com/nqevents/EventManager}IEventManagerWSService#{http://netqos.com/nqevents/EventManager}Push has thrown exception, unwinding now
java.io.UncheckedIOException: java.io.IOException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
Caused by: java.io.IOException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
... 17 more
Caused by: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
at java.security.Provider$Service.newInstance(Unknown Source) ~[?:?]
Caused by: java.security.KeyManagementException
at sun.security.ssl.SSLContextImpl$DefaultManagersHolder.<clinit>(Unknown Source) ~[?:?]
at sun.security.ssl.SSLContextImpl$DefaultSSLContext.<init>(Unknown Source) ~[?:?]
ERROR | EventPush | 2024-04-29T07:54:54,087 | EventProducerWS | or.eventproducer.EventProducerWS 1000 | a.im.NPCConnector.bundle | | Failed to push 1200 events: java.io.IOException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
DX NetOps 22.2.8 -> 23.3.8
The file
/opt/IMDataAggregator/apache-karaf/etc/system.properties
Uses a variable to point to the da install home.
Someone had edited the file and replaced the variable with the actual path.
The path included the apache version numbers, which changed on upgrade.
Edit
/opt/IMDataAggregator/apache-karaf-4.3.8/etc/system.properties
To insure that the path uses the variable
Example of the file we changed:
From
javax.net.ssl.keyStore=/opt/CA/IMDataAggregator/apache-karaf-4.3.3/etc/keystore
javax.net.ssl.keyStorePassword=password
javax.net.ssl.trustStore=${karaf.home}/etc/truststore
javax.net.ssl.trustStorePassword=password
To:
javax.net.ssl.keyStore=${karaf.home}/etc/keystore
javax.net.ssl.keyStorePassword=password
javax.net.ssl.trustStore=${karaf.home}/etc/truststore
javax.net.ssl.trustStorePassword=password