BIX 8.2 unable to extract to target database with exception

We run BIX from command line and write it into DB tables. We upgraded from 7.1.8 to 8.2 and we have no issues in our 7.1.8 with the same configuration.

When executing the command we are getting below exception.

We have database instance name with JNDi name mentioned in the rule.

We have target database information in prconfig file.

We were able to load the data when run from designer studio with out issues.

ERROR - Encountered bad Data-Admin-DB-Name definition

com.pega.platform.datastore.ConfigurationException: Data-Admin-DB-Name "PegaBIX" has both a JDBC URL ("jdbc:db2://111.1111.111.11:11111/#######:currentSchema=BIXSTG;fullyMaterializeLobData=true;fullyMaterializeInputStreams=true;progressiveStreaming=2;progresssiveLocators=2;useJDBC4ColumnNameAndLabelSemantics=2;") and a JNDI-named data source ("jdbc/PegaBIX") specified (either in the instance or in prconfig)

at com.pega.platform.datastore.connection.internal.config.jdbc.JdbcConfigurationFactory.validate( ~[datastore.jar:?]

at com.pega.platform.datastore.connection.internal.config.jdbc.JdbcConfigurationFactory.getDataSourceConfiguration( ~[datastore.jar:?]

at com.pega.platform.datastore.connection.internal.config.jdbc.JdbcStore.buildConnectionConfiguration( ~[datastore.jar:?]

at com.pega.platform.logicaldatastore.connection.internal.config.ConfigurationMapImpl.registerDbName( ~[logicaldatastore.jar:?]

at com.pega.platform.logicaldatastore.connection.internal.config.ConfigurationMapImpl.registerDbName( ~[logicaldatastore.jar:?]

at com.pega.platform.logicaldatastore.connection.internal.config.ConfigurationMapImpl.initializeSetOfDbNames( ~[logicaldatastore.jar:?]

at ~[prprivate.jar:?]

at ~[prprivate.jar:?]

at ~[prprivate.jar:?]

at ~[prprivate.jar:?]

at ~[prprivate.jar:?]

at com.pega.pegarules.deploy.internal.archive.ParUtilsImpl.setStageDirectory( ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine( ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact( ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup( ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngineImpl( ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngine( ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngine( ~[prprivate.jar:?]

at ~[prprivate.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]

at sun.reflect.NativeMethodAccessorImpl.invoke( ~[?:1.8.0]

at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:1.8.0]

at java.lang.reflect.Method.invoke( ~[?:1.8.0]

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod( ~[prbootstrap.jar:8.2.1-225]

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable( ~[prbootstrap.jar:8.2.1-225]

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable( ~[prbootstrap-api.jar:8.2.1-225]

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod( ~[prbootstrap-api.jar:8.2.1-225]

at ~[prbootstrap-api.jar:8.2.1-225]

***Moderator Edit-Vidyaranjan: Updated SR details***

Group Tags

Correct Answer
September 27, 2019 - 12:21pm

Hi Aravind,

Please change the Data-Admin-DB-Name to have the “How to connect” option to be “use configuration in preferences”. Resolved with SR-D43989.



Keep up to date on this post and subscribe to comments

September 4, 2019 - 5:40pm

Hi Aravind,

Are you getting successful connection message when you do a test connectivity for this external DB?

Please check if it is a different DB, then if you have deployed the jdbc jar of this external DB in you application server or not.



September 5, 2019 - 9:42am
Response to Vikash Karn

Hi Vikash,

We are extracting the DATA to a separate reporting DB and this is not external DB.

When we do a test connectivity from DB instance rule it gives success message and it extracts data when we run from designer studio

But we have this issue for running from command line.



September 27, 2019 - 12:21pm

Hi Aravind,

Please change the Data-Admin-DB-Name to have the “How to connect” option to be “use configuration in preferences”. Resolved with SR-D43989.


September 29, 2019 - 6:28am

As per SR-D43989,The root cause of this issue is conflict with the JNDI configuration in the prconfig.xml as well as in the Data-Admin-DB-Name instance. It got resolved by changing  Data-Admin-DB-Name to have the “How to connect” option to be “use configuration in preferences”