Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

password not picked up after Database password encryption



The requirement is to run BIX using command-line with encrypted database password. The keyring file is generated, but when running the BIX script it fails with the following error:

Caused by SQL Problems. 
Problem #1, SQLState 72000, Error code 1005: java.sql.SQLException: ORA-01005: null password given; logon denied

Error Messages

2015-04-13 12:45:39,685 [                main] [          ] [                    ] [                    ] (      etier.impl.EngineStartup) ERROR   - PegaRULES initialization failed. Server: unknown
    at com.pega.pegarules.exec.internal.PRExecProviderImpl.getSystemSettings(
    at com.pega.pegarules.session.internal.mgmt.base.AbstractDataPageHandler.<init>(
    at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandler.<init>(
    at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandlerForNode.<init>(
    at com.pega.pegarules.session.internal.mgmt.PRNodeImpl.configure(
    at com.pega.pegarules.session.internal.mgmt.PRNodeImpl.<init>(
    at com.pega.pegarules.session.internal.mgmt.PRNodeImpl.<clinit>(
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup(
    at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngineImpl(
    at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngine(
    at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngine(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(
    at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(
    at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(
Caused by: Error determining the mode of PRPC install from database.
    at com.pega.pegarules.exec.internal.basic.SystemSettingsImpl.<clinit>(
    ... 25 more
Caused by: Database-General    Problem encountered when getting connection for database pegarules    1017    72000    ORA-01017: invalid username/password; logon denied

From: (unknown) 
Caused by SQL Problems.
Problem #1, SQLState 72000, Error code 1017: java.sql.SQLException: ORA-01017: invalid username/password; logon denied

    ... 26 more
Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied

    at oracle.jdbc.driver.T4CTTIoer.processError(
    at oracle.jdbc.driver.T4CTTIoer.processError(
    at oracle.jdbc.driver.T4CTTIoer.processError(

Steps to Reproduce

1) Generate a keyring file.
2) Remove the username and password elements in prconfig.xml.
3) Invoke the BIX Extract script

Root Cause

The issue occurs because the username element is removed from the prconfig.xml and the -Dpegarules.keyring parameter option is included in the BIX extract script to specify the path of the pegarules.keyring file.


When using pegarules.keyring file, the username element must be included in prconfig.xml. Only the password element can be removed. In addition, the BIX script must include -Dpegarules.keyring parameter option.

Published January 31, 2016 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us