Support Article
Upgrade fails in the application schema Upgrade step
SA-85631
Summary
Pega 8.2.2 upgrade fails during the application schema Upgrade step.
Error Messages
[java] [main] [ ] [ ] [ ] (.jdbc.JdbcConfigurationFactory) ERROR - Encountered bad Data-Admin-DB-Name definition
[java] com.pega.platform.datastore.ConfigurationException: Data-Admin-DB-Name "Sample" is configured to connect using "URL" for standard connections, however the configuration for the "Admin" connections is set to use "DataSource"
[java]
at com.pega.platform.datastore.connection.internal.config.jdbc.JdbcConfigurationFactory.validate(JdbcConfigurationFactory.java:398) ~[datastore.jar:?]
[java] at com.pega.platform.datastore.connection.internal.config.jdbc.JdbcConfigurationFactory.getDataSourceConfiguration(JdbcConfigurationFactory.java:69) ~[datastore.jar:?]
[java] at com.pega.platform.datastore.connection.internal.config.jdbc.JdbcStore.buildConnectionConfiguration(JdbcStore.java:87) ~[datastore.jar:?]
[java] at com.pega.platform.logicaldatastore.connection.internal.config.ConfigurationMapImpl.registerDbName(ConfigurationMapImpl.java:198) ~[logicaldatastore.jar:?]
[java] at com.pega.platform.logicaldatastore.connection.internal.config.ConfigurationMapImpl.registerDbName(ConfigurationMapImpl.java:140) ~[logicaldatastore.jar:?]
[java] at com.pega.platform.logicaldatastore.connection.internal.config.ConfigurationMapImpl.initializeSetOfDbNames(ConfigurationMapImpl.java:129) ~[logicaldatastore.jar:?]
[java] at com.pega.pegarules.data.internal.store.ConnectionBrokerAdapter.initializeConfigurationMaps(ConnectionBrokerAdapter.java:202) ~[prprivate.jar:?]
[java] at com.pega.pegarules.data.internal.store.ConnectionBrokerAdapter.initializeConfigurationMaps(ConnectionBrokerAdapter.java:193) ~[prprivate.jar:?]
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.getConnectionBroker(PRDataProviderImpl.java:743) ~[prprivate.jar:?]
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.getConnectionManager(PRDataProviderImpl.java:710) ~[prprivate.jar:?]
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.isMultiTenantEnvironment(PRDataProviderImpl.java:1381) ~[prprivate.jar:?]
[java] at com.pega.pegarules.deploy.internal.archive.ParUtilsImpl.setStageDirectory(ParUtilsImpl.java:215) ~[prprivate.jar:?]
[java] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(EngineStartup.java:526) ~[prprivate.jar:?]
[java] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(EngineImpl.java:172) ~[prprivate.jar:?]
[java] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup(EngineImpl.java:145) ~[prprivate.jar:?]
[java] at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngineImpl(EngineImpl.java:249) ~[prprivate.jar:?]
[java] at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngine(EngineImpl.java:125) ~[prprivate.jar:?]
[java] at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngine(EngineImpl.java:111) ~[prprivate.jar:?]
[java]
at com.pega.pegarules.deploy.internal.archive.ParUtilsImpl.ensureEngineStarted(ParUtilsImpl.java:310) ~[prprivate.jar:?]
[java] at com.pega.pegarules.deploy.external.util.DeploymentRunner.<init>(DeploymentRunner.java:78) ~[prenginext.jar:?]
[java] at com.pega.pegarules.deploy.external.util.DeploymentUtility.runMethodWithRequestor(DeploymentUtility.java:93) ~[prenginext.jar:?]
[java] at com.pega.pegarules.deploy.external.util.CommandLineUtility.runUtilityWithRequestorType(CommandLineUtility.java:58) ~[prenginext.jar:?]
[java] at com.pega.pegarules.deploy.external.util.CommandLineUtility.runUtilityBatch(CommandLineUtility.java:69) ~[prenginext.jar:?]
[java] at com.pega.pegarules.deploy.internal.util.UpgradeApplicationSchemaUtility.callProcess(UpgradeApplicationSchemaUtility.java:112) ~[prprivate.jar:?]
[java] at com.pega.pegarules.deploy.internal.util.UpgradeApplicationSchemaUtility.main(UpgradeApplicationSchemaUtility.java:69) ~[prprivate.jar:?]
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
[java] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:381) ~[prbootstrap-8.2.2-354.jar:8.2.2-354]
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:422) ~[prbootstrap-8.2.2-354.jar:8.2.2-354]
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) ~[prbootstrap-api-8.2.2-354.jar:8.2.2-354]
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) ~[prbootstrap-api-8.2.2-354.jar:8.2.2-354]
[java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85) ~[prbootstrap-api-8.2.2-354.jar:8.2.2-354]
Steps to Reproduce
Execute the Upgrade script.
Root Cause
The application had bad Data-Admin-DB-Name definition instances which caused the UpgradeApplicationSchemaUtility failure.
Resolution
Perform the following local-change:
In the setupDatabase.properties file, change the properties to false and resume the upgrade.
update.existing.applications=false
update.applications.schema=false
Perform these tasks post upgrade from the Pega Designer Studio or by executing the prpcUtils tool from the Command Line after the bad Data-Admin-DB-Name instances are corrected.
Published August 15, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.