Support Article
Not able to create keyring file for standalone BIX 7.2.1
SA-40028
Summary
User is setting up a standalone Business Intelligence Exchange (BIX) 7.2.2 server, however facing error while executing the export command.
Error Messages
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.pega.pegarules.exec.internal.util.crypto.KeyringImpl.main(KeyringImpl.java:649)
Caused by: java.lang.RuntimeException: Unable to create provider Session
at com.pega.pegarules.common.PREngineProvider.<clinit>(PREngineProvider.java:157)
Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletResponse
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
Steps to Reproduce
1. Copy BIX distribution on Unix server.
2. Configure prconfig.xml and prbootstrap.properties files.
3. Import jars as mentioned in the Pega document.
4. Run the Java command.
Root Cause
An issue in the custom extract command where the user missed to provide system property "Dpegarules.keyring=config/pegarules.keyring".
Resolution
Perform the following local-change:
Add the required system property in the export command, that is, Dpegarules.keyring=config/pegarules.keyring.
Published September 27, 2017 - 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.