Question
HealthFirst
US
Last activity: 27 Mar 2018 15:56 EDT
BIX Extract with command line is giving Rule not found exception
Guys,
I am trying to run BIX extract from command line & faing below error.
( internal.access.ExtractImpl) ERROR - The Extract rule <My rule name> does not exist. Please check the classname and the extract rule name
I have created Rule & was able to run succesfully from Designer studio, but when i am trying to run same rule with Command line its giving me error.
Note: I have added Bix rule set to my application
Please let me know if you have any solutions
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Can you provide all the parameters and values in use when running the extract?
Are you passing in a username and password for an operator that has access to the rule?
HealthFirst
US
Nick,
Thanks for your response, yes am paasing the user name & password, Please find below script that am running.
java -Xms512m -Xmx768m -cp .;lib\prbootstrap-api.jar;lib\prbootstrap.jar;lib\jsr94-1.0.jar;lib\prdbcp.jar;lib\sqljdbc4.jar; -Dcom.pega.pegarules.bootstrap.properties.url=\config\prbootstrap.properties -Dpegarules.config=\config\prconfig.xml -Dpegarules.logging.configuration=\config\prlogging.xml -Dcom.pega.pegarules.bootstrap.ignorejndi=true -Dpega.tmpdir=. com.pega.pegarules.pub.PegaRULES com.pega.pegarules.data.internal.access.ExtractImpl -a <User id> -p <Password> -P S:\BIX\ -i Class name!Rule name
Do we need to make any changes from DB end to make this run ?
Updated: 5 Mar 2018 11:56 EST
Pegasystems Inc.
US
I don't think this is an issue on the DB end (assuming you are connecting to the correct Pega instance).
Does the operator you're passing have access to BIX and the Extract rule?
What version of Pega is in use?
Can you attach the complete PegaRULES and PegaBIX log?
HealthFirst
US
we are using Pega 7.3 version, Operator has access to extract rule & class, what do you mean by access to BIX ?
Please find attached logs
HealthFirst
US
Nick,
I just wanted to add few more thing here.We are running BIX extracts for two different applications on the same server with two different Bat files & same configurations as DB is same for both apps.Existing application BIX exctract is running fine with Command line but facing this Extract rule does not found error for new report.
Pegasystems Inc.
US
I do not see the logs attached anywhere.
HealthFirst
US
Nick thanks for helping me in troubleshooting this issue, We are able to generate the files successfully through command line after changing the approach.
we have changed the script from com.pega.pegarules.data.internal.access.ExtractImpl -a <User id> -p <Password> -P S:\BIX\ -i Class name!Rule name to com.pega.pegarules.data.internal.access.ExtractImpl -a <User id> -p <Password> -P S:\BIX\ -I MYBIX.xml & placed the XML file i created through designer studio in same path.
HealthFirst
US
Nick, Do have any suggetions with this regards , i am still facing the same issue.