Upgrade.bat --Data only - Data upgrade failed From Pega 631 to 731 - unable to load classes from DB
Hi Team ,
we are facing issue while performing the upgrade steps followed.
1.Migrated rule -Build successful
2.upgrade rules- build successful
3.reverse migrated - build successful
4.Performing - build faild Due to below error.- kindly help on this to resolve :
Hi Team ,
we are facing issue while performing the upgrade steps followed.
1.Migrated rule -Build successful
2.upgrade rules- build successful
3.reverse migrated - build successful
4.Performing - build faild Due to below error.- kindly help on this to resolve :
1050: PegaRULES classes will be loaded from the database
[java] Aug 28, 2018 1:22:32 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
[java] 1050:
[java] ============ PegaRULES Bootstrap Configuration ============
[java] Date: Tue Aug 28 13:22:32 BST 2018
[java] Java Version: Oracle Corporation 1.8.0_162
[java] Configuration: xxxx
[java] Pega-EngineCode: 07-10-33
[java] ASM Version: 762781845
[java] JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
[java] JDBC URL: jdbc:sqlserver://xxx:xxx;database=xxxx;SelectMethod=cursor;SendStringParametersAsUnicode=false;integratedSecurity=true
[java] JDBC User: xxxxx
[java] Database: Microsoft SQL Server 13.00.4001
[java] Driver: Microsoft JDBC Driver 6.4 for SQL Server Proprietary information hidden
[java] Active CodeSets: pega-enginecode:07-10-33 at (latest patch)
[java]
[java] =============== End Bootstrap Configuration ===============
[java]
[java] Current "user.dir" (default directory) is: D:\Upgrade\PegaInstallTemp-28-August-2018-13.17.39\load
[java] Setting pega.logdir to user.dir
[java] Current pega.logdir is: D:\ Upgrade\PegaInstallTemp-28-August-2018-13.17.39\load
[java] Located PegaRULES logging configuration: file:/D:/Upgrade/PegaInstallTemp-28-August-2018-13.17.39/load/WEB-INF/classes/prlog4j2.xml
[java] Unable to locate PegaRULES old logging configuration after trying:
[java] Unable to locate KeyringImpl keyring after trying:
[java] <properties>
[java] XXXX-pegarules.keyring
[java] XXXX-pegarules.keyring
[java] pegarules.keyrin
[java] 2018-08-28 13:22:35,617 [ main] [ ] [ ] [ ] (les.internal.ModulesBridgeImpl) INFO - Initializing engine modules.
[java] Found spec for PegaRULES configuration using System property: D:\Upgrade/PegaInstallTemp-28-August-2018-13.17.39/prconfig.xml
[java] Located PegaRULES configuration: file:/D:/Upgrade/PegaInstallTemp-28-August-2018-13.17.39/prconfig.xml
[java] Aug 28, 2018 1:22:36 PM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
[java] 2018-08-28 13:22:36,649 [ main] [ ] [ ] [ ] (nal.DefaultConfigurationSource) WARN - *=================================================================*
[java] prconfig.xml missing key for initialization/settingsource
[java] This is likely due to using a copy of prconfig.xml from a previous install.
[java] >> assuming "initialization/settingsource=file"; Note that
[java] this excludes use of entries in Data-Admin-System-Settings as prconfig settings
[java] INFO: Could not find java:comp/env/prconfig/ in the local JNDI context, skipping prconfig setting lookup
[java] *=================================================================*
[java] Aug 28, 2018 1:22:36 PM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
[java] INFO: Could not find prconfig in the local JNDI context, skipping prconfig setting lookup
[java] 2018-08-28 13:22:38,180 [ main] [ ] [ ] [ ] (able.DefaultVirtualTableConfig) INFO - Using Hybrid Virtual Rules Table implementation
[java] 2018-08-28 13:22:38,180 [ main] [ ] [ ] [ ] (able.DefaultVirtualTableConfig) INFO - VTable dispatches rules for 7 Aspects: 'Input, Model, When, Action, Validate, Collection, Alias'.
[java] 2018-08-28 13:22:38,180 [ main] [ ] [ ] [ ] (able.DefaultVirtualTableConfig) INFO - ABA[AC] dispatches rules for 1 Aspect: 'Stream'.
[java] 2018-08-28 13:22:38,195 [ main] [ ] [ ] [ ] ( priv.context.JNDIEnvironment) INFO - Enterprise-tier default Engine bean name is EngineBMT
[java] 2018-08-28 13:22:38,195 [ main] [ ] [ ] [ ] (r.context.EtierEnvironmentImpl) WARN - Enterprise tier has no local JNDI context
[java] reason: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
[java] 2018-08-28 13:22:38,383 [ main] [ ] [ ] [ ] (ion.internal.PRGenProviderImpl) INFO - invokeDynamic instrumentation for inlining is enabled
[java] 2018-08-28 13:22:38,383 [ main] [ ] [ ] [ ] (ion.internal.PRGenProviderImpl) INFO - Assembly Version: 762781845
[java] Unable to locate KeyringImpl keyring after trying:
[java]
[java] 2018-08-28 13:22:39,258 [ main] [ ] [ ] [ ] (dbms.JdbcConnectionManagerImpl) INFO - Initializing connections for pegarules: 0 regular connections, 0 reserved connections
[java] 2018-08-28 13:22:39,414 [ main] [ ] [ ] [ ] ( external.timers.CpuTimer) INFO - CPU timers set to TOTALSONLY. Use prconfig setting 'initialization/CpuTimerLevel' with one of [FULL, TOTALSONLY, NONE] to modify.
[java] 2018-08-28 13:22:39,414 [ main] [ ] [ ] [ ] (.timers.EnvironmentDiagnostics) INFO - Using Java 1.5 Thread.getAllStackTraces() for thread dumps
[java] Using sun.misc.Perf high-resolution timer for elapsed timings
[java] Using Java 5 Management beans for thread CPU timings.
[java] Using Java 5 Management beans for process CPU timings: 14078125000
[java] Aug 28, 2018 1:22:39 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
[java] SEVERE: Problem during method invocation (main)
[java] java.lang.NullPointerException
[java] at com.pega.pegarules.data.internal.access.mssql.SQLGeneratorMssql.getSchemaName(SQLGeneratorMssql.java:489)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.computeJdbcDatabaseInfo(DatabaseInformationMapImpl.java:394)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.lookupDBInfo(DatabaseInformationMapImpl.java:322)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.getDataStoreInfo(DatabaseInformationMapImpl.java:272)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.get(DatabaseInformationMapImpl.java:231)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getConnectionFromDatabaseName(JdbcConnectionManagerImpl.java:840)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getDataStoreConnection(JdbcConnectionManagerImpl.java:3429)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getDataStoreConnection(JdbcConnectionManagerImpl.java:1291)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getDataStoreConnection(JdbcConnectionManagerImpl.java:1190)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getConnection(JdbcConnectionManagerImpl.java:1152)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getConnection(JdbcConnectionManagerImpl.java:365)
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.isMultiTenantEnvironment(PRDataProviderImpl.java:1336)
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.getCacheContainerTenantInstance(PRDataProviderImpl.java:773)
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.enableCache(PRDataProviderImpl.java:706)
[java] at com.pega.pegarules.deploy.internal.util.ExposeCols.main(ExposeCols.java:230)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
[java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java]
[java] Aug 28, 2018 1:22:39 PM com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega
[java] SEVERE: Problem during method invocation (main)
[java] java.lang.NullPointerException
[java] at com.pega.pegarules.data.internal.access.mssql.SQLGeneratorMssql.getSchemaName(SQLGeneratorMssql.java:489)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.computeJdbcDatabaseInfo(DatabaseInformationMapImpl.java:394)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.lookupDBInfo(DatabaseInformationMapImpl.java:322)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.getDataStoreInfo(DatabaseInformationMapImpl.java:272)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.get(DatabaseInformationMapImpl.java:231)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getConnectionFromDatabaseName(JdbcConnectionManagerImpl.java:840)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getDataStoreConnection(JdbcConnectionManagerImpl.java:3429)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getDataStoreConnection(JdbcConnectionManagerImpl.java:1291)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getDataStoreConnection(JdbcConnectionManagerImpl.java:1190)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getConnection(JdbcConnectionManagerImpl.java:1152)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getConnection(JdbcConnectionManagerImpl.java:365)
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.isMultiTenantEnvironment(PRDataProviderImpl.java:1336)
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.getCacheContainerTenantInstance(PRDataProviderImpl.java:773)
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.enableCache(PRDataProviderImpl.java:706)
[java] at com.pega.pegarules.deploy.internal.util.ExposeCols.main(ExposeCols.java:230)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
[java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java]
[java] Exception in thread "main" java.lang.RuntimeException: Problem during method invocation (main)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:279)
[java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java] Caused by: java.lang.NullPointerException
[java] at com.pega.pegarules.data.internal.access.mssql.SQLGeneratorMssql.getSchemaName(SQLGeneratorMssql.java:489)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.computeJdbcDatabaseInfo(DatabaseInformationMapImpl.java:394)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.lookupDBInfo(DatabaseInformationMapImpl.java:322)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.getDataStoreInfo(DatabaseInformationMapImpl.java:272)
[java] at com.pega.pegarules.data.internal.store.DatabaseInformationMapImpl.get(DatabaseInformationMapImpl.java:231)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getConnectionFromDatabaseName(JdbcConnectionManagerImpl.java:840)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getDataStoreConnection(JdbcConnectionManagerImpl.java:3429)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getDataStoreConnection(JdbcConnectionManagerImpl.java:1291)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getDataStoreConnection(JdbcConnectionManagerImpl.java:1190)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getConnection(JdbcConnectionManagerImpl.java:1152)
[java] at com.pega.pegarules.data.internal.store.rdbms.JdbcConnectionManagerImpl.getConnection(JdbcConnectionManagerImpl.java:365)
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.isMultiTenantEnvironment(PRDataProviderImpl.java:1336)
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.getCacheContainerTenantInstance(PRDataProviderImpl.java:773)
[java] at com.pega.pegarules.data.internal.PRDataProviderImpl.enableCache(PRDataProviderImpl.java:706)
[java] at com.pega.pegarules.deploy.internal.util.ExposeCols.main(ExposeCols.java:230)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
[java] ... 1 more
BUILD FAILED
D:\PEGA\115631_Pega7.31\scripts\setupDatabase.xml:3315: Java returned: 1
Total time: 5 minutes 1 second
2018-08-28 13:17:56,204 ( UpgradeDataModelImpl) INFO - Installed Product Versions:
2018-08-28 13:17:56,266 ( UpgradeDataModelImpl) INFO - {Instance: PEGARULES PROCESS COMMANDER!7.3.1, version: 06-03-15, build name: PRPC-7.3.1-184} (current version)
Exiting with Error