Question

3
Replies
1371
Views
JagadeepS Member since 2014 10 posts
Instellars Global Consulting Private Limited
Posted: 1 year ago
Last activity: 1 year ago
Closed

Caused by: com.pega.pegarules.pub.database.BadDatabaseDefinitionException: Database-BadDBDef-Missing nomdata

Hi ,
We are facing issue while using Auto Deploy script prpcServiceUtils.bat or prpcServiceUtils.sh command-line script.
with DB schema Properties provided as below.
--dbSchemarules.schema.name

PegaRules

--dbDataSchema data.schema.name PegaData

With above setting, we are facing issue while importing Data instances of class table belongs another schema "NomData". It is giving excemptions as Caused by: com.pega.pegarules.pub.database.BadDatabaseDefinitionException: Database-BadDBDef-Missing nomdata.

Here NomData is different schema which only contains business data and also we have pegaData to maintaining pega tables.

Can some one help to identify the issue over here ?

Below is Exception

pxImportArchive|AD802DFBEFC5939F09904C0C9B8041C83 - Exception
[java] com.pega.pegarules.pub.PRRuntimeException: Unable to complete import:
[java] at com.pegarules.generated.activity.ra_action_pximportarchive_9c0d90aaa70389854dd53156f7911bcf.step2_circum0(ra_action_pximportarchive_9c0d90aaa70389854dd53156f7911bcf.java:239)
[java] at com.pegarules.generated.activity.ra_action_pximportarchive_9c0d90aaa70389854dd53156f7911bcf.perform(ra_action_pximportarchive_9c0d90aaa70389854dd53156f7911bcf.java:87)
[java] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)
[java] at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
[java] at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:465)
[java] at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.runActivities(ServiceAPI.java:1919)
[java] at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:391)
[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.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1297)
[java] at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1034)
[java] at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:889)
[java] at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331)
[java] at com.pega.pegarules.integration.engine.internal.services.jsr94.PRServiceSession.executeRule(PRServiceSession.java:342)
[java] at com.pega.pegarules.integration.engine.internal.services.jsr94.PRStatelessSession.executeRules(PRStatelessSession.java:142)
[java] at com.pega.pegarules.integration.engine.internal.services.jsr94.JSR94Impl.invoke(JSR94Impl.java:224)
[java] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331)
[java] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274)
[java] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:251)
[java] at com.pega.pegarules.priv.services.jsr94.PRStatelessRuleSession.executeRules(PRStatelessRuleSession.java:122)
[java] at com.pega.pegarules.deploy.external.util.JSR94Client.invokeStatelessService(JSR94Client.java:82)
[java] at com.pega.pegarules.deploy.internal.util.ImportImpl.main(ImportImpl.java:418)
[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] at com.pega.pegarules.deploy.external.util.ImportUtility.importSingleRuleOrSchemaArchive(ImportUtility.java:230)
[java] at com.pega.pegarules.deploy.external.util.ImportUtility.importSingleArchive(ImportUtility.java:225)
[java] at com.pega.pegarules.deploy.external.util.ImportUtility.importArchives(ImportUtility.java:217)
[java] at com.pega.pegarules.deploy.external.util.ImportUtility.performImport(ImportUtility.java:171)
[java] at com.pega.pegarules.deploy.external.util.ImportUtility.main(ImportUtility.java:113)
[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] Caused by: com.pega.pegarules.pub.database.BadDatabaseDefinitionException: Database-BadDBDef-Missingnomdata
[java] From: (AD802DFBEFC5939F09904C0C9B8041C83:Deployment)
[java] at com.pega.pegarules.data.internal.access.DatabaseConfigurationMap.getDBConfig(DatabaseConfigurationMap.java:144)
[java] at com.pega.pegarules.data.internal.access.ConnectionManagerImpl.getDBConfig(ConnectionManagerImpl.java:2776)
[java] at com.pega.pegarules.data.internal.access.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:1213)
[java] at com.pega.pegarules.data.internal.access.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:1170)
[java] at com.pega.pegarules.data.internal.access.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:354)
[java] at com.pega.pegarules.data.internal.store.AutoCommitTransaction.getConnection(AutoCommitTransaction.java:199)
[java] at com.pega.pegarules.data.internal.access.TableInformationMapImpl.lookupTableInfo(TableInformationMapImpl.java:421)
Low-Code App Development Low-Code App Development Dev/Designer Studio DevOps Low-Code App Development Installation and Deployment
Moderation Team has archived post
Share this page LinkedIn