Question


Prime Inc
US
Last activity: 7 Nov 2017 10:21 EST
Error "Could not find or load main class com.pega.pegarules.pub.pegarules" : When running BIX extract from windows command line
Hi
I need to run BIX extract from command-line and extract the report to specified path.
When am trying to run the BIX extract from windows command line getting below error.
Error : "Could not find or load main class com.pega.pegarules.pub.pegarules"
I do see the below thread and i've added the prbootstrap-api.jar to classpath. But still getting error.
Just for reference i've added DB user id credentials in prbootstrap.properties and prconfig.xml files.
Versions : PRPC - 7.2 , BIX - 7.2.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution


Pegasystems Inc.
US
2017-10-25 08:09:07,349 [ PTI-21127] [ ] [ ] ( internal.access.ExtractImpl) ERROR - Path: /nas/wasmft/dev/waccr1xd/common/out mentioned in the output direcotry is invalid
2017-10-25 08:09:07,507 [ PTI-21127] [ ] [ ] ( internal.access.ExtractImpl) ERROR - Unable to process <Masked Class Name>: PRRuntimeException
When you run from designer studio you are running on the app server node which looks like it is unix and the /nas/wasmft/dev/waccr1xd/common/out directory is valid on that node. When you are running from the command line if you were running from a unix machine you could make the same directory and then the extract would work. Since you are running on Windows you need to specify a different location than is in the extract rule to put the files. There is a -P option to do that.
Note: Use the -P command-line option to override the output directories specified on this tab, instead directing all files to a specified location.
2017-10-25 08:09:07,349 [ PTI-21127] [ ] [ ] ( internal.access.ExtractImpl) ERROR - Path: /nas/wasmft/dev/waccr1xd/common/out mentioned in the output direcotry is invalid
2017-10-25 08:09:07,507 [ PTI-21127] [ ] [ ] ( internal.access.ExtractImpl) ERROR - Unable to process <Masked Class Name>: PRRuntimeException
When you run from designer studio you are running on the app server node which looks like it is unix and the /nas/wasmft/dev/waccr1xd/common/out directory is valid on that node. When you are running from the command line if you were running from a unix machine you could make the same directory and then the extract would work. Since you are running on Windows you need to specify a different location than is in the extract rule to put the files. There is a -P option to do that.
Note: Use the -P command-line option to override the output directories specified on this tab, instead directing all files to a specified location.
Make sure the directory exists and then on your command line add something like -P C:\BIX\Output


Pegasystems Inc.
US
Please post the complete command that you are executing as well as the classpath you have set. It also would be helpful if you could post the complete log as the error could be because of several configuration issues.


Prime Inc
US
Here is the Command
java -Xms512M -Xmx768m -cp "C:\BIX\lib\prbootstrap.jar;C:\BIX\lib\prdbcp.jar;C:\BIX\lib\jsr94-1.0.jar;C:\BIX\lib\db2jcc- Proprietary information hidden.jar;C:\BIX\lib\prbootstrap-api.jar;%CLASSPATH%" -Duser.dir="C:\BIX" -Dcom.pega.pegarules.bootstrap.properties.url=file:\C:\BIX\config\prbootstrap.properties -Dpegarules.config=.\config\prconfig.xml -Dcom.pega.pegarules.bootstrap.ignorejndi=true com.pega.pegarules.pub.PegaRULES com.pega.pegarules.data.internal.access.ExtractImpl -a <OperatorID> -p <PWD> -i <pxInsName>
for parameters -a , -p and -i passing actual values.
I saved BIX folders on my local path (C:\BIX) trying to execute from there.
I've got lot of errors . Here are some
- Ignored JNDI options.
- Unable to use given data base configurations.
- Unable to locate classes on file system.
Looks like unable to connect data base and jdbc driver.


Pegasystems Inc.
US
What version of Pega/BIX are you trying to run? In the logs are you seeing errors that it cannot find the prbootstrap.properties file? Is the error that it cannot make the database connection or has it made the connection and getting another error accessing something in the database?


Prime Inc
US
Pega 7.2/BIX 7.2 . It cannot made the data base connection. I don't see any errors on prbootstrap.properties file.


Pegasystems Inc.
US
What error do you actually see with making the database connection? Can you at least paste the database connection error so we have an idea of what the problem is?


Prime Inc
US
Here is the command and the error logs that am seeing .
C:\BIX> java -Xms512M -Xmx768m -cp "C:\BIX\lib\prbootstrap.jar;C:\BIX\lib\prdbcp
.jar;C:\BIX\lib\jsr94-1.0.jar;C:\BIX\lib\db2jcc- Proprietary information hidden.jar;C:\BIX\lib\prbootst
rap-api.jar;%CLASSPATH%" -Duser.dir="C:\BIX" -Dcom.pega.pegarules.bootstrap.prop
erties.url=file:\C:\BIX\config\prbootstrap.properties -Dpegarules.config=.\confi
g\prconfig.xml -Dcom.pega.pegarules.bootstrap.ignorejndi=true com.pega.pegarules
.pub.PegaRULES com.pega.pegarules.data.internal.access.ExtractImpl -a <OperatorID> -
p <PWD> -i <pxInsName>
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
19830421: Loading bootstrap properties from file:\C:\BIX\config\prbootstrap.prop
erties
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find java:comp/env/prbootstrap/ in the local JNDI context, s
kipping prconfig setting lookup
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find prbootstrap in the local JNDI context, skipping prconfi
g setting lookup
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
Here is the command and the error logs that am seeing .
C:\BIX> java -Xms512M -Xmx768m -cp "C:\BIX\lib\prbootstrap.jar;C:\BIX\lib\prdbcp
.jar;C:\BIX\lib\jsr94-1.0.jar;C:\BIX\lib\db2jcc- Proprietary information hidden.jar;C:\BIX\lib\prbootst
rap-api.jar;%CLASSPATH%" -Duser.dir="C:\BIX" -Dcom.pega.pegarules.bootstrap.prop
erties.url=file:\C:\BIX\config\prbootstrap.properties -Dpegarules.config=.\confi
g\prconfig.xml -Dcom.pega.pegarules.bootstrap.ignorejndi=true com.pega.pegarules
.pub.PegaRULES com.pega.pegarules.data.internal.access.ExtractImpl -a <OperatorID> -
p <PWD> -i <pxInsName>
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
19830421: Loading bootstrap properties from file:\C:\BIX\config\prbootstrap.prop
erties
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find java:comp/env/prbootstrap/ in the local JNDI context, s
kipping prconfig setting lookup
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find prbootstrap in the local JNDI context, skipping prconfi
g setting lookup
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find java:comp/env/prconfig/ in the local JNDI context, skip
ping prconfig setting lookup
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find prconfig in the local JNDI context, skipping prconfig s
etting lookup
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
19830421: Bootstrap datatables schema: null
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
SEVERE: Unable to connect to database. Will only use properties from file.
com.pega.pegarules.configdbcp.dbcp.SQLNestedException: Cannot load JDBC driver c
lass 'com.ibm.db2.jcc.DB2Drivers '
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(B
asicDataSource.java:743)
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.getConnection(Basi
cDataSource.java:520)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapPropertiesFromDB(PRBootstrapDataSource.java:669)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapPropertiesFromDB(PRBootstrapDataSource.java:652)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapProperties(PRBootstrapDataSource.java:629)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapProperties(PRBootstrapDataSource.java:623)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.<clinit>(PRBootstra
p.java:119)
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.boot.internal.extbridge.AppServerBridgeToPega.chec
kForStartup(AppServerBridgeToPega.java:117)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:223)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Caused by: java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Drivers
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(B
asicDataSource.java:737)
... 14 more
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
19830421: Unable to locate archive.properties properties, setting warVersion to
-1
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Engine schema defined in allclasses: null
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Engine classes schema: null
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Assembled classes schema: null
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: prbootstrap.properties merged with prbootstrap entries in Data-Admin-S
ystem-Settings
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: PRBootstrap.calculateEngineCodeVersionFromDB() - unable to calculate c
odeset version from database: Cannot load JDBC driver class 'com.ibm.db2.jcc.DB2
Drivers '
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRMiniLoader
19830421: Will load phase 2 bootstrap from Pega-EngineCode:
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRMiniLoader
19830421: PRMiniLoader - unable to load classes from the database: Cannot load J
DBC driver class 'com.ibm.db2.jcc.DB2Drivers '
C:\BIX\lib\boot\prbootphase2.jar (The system cannot find the path specified)
Perhaps executing with a non-standard classpath (e.g. JUnit tests)?
com.pega.pegarules.configdbcp.dbcp.SQLNestedException: Cannot load JDBC driver c
lass 'com.ibm.db2.jcc.DB2Drivers '
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(B
asicDataSource.java:743)
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.getConnection(Basi
cDataSource.java:520)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.printConfiguration(
PRBootstrap.java:772)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRB
ootstrap.java:665)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropaga
tingThrowable(PRBootstrap.java:408)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Caused by: java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Drivers
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(B
asicDataSource.java:737)
... 7 more
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421:
============ PegaRULES Bootstrap Configuration ============
Date: Thu Oct 19 09:03:44 CDT 2017
Java Version: Oracle Corporation 1.8.0_77
Configuration: file:/C:/BIX/config/prbootstrap.properties
Pega-EngineCode:
(!) Ignored JNDI Options
(!) Unable to use given database configuration
(!) Unable to locate classes on filesystem
=============== End Bootstrap Configuration ===============
Unable to load phase 2 bootstrap class: com.pega.pegarules.internal.bootstrap.ph
ase2.PRBootstrapImpl
Oct 19, 2017 9:03:44 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
SEVERE: Error initializing PRAppLoader
java.lang.ClassNotFoundException: com.pega.pegarules.internal.bootstrap.phase2.P
RBootstrapImpl
at com.pega.pegarules.internal.bootstrap.PRMiniLoader.loadClass(PRMiniLo
ader.java:388)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.loadPhase2Bootstrap
Class(PRBootstrap.java:720)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRB
ootstrap.java:662)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropaga
tingThrowable(PRBootstrap.java:408)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Oct 19, 2017 9:03:44 AM com.pega.pegarules.boot.internal.extbridge.AppServerBrid
geToPega
SEVERE: Problem during method invocation (main)
java.lang.RuntimeException: PRAppLoader was not properly initialized, unable to
load class com.pega.pegarules.data.internal.access.ExtractImpl
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf
(PRBootstrap.java:208)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstra
p.java:324)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstr
ap.java:304)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropaga
tingThrowable(PRBootstrap.java:409)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Exception in thread "main" java.lang.RuntimeException: Problem during method inv
ocation (main)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:279)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Caused by: java.lang.RuntimeException: PRAppLoader was not properly initialized,
unable to load class com.pega.pegarules.data.internal.access.ExtractImpl
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf
(PRBootstrap.java:208)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstra
p.java:324)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstr
ap.java:304)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropaga
tingThrowable(PRBootstrap.java:409)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
... 1 more


Pegasystems Inc.
US
You have specified the driver class incorrectly in the prbootstrap.properties file.
Cannot load JDBC driver c
lass 'com.ibm.db2.jcc.DB2Drivers '
For db2 it should be this string. You seem to have an Drivers instead of Driver. Also looks like you have a trailing blank. If you quoted the property value for some reason either remove the quotes or remove the trailing blank along with the s.
IBM DB/2 com.ibm.db2.jcc.DB2Driver


Prime Inc
US
I removed the s from Drivers and passing driver still the same error. I can see the class not found exception. Please see below.
C:\BIX> java -Xms512M -Xmx768m -cp "C:\BIX\lib\prbootstrap.jar;C:\BIX\lib\prdbcp
.jar;C:\BIX\lib\jsr94-1.0.jar;C:\BIX\lib\db2jcc- Proprietary information hidden.jar;C:\BIX\lib\prbootst
rap-api.jar;%CLASSPATH%" -Duser.dir="C:\BIX" -Dcom.pega.pegarules.bootstrap.prop
erties.url=file:\C:\BIX\config\prbootstrap.properties -Dpegarules.config=.\confi
g\prconfig.xml -Dcom.pega.pegarules.bootstrap.ignorejndi=true com.pega.pegarules
.pub.PegaRULES com.pega.pegarules.data.internal.access.ExtractImpl -a <OperatorID>
p <PWD> -i <pxInsName>
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
19830421: Loading bootstrap properties from file:\C:\BIX\config\prbootstrap.prop
erties
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find java:comp/env/prbootstrap/ in the local JNDI context, s
kipping prconfig setting lookup
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find prbootstrap in the local JNDI context, skipping prconfi
g setting lookup
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
I removed the s from Drivers and passing driver still the same error. I can see the class not found exception. Please see below.
C:\BIX> java -Xms512M -Xmx768m -cp "C:\BIX\lib\prbootstrap.jar;C:\BIX\lib\prdbcp
.jar;C:\BIX\lib\jsr94-1.0.jar;C:\BIX\lib\db2jcc- Proprietary information hidden.jar;C:\BIX\lib\prbootst
rap-api.jar;%CLASSPATH%" -Duser.dir="C:\BIX" -Dcom.pega.pegarules.bootstrap.prop
erties.url=file:\C:\BIX\config\prbootstrap.properties -Dpegarules.config=.\confi
g\prconfig.xml -Dcom.pega.pegarules.bootstrap.ignorejndi=true com.pega.pegarules
.pub.PegaRULES com.pega.pegarules.data.internal.access.ExtractImpl -a <OperatorID>
p <PWD> -i <pxInsName>
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
19830421: Loading bootstrap properties from file:\C:\BIX\config\prbootstrap.prop
erties
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find java:comp/env/prbootstrap/ in the local JNDI context, s
kipping prconfig setting lookup
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find prbootstrap in the local JNDI context, skipping prconfi
g setting lookup
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find java:comp/env/prconfig/ in the local JNDI context, skip
ping prconfig setting lookup
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find prconfig in the local JNDI context, skipping prconfig s
etting lookup
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
19830421: Bootstrap datatables schema: null
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
SEVERE: Unable to connect to database. Will only use properties from file.
com.pega.pegarules.configdbcp.dbcp.SQLNestedException: Cannot load JDBC driver c
lass 'com.ibm.db2.jcc.DB2Driver '
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(B
asicDataSource.java:743)
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.getConnection(Basi
cDataSource.java:520)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapPropertiesFromDB(PRBootstrapDataSource.java:669)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapPropertiesFromDB(PRBootstrapDataSource.java:652)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapProperties(PRBootstrapDataSource.java:629)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapProperties(PRBootstrapDataSource.java:623)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.<clinit>(PRBootstra
p.java:119)
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.boot.internal.extbridge.AppServerBridgeToPega.chec
kForStartup(AppServerBridgeToPega.java:117)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:223)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Caused by: java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(B
asicDataSource.java:737)
... 14 more
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
19830421: Unable to locate archive.properties properties, setting warVersion to
-1
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Engine schema defined in allclasses: null
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Engine classes schema: null
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Assembled classes schema: null
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: prbootstrap.properties merged with prbootstrap entries in Data-Admin-S
ystem-Settings
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: PRBootstrap.calculateEngineCodeVersionFromDB() - unable to calculate c
odeset version from database: Cannot load JDBC driver class 'com.ibm.db2.jcc.DB2
Driver '
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRMiniLoader
19830421: Will load phase 2 bootstrap from Pega-EngineCode:
Oct 19, 2017 9:57:36 AM com.pega.pegarules.internal.bootstrap.PRMiniLoader
19830421: PRMiniLoader - unable to load classes from the database: Cannot load J
DBC driver class 'com.ibm.db2.jcc.DB2Driver '
C:\BIX\lib\boot\prbootphase2.jar (The system cannot find the path specified)
Perhaps executing with a non-standard classpath (e.g. JUnit tests)?
com.pega.pegarules.configdbcp.dbcp.SQLNestedException: Cannot load JDBC driver c
lass 'com.ibm.db2.jcc.DB2Driver '
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(B
asicDataSource.java:743)
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.getConnection(Basi
cDataSource.java:520)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.printConfiguration(
PRBootstrap.java:772)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRB
ootstrap.java:665)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropaga
tingThrowable(PRBootstrap.java:408)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Caused by: java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(B
asicDataSource.java:737)
... 7 more
Oct 19, 2017 9:57:37 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421:
============ PegaRULES Bootstrap Configuration ============
Date: Thu Oct 19 09:57:36 CDT 2017
Java Version: Oracle Corporation 1.8.0_77
Configuration: file:/C:/BIX/config/prbootstrap.properties
Pega-EngineCode:
(!) Ignored JNDI Options
(!) Unable to use given database configuration
(!) Unable to locate classes on filesystem
=============== End Bootstrap Configuration ===============
Unable to load phase 2 bootstrap class: com.pega.pegarules.internal.bootstrap.ph
ase2.PRBootstrapImpl
Oct 19, 2017 9:57:37 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
SEVERE: Error initializing PRAppLoader
java.lang.ClassNotFoundException: com.pega.pegarules.internal.bootstrap.phase2.P
RBootstrapImpl
at com.pega.pegarules.internal.bootstrap.PRMiniLoader.loadClass(PRMiniLo
ader.java:388)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.loadPhase2Bootstrap
Class(PRBootstrap.java:720)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRB
ootstrap.java:662)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropaga
tingThrowable(PRBootstrap.java:408)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Oct 19, 2017 9:57:37 AM com.pega.pegarules.boot.internal.extbridge.AppServerBrid
geToPega
SEVERE: Problem during method invocation (main)
java.lang.RuntimeException: PRAppLoader was not properly initialized, unable to
load class com.pega.pegarules.data.internal.access.ExtractImpl
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf
(PRBootstrap.java:208)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstra
p.java:324)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstr
ap.java:304)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropaga
tingThrowable(PRBootstrap.java:409)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Exception in thread "main" java.lang.RuntimeException: Problem during method inv
ocation (main)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:279)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Caused by: java.lang.RuntimeException: PRAppLoader was not properly initialized,
unable to load class com.pega.pegarules.data.internal.access.ExtractImpl
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf
(PRBootstrap.java:208)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstra
p.java:324)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstr
ap.java:304)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropaga
tingThrowable(PRBootstrap.java:409)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
... 1 more


Pegasystems Inc.
US
That still looks like you have a trailing blank. Can you post the line from prbootstrap.properties file?
The entry should look like this:
udb.jdbc.class=com.ibm.db2.jcc.DB2Driver


Prime Inc
US
Below one is from the prbootstrap.properties file
# Merge settings from this file with Data-Admin-System-Settings
initialization.settingsource=merged
com.pega.pegarules.bootstrap.engineclasses.dbcpsource=pega.db2
com.pega.pegarules.bootstrap.assembledclasses.dbcpsource=pega.db2
pega.db2.url=<URL>;
pega.db2.username=<Username>
pega.db2.password=<PWD>
db2.jdbc.class=com.ibm.db2.jcc.DB2Driver
##########################################################################


Pegasystems Inc.
US
Can I assume that you have actually filled in the url, username, and password correctly? Please remove the space at the end of this property entry in the file: db2.jdbc.class=com.ibm.db2.jcc.DB2Driver
On your classpath you have this entry for your JDBC driver: C:\BIX\lib\db2jcc- Proprietary information hidden.jar
If you look in that directory is there a jar file with this name actually there?
Have you also set these properties to the correct rules and data schema names?
com.pega.pegarules.bootstrap.allclasses.schema=v72irules
com.pega.pegarules.bootstrap.datatables.schema=v72idata


Prime Inc
US
Yes, I'm passing the right values for url, username & pwd. Due to some security reasons i didn't post the whole values. Removed the space now it looks like
# Merge settings from this file with Data-Admin-System-Settings
initialization.settingsource=merged
com.pega.pegarules.bootstrap.engineclasses.dbcpsource=pega.db2
com.pega.pegarules.bootstrap.assembledclasses.dbcpsource=pega.db2
pega.db2.url=<>
pega.db2.username=<>
pega.db2.password=<>
db2.jdbc.class=com.ibm.db2.jcc.DB2Driver
com.pega.pegarules.bootstrap.allclasses.schema=v72irules
com.pega.pegarules.bootstrap.datatables.schema=v72idata
Yes i have db2jcc- Proprietary information hidden.jar in my directory.
com.pega.pegarules.bootstrap.allclasses.schema=v72irules
com.pega.pegarules.bootstrap.datatables.schema=v72idata
The above two are not there in prbootstrap.properties file but now i've added them and run the command still i can see the error with unable to connect data base and sql state errors highlighted one's below.
Yes, I'm passing the right values for url, username & pwd. Due to some security reasons i didn't post the whole values. Removed the space now it looks like
# Merge settings from this file with Data-Admin-System-Settings
initialization.settingsource=merged
com.pega.pegarules.bootstrap.engineclasses.dbcpsource=pega.db2
com.pega.pegarules.bootstrap.assembledclasses.dbcpsource=pega.db2
pega.db2.url=<>
pega.db2.username=<>
pega.db2.password=<>
db2.jdbc.class=com.ibm.db2.jcc.DB2Driver
com.pega.pegarules.bootstrap.allclasses.schema=v72irules
com.pega.pegarules.bootstrap.datatables.schema=v72idata
Yes i have db2jcc- Proprietary information hidden.jar in my directory.
com.pega.pegarules.bootstrap.allclasses.schema=v72irules
com.pega.pegarules.bootstrap.datatables.schema=v72idata
The above two are not there in prbootstrap.properties file but now i've added them and run the command still i can see the error with unable to connect data base and sql state errors highlighted one's below.
C:\BIX> java -Xms512M -Xmx768m -cp "C:\BIX\lib\prbootstrap.jar;C:\BIX\lib\prdbcp
.jar;C:\BIX\lib\jsr94-1.0.jar;C:\BIX\lib\db2jcc- Proprietary information hidden.jar;C:\BIX\lib\prbootst
rap-api.jar;%CLASSPATH%" -Duser.dir="C:\BIX" -Dcom.pega.pegarules.bootstrap.prop
erties.url=file:\C:\BIX\config\prbootstrap.properties -Dpegarules.config=.\confi
g\prconfig.xml -Dcom.pega.pegarules.bootstrap.ignorejndi=true com.pega.pegarules
.pub.PegaRULES com.pega.pegarules.data.internal.access.ExtractImpl -a <> -
p <> -i <>
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
19830421: Loading bootstrap properties from file:\C:\BIX\config\prbootstrap.prop
erties
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find java:comp/env/prbootstrap/ in the local JNDI context, s
kipping prconfig setting lookup
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find prbootstrap in the local JNDI context, skipping prconfi
g setting lookup
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
19830421: Bootstrap datatables schema: v72idata
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
SEVERE: Unable to connect to database. Will only use properties from file.
com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-204, SQLSTAT
E=42704, SQLERRMC=V72IDATA.PR_DATA_ADMIN, DRIVER=3.65.97
at com.ibm.db2.jcc.am.cd.a(cd.java:698)
at com.ibm.db2.jcc.am.cd.a(cd.java:60)
at com.ibm.db2.jcc.am.cd.a(cd.java:127)
at com.ibm.db2.jcc.am.ko.c(ko.java:2753)
at com.ibm.db2.jcc.am.ko.d(ko.java:2741)
at com.ibm.db2.jcc.am.ko.a(ko.java:2190)
at com.ibm.db2.jcc.am.lo.a(lo.java:7382)
at com.ibm.db2.jcc.t4.ab.h(ab.java:140)
at com.ibm.db2.jcc.t4.ab.b(ab.java:40)
at com.ibm.db2.jcc.t4.p.a(p.java:32)
at com.ibm.db2.jcc.t4.qb.i(qb.java:135)
at com.ibm.db2.jcc.am.ko.gb(ko.java:2159)
at com.ibm.db2.jcc.am.lo.rc(lo.java:3547)
at com.ibm.db2.jcc.am.lo.b(lo.java:4345)
at com.ibm.db2.jcc.am.lo.ec(lo.java:739)
at com.ibm.db2.jcc.am.lo.executeQuery(lo.java:708)
at com.pega.pegarules.configdbcp.dbcp.DelegatingPreparedStatement.execut
eQuery(DelegatingPreparedStatement.java:99)
at com.pega.pegarules.configdbcp.dbcp.DelegatingPreparedStatement.execut
eQuery(DelegatingPreparedStatement.java:99)
at com.pega.pegarules.internal.bootstrap.SettingReaderDB.getAllClassific
ationSettingsDB(SettingReaderDB.java:87)
at com.pega.pegarules.internal.bootstrap.SettingReaderDB.getSettingsDB(S
ettingReaderDB.java:154)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapPropertiesFromDB(PRBootstrapDataSource.java:672)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapPropertiesFromDB(PRBootstrapDataSource.java:652)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapProperties(PRBootstrapDataSource.java:629)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootst
rapProperties(PRBootstrapDataSource.java:623)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.<clinit>(PRBootstra
p.java:119)
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.boot.internal.extbridge.AppServerBridgeToPega.chec
kForStartup(AppServerBridgeToPega.java:117)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:223)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSou
rce
19830421: Unable to locate archive.properties properties, setting warVersion to
-1
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Engine schema defined in allclasses: v72irules
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Engine classes schema: v72irules
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Assembled classes schema: v72irules
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: prbootstrap.properties merged with prbootstrap entries in Data-Admin-S
ystem-Settings
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: PRBootstrap.calculateEngineCodeVersionFromDB() - unable to calculate c
odeset version from database: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLER
RMC=V72IRULES.PR_ENGINECLASSES, DRIVER=3.65.97
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
19830421: Will load phase 2 bootstrap from Pega-EngineCode:
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
19830421: PRMiniLoader - unable to load classes from the database: DB2 SQL Error
: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=V72IRULES.PR_ENGINECLASSES, DRIVER=3.65
.97
C:\BIX\lib\boot\prbootphase2.jar (The system cannot find the path specified)
Perhaps executing with a non-standard classpath (e.g. JUnit tests)?
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421:
============ PegaRULES Bootstrap Configuration ============
Date: Thu Oct 19 13:06:34 CDT 2017
Java Version: Oracle Corporation 1.8.0_77
Configuration: file:/C:/BIX/config/prbootstrap.properties
Pega-EngineCode:
Database: DB2/AIX64 SQL10013
Driver: IBM DB2 JDBC Universal Driver Architecture 3.65.97
(!) Ignored JNDI Options
(!) Unable to use given database configuration
(!) Unable to locate classes on filesystem
=============== End Bootstrap Configuration ===============
Unable to load phase 2 bootstrap class: com.pega.pegarules.internal.bootstrap.ph
ase2.PRBootstrapImpl
Oct 19, 2017 1:06:34 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
SEVERE: Error initializing PRAppLoader
java.lang.ClassNotFoundException: com.pega.pegarules.internal.bootstrap.phase2.P
RBootstrapImpl
at com.pega.pegarules.internal.bootstrap.PRMiniLoader.loadClass(PRMiniLo
ader.java:388)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.loadPhase2Bootstrap
Class(PRBootstrap.java:720)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRB
ootstrap.java:662)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropaga
tingThrowable(PRBootstrap.java:408)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Oct 19, 2017 1:06:34 PM com.pega.pegarules.boot.internal.extbridge.AppServerBrid
geToPega
SEVERE: Problem during method invocation (main)
java.lang.RuntimeException: PRAppLoader was not properly initialized, unable to
load class com.pega.pegarules.data.internal.access.ExtractImpl
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf
(PRBootstrap.java:208)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstra
p.java:324)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstr
ap.java:304)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropaga
tingThrowable(PRBootstrap.java:409)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Exception in thread "main" java.lang.RuntimeException: Problem during method inv
ocation (main)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:279)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Caused by: java.lang.RuntimeException: PRAppLoader was not properly initialized,
unable to load class com.pega.pegarules.data.internal.access.ExtractImpl
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf
(PRBootstrap.java:208)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstra
p.java:324)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstr
ap.java:304)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropaga
tingThrowable(PRBootstrap.java:409)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invo
keMethod(AppServerBridgeToPega.java:273)
... 1 more


Pegasystems Inc.
US
Removing the space got you passed the classnotfound issue. For those properties you need to set these property values to the names of your schemas. Replace v72irules with your rules schema name and v72idata with the name of your data schema.
com.pega.pegarules.bootstrap.allclasses.schema=v72irules
com.pega.pegarules.bootstrap.datatables.schema=v72idata


Prime Inc
US
I've replaced with our schema and ran the command and got an error on keyring file. Do we need to run keyring file to generate encrypted password? Also it is trying to write logs in BIX and PEGA logs directory. But system returning access id denied. Below are some logs. I think command tried to attempt a connect to PEGA. Please see the highlighted one's.
I've replaced with our schema and ran the command and got an error on keyring file. Do we need to run keyring file to generate encrypted password? Also it is trying to write logs in BIX and PEGA logs directory. But system returning access id denied. Below are some logs. I think command tried to attempt a connect to PEGA. Please see the highlighted one's.
2017-10-23 09:19:01,641 [LOAD_PEGACONCLUSIONS] [ STANDARD] [ ] [ ] ( external.async.IStartupTask) INFO - l
oad pegaConclusions ..starting
2017-10-23 09:19:01,657 [ PTI-21127] [ STANDARD] [ ] [ ] (c.DependentRuleSetListPoolImpl) INFO - S
kipping dependent ruleset cache pre-load as minimal startup (initialization/minimalStartup) is enabled.
2017-10-23 09:19:01,657 [ PTI-21127] [ STANDARD] [ ] [ ] ( internal.mgmt.PREnvironment) INFO - S
kipping assembly cache pre-load as minimal startup (initialization/minimalStartup) is enabled.
2017-10-23 09:19:01,669 [ALDECLARATIVECLASSES] [ STANDARD] [ ] [ ] ( external.async.IStartupTask) INFO - l
oad global declarative classes ..starting
2017-10-23 09:19:01,669 [ALDECLARATIVECLASSES] [ STANDARD] [ ] [ ] (bi.DeclarativeCacheManagerImpl) INFO - S
kipping global declarative cache pre-load because prconfig setting initialization/declarative/EnableGlobalDeclarativeCachePreLoad = none or prconfig s
etting initialization/minimalStartup = true
2017-10-23 09:19:01,669 [ALDECLARATIVECLASSES] [ STANDARD] [ ] [ ] ( external.async.IStartupTask) INFO - l
oad global declarative classes ..done
2017-10-23 09:19:02,119 [ PTI-21127] [ STANDARD] [ ] [ ] (ternal.vtable.VirtualTableImpl) INFO - V
irtual Table Preload Starting...
2017-10-23 09:19:08,023 [ PTI-21127] [ STANDARD] [ ] [ ] (ternal.vtable.VirtualTableImpl) INFO - .
..Finished. Preloaded 11.6MB for 48988 rules in 5901 ms
2017-10-23 09:19:08,024 [ PTI-21127] [ STANDARD] [ ] [ ] ( internal.mgmt.PREnvironment) INFO - S
kipping Services initialization.
2017-10-23 09:19:08,024 [ PTI-21127] [ STANDARD] [ ] [ ] ( external.async.IStartupTask) INFO - A
waiting for StartupTasks (parallel cache loading to finish)...
2017-10-23 09:20:09,036 [LOAD_PEGACONCLUSIONS] [ STANDARD] [ ] [ ] (dictionary.ConclusionCacheImpl) INFO - S
kipping conclusion pre-load except for FieldValueConclusions because prconfig setting initialization/dictionary/EnableConclusionPreLoad = false or Min
imal startup (initialization/minimalStartup) is true
2017-10-23 09:20:09,036 [LOAD_PEGACONCLUSIONS] [ STANDARD] [ ] [ ] ( external.async.IStartupTask) INFO - l
oad pegaConclusions ..done
2017-10-23 09:20:09,036 [ PTI-21127] [ STANDARD] [ ] [ ] ( external.async.IStartupTask) INFO - A
ll registered 'StartupTasks' (parallel cache loading) have finished.
2017-10-23 09:20:10,462 [ PTI-21127] [ STANDARD] [ ] [ ] (nitor.internal.UsageDaemonImpl) INFO - >
>> Usage Tracking is NOT enabled on this system!
2017-10-23 09:20:11,932 [ PTI-21127] [ STANDARD] [ ] [ ] (pcentric.RACacheAppCentricImpl) WARN - A
ssembly pulse-based features disabled.
2017-10-23 09:20:12,083 [ PTI-21127] [ STANDARD] [ ] [ ] ( etier.impl.EngineStartup) INFO - P
roduct type: Standard
2017-10-23 09:20:12,253 [ PTI-21127] [ STANDARD] [ ] [ ] ( etier.impl.EngineStartup) INFO -
Agent is disabled, immediately set node's run state to running!!!
2017-10-23 09:20:12,408 [ PTI-21127] [ STANDARD] [ ] [ ] ( etier.impl.EngineStartup) INFO - P
egaRULES engine successfully started. TimeZone: America/Chicago AESPerfStatMode: PUSH Server: PTI-21127 System: pega Description: PTI-21127 pega 2017-
10-23 14:18:58.296 GMT URL: [unable to determine]
2017-10-23 09:20:12,409 [ PTI-21127] [ STANDARD] [ ] [ ] ( internal.mgmt.EngineImpl) INFO - E
mbedded Environment initialization is complete.
2017-10-23 09:20:29,486 [ PTI-21127] [ STANDARD] [ ] [ ] (l.access.RuleCandidateIterator) INFO - S
ingle candidate rule resolution optimization is enabled
#Instances this thread updated: 0
CPU Time (this thread): 0.0 seconds
2017-10-23 09:20:40,130 [ PTI-21127] [ STANDARD] [ ] [ ] ( internal.util.MoveLog) INFO -
#Instances this thread updated: 0
2017-10-23 09:20:40,131 [ PTI-21127] [ STANDARD] [ ] [ ] ( internal.util.MoveLog) INFO -
CPU Time (this thread): 0.0 seconds
C:\BIX> java -Xms512M -Xmx768m -cp "C:\BIX\lib\prbootstrap.jar;C:\BIX\lib\prdbcp.jar;C:\BIX\lib\jsr94-1.0.jar;C:\BIX\lib\db2jcc- Proprietary information hidden.jar;C:\BIX\li
b\prbootstrap-api.jar;%CLASSPATH%" -Duser.dir="C:\BIX" -Dcom.pega.pegarules.bootstrap.properties.url=file:\C:\BIX\config\prbootstrap.properties -Dpega
rules.config=.\config\prconfig.xml -Dcom.pega.pegarules.bootstrap.ignorejndi=true com.pega.pegarules.pub.PegaRULES com.pega.pegarules.data.internal.ac
cess.ExtractImpl -a <Operator ID> -p <pwd> -i <pxInsName>
Oct 23, 2017 9:22:01 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource
19830421: Loading bootstrap properties from file:\C:\BIX\config\prbootstrap.properties
Oct 23, 2017 9:22:01 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find java:comp/env/prbootstrap/ in the local JNDI context, skipping prconfig setting lookup
Oct 23, 2017 9:22:01 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find prbootstrap in the local JNDI context, skipping prconfig setting lookup
Oct 23, 2017 9:22:01 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource
19830421: Bootstrap datatables schema: PEGA
Oct 23, 2017 9:22:02 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource
19830421: Unable to locate archive.properties properties, setting warVersion to -1
Oct 23, 2017 9:22:02 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Engine schema defined in allclasses: PEGA
Oct 23, 2017 9:22:02 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Engine classes schema: PEGA
Oct 23, 2017 9:22:02 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Assembled classes schema: PEGA
Oct 23, 2017 9:22:02 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: prbootstrap.properties merged with prbootstrap entries in Data-Admin-System-Settings
Oct 23, 2017 9:22:02 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: Using latest detected engine version:(EngineCodeSetVersion= 07-10-23). To specify a different version, use the setting com.pega.pegarules.bo
otstrap.codeset.version.Pega-EngineCode in prbootstrap.properties.
Oct 23, 2017 9:22:02 AM com.pega.pegarules.internal.bootstrap.PRMiniLoader
19830421: Will load phase 2 bootstrap from Pega-EngineCode:07-10-23
Oct 23, 2017 9:22:02 AM com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
INFO: Using PRAppLoader implementation class: com.pega.pegarules.bootstrap.loader.PRAppLoader
Oct 23, 2017 9:22:11 AM com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
19830421: PegaRULES signed jar files will be extracted to: C:\Users\pta91828\AppData\Local\Temp\\extractedFiles
Oct 23, 2017 9:22:22 AM com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
19830421: PegaRULES classes will be loaded from the database
Oct 23, 2017 9:22:22 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421:
============ PegaRULES Bootstrap Configuration ============
Date: Mon Oct 23 09:22:22 CDT 2017
Java Version: Oracle Corporation 1.8.0_77
Configuration: file:/C:/BIX/config/prbootstrap.properties
Pega-EngineCode: 07-10-23
ASM Version: -415794285
Database: DB2/AIX64 SQL10013
Driver: IBM DB2 JDBC Universal Driver Architecture 3.65.97
Active CodeSets: asposepdfjsint:01-01-01 at (latest patch)
pega-enginecode:07-10-23 at (latest patch)
cyberarkjsint:01-01-01 at (latest patch)
asposejsint:01-01-01 at (latest patch)
netcooljsint:01-01-01 at (latest patch)
asposebarcodejsint:01-01-01 at (latest patch)
customer:06-01-01 at (latest patch)
(!) Ignored JNDI Options
=============== End Bootstrap Configuration ===============
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: \PegaBIX-2017-Oct-23.log (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.pega.apache.log4j.FileAppender.setFile(FileAppender.java:298)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.setFile(DailySizeRollingFileAppenderPega.java:106)
at com.pega.pegarules.priv.util.AbstractFileAppenderPega.activateOptions(AbstractFileAppenderPega.java:177)
at com.pega.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:262)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:467)
at com.pega.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:387)
at com.pega.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:920)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:796)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:723)
at com.pega.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:507)
at com.pega.apache.log4j.LogManager.initializeConfig(LogManager.java:163)
at com.pega.pegarules.priv.LogHelper._initLogging_privact(LogHelper.java:695)
at com.pega.pegarules.priv.LogHelper.init(LogHelper.java:679)
at com.pega.pegarules.priv.LogHelper.<init>(LogHelper.java:305)
at com.pega.pegarules.data.internal.access.ExtractImpl.<clinit>(ExtractImpl.java:396)
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(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: \PegaHAZELCAST-2017-Oct-23.log (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.pega.apache.log4j.FileAppender.setFile(FileAppender.java:298)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.setFile(DailySizeRollingFileAppenderPega.java:106)
at com.pega.pegarules.priv.util.AbstractFileAppenderPega.activateOptions(AbstractFileAppenderPega.java:177)
at com.pega.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:262)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:467)
at com.pega.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:387)
at com.pega.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:920)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:796)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:723)
at com.pega.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:507)
at com.pega.apache.log4j.LogManager.initializeConfig(LogManager.java:163)
at com.pega.pegarules.priv.LogHelper._initLogging_privact(LogHelper.java:695)
at com.pega.pegarules.priv.LogHelper.init(LogHelper.java:679)
at com.pega.pegarules.priv.LogHelper.<init>(LogHelper.java:305)
at com.pega.pegarules.data.internal.access.ExtractImpl.<clinit>(ExtractImpl.java:396)
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(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: \PegaRULES-2017-Oct-23.log (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.pega.apache.log4j.FileAppender.setFile(FileAppender.java:298)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.setFile(DailySizeRollingFileAppenderPega.java:106)
at com.pega.pegarules.priv.util.AbstractFileAppenderPega.activateOptions(AbstractFileAppenderPega.java:177)
at com.pega.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:262)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:253)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:467)
at com.pega.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:436)
at com.pega.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:922)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:796)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:723)
at com.pega.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:507)
at com.pega.apache.log4j.LogManager.initializeConfig(LogManager.java:163)
at com.pega.pegarules.priv.LogHelper._initLogging_privact(LogHelper.java:695)
at com.pega.pegarules.priv.LogHelper.init(LogHelper.java:679)
at com.pega.pegarules.priv.LogHelper.<init>(LogHelper.java:305)
at com.pega.pegarules.data.internal.access.ExtractImpl.<clinit>(ExtractImpl.java:396)
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(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: \PegaRULES-ALERT-2017-Oct-23.log (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.pega.apache.log4j.FileAppender.setFile(FileAppender.java:298)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.setFile(DailySizeRollingFileAppenderPega.java:106)
at com.pega.pegarules.priv.util.AbstractFileAppenderPega.activateOptions(AbstractFileAppenderPega.java:177)
at com.pega.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:262)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:253)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:253)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:467)
at com.pega.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:436)
at com.pega.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:922)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:796)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:723)
at com.pega.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:507)
at com.pega.apache.log4j.LogManager.initializeConfig(LogManager.java:163)
at com.pega.pegarules.priv.LogHelper._initLogging_privact(LogHelper.java:695)
at com.pega.pegarules.priv.LogHelper.init(LogHelper.java:679)
at com.pega.pegarules.priv.LogHelper.<init>(LogHelper.java:305)
at com.pega.pegarules.data.internal.access.ExtractImpl.<clinit>(ExtractImpl.java:396)
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(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: \PegaRULES-ALERTSECURITY-2017-Oct-23.log (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.pega.apache.log4j.FileAppender.setFile(FileAppender.java:298)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.setFile(DailySizeRollingFileAppenderPega.java:106)
at com.pega.pegarules.priv.util.AbstractFileAppenderPega.activateOptions(AbstractFileAppenderPega.java:177)
at com.pega.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:262)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:253)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:253)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:467)
at com.pega.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:436)
at com.pega.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:922)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:796)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:723)
at com.pega.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:507)
at com.pega.apache.log4j.LogManager.initializeConfig(LogManager.java:163)
at com.pega.pegarules.priv.LogHelper._initLogging_privact(LogHelper.java:695)
at com.pega.pegarules.priv.LogHelper.init(LogHelper.java:679)
at com.pega.pegarules.priv.LogHelper.<init>(LogHelper.java:305)
at com.pega.pegarules.data.internal.access.ExtractImpl.<clinit>(ExtractImpl.java:396)
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(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Oct 23, 2017 9:22:30 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find java:comp/env/prconfig/ in the local JNDI context, skipping prconfig setting lookup
Oct 23, 2017 9:22:30 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
19830421: Could not find prconfig in the local JNDI context, skipping prconfig setting lookup
Unable to locate KeyringImpl keyring after trying:
<properties>
PTA91828-pegarules.keyring
PTI-21127-pegarules.keyring
pegarules.keyring
PRPC default rounding mode set to HALF_EVEN


Pegasystems Inc.
US
That is just an information statement about keyring saying that the engine looked in the various locations and couldn't find it so it will expect that the database credentials will be in the config files. That is not causing an issue.
You do have issues because the prlogging.xml file that you are using has not been updated to have a valid path to write the log files.
For each of the appenders like this fix the @{web.tmpdir} entry to be an actual valid location.
<param name="FileNamePattern" value="'@{web.tmpdir}/PegaRULES-'yyyy-MMM-dd'.log'"/>


Prime Inc
US
I've edited the prlogging.xml file with proper file location and tried to run. Looks like command is getting into pega application. I can see error status on execution history tab of extract rule says "Could not process:PRRuntimeException".
In the prlogging.xml file i've edited like below, but still same error access denied. I tried with using my computer local folders path but same error. Am wondering the logs are stopping the process or something else?


Pegasystems Inc.
US
="'@{/nas/wasmft/dev/waccr1xd/common/out}/ALERT-SECURITY-'2017-10-23'.log'"/>
You have extra characters in the path above. The @{web.tmpdir} syntax is for reading a variable named web.tmpdir. You need to remove all of that and just replace the value with the actual path. Leave the date pattern alone so that the current date will be appended to your filename.
You need to do something like this for each of the FileNamePattern values:
<param name="FileNamePattern" value="'/nas/wasmft/dev/waccr1xd/common/out/PegaRULES-'yyyy-MMM-dd'.log'"/>


Prime Inc
US
Removed the syntax and now it looks like below. I tried to run after the change but still same error(access is denied). I tried with different locations like network drives and my computer folders (C:\BIX). One more thing is command is getting to pega environment and finding the correct extract rule to execute and i can see the error on execution history tab of extract rule says "Could not Process: PRRuntimeException" .
Removed the syntax and now it looks like below. I tried to run after the change but still same error(access is denied). I tried with different locations like network drives and my computer folders (C:\BIX). One more thing is command is getting to pega environment and finding the correct extract rule to execute and i can see the error on execution history tab of extract rule says "Could not Process: PRRuntimeException" .


Pegasystems Inc.
US
Are you running this from a Windows or Unix machine? Original command issues with classpath look like you were running on Windows but then the path you specified in the FileNamePattern was unix.
Assuming the directories actually exist here is a unix version that works fine for me.
<param name="FileNamePattern" value="'/opt/apps/BIX/7.1.7/PegaRULES-'yyyy-MMM-dd'.log'"/>
You can also try just removing the path entirely so it writes to the current directory like this:
<param name="FileNamePattern" value="'PegaRULES-'yyyy-MMM-dd'.log'"/>
It is hard to provide input on the clustering error message without context. If we can get the logging issue resolved we can get some logs and see where it is actually failing now.


Prime Inc
US
Running on windows machine. This time i removed the entire path and just looks like below and run the command but still same error (Access is Denied) appearing.
Also on extract rule form i can see error status "Could Not Process : PRRuntimeException"
Running on windows machine. This time i removed the entire path and just looks like below and run the command but still same error (Access is Denied) appearing.
Also on extract rule form i can see error status "Could Not Process : PRRuntimeException"
java.io.FileNotFoundException: \PegaHAZELCAST-2017-Oct-24.log (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.pega.apache.log4j.FileAppender.setFile(FileAppender.java:298)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.setFile(DailySizeRollingFileAppenderPega.java:106)
at com.pega.pegarules.priv.util.AbstractFileAppenderPega.activateOptions(AbstractFileAppenderPega.java:177)
at com.pega.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:262)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:467)
at com.pega.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:387)
at com.pega.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:920)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:796)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:723)
at com.pega.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:507)
at com.pega.apache.log4j.LogManager.initializeConfig(LogManager.java:163)
at com.pega.pegarules.priv.LogHelper._initLogging_privact(LogHelper.java:695)
at com.pega.pegarules.priv.LogHelper.init(LogHelper.java:679)
at com.pega.pegarules.priv.LogHelper.<init>(LogHelper.java:305)
at com.pega.pegarules.data.internal.access.ExtractImpl.<clinit>(ExtractImpl.java:396)
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(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)


Pegasystems Inc.
US
In your C:\BIX directory make a directory called logs and then try with this entry. Make sure that you update the entry for each of the file appenders to write to the logs directory.
<param name="FileNamePattern" value="'logs/PegaRULES-'yyyy-MMM-dd'.log'"/>


Prime Inc
US
Edited the appenders like below and run the command still same error (Access is Denied.) . I did created a folder name logs like (C:\BIX\logs)
java.io.FileNotFoundException: \PegaHAZELCAST-2017-Oct-24.log (Access is denied)


Pegasystems Inc.
US
Are you sure that you are using the right prlogging.xml file? This error is that it is still looking for the file in \ and not in the logs\ directory.
java.io.FileNotFoundException: \PegaHAZELCAST-2017-Oct-24.log (Access is denied)
In looking at your java command it doesn't look like you are actually specifying the location of the prlogging.xml file. Try adding this entry to your java command:
-Dpegarules.logging.configuration="config/prlogging.xml"


Prime Inc
US
Yes i don't have this param in my command -Dpegarules.logging.configuration="config/prlogging.xml" . Now i added in my command and looks like below. I run after adding it says below errors
java -Xms512M -Xmx768m -cp "C:\BIX\lib\prbootstrap.jar;C:\BIX\lib\prdbcp.jar;C:\BIX\lib\jsr94-1.0.jar;C:\BIX\lib\db2jcc- Proprietary information hidden.jar;C:\BIX\lib\prbootstrap-api.jar;%CLASSPATH%" -Duser.dir="C:\BIX" -Dcom.pega.pegarules.bootstrap.properties.url=file:\C:\BIX\config\prbootstrap.properties -Dpegarules.config=config/prconfig.xml -Dpegarules.logging.configuration=config/prlogging.xml -Dcom.pega.pegarules.bootstrap.ignorejndi=true com.pega.pegarules.pub.PegaRULES com.pega.pegarules.data.internal.access.ExtractImpl -a <> -p <> -i <Actual Value>
Error: Could not create an appender.
Error: Could not parse url with stream [file:C:\BIX\config\prlogging.xml]


Pegasystems Inc.
US
Is the prlogging.xml file actually in the config directory and readable? It seems like there is an error in it which may be from all of the attempts to edit it.
In the AdditionalProducts/BIX/config directory on the media is a prlogging.xml file. Could you go get the OOB one and then just make the changes to the filenamepattern.


Prime Inc
US
I deleted prlogging.xml file which i have in my local directory and resaved it from media directory and edited all filenamepattern. Looks like it passed and i don't see the error anymore. The only error right now i have is on the extract rule form on Execution History tab i can see the status Error: Could not Process PRRuntimeException and the complete % is 0%. I did checked the db table PR_EXTRACT_TIME there is no update on the pyLastUpdateDateTime column.


Pegasystems Inc.
US
Please post the PegaRULES and Pega-BIX log file from when you tried this. They should be in the logs directory.


Prime Inc
US
Attached both logs. I saw a message on logs that the system is unable to extract the file for the given directory on extract. But when am running extract rule manually from designer studio it generates file successfully to given path.
Accepted Solution


Pegasystems Inc.
US
2017-10-25 08:09:07,349 [ PTI-21127] [ ] [ ] ( internal.access.ExtractImpl) ERROR - Path: /nas/wasmft/dev/waccr1xd/common/out mentioned in the output direcotry is invalid
2017-10-25 08:09:07,507 [ PTI-21127] [ ] [ ] ( internal.access.ExtractImpl) ERROR - Unable to process <Masked Class Name>: PRRuntimeException
When you run from designer studio you are running on the app server node which looks like it is unix and the /nas/wasmft/dev/waccr1xd/common/out directory is valid on that node. When you are running from the command line if you were running from a unix machine you could make the same directory and then the extract would work. Since you are running on Windows you need to specify a different location than is in the extract rule to put the files. There is a -P option to do that.
Note: Use the -P command-line option to override the output directories specified on this tab, instead directing all files to a specified location.
2017-10-25 08:09:07,349 [ PTI-21127] [ ] [ ] ( internal.access.ExtractImpl) ERROR - Path: /nas/wasmft/dev/waccr1xd/common/out mentioned in the output direcotry is invalid
2017-10-25 08:09:07,507 [ PTI-21127] [ ] [ ] ( internal.access.ExtractImpl) ERROR - Unable to process <Masked Class Name>: PRRuntimeException
When you run from designer studio you are running on the app server node which looks like it is unix and the /nas/wasmft/dev/waccr1xd/common/out directory is valid on that node. When you are running from the command line if you were running from a unix machine you could make the same directory and then the extract would work. Since you are running on Windows you need to specify a different location than is in the extract rule to put the files. There is a -P option to do that.
Note: Use the -P command-line option to override the output directories specified on this tab, instead directing all files to a specified location.
Make sure the directory exists and then on your command line add something like -P C:\BIX\Output


Prime Inc
US
Yeah, Now i added param -P and it worked . Log files and Extracted files are replacing the existing files. If i run multiple times am expecting one file for each run. Is there any way to do?


Legato Health Technologies LLP
IN
HI,
We are getting below error while password encryption.
C:\62SP1\scripts>runPega.bat --driver=C:\P2P\Tomcat\lib\ojdbc6.jar --prweb=C:\P2P\Tomcat\webapps\prweb --propfile=C:\P2P\Tomcat\webapps\prweb\WEB-INF\classes
\prbootstrap.properties com.pega.pegarules.pub.PassGen password
/opt/applications/prpc7/Pega72/UAT/scripts/runPega.sh
/opt/oraClient/ Proprietary information hidden-32/jdbc/lib/ojdbc6.jar
/opt/WebSphere/8.0/8.0_Runtime/profiles/managed/temp//Pega72_c1/72_prweb_war
/opt/applications/prpc7/Pega72/UAT/scripts/temp/load/WEB-INF/classes/prbootstrap.properties
password
sh runPega.sh --driver /opt/oraClient/ Proprietary information hidden-32/jdbc/lib/ojdbc6.jar --prweb /opt/WebSphere/8.0/8.0_Runtime/profiles/managed/temp//Pega72_c1/72_prweb_war
--propfile /opt/applications/prpc7/Pega72/UAT/scripts/temp/load/WEB-INF/classes/prbootstrap.properties com.pega.pegarules.pub.PassGen password
-> /opt/applications/prpc7/Pega72/UAT/scripts> opt/applications/prpc7/Pega72/UAT/scripts/temp/load/WEB-INF/classes/prbootstrap.properties
HI,
We are getting below error while password encryption.
C:\62SP1\scripts>runPega.bat --driver=C:\P2P\Tomcat\lib\ojdbc6.jar --prweb=C:\P2P\Tomcat\webapps\prweb --propfile=C:\P2P\Tomcat\webapps\prweb\WEB-INF\classes
\prbootstrap.properties com.pega.pegarules.pub.PassGen password
/opt/applications/prpc7/Pega72/UAT/scripts/runPega.sh
/opt/oraClient/ Proprietary information hidden-32/jdbc/lib/ojdbc6.jar
/opt/WebSphere/8.0/8.0_Runtime/profiles/managed/temp//Pega72_c1/72_prweb_war
/opt/applications/prpc7/Pega72/UAT/scripts/temp/load/WEB-INF/classes/prbootstrap.properties
password
sh runPega.sh --driver /opt/oraClient/ Proprietary information hidden-32/jdbc/lib/ojdbc6.jar --prweb /opt/WebSphere/8.0/8.0_Runtime/profiles/managed/temp//Pega72_c1/72_prweb_war
--propfile /opt/applications/prpc7/Pega72/UAT/scripts/temp/load/WEB-INF/classes/prbootstrap.properties com.pega.pegarules.pub.PassGen password
-> /opt/applications/prpc7/Pega72/UAT/scripts> opt/applications/prpc7/Pega72/UAT/scripts/temp/load/WEB-INF/classes/prbootstrap.properties
com.pega.pegarules.pub.PassGen password <
Exception in thread "main" java.lang.NoClassDefFoundError: com.pega.pegarules.pub.PegaRULES
Caused by: java.lang.ClassNotFoundException: com.pega.pegarules.pub.PegaRULES
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
Could not find the main class: com.pega.pegarules.pub.PegaRULES. Program will exit.
-> /opt/applications/prpc7/Pega72/UAT/scripts> sh runPega.sh --driver /opt/oraClient/ Proprietary information hidden-32/jdbc/lib/ojdbc6.jar \
> --prweb /opt/WebSphere/8.0/8.0_Runtime/profiles/managed/temp//Pega72_c1/72_prweb_war \
> --propfile /opt/applications/prpc7/Pega72/UAT/scripts/temp/load/WEB-INF/classes/prbootstrap.properties \
> com.pega.pegarules.pub.PassGen password
Exception in thread "main" java.lang.NoClassDefFoundError: com.pega.pegarules.pub.PegaRULES
Caused by: java.lang.ClassNotFoundException: com.pega.pegarules.pub.PegaRULES
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
Could not find the main class: com.pega.pegarules.pub.PegaRULES. Program will exit.
-> /opt/applications/prpc7/Pega72/UAT/scripts>
Thanks,
Bhushan