Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
NASCO
US
Last activity: 23 Dec 2016 0:47 EST
Running BIX from command line-Not able to invoke rule
Hi
I am trying to run BIX with Command line by providing user name and password as parameters. In the process not getting any error but also not able to invoke the rule. Environment initialization is been succesful. placing the log below.
INFO - PegaRULES engine successfully started. TimeZone: America/New_York AESPerfStatMode: PUSH Server: naswaspegadev01 System: XXXXXXXXCXX Description: Pegaserver XXXXXXXXCXX 2016-12-07 15:41:42.071 GMT URL: [unable to determine]
2016-12-07 17:10:00,173 GMT*8*PEGA0008*0*0*52050c75a62a1d36a851382512fa5c34*NA*NA*BEC58AEB21BF5FC9FE2E23C62DAF13AA6*none*PegaSample*null*b0f61728d0c0235b9979c284b05ec554*N*0*BEC58AEB21BF5FC9FE2E23C62DAF13AA6*15*pegaserver*STANDARD*com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup*NA*(License Daemon)********NA*NA*NA*NA*NA*NA*NA*PegaRULES engine successfully started. TimeZone: America/New_York AESPerfStatMode: PUSH Server: pegaserver System: XXXXXXXXCXX Description: PegaServer XXXXXXXXCXX 2016-12-07 15:41:42.071 GMT URL: [unable to determine]*
2016-12-07 12:10:00,174 [ Pegaserver] [ STANDARD] [ ] [ ] ( internal.mgmt.EngineImpl) INFO - Embedded Environment initialization is complete.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Areteans
IN
Hi Aravind,
Are you using AES in your application ?
As per my understanding from the log provided we could see URL is "unable to determine", when this node is monitored by AES.
If my assumption is correct, It seems the connection URL in AES is incorrect.Can you try updating it manually and check.
Thanks,
Bala
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems
IN
Please provide the full PegaRULES and BIX log files to understand this issue better.
Also, please state the BIX and Pega platform version.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
NASCO
US
Hi
We are using Pega 7.1.8 and BIX-07-10-18
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems
IN
I looked into the log files and noticed the following in PegaRULES log file
Base database information:
Database name: pegacfstg
Database name: pegadata
Database name: pegarulesUnable to obtain DataSource for pegacfmstr
Unable to obtain DataSource for pegacfstg
Unable to obtain DataSource for pegabix
Unable to obtain DataSource for sample
Unable to obtain DataSource for nsupport
Unable to obtain DataSource for reportingdb
The database pegacfstg is only defined in the bootstrap configuration; create a Data-Admin-DB-Name definition
And in the PegaBIX log file I noticed
Successfully Connected to DB: PegaRULESReports
For the database names listed, does each one of them have a Data-Admin-DB-Name instance?
Does the BIX prconfig.xml file have connection details for all of these so that the command line can connect correctly?
Does the user "CFCSDBIXUser" have access to the extract rule "CF-CS-CSD-DATA-CONTACTTYPE!EXTRACTCONTACTTYPEDATA"?
Can you save the extract rule "CF-CS-CSD-DATA-CONTACTTYPE!EXTRACTCONTACTTYPEDATA" as an XML file and use the -I (capital i) option to execute it?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
NASCO
US
Hi
All the database names listed have Corresponding DB-Name instance.
Config file has all the connections good and i was able to run the rule with out Passing User Name and Password parameters and rule ran successfully.
I logged into the system using same user credentials and run the rule from the application portal successfully.
When passing user name and password parameters i am getting following error now.
ERROR - Cannot save Data-Admin-Operator-ID instance to database.com.pega.pegarules.pub.runtime.LibraryFunctionNotFoundException: Failed to find instance 'LengthOfPageList--(ClipboardProperty)' of type Rule-Utility-Function defined in 'pega_rules_utilities'
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems
IN
ERROR - Cannot save Data-Admin-Operator-ID instance to database.com.pega.pegarules.pub.runtime.LibraryFunctionNotFoundException: Failed to find instance 'LengthOfPageList--(ClipboardProperty)' of type Rule-Utility-Function defined in 'pega_rules_utilities'
Can you login and regenerate the library and compile the function again?
Also, the next time when you run from command line, can you delete the data in the temp directory (set for command line BIX) and rerun?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
NASCO
US
Hi
thanks for your suggestion, i have recompiled the function library and cleared the temp directory, now i have cleared of the error but still i am not being able to invoke the rule. i tried exposing the access group to Batch requestor but it did not help either. It doesnt throw any error in the log either.Please suggest.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems
IN
I suggest you raise an SR with customer support with the relevant details (logs, prconfig, prlogging and system information) along with the highest ruleset version of Pega-BIX ruleset.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/e68f0e72-3351-415a-8922-185e73fa77f4.jpg?itok=lcGeM-2x)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/e68f0e72-3351-415a-8922-185e73fa77f4.jpg?itok=lcGeM-2x)
Virtusa IT Consulting
AE
You can check the access group of the "CFCSDBIXUser" operator to check whether the operator has access to the extract rule or not or You can check the batch requestor type instance of Data-Admin-Requestor and can expose the current application's access group and rerun the extract.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/acf9b3f6-41e7-4ef2-9e55-8da39714b54f.jpg?itok=JYQYUbWS)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/acf9b3f6-41e7-4ef2-9e55-8da39714b54f.jpg?itok=JYQYUbWS)
Pegasystems Inc.
IN
Hi Aravind,
Please let us know the SR number once you create it. That way we can track it and follow-up this discussion with the resolution.
Regards,
Lochan | Community Moderator | Pegasystems Inc.