Fact not found in rule session

Hi All,
Iam trying one sample on inference in Oracle Business Rules. lam receiving an error message -
Error while executing a rule session unit of work, fact not found.
The rule session InferenceSample:750003 failed because the fact com.xyz.brwithbpel.Customer could not be found or doesn't exist.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
This error comes only when I test the business rules for inference condition. If I run the rules by removing the inferencing condition, the rule executes successfully.
First thing that comes to my mind is that inference is causing an infinite loop. If this was the case it should show a message something like "Out of memory". But the error messages are telling something different.
I am not able to find any clue. Any help will really do great for me.
Thanks.
.

Hello Guys
Did you get a way to retract the fact ? I am facing similar problem.
Say, I have two rules and for given fact both rules are getting satisfied. But I want to come out from the rule engine when actions for Rule1 is done.
1) Rule1 (Priority 99)
If <...>
Then <...>
retract <fact>
2) Rule2 (Priority 89)
If <...>
Then <...>
But I am getting following error:
Error while executing a rule session unit of work, fact not found.
The rule session DiscountRules:490053 failed because the fact order.SalesOrder could not be found or doesnt exist.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
But if I remove the retract <fact> from Rule1 it works fine but Rule2 is overriding the results (actions) in case both rules satisfy the conditions.
thanks
/Mishit
Edited by: Mishit P on Aug 12, 2010 8:12 AM

Similar Messages

  • Fact Not Found Business Rules Error

    Hi
    I am encountering the following fault while executing one of the condition of the rule. The other condition works fine. Can anyone please tell me the reason for this error, I have asserted the fact with values and also am not getting any errors in the Business Rule Validation Messages, so i am not sure why I am encountering the following error.
    <bpelFault><faultType>0</faultType><operationErroredFault xmlns="http://xmlns.oracle.com/CustOraBR4/CustOraBR4_DecisionService"><part name="payload"><errorInfo xmlns="http://xmlns.oracle.com/CustOraBR4/CustOraBR4_DecisionService"><errorMessage>Fact not found in the rule engine working memory, rule session execution failed. The rule session 360002 failed because an instance of the fact com.oracle.xmlns.bpm.bpmobject.data.bruleoutput.BRuleOutputType could not be found in the working memory of the rule session. This is most likely a rule modeling error. The decision service interaction expects the fact instance to exist in the working memory of the rule session. Check the rule actions in rule designer and make sure that a fact of the expected type is being asserted. If the error persists, contact Oracle Support Services. 360002</errorMessage></errorInfo></part></operationErroredFault></bpelFault>
    Regards
    Venkat

    Hi,
    Just checked my old backup file and you are right. It does not have the business rules. One reason I can think of is they are not part of UJFS structure and in fact uses a table driven. All the rules can found with the tables UJP*.
    You can print them into html and copy into an excel. From there I think you have to manually copy into the target system. If you are using transport route, you do not have worry as the transports cover the table driven rules with the required config in the UJT_TRANS_CHG table.
    Thanks,
    Sreeni

  • Fact Not Found in Rule engine working memory

    I am using 11g, I have built a Business Rule, using RL facts, XML facts, Bucketsets and multiple Rulesets which internally has decision table and If-then rules. After deploying the same, Business rules runs successfully for some conditions and faults for some condition. The fault error for those failed conditions displays the following error:
    Fact not found in the rule engine working memory, rule session execution failed. The rule session bpel:<somenumber> failed because an instance of the fact <factname> could not be found in the working memory of the rule session. This is most likely a rule modeling error. The decision service interaction expects the fact instance to exist in the working memory of the rule session. Check the rule actions in rule designer and make sure that a fact of the expected type is being asserted. Contact oracle support if error is not fixable.
    It is wierd becuase if it is a fault with respect to working memory then I would imagine it has to fail for all the conditions as all the conditions assert the same Object. Has anyone faced the same issue or am I doing something wrong here.
    Venkat

    Ervan
    I deleted the RL facts that I had created and asserted the result to the Business Object, this seems to have taken care of this issue, but I am still not sure what was wrong in the way I build the rules using RL.Hope this helps.
    Venkat

  • Fact not found in the rule engine working memory,rule session executionfail

    Hi
    I'm getting this error on my BRE, the instance Id shows 'faulted' but other consectuctive web services are 'completed' successfully.
    please advise how to fix it.
    Error Message: {http://xmlns.oracle.com/zz_ValidationRules/zz_ValidationRules_DecisionService_1}operationErroredFault
    Fault ID rules:417
    Fault Time Aug 25, 2011 4:59:39 PM
    Non Recoverable Business Fault :
    Fact not found in the rule engine working memory, rule session execution failed. The rule session 130287 failed because an instance of the fact Response could not be found in the working memory of the rule session. This is most likely a rule modeling error. The decision service interaction expects the fact instance to exist in the working memory of the rule session. Check the rule actions in rule designer and make sure that a fact of the expected type is being asserted. If the error persists, contact Oracle Support Services. 130287
    thanks,
    Umesh
    Edited by: user13664410 on Aug 25, 2011 2:19 PM

    When i had this issue i overcame it by opening the Rule Editor->Deleting all existing facts that are imported->Close JDeveloper -> Delete the contents of .rulesdesigner directory in your workspace -> Restart JDeveloper -> Reopen Rule designer and re import all facts.
    Also make sure that all the schemas that are used for Facts are valid ones.

  • Business Rule Error: Fact not found in the rule engine working memory, rule

    I am trying to create a simple decision table with an input(ValidateInput) and a output(ValidateOutput). The input and output schemas have unbounded and nested elements(Parent-child relationship). When I create a condition(specific condition on input) and in the action I am asserting the output object. But when I run using EM it throws the following exception. It would be helpful if somebody could tell me what could be the problem. Please note when I set the output as ValidateInput object then it runs fine. Also it executes fine with ValidateOutput if it doesn't have unbounded(List) element inside it.
    Error Message: {http://xmlns.oracle.com/OracleRules10/OracleRules10_DecisionService_1}operationErroredFault
    Fault ID     rules:211
    Fault Time     Jun 18, 2011 10:45:13 AM
    Non Recoverable Business Fault :
    Fact not found in the rule engine working memory, rule session execution failed. The rule session 270013 failed because an instance of the fact com.example.customer.ValidateResponse could not be found in the working memory of the rule session. This is most likely a rule modeling error. The decision service interaction expects the fact instance to exist in the working memory of the rule session. Check the rule actions in rule designer and make sure that a fact of the expected type is being asserted. If the error persists, contact Oracle Support Services. 270013
    Edited by: reachsky on 18 Jun, 2011 9:57 AM

    It's working now..I had to use Global variable to declare child element of the output variable and use the same during action.

  • I took a back up from UFBR but....not found Business Rules

    Dear All,
    I took a back up using UJBR T.code and I have checked the back up whehter its properly come or not ..but I did not found BUsiness rulus when checked wtih T.code UJFS. But business rules not found.
    pls advise me wher can i found back up of business rules.
    Regards,
    guru

    Hi,
    Just checked my old backup file and you are right. It does not have the business rules. One reason I can think of is they are not part of UJFS structure and in fact uses a table driven. All the rules can found with the tables UJP*.
    You can print them into html and copy into an excel. From there I think you have to manually copy into the target system. If you are using transport route, you do not have worry as the transports cover the table driven rules with the required config in the UJT_TRANS_CHG table.
    Thanks,
    Sreeni

  • Agent Not Found for rule 168 in Travel Management WF WS20000040

    Hi,
    I got a strange error occurring that I can not quite figure out. I am using a copy of a standard delivered SAP Work flow for Trip Approval (WS20000040) that is identical to the SAP delivered workflow except without the expense department tasks (we only need manager approval). I also updated the agent assignment for tasks TS20000131, TS20000139, and TS20000189 to be General Tasks. When an employee creates a trip, the workflow is started properly and goes to the first workflow step which is user decision step 416. It uses rule 168 to determine the manager of the workflow initiator. This works properly. The manager goes to their inbox and executes this workflow step. The trip changed and trip approved buttons work fine, but if the manager chooses the reject button, the form is closed and the workflow stops with an error. The next step down the reject path is an activity step 476 - enter and send message. This runs task TS20000139. The agent assignment also uses rule 168 to determine the manager of the workflow initiator. The same agent should be choosen for both this step and the previous step since the workflow initiator is the same for both and the same rule is being used. The advance with dialog check box is checked in both steps. Both step refer to tasks that are both marked as synchronus object methods and object method with dialog.
    For testing purposes, I changed the agent determination in both workflow steps to be the workflow initiator and ran it. The workflow stopped at the approve trip facts step as expected and when I choose reject trip, I was taken immediately to the create mail task that task TS20000139 runs as it should. I tried creating a trip as the employee and the manager and it work properly in both occasions regardless of which user the trip was created under when just workflow initiator is used for agent determination.
    I ran SWI2_DIAG to look at the errors that occurred when it stopped in error when I used rule 168. According to the error message, the approve trip fact step completed successfully, but the enter and send message step failed with no agent found. Following is the error message:
    Workflow WS90000048 no. 000000277688 activity 0000000476 role 'AC00000168': No agent found
    What I don't understand is that the agent determination for the approve trip facts step which works perfectly uses the same agent determination as the enter and send message step which is terminating with an error. Also when I change both steps to use workflow initiator as the agent, then they both work perfectly.
    Help, Please
    Gregg
    Edited by: Gregg Hinkle on Feb 12, 2008 4:48 PM

    Thanks Martin,
    I used your suggestion and passed the actual agent from the prior task to the container and then used this value as an expression to determine the agent for the step that was causing me pain. Now the workflow step is continuing properly and automatically bringing up the create message step as expected.
    Arghadip,
    I tried your idea about creating a copy of the standard delivered workflow and even set it as a general task and I got the same result as with the standard SAP (error with no agent found).
    Thanks again for everyone's assistance

  • Class not found JBoss rules

    servlet crashes at run time:
    06/09/27 16:44:52 CharScanner; panic: ClassNotFoundException: org.antlr.stringtemplate.language.ChunkToken
    06/09/27 16:44:52 Shutting down OC4J...
    I've checked and the class is included in the project libraries (In fact I got a little frustrated and included all the JBoss rules jars.
    anyhow I don't see why it can't find an included library

    Can you try and see if copying the jar files to the
    [jdev-root]\j2ee\home\lib directory helps?That didn't help unfortunately. I've been trying to understand how oc4j classloading works - were you assuming that:
    "The missing class is present, but the loader configured to use it is a child of the initiating loader." - (from the ..conatainers for j2ee developers guide)?
    I've also tried deploying to a .war file in JDeveloper and tested it with tomcat where it works fine. Deploying the same .war file thorugh the oc4j (launched in standalone mode) web interface results in the same problem - bringing down the oc4j server - as it does clicking 'run' in JDeveloper.
    Is there some code I can put in my servlet (it's an extremely simple web-app to test using drools with oc4j) to output what classloaders are active and where they are looking? I've never had to do this before either.

  • Lock held by a session not found in v$session

    See below a query I ran on v$locked_object:
    SQL> select xidusn, xidslot, xidsqn, object_id, session_id, process, locked_mode
      2  from v$locked_object where object_id = 27351;
        XIDUSN    XIDSLOT     XIDSQN  OBJECT_ID SESSION_ID PROCESS      LOCKED_MODE
             0          0          0      27351         91 1234                   3
            32          4     174461      27351        131                        3
             0          0          0      27351         22 1234                   3The session (sid 131) is locking the table (object id 27351) and blocking sessions 22 and 91. However, I cannot find sid 131 in v$session. I also get no result if I query for sid 131 in v$lock. There's a corresponding record in v$transaction with status='PREPARED'. How do I get rid of the lock or kill the session?

    Hi Chew,
    I think you need to refine your query.
    I have some notes here:
    http://www.dba-oracle.com/plsql/t_plsql_stats.htm
    The locked_objects.sql script uses the v$locked_object and dba_objects views to display all locked objects associated with each session along with the mode in which they are currently locked.
    locked_objects.sql
    SET LINESIZE 500
    SET PAGESIZE 1000
    SET VERIFY OFF
    COLUMN owner FORMAT A20
    COLUMN username FORMAT A20
    COLUMN object_owner FORMAT A20
    COLUMN object_name FORMAT A30
    COLUMN locked_mode FORMAT A15
    SELECT b.session_id AS sid,
    NVL(b.oracle_username, '(oracle)') AS username,
    a.owner AS object_owner,
    a.object_name,
    Decode(b.locked_mode, 0, 'None',
    1, 'Null (NULL)',
    2, 'Row-S (SS)',
    3, 'Row-X (SX)',
    4, 'Share (S)',
    5, 'S/Row-X (SSX)',
    6, 'Exclusive (X)',
    b.locked_mode) locked_mode,
    b.os_user_name
    FROM dba_objects a,
    v$locked_object b
    WHERE a.object_id = b.object_id
    ORDER BY 1, 2, 3, 4;
    SET PAGESIZE 14
    SET VERIFY ON
    Hope this helps. . . .
    Donald K. Burleson
    Oracle Press author

  • Trace file not found

    using linux 5.7 (32bit) and oracle 11g relase 2
    SQL> select name,value from v$diag_info;
    NAME
    VALUE
    Diag Enabled
    TRUE
    ADR Base
    /home/oracle/u01/app/oracle
    ADR Home
    /home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4
    NAME
    VALUE
    Diag Trace
    /home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/trace
    Diag Alert
    /home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/alert
    Diag Incident
    /home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/incident
    NAME
    VALUE
    Diag Cdump
    /home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/cdump
    Health Monitor
    /home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/hm
    Default Trace File
    /home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/trace/looking4_ora_4327
    .trc
    NAME
    VALUE
    Active Problem Count
    0
    Active Incident Count
    0
    11 rows selected.
    now when i check
    ls -al looking4_ora_43*
    -rwxrwxr-x 1 oracle oinstall 2960 Aug 22 09:59 looking4_ora_4300.trc
    -rwxrwxr-x 1 oracle oinstall 182 Aug 22 09:59 looking4_ora_4300.trm
    -rwxrwxr-x 1 oracle oinstall 2957 Aug 17 10:29 looking4_ora_4306.trc
    -rwxrwxr-x 1 oracle oinstall 180 Aug 17 10:29 looking4_ora_4306.trm
    -rw-r----- 1 oracle oinstall 2957 Aug 30 10:38 looking4_ora_4325.trc
    -rw-r----- 1 oracle oinstall 181 Aug 30 10:38 looking4_ora_4325.trm
    -rw-r----- 1 oracle oinstall 2956 Aug 24 15:56 looking4_ora_4380.trc
    -rw-r----- 1 oracle oinstall 181 Aug 24 15:56 looking4_ora_4380.trm
    -rwxrwxr-x 1 oracle oinstall 2942 Aug 14 10:18 looking4_ora_4394.trc
    -rwxrwxr-x 1 oracle oinstall 178 Aug 14 10:18 looking4_ora_4394.trm
    [oracle@unknown485b39d0b515 trace]$ pwd
    /home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/trace
    so where is
    looking4_ora_4327??
    thanks in advance

    There is no trace file at your /home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/trace/looking4_ora_4327, because your current user's session is not being under tracing. See example below :
    I logged in as scott user and below is the output :
    SQL> column value for a50;
    SQL> /
    NAME                                                             VALUE
    Diag Enabled                                                     TRUE
    ADR Base                                                         e:\app\serverroom
    ADR Home                                                         e:\app\serverroom\diag\rdbms\orcl\orcl
    Diag Trace                                                       e:\app\serverroom\diag\rdbms\orcl\orcl\trace
    Diag Alert                                                       e:\app\serverroom\diag\rdbms\orcl\orcl\alert
    Diag Incident                                                    e:\app\serverroom\diag\rdbms\orcl\orcl\incident
    Diag Cdump                                                       e:\app\serverroom\diag\rdbms\orcl\orcl\cdump
    Health Monitor                                                   e:\app\serverroom\diag\rdbms\orcl\orcl\hm
    Default Trace File                                               e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_
                                                                     ora_8056.trcIt means, if my session is being trace, then I have to check e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_ora_8056.trc file for this session right? Ok, what if I log out and re-connect :
    NAME                                                             VALUE
    Diag Enabled                                                     TRUE
    ADR Base                                                         e:\app\serverroom
    ADR Home                                                         e:\app\serverroom\diag\rdbms\orcl\orcl
    Diag Trace                                                       e:\app\serverroom\diag\rdbms\orcl\orcl\trace
    Diag Alert                                                       e:\app\serverroom\diag\rdbms\orcl\orcl\alert
    Diag Incident                                                    e:\app\serverroom\diag\rdbms\orcl\orcl\incident
    Diag Cdump                                                       e:\app\serverroom\diag\rdbms\orcl\orcl\cdump
    Health Monitor                                                   e:\app\serverroom\diag\rdbms\orcl\orcl\hm
    Default Trace File                                               e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_
                                                                     ora_8752.trcIt means, now I shall look into e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_ora_8752.trc for any tracing info; only if it is being trace see :
    SQL> host dir e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_ora_8752.trc;
    Volume in drive E is HCL_DISK3
    Volume Serial Number is A62A-F491
    Directory of e:\app\serverroom\diag\rdbms\orcl\orcl\trace
    File Not Found
    SQL> alter session set events '10046 trace name context forever,level 12';
    Session altered.
    SQL> host dir e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_ora_8752.trc;
    Volume in drive E is HCL_DISK3
    Volume Serial Number is A62A-F491
    Directory of e:\app\serverroom\diag\rdbms\orcl\orcl\trace
    30-08-2012  13:39                 0 orcl_ora_8752.trc
                   1 File(s)              0 bytes
                   0 Dir(s)  121,181,003,776 bytes free
    SQL> alter session set events '10046 trace name context off';
    Session altered.
    SQL> host dir e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_ora_8752.trc;
    Volume in drive E is HCL_DISK3
    Volume Serial Number is A62A-F491
    Directory of e:\app\serverroom\diag\rdbms\orcl\orcl\trace
    30-08-2012  13:39                 0 orcl_ora_8752.trc
                   1 File(s)              0 bytes
                   0 Dir(s)  121,181,003,776 bytes free
    SQL>So, in short, you will only get the trace file, if the current session is under tracing.
    Regards
    Girish Sharma

  • ORA-01882:timezone region not found while trying to add ADF-BC Fact in Rule

    Hi,
    I want to use the SOA component "Oracle Business Rules" in the ADF application.
    I created a ADF Application, created relevant VO's. I created a SOA project in the same workspace and tried to add a ADF-BC fact to the Business Rule component.
    I configured the -Duser.timezone="+05:30" option for java runtime.
    However I still get the timezone not found exception and am unable to add ADF-BC fact to the rule component.
    Here is the full stack trace.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5550)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5267)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1185)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6728)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:153)
         at oracle.rules.sdk2.datamodel.impt.AdfBcTransactionFactory.createTransaction(AdfBcTransactionFactory.java:50)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1899)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1875)
         at oracle.tip.tools.ide.rules.sdkmodel.SDKModel.createBCFacts(SDKModel.java:3155)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationPanel.handleImportViewDefinition(BCFactCreationPanel.java:222)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationDialog$2.run(BCFactCreationDialog.java:157)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:998)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1822)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1787)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:280)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:8007)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5544)
         ... 19 more
    ## Detail 0 ##
    java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:998)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1822)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1787)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:280)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:8007)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5544)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5267)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1185)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6728)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:153)
         at oracle.rules.sdk2.datamodel.impt.AdfBcTransactionFactory.createTransaction(AdfBcTransactionFactory.java:50)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1899)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1875)
         at oracle.tip.tools.ide.rules.sdkmodel.SDKModel.createBCFacts(SDKModel.java:3155)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationPanel.handleImportViewDefinition(BCFactCreationPanel.java:222)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationDialog$2.run(BCFactCreationDialog.java:157)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)

    Hi,
    ORA-01882: timezone region not found in pivot is it bug
    Its a database error, why do you think its a bug with the Pivot table. The same behavior can be observed with WebLogic Server and SQL Developer - so I am not quite sure how this can be pointed back to the pivot table in your opinion. Maybe this here will help you getting to the core of the problem: http://www.jvmhost.com/articles/java-and-timezones
    Frank
    Edited by: Frank Nimphius on Jun 1, 2012 8:01 AM

  • Duplicate Facts found : Business Rule Error

    Hi ,
    I am trying to invoke the bunisess rules in loop, that means it has call the business rules decision service several times,
    from BPEL, In BPEL it loops correctly and first time it gives proper results , when looping second time I am getting
    the following error, I am not getting proper clue anywhere for this, plz chck this and let me know the solution for this
    asap. Thank you very much in advance.
    **ERROR**
    /xmlns.oracle.com/CheckXXX_BPEL/DecisionService_CheckXXX_PL">Error while executing a rule session unit of work, duplicate facts found.
    The rule session CheckXXX_BPEL:270012 failed because duplicate fact objects of the fact po.rules.BRSXXXValidation exists, cant identify which one to take.
    Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
    </ns0:errorMessage>
    </ns0:errorInfo>
    </part></operationErroredFault>

    Hi
    Please note that you create rules using some facts . Those rules gets executed whenever it encounters those facts, intern they create more facts. These new facts generated as a result of executing the first rules, can be used in next rule and so on.... So, rules create facts, and those facts will willl fire new rules.
    The issue you have is due to having duplicate facts created and the rule not coded properly.
    You may refer : C.6 How Do I Correctly Use an RL Language Cross Product? in http://download.oracle.com/docs/cd/B31017_01/web.1013/b28965/faq.htm
    Hope this helps!
    Cheers
    Anirudh Pucha

  • 11g SOA Composite Rules Error - Rule session pool object does not exist

    Hi all,
    I'm hoping someone has experienced this and found a way through it. We're looking at exposing Oracle Rules DecisionFunctions via the automagically created web services in JDeveloper. We've tried several Rules examples, including the OrderApproval one available online, and are getting errors everytime we try and test the web service.
    Firstly we get this error:
    [2010-09-01T09:47:24.249+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ45P0FwI5yrDCiW1CV7Dc000AwY,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 04c3bc86-9452-4755-9bbf-51591f1c7fff] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002aae] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130022] <.> Error caching the Decision Services metadata.[[
    Error caching the decision services metadata for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1.
    Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
    Error caching the Decision Services metadata.
    Error caching the decision services metadata for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1.
    Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
         at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
         at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:362)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:221)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:609)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
         at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy248.request(Unknown Source)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
         at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
         at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at oracle.rules.sdk2.datamodel.DecisionFunction.getGlobalTypeIDs(DecisionFunction.java:860)
         at oracle.rules.sdk2.datamodel.DecisionFunction.validate(DecisionFunction.java:342)
         at oracle.rules.sdk2.dictionary.DictionaryComponentTable.validate(DictionaryComponentTable.java:221)
         at oracle.rules.sdk2.datamodel.DataModel.validate(DataModel.java:92)
         at oracle.rules.sdk2.dictionary.RuleDictionary.validate(RuleDictionary.java:1093)
         at oracle.rules.sdk2.dictionary.RuleDictionary.update(RuleDictionary.java:835)
         at oracle.rules.sdk2.datamodel.DataModel.generateFactClasses(DataModel.java:115)
         at oracle.rules.sdk2.dictionary.RuleDictionary.dataModelRL(RuleDictionary.java:1398)
         at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1141)
         ... 44 more
    And then we get the following error:
    [2010-09-01T09:47:24.390+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ45P0FwI5yrDCiW1CV7Dc000AwY,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 04c3bc86-9452-4755-9bbf-51591f1c7fff] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002aae] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130022] <.> [[
    oracle.fabric.common.BusinessFaultException
         at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
         at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:362)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:221)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:609)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
         at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy248.request(Unknown Source)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
         at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
         at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    And lastly this one:
    [2010-09-01T09:47:30.437+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ5iO0FwI5yrDCiW1CV7Dc000Awd,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 08f3eaa8-ce61-4ec9-a646-af821be06420] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002ab0] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130023] <.> Rule session pool object does not exist.[[
    The requested rule session pool object for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1 and key OracleRulesSDK$OracleRules1 does not exist.
    Check the underlying exception and correct the error. This is most likely due to a rules validation error. Validate the rule dictionary in Rule Designer and correct the validation error. If the error persists, contact Oracle Support Services.
    Rule session pool object does not exist.
    The requested rule session pool object for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1 and key OracleRulesSDK$OracleRules1 does not exist.
    Check the underlying exception and correct the error. This is most likely due to a rules validation error. Validate the rule dictionary in Rule Designer and correct the validation error. If the error persists, contact Oracle Support Services.
         at oracle.bpel.services.rules.rpi.oracle.RuleSessionPool.getSession(RuleSessionPool.java:528)
         at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.execute(OracleRuleSession.java:260)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:331)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:634)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
         at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy248.request(Unknown Source)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
         at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
         at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Has anyone had any luck actually getting this to work? If so, how? It simply seems like this particular aspect of the product is broken!
    Your help would be VERY much appreciated!
    Regards,
    Rhian

    Hi SR,
    Thanks for your response. I attempted what you've suggested (1=1 - asset new fact in output), however nothing has changed.
    This is occurring across several Composite Rules projects, including the Oracle provided Chapter 5 Order Approval example. Unless someone can suggest a solution to this issues, it looks like we're going to have to shelf our plans to utilize the Business Rules component via the composite service.
    Very frustrating couple of days, that's for sure! :{
    Regards,
    Rhian

  • CoA Session Context Not Found

    Hello Guys,
    I am using a Cisco 2951 with 15.3(3)M1, and when doing some tests with CoA i got the following error:      
    *Nov  7 10:34:24.780: COA: 1.1.1.1 request queued
    *Nov  7 10:34:24.780: RADIUS:  authenticator 52 CF BB 58 BB D5 69 4E - 59 3B 09 75 E9 83 54 4C
    *Nov  7 10:34:24.780: RADIUS:  User-Name           [1]   2   ""
    *Nov  7 10:34:24.780: RADIUS:  Acct-Session-Id     [44]  10  "0000002B"
    *Nov  7 10:34:24.780: RADIUS:  Vendor, Cisco       [26]  42
    *Nov  7 10:34:24.780: RADIUS:   Cisco AVpair       [1]   36  "subscriber:command=reauthenticate "
    *Nov  7 10:34:24.780: RADIUS:  Message-Authenticato[80]  18
    *Nov  7 10:34:24.780: RADIUS:   B6 78 8B EA DE 3B 73 26 57 53 C0 E7 47 89 2C 6D         [ x;s&WSG,m]
    *Nov  7 10:34:24.780: COA: Message Authenticator decode passed
    *Nov  7 10:34:24.780:  ++++++ CoA Attribute List ++++++
    *Nov  7 10:34:24.780: 01EEAF6C 0 00000081 username(450) 0
    *Nov  7 10:34:24.780: 01EEB7EC 0 00000001 session-id(408) 4 43(2B)
    *Nov  7 10:34:24.780: 01EEB820 0 00000081 ssg-command-code(490) 1 32
    *Nov  7 10:34:24.780:
    *Nov  7 10:34:24.780:  ++++++ Received CoA response Attribute List ++++++
    *Nov  7 10:34:24.780: 01EEB7EC 0 00000082 reply-message(273) 16 No valid Session
    *Nov  7 10:34:24.780: 01EEB820 0 00000002 error-cause(272) 4 Session Context Not Found
    This is very strange, because the session-id is correct.
    Can anyone advice me on this? Thanks!
    David

    Hello Manuel,
    Thanks for all your help. Here is the show output
    LNS#show subscriber session uid 47 detailed internal
    Subscriber session handle: EC00005E, state: connected, service: Local Term
    Unique Session ID: 47
    Identifier: [email protected]
    SIP subscriber access type(s): VPDN/PPP
    Root SIP Handle: 5300005D, PID: 313
    Child SIP Handle: 7900002F, PID: 318
    Current SIP options: Req Fwding/Req Fwded
    Session Up-time: 19:52:55, Last Changed: 19:52:55
    Switch handle: 211E
    Interface: Virtual-Access2.2
    Policy information:
      Context 10EC39C0: Handle 7B00002F
      AAA_id 0000003B: Flow_handle 0
      Authentication status: authen
    Policy internals:
      Policy state                        : wait-for-events
      Authorization type                  : AAA service
      Active key                          : apply-config-only
      Authorization active key            : Auth-User
      Last top level rule type            : session-service-found
      Client                              : SM
      Last message from client            : Apply Config Success
      Last message to client              : Apply Config Success
      Current key list from client        :
        Identifier: Auth-Domain = "xxx.xx"
        Identifier: Protocol-Type = 0 (PPP Access Protocol)
        Identifier: Session-Handle = 3959423070 (EC00005E)
        Identifier: Tunnel-Name = "LNS"
        Identifier: Media-Type = 2 (IP)
        Identifier: Input Interface = "GigabitEthernet0/1.2000"
        Identifier: AAA-Acct-Enbl = 1 (YES)
        Identifier: Authen-Status = 0 (Authenticated)
        Identifier: Nasport = Vty Terminal: port 47 IP 69.17.193.90
        Identifier: Auth-User = "[email protected]"
      Network plumbing done yet           : Yes
      Network plumbing directive proposed : None
      AIE handle                          : 2B00002F
      AIE user ID                         : 47
      AAA user ID                         : 0000003B/59
      Authorization index                 : 0
      Authorization priority              : 1
      Context                             : 7B00002F
      North handle                        : 00000000
      North callback                      : 00000000
      South handle                        : EC00005E
      South callback                      : 06B898A8
      Current access-type                 : PPP
      All access-types                    : [0] VPDN
                                          : [1] PPP
      No more keys available from         : PPP
      Session activated                   : Yes
    Session inbound features:
    Feature: QoS Policy Map
      Input Policy Map: INTERNET-15Mb-IN
    Session outbound features:
    Feature: QoS Policy Map
      Output Policy Map: INTERNET-15Mb-OUT
    Configuration sources associated with this session:
    Interface: Virtual-Template1, Active Time = 19:52:55
    Pending status associated with this session:
    Bind status: Success, Delay delete: No, Pending mask: 0
    And the debug output for a reauthenticate command
    *Nov  8 10:21:58.367: RADIUS: COA  received from id 1 x.x.x.x:60590, CoA Request, len 108
    *Nov  8 10:21:58.367: COA: x.x.x.x request queued
    *Nov  8 10:21:58.367: RADIUS:  authenticator 1D 92 FF 04 43 EA 0E 11 - DE 49 2F AE 81 46 42 78
    *Nov  8 10:21:58.367: RADIUS:  User-Name           [1]   18  [email protected]
    *Nov  8 10:21:58.367: RADIUS:  Acct-Session-Id     [44]  10  "0000003B"
    *Nov  8 10:21:58.367: RADIUS:  Vendor, Cisco       [26]  42
    *Nov  8 10:21:58.367: RADIUS:   Cisco AVpair       [1]   36  "subscriber:command=reauthenticate "
    *Nov  8 10:21:58.367: RADIUS:  Message-Authenticato[80]  18
    *Nov  8 10:21:58.367: RADIUS:   7F CA 0A 96 A7 4C 5F 05 57 33 4D 36 D6 7A 37 7E         [ L_W3M6z7~]
    *Nov  8 10:21:58.367: COA: Message Authenticator decode passed
    *Nov  8 10:21:58.367:  ++++++ CoA Attribute List ++++++
    *Nov  8 10:21:58.367: 01FCE77C 0 00000081 username(450) 16 [email protected]
    *Nov  8 10:21:58.367: 01FCFBAC 0 00000001 session-id(408) 4 59(3B)
    *Nov  8 10:21:58.367: 01FCFBE0 0 00000081 ssg-command-code(490) 1 32
    *Nov  8 10:21:58.367:
    *Nov  8 10:21:58.367: RADIUS/ENCODE(00000000):Orig. component type = Invalid
    *Nov  8 10:21:58.367: RADIUS(00000000): sending
    *Nov  8 10:21:58.367: RADIUS(00000000): Send CoA Nack Response to 69.17.193.4:60590 id 1, len 62
    *Nov  8 10:21:58.367: RADIUS:  authenticator A3 EC 85 01 C3 31 E2 B3 - 25 22 38 79 DA 8E 95 46
    *Nov  8 10:21:58.367: RADIUS:  Reply-Message       [18]  18
    *Nov  8 10:21:58.367: RADIUS:   4E 6F 20 76 61 6C 69 64 20 53 65 73 73 69 6F 6E  [ No valid Session]
    *Nov  8 10:21:58.367: RADIUS:  Dynamic-Author-Error[101] 6   Session Context Not Found [503]
    *Nov  8 10:21:58.367: RADIUS:  Message-Authenticato[80]  18
    *Nov  8 10:21:58.367: RADIUS:   AC 83 2A 7C DE 7D 78 8E B7 91 C9 F0 16 8B 86 D2              [ *|}x]
    Even the PoA is not working
    *Nov  8 10:24:04.022: RADIUS: POD  received from id 4 x.x.x.x:57061, POD Request, len 66
    *Nov  8 10:24:04.022: POD: 69.17.193.4 request queued
    *Nov  8 10:24:04.022:  ++++++ POD Attribute List ++++++
    *Nov  8 10:24:04.022: 01FCFBAC 0 00000081 username(450) 16
    [email protected]
    *Nov  8 10:24:04.022: 01FCE77C 0 00000001 session-id(408) 4 59(3B)
    *Nov  8 10:24:04.022: 01FCE7B0 0 00000081 Message-Authenticator(274) 16 20 2C D0 32 B2 B7 70 BC CE 0F 57 30 8A 0B 52 B7
    *Nov  8 10:24:04.022:
    *Nov  8 10:24:04.022: RADIUS/ENCODE(00000000):Orig. component type = Invalid
    *Nov  8 10:24:04.022: RADIUS(00000000): sending
    *Nov  8 10:24:04.022: RADIUS(00000000): Send Disconnect Nack Response to x.x.x.x:57061 id 4, len 44
    *Nov  8 10:24:04.022: RADIUS:  authenticator 86 6C A4 7E EC E6 D8 DA - 30 03 38 E7 51 03 78 86
    *Nov  8 10:24:04.022: RADIUS:  Reply-Message       [18]  18
    *Nov  8 10:24:04.022: RADIUS:   4E 6F 20 76 61 6C 69 64 20 53 65 73 73 69 6F 6E  [ No valid Session]
    *Nov  8 10:24:04.022: RADIUS:  Dynamic-Author-Error[101] 6   Session Context Not Found [503] *Nov  8 10:24:04.022: RADIUS: POD  received from id 4 x.x.x.x:57061, POD Request, len 66
    *Nov  8 10:24:04.022: POD: x.x.x.x request queued
    *Nov  8 10:24:04.022:  ++++++ POD Attribute List ++++++
    *Nov  8 10:24:04.022: 01FCFBAC 0 00000081 username(450) 16 [email protected]
    *Nov  8 10:24:04.022: 01FCE77C 0 00000001 session-id(408) 4 59(3B)
    *Nov  8 10:24:04.022: 01FCE7B0 0 00000081 Message-Authenticator(274) 16 20 2C D0 32 B2 B7 70 BC CE 0F 57 30 8A 0B 52 B7
    *Nov  8 10:24:04.022:
    *Nov  8 10:24:04.022: RADIUS/ENCODE(00000000):Orig. component type = Invalid
    *Nov  8 10:24:04.022: RADIUS(00000000): sending
    *Nov  8 10:24:04.022: RADIUS(00000000): Send Disconnect Nack Response to x.x.x.x:57061 id 4, len 44
    *Nov  8 10:24:04.022: RADIUS:  authenticator 86 6C A4 7E EC E6 D8 DA - 30 03 38 E7 51 03 78 86
    *Nov  8 10:24:04.022: RADIUS:  Reply-Message       [18]  18
    *Nov  8 10:24:04.022: RADIUS:   4E 6F 20 76 61 6C 69 64 20 53 65 73 73 69 6F 6E  [ No valid Session]
    *Nov  8 10:24:04.022: RADIUS:  Dynamic-Author-Error[101] 6   Session Context Not Found [503]
    Thanks!!
    David

  • CJ20N Rule 1ZPS0001002 not found

    Hello,
    In creating a project via CJ20N, I am getting the error 'Rule 1ZPS0001002 not found'. I take this error to read that this means that subrule 002 to validation rule ZPS0001 does not exist. I have gone to the following path to check the validation rules and I do in fact see that subrule 002. I'm wondering if anyone here might be able to validate that I am looking in the correct spot, or if I should try looking elsewhere.
    The path I took is as follows:
    SPRO -> Project System -> Structures -> Operative Structures -> Work Breakdown Structure (WBS) -> Maintain Validations
    Something to note here is that I am having this issue in one single QA environment. The problem does not appear when creating a project in another QA client using the same parameters for entry. When I check the validation rules between both QA environments, they look to be exactly the same. This is why I am wondering if I am even looking in the right place.
    Does anyone have any idea?
    Thanks!

    Thanks for the responses so far.
    S.murali u2013 I donu2019t believe there is a transport missing between our two different QA systems. Validation  rule ZPS0001 is present, and it appears that subrules 001 and 002 are also present in both environments, however the error message is saying otherwise.
    Zhenbo u2013 I checked the involved project profile and compared every item and tab between the two systems and they are a match. What catches my eye in the path you provided is in the u2018Controlu2019 tab, and section for validation. The project definition is labeled as u2018ZPS0001u2019 for Project Systems WBS Validations. This is what led me initially to check the validation rules/subrules for ZPS0001 in the first place.
    I think I am close, but still not there yet. Thanks both of you for responding and trying to help. Does anyone have any other ideas here?

Maybe you are looking for