Product/components:
Product: webMethods 10.15 being installed on a RHEL 8 server
Detailed explanation of the problem:
Trying to upgrade from webMethods 10.05 to 10.15. Recently installed webMethods 10.15 and configured db connection. Everything seems successful. Integration server runs well without any errors and I’m able to login and play around with the UI. However, whenever I run MWS it crashes shortly after with the below error:
Furthermore, I can go to security > JDBC pools on UI and test my connections and they all come back successful. On top of that the certificates have also been configured and they don’t expire until at least an year. Please let me know if you need any other files and I’ll be happy to provide them. If anyone has any idea on how to fix this, that’ll be very helpful. Thank you!!
Error Line:
(I have removed url and serviceName for privacy purposes)
*Error creating database connection to: jdbc:wm:oracle://[DBURL]:2484;serviceName=[NAME];EncryptionMethod=SSL;CryptoProtocolVersion=TLSv1.2;ValidateServerCertificate=true;HostNameInCertificate=[DBURL]*
*java.sql.SQLNonTransientConnectionException: [SoftwareAG][Oracle JDBC Driver]SSL handshake for https://[DBURL]:2484/ failed: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target*
Here’s the full sag-osgi.log file and picture confirming certs setup in UI:
(I have removed url and serviceName for privacy purposes)
2024-01-31 20:21:21,210 INFO [Configuration ] - Out-of-band file changes will be monitored every '5000' milliseconds
2024-01-31 20:21:21,299 WARN [OPM.Master Password ] - loadObjects(/apps/scope/webMethods1015new/MWS/server/default/config/scg/security/passman/mpw.dat) threw this: type(com.webmethods.sc.security.passman.masterpw.MasterPasswordException), msg(Retrieved null/empty master file: /apps/scope/webMethods1015new/MWS/server/default/config/scg/security/passman/mpw.dat)
2024-01-31 20:21:21,300 WARN [OPM.Master Password ] - loadObjects(/apps/scope/webMethods1015new/MWS/server/default/config/scg/security/passman/mpw.dat.bak) threw this: type(com.webmethods.sc.security.passman.masterpw.MasterPasswordException), msg(Retrieved null/empty master file: /apps/scope/webMethods1015new/MWS/server/default/config/scg/security/passman/mpw.dat.bak)
2024-01-31 20:21:21,977 WARN [OPM ] - Found invalid last-changed date, null, using default
2024-01-31 20:21:21,983 WARN [OPM ] - Found invalid expire interval, null, using default
2024-01-31 20:21:22,138 INFO [com.s.p.j.i.LoginModuleFactoryRegistryImpl ] - LoginModuleFactoryRegistryImpl opened
2024-01-31 20:21:22,140 INFO [com.s.p.j.i.Activator ] - ManagedServiceFactory service registered com.softwareag.platform.jaas.internal.ManagedConfiguration@416a9d4f
2024-01-31 20:21:22,232 INFO [com.s.p.j.e.i.LoginModuleBundleTracker ] - Processing bundle com.softwareag.security.authz.store(10.15.0.0000-0476)
2024-01-31 20:21:22,242 INFO [com.s.s.s.i.e.ESAPIConfigurator ] - Using 'file:/apps/scope/webMethods1015new/profiles/MWS_default/configuration//ESAPI.properties'
2024-01-31 20:21:22,242 INFO [com.s.s.s.i.e.ESAPIConfigurator ] - Using internal ESAPI.properties
2024-01-31 20:21:22,271 INFO [com.s.p.j.e.i.LoginModuleBundleTracker ] - Processing bundle com.softwareag.security.sin.idp.saml.lm(10.15.0.0000-0476)
2024-01-31 20:21:22,274 INFO [com.s.p.j.e.i.LoginModuleBundleTracker ] - Processing bundle com.softwareag.security.sin.is.ldap(10.15.0.0000-0476)
2024-01-31 20:21:22,287 INFO [com.s.p.j.e.i.LoginModuleBundleTracker ] - Processing bundle com.softwareag.security.sin.misc(10.15.0.0006-0547)
2024-01-31 20:21:22,307 INFO [com.s.p.j.e.i.LoginModuleBundleTracker ] - Processing bundle com.softwareag.security.web.sso.saml2(10.15.0.0006-0547)
2024-01-31 20:21:23,199 INFO [com.s.w.o.a.s.i.TransportListenerRegistryManager ] - WSSOGI0030: updated( null )
2024-01-31 20:21:23,396 INFO [com.w.p.s.i.i.ClusterPhaseProvider ] - Standby mode on startup is false
2024-01-31 20:21:30,097 **ERROR [com.w.p.s.s.c.p.p.ConnectionPoolManager ] - Error creating database connection to: jdbc:wm:oracle://[DBURL]:2484;serviceName=[NAME];EncryptionMethod=SSL;CryptoProtocolVersion=TLSv1.2;ValidateServerCertificate=true;HostNameInCertificate=[DBURL]**
**java.sql.SQLNonTransientConnectionException: [SoftwareAG][Oracle JDBC Driver]SSL handshake for https://[DBURL]:2484/ failed: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target**
at com.wm.dd.jdbc.oracle.base.BaseExceptions.b(|Oracle|6.0.0.1098|:1044) ~[?:?]
at com.wm.dd.jdbc.oracle.base.BaseExceptions.a(|Oracle|6.0.0.1098|:976) ~[?:?]
at com.wm.dd.jdbc.oracle.base.BaseExceptions.b(|Oracle|6.0.0.1098|:1128) ~[?:?]
at com.wm.dd.jdbc.oracle.base.BaseExceptions.a(|Oracle|6.0.0.1098|:851) ~[?:?]
at com.wm.dd.jdbc.oracle.OracleImplConnection.a(|Oracle|6.0.0.1098|:5404) ~[?:?]
at com.wm.dd.jdbc.oracle.OracleImplConnection.bc(|Oracle|6.0.0.1098|:5191) ~[?:?]
at com.wm.dd.jdbc.oracle.OracleImplConnection.a(|Oracle|6.0.0.1098|:3398) ~[?:?]
at com.wm.dd.jdbc.oracle.OracleImplConnection.open(|Oracle|6.0.0.1098|:2577) ~[?:?]
at com.wm.dd.jdbc.oracle.base.BaseConnection.c(|Oracle|6.0.0.1098|:5063) ~[?:?]
at com.wm.dd.jdbc.oracle.base.BaseConnection.dQ(|Oracle|6.0.0.1098|:1539) ~[?:?]
at com.wm.dd.jdbc.oracle.base.BaseConnection.i(|Oracle|6.0.0.1098|:1461) ~[?:?]
at com.wm.dd.jdbc.oracle.base.BaseConnection.a(|Oracle|6.0.0.1098|:989) ~[?:?]
at com.wm.dd.jdbc.oracle.base.BaseDriver.connect(|Oracle|6.0.0.1098|:350) ~[?:?]
at java.sql.DriverManager.getConnection(DriverManager.java:677) ~[java.sql:?]
at java.sql.DriverManager.getConnection(DriverManager.java:228) ~[java.sql:?]
at com.webmethods.portal.service.sql.core.provider.pool.ConnectionPoolManager.create(ConnectionPoolManager.java:159) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.service.sql.core.provider.pool.ConnectionPoolManager.create(ConnectionPoolManager.java:33) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.system.pool.impl.LightweightObjectPool.createNewObject(LightweightObjectPool.java:419) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.system.pool.impl.LightweightObjectPool.checkOut(LightweightObjectPool.java:346) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.service.sql.core.provider.pool.PooledConnectionProvider.getConnection(PooledConnectionProvider.java:193) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.service.sql.core.BaseSqlWorker.init(BaseSqlWorker.java:126) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.service.sql.core.ConnectionManager.validateDatasource(ConnectionManager.java:700) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.service.sql.core.ConnectionManager.init(ConnectionManager.java:331) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.service.sql.core.ConnectionManager.init(ConnectionManager.java:248) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.system.init.impl.ClusterPhaseProvider.initDbConnection(ClusterPhaseProvider.java:388) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.system.init.impl.ClusterPhaseProvider.initializeDatabaseConfigLocator(ClusterPhaseProvider.java:376) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.system.init.impl.ClusterPhaseProvider.preInit(ClusterPhaseProvider.java:111) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.system.impl.PortalSystemActivator.start(PortalSystemActivator.java:76) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:815) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:808) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:808) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:765) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1022) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:363) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.Module.doStart(Module.java:589) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.Module.start(Module.java:457) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1784) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1764) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1726) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1657) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1558) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:343) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
2024-01-31 20:21:30,109 INFO [com.w.p.PortalException ] - No registered exception delegate
**2024-01-31 20:21:30,111 ERROR [com.w.p.s.i.PortalSystemActivator ] - Unable to create connection to jdbc:wm:oracle://[DBURL]:2484;serviceName=[NAME];EncryptionMethod=SSL;CryptoProtocolVersion=TLSv1.2;ValidateServerCertificate=true;HostNameInCertificate=[DBURL]**
**com.webmethods.portal.system.init.InitializationException: Unable to create connection to jdbc:wm:oracle://[DBURL]:2484;serviceName=[NAME];EncryptionMethod=SSL;CryptoProtocolVersion=TLSv1.2;ValidateServerCertificate=true;HostNameInCertificate=[DBURL]**
at com.webmethods.portal.service.sql.core.ConnectionManager.validateDatasource(ConnectionManager.java:704) ~[com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.service.sql.core.ConnectionManager.init(ConnectionManager.java:331) ~[com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.service.sql.core.ConnectionManager.init(ConnectionManager.java:248) ~[com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.system.init.impl.ClusterPhaseProvider.initDbConnection(ClusterPhaseProvider.java:388) ~[com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.system.init.impl.ClusterPhaseProvider.initializeDatabaseConfigLocator(ClusterPhaseProvider.java:376) ~[com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.system.init.impl.ClusterPhaseProvider.preInit(ClusterPhaseProvider.java:111) ~[com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.system.impl.PortalSystemActivator.start(PortalSystemActivator.java:76) [com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:815) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:808) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:808) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:765) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1022) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:363) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.Module.doStart(Module.java:589) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.Module.start(Module.java:457) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1784) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1764) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1726) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1657) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1558) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:343) [org.eclipse.osgi_3.13.300.0000-0012.jar:3.13.300.0000-0012]
**Caused by: java.sql.SQLException: Unable to create connection to jdbc:wm:oracle://[DBURL]:2484;serviceName=[NAME];EncryptionMethod=SSL;CryptoProtocolVersion=TLSv1.2;ValidateServerCertificate=true;HostNameInCertificate=[DBURL]**
** at com.webmethods.portal.service.sql.core.BaseSqlWorker.init(BaseSqlWorker.java:158)** ~[com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
at com.webmethods.portal.service.sql.core.ConnectionManager.validateDatasource(ConnectionManager.java:700) ~[com.webmethods.caf.server_10.15.0.0006-0287.jar:10.15.0.0006-0287]
... 22 more