Business Rules Error when Decision Function surfaced as WebService in BPM

To use a BusinessRule as from a Business Rules activity,it needs to be surfaced as a WebService.
I've run into an issue where as soon as I check that box and save, the BusinessRule in question goes into a error mode when viewed from the BPM Project Manager (which is why this question is posted here).
The scenario is this:
My types are defiend in XSD. There is a SimpleType - FooStepTypeType - which is a retricted xs:string, the common way top create an enumeration. I import this as an XML fact, it creates a Enum bucketset, which is perfect. I create a decision function - DecisionFunction1 - which has an input parameter of this type and a boolean output. I set up a simple decision table to use the input and assert the output. The editor is happy.
At this point, I can't use the DF in my process, as it's not exposed a service, and won't be selectable via the the Properties/Implementation of a Business Rules activity.
A soon as I mark the DF as a WebService and save it, an the rule disappears from the Rules section of the Business Catalog and reappears at the root of the catalog in error. In some cases it can't be edited.
Hovering over the error file produced this error message:
The argument ‘step’ of decision function ‘DecisionFunction1’ could not build because of ‘BPM-71517: Unable to identify the parameter QName. Cause: ‘FooStepTypeType. Action: Make sure that the decision function parameter is of XML type and exactly one XML Schema Element exists that represents the parameter’.
My XSD previously did not contain a freestanding element of this type, but had elements defined in another complex type of this type. Adding a freestanding element didn't change anything. In fact it seems that elements are not avaialble to be imported as XMLFacts, only types.
At this point, if the Rules editor is still open, the DF can be "unserviced" and after saving may be recoverable with a JDev restart. If not, manually removing the DF from the .rules xml file can help recover the file so that it can be edited again.
SO: THE QUESTIONS.
Why can't I use a simpleType as an input parameter for a DF exposed as a WebService? What is BPM-71517 asking me to do exactly? I can't find any references to it via searching. Why does eveything seem fine until I expose it?
Addendum - using JDev 11.1.1.4.0 with BPM tools 11.1.1.4.0.5682
Addendum2 - upgraded to 11.1.1.5.0 and the problem is still there.....
TIA,
Bill
Edited by: wylderbeast on May 20, 2011 9:38 AM
Edited by: wylderbeast on May 20, 2011 10:09 AM
Edited by: wylderbeast on May 31, 2011 3:22 PM

Further invesitgation bears this problem out.
Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
This is a bit messy.
To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
As a side note, it seems that HumanTasks have a similar limitation
Edited by: wylderbeast on May 31, 2011 3:27 PM

Similar Messages

  • Business Rules error when creating new classic planning application in 9.3.

    Im trying to create a new planning application using classis planning application wizard in Workspace. everything seems alright untill i gets an error saying "Business rules cant connect to Planning"
    other than this Business rules working fine and i can open business rules in other applications and i can access business rules repository in EAS.
    Any thoughts on this ?

    Further invesitgation bears this problem out.
    Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
    This is a bit messy.
    To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
    As a side note, it seems that HumanTasks have a similar limitation
    Edited by: wylderbeast on May 31, 2011 3:27 PM

  • SOA Suite Business Rules: Error caching the Decision Services metadata

    hi ofm users
    im currentntly trying
    SOA Suite 11.1.1.1.0
    on Oracle XE
    on Windows XP Pro
    what im trying is a simple use case of business rule component,
    my service is getWorkStatusByDay, that i implement using
    business rules component using decision table.
    my rule model is (conceptually):
    Day{
         String id;
         String code;//mon,tue,wed,...,sat,sun
    WorkStatus{
         String id;
         String code;//holiday, work
    WorkStatus getWorkStatusByDay(Day):
    is rule service that decides WorkStatus code by Day code,
    eg:
    if Day.code=mon,tue,wed,...,fri then we got WorkStatus.code=work
    if Day.code=sat,sun then we got WorkStatus.code=holiday
    i've successfully created the composite project, using
    rule component, mediator, and exposed it as a webservice
    compiled and deployed ok.
    but when i try to run the service using soapUI WS tester,
    i'm getting error in the console, see stacktrace below.
    im able to reproduce the error by deploying the project
    to another computer with a same spec as above.
    So is there any solution to this ? how to fix this issue,
    as this is a very basic sample scenario.
    Any information will be appreciated,
    as im looking forward to evaluating Oracle Business for a client project :)
    [2010-08-11T14:07:14.593+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> Error caching the Decision Services metadata.[[
    Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
    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.
    ORABPEL-36109
    Error caching the Decision Services metadata.
    Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
    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:359)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
         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:144)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.rules.rl.exceptions.ParseException: encountered 'rule' when expecting one of:
    <XML_IDENTIFIER> ...<IDENTIFIER> ...
    at line 10 column 49 in main
         at oracle.rules.rl.exceptions.ExceptionFactory.createParseException(ExceptionFactory.java:577)
         at oracle.rules.rl.analyze.RulesetParser.generateParseException(RulesetParser.java:25)
         at oracle.rules.rl.parse.RLParser.jj_consume_token(RLParser.java:5430)
         at oracle.rules.rl.parse.RLParser.Symbol(RLParser.java:697)
         at oracle.rules.rl.parse.RLParser.Qname(RLParser.java:672)
         at oracle.rules.rl.parse.RLParser.ClassName(RLParser.java:795)
         at oracle.rules.rl.parse.RLParser.Type(RLParser.java:729)
         at oracle.rules.rl.parse.RLParser.Parameter(RLParser.java:886)
         at oracle.rules.rl.parse.RLParser.Parameters(RLParser.java:860)
         at oracle.rules.rl.parse.RLParser.Function(RLParser.java:1005)
    [2010-08-11T14:07:14.718+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> [[
    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:359)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
         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:144)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    -----

    hi ofm users
    im currentntly trying
    SOA Suite 11.1.1.1.0
    on Oracle XE
    on Windows XP Pro
    what im trying is a simple use case of business rule component,
    my service is getWorkStatusByDay, that i implement using
    business rules component using decision table.
    my rule model is (conceptually):
    Day{
         String id;
         String code;//mon,tue,wed,...,sat,sun
    WorkStatus{
         String id;
         String code;//holiday, work
    WorkStatus getWorkStatusByDay(Day):
    is rule service that decides WorkStatus code by Day code,
    eg:
    if Day.code=mon,tue,wed,...,fri then we got WorkStatus.code=work
    if Day.code=sat,sun then we got WorkStatus.code=holiday
    i've successfully created the composite project, using
    rule component, mediator, and exposed it as a webservice
    compiled and deployed ok.
    but when i try to run the service using soapUI WS tester,
    i'm getting error in the console, see stacktrace below.
    im able to reproduce the error by deploying the project
    to another computer with a same spec as above.
    So is there any solution to this ? how to fix this issue,
    as this is a very basic sample scenario.
    Any information will be appreciated,
    as im looking forward to evaluating Oracle Business for a client project :)
    [2010-08-11T14:07:14.593+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> Error caching the Decision Services metadata.[[
    Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
    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.
    ORABPEL-36109
    Error caching the Decision Services metadata.
    Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
    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:359)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
         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:144)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.rules.rl.exceptions.ParseException: encountered 'rule' when expecting one of:
    <XML_IDENTIFIER> ...<IDENTIFIER> ...
    at line 10 column 49 in main
         at oracle.rules.rl.exceptions.ExceptionFactory.createParseException(ExceptionFactory.java:577)
         at oracle.rules.rl.analyze.RulesetParser.generateParseException(RulesetParser.java:25)
         at oracle.rules.rl.parse.RLParser.jj_consume_token(RLParser.java:5430)
         at oracle.rules.rl.parse.RLParser.Symbol(RLParser.java:697)
         at oracle.rules.rl.parse.RLParser.Qname(RLParser.java:672)
         at oracle.rules.rl.parse.RLParser.ClassName(RLParser.java:795)
         at oracle.rules.rl.parse.RLParser.Type(RLParser.java:729)
         at oracle.rules.rl.parse.RLParser.Parameter(RLParser.java:886)
         at oracle.rules.rl.parse.RLParser.Parameters(RLParser.java:860)
         at oracle.rules.rl.parse.RLParser.Function(RLParser.java:1005)
    [2010-08-11T14:07:14.718+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> [[
    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:359)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
         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:144)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    -----

  • SAP BPC 7.5 NW business rules error

    Hi,
    I am facing business rules error in BPC 7.5 NW SP 01 client. When i click on any business rules for ex- carry forward rules to fill in the information, it's giving error like " Application has genarated an exception that could not be handled" Process id = 10x104c (4172) Thread id = 0x1170
    No recent changes happend in the servers. Any suggestions plz.

    Hi,
    I am facing business rules error in BPC 7.5 NW SP 01 client. When i click on any business rules for ex- carry forward rules to fill in the information, it's giving error like " Application has genarated an exception that could not be handled" Process id = 10x104c (4172) Thread id = 0x1170
    No recent changes happend in the servers. Any suggestions plz.

  • Error when executing function in MSS launchpad report ???

    In MSS lanchpad report, we have the following problem:
    Error in Manager Sef-Service
    When calling the report, the following error occurred:
    System: HRP
    Error when executing function
    Basically in MSS report, I select employees in the first iView which calls another ABAP query in back-end to display back-end t-code inside iView of portal through ITS service. What could be the reason for it? please advice.
    Thanks,
    Anthony

    Please try converting the standadrd-delivered scenario RPT0, then check
    out the things.
    Also problem may be that your function code names contain
    the character '&'. This causes a problem when the selected function
    code is passed to the ITS-WebGUI as a URL parameter. Please use only
    standard characters (A..Z and _) when you define a function code.
    Then it should work.
    Please go through the following link also
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/3a/
    3198408d953154e10000000a1550b0/frameset.htm
    Please test in backend using Se38 > PWPC_RPT_START_REPORT_TEST
    The Reporting Iview in the portal has the Report category type, by
    the report category type is set to "RPT0". Therefore, when the
    application is launched, the reporting category type is also sent as URL
    parameter to the backend system. As of ECC 6.0 only the reporting
    category type "RPT0" is supported. ensure this is set for your custom reports if you are using own scenarion
    then set in the Iview property of reports as well
    ie example
    1)Change the Iview property "Scenario" of the Reporting iview from
    "RPT0" to your own "ZRPT", than this set of reports will work. however,
    the standard reports will not work.
    pwpc_convert_mdt_to_lpa >>
    The following list of reports have been converted.

  • How to capture errors when a Function module is called as BACKGROUND TASK

    How to capture errors when a Function module is called as BACKGROUND TASK?.Please advise.
    FUNCTION ZRPM_DELETE_PROJECT_DATA_API.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(IV_EXTERNAL_ID) TYPE  RPM_TV_EXTID OPTIONAL
    *"     VALUE(IV_PROJECT_GUID) TYPE  RPM_TV_GUID OPTIONAL
    *"     VALUE(FLAG) TYPE  BOOLEAN OPTIONAL
    *"  EXPORTING
    *"     VALUE(EV_RC) TYPE  I
    *"     VALUE(EV_MSG) TYPE  STRING
    *"     VALUE(ET_MSG) TYPE  RPM_TT_MESSAGES
      IF flag = cl_rpm_co=>sc_true.
        Call function 'RPM_DELETE_PROJECT_DATA' IN BACKGROUND TASK
          EXPORTING
            IV_EXTERNAL_ID  = IV_EXTERNAL_ID
            IV_PROJECT_GUID = IV_PROJECT_GUID
          IMPORTING
            EV_RC           = EV_RC
            EV_MSG          = EV_RC
            ET_MSG          = ET_MSG.
        COMMIT WORK.
      ELSE.
        CALL FUNCTION 'RPM_DELETE_PROJECT_DATA'
          EXPORTING
            IV_EXTERNAL_ID  = IV_EXTERNAL_ID
            IV_PROJECT_GUID = IV_PROJECT_GUID
          IMPORTING
            EV_RC           = EV_RC
            EV_MSG          = EV_MSG
            ET_MSG          = ET_MSG.
      ENDIF.
    ENDFUNCTION.
    In above code how to capture 'EV_RC' when FM is called as background task.

    Prakash,
    CALL FUNCTION IN BACKGROUND TASK allows no IMPORTING parameters, so that your code will produce a syntax error.
    The calling program can only handle errors of remote function calls (RFC) if these are either
    - synchronous RFC  (that is CALL FUNCTION ... DESTINATION ...) or
    - asynchronous RFC (that is CALL FUNCTION STARTING NEW TASK ... DESTINATION ...).
    Both synchronous and asynchronous RFC allow the capturing of errors by means of exceptions. But that is a different topic.

  • RAR: Error when uploading function permission rule file

    Hi,
    when I try to upload my own rule files in AC 5.3 SP 15, I receive the following error in the function permission file:
    For input string "OR"
    That's all of  the message i GET. Unfortunately I wasn't able to locate where this error could be. The file looks just fine to me.
    Any ideas ?
    Thanks !
    Regards,
    Max
    Edited by: Maximilian Trenks on May 17, 2011 3:42 AM

    Hi,
    there was an additional tab in one row. After removing it, it all worked fine.
    Watch for 2 tabs in row !
    Regards,
    Max

  • 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

  • BPEL11g - Business Rules error

    Hi
    I have created a business rule in SOA11gR1. I have a common XSD which holds request and response and below is the Input and as well as output xml structure.\
    REQ:
    <root>
    <request>
    <Name>James</Name>
    <request>
    </root>
    RES:
    <root>
    <response>
    <Code>200</Code>
    <response>
    </root>
    The rule which i implemented was - if Name is null , then set Code as 200 in the Ruleset_1
    IF
    root$request.Name==null
    THEN
    assert new root$response(Code:"200")
    I havnt touched anything in Desicion function, links,Facts...
    I am getting the below ERROR while trying to deploy. Not sure what i have missed and can anyone get me more details on Business rules would be very useful.
    [08:18:12 PM] Error deploying archive sca_Project1_rev1.0.jar to partition "default" on server soa_server1 [CHETC206027821.SID.BT.COM:8001]
    [08:18:12 PM] HTTP error code returned [500]
    [08:18:12 PM] Error message from server:
    Error during deployment: Error occurred during deployment of component: OracleRules1 to service engine: implementation.decision, for composite: Project1: The XML-Schema file for the fact oracle.rules.sdk2.decisionpoint.wsfacts.DecisionPointInputs could not be found in the composite.
    The XML-Schema file DecisionPoint.xsd could not be found in the composite. The XML fact oracle.rules.sdk2.decisionpoint.wsfacts.DecisionPointInputs of target namespace http://xmlns.oracle.com/rules/rules/decisionpoint assumes the existence of the schema file in the composite.
    Check the composite for the schema DecisionPoint.xsd and make sure it has target namespace http://xmlns.oracle.com/rules/rules/decisionpoint. The schema is expeccted in the project xsd or businessCatalog folder. If the error persists, contact Oracle Support Services.
    thanks
    Sesha

    Can anyone help me on this..

  • 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

  • Business Rule Error

    Hi,
    I am trying to launch the Business Rule using the Command Launcher utility. It was working fine a few days back, but today when I am trying to execute it, its giving me the following error:
    Launch Vars: {Department=D_1, ExecDB=Planning/DevSer/App}
    com.hyperion.hbr.excp.ExceptionAdapter: Connection unavailable Planning/EAS/App/Db.
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.hyperion.hbr.common.Util.getExcpAdapter(Unknown Source)
    at com.hyperion.hbr.core.ExecutionManagerServerRemote.connect(Unknown Source)
    at com.hyperion.hbr.core.ExecutionManagerServerRemote.connect(Unknown Source)
    at com.hyperion.hbr.api.PluginManagerClient.connect(Unknown Source)
    at com.hyperion.hbr.cmdlnlauncher.LaunchManager.launchRule(Unknown Source)
    at com.hyperion.hbr.cmdlnlauncher.CmdLineLauncher.main(Unknown Source)
    Detail:Exception occurred. Please check your log file for details.
    Connection unavailable Planning/EAS/App/Db.
    2010-08-03 11:33:13,225 WARN main com.hyperion.hbr.cmdlnlauncher.CmdLineLauncher - Connection unavailable Planning/EAS/App/Db.

    Yes it creates a connection and populates information into EAS/HBR db table (HBRPluginData), not sure if it is exactly the same with the command line launcher though I thought it may be.
    Its always been a pain that you have to log into planning first before business rules work correctly through EAS, probably never get fixed now as the push is towards calc manager now.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules error-java.lang.NoClassDefFoundError: com/hyperion/hbr/core/

    Hey I recently applied the 11.1.1.3.04 service fix for calc mgr/planning which involved a few file changes for EAS as well.
    I patched and re-deployed calc mgr/planning/eas without any issues in DEV
    When I patched prod, and then redeployed the web servers, business rules is now failing.
    This error is in the planning log:
    java.lang.NoClassDefFoundError: com/hyperion/hbr/core/HBRThinServer
    and this error is in EAS log when I login to EAS:
    ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.db.DBTable - Error while creating Repository object. Please make sure your HBR Configuration is correct.
    ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.PluginDataManager - Error creating PluginDataManager. Please check your log file for details on what caused this error.
    Anyone run into this issue and have any advice how to solve it? I also opened an issue with Oracle
    THanks
    Jeff

    Thanks for the advice Nick.
    I decided to redeploy EAS app server again, but this time also re-register the database. the register database step was not needed when I patched dev or test, perhaps because in dev and test planning and eas were on the same server. In prod, eas and planning are on different servers.
    so after registering and re-using the existing tables so that I wouldn't lose my rules, the app deployed without any errors in the logs and all my business rule problems have been resolved.
    Thanks
    Jeff

  • Business rules error

    Hi all
    We are using 9.3.1 ,this is a freshh installation I am able to login in to business rules through EAS previously without creating any separate repository for business rules. Now I am getting error when I am trying to access HBR in EAS . The error is
    Detail:Error creating DBConfig object. Please check if there are exceptions in the log file and if HBR is configured correctly.
    and can any one tell me ..how to configure the HBR with parrticular database(we are using microsoft SQL database) and also I need info regarding where I will find HBR log.
    I appreciate if any one help me with this .
    regards
    M.V

    Hi,
    When you configured AAS using the hyperion config utility it will have created the SQL database tables which business rules uses, you must have done this already if you said you were able to login previously.
    The hbrserver.log is in \hyperion\deployments\AnalyticAdministrationServices\server\bin
    You can also try :-
    \Hyperion\deployments\Tomcat5\aas\logs
    You can change the level of logging from within EAS in the properties section
    If you have configured AAS correctly then you should have hbrserver.properties in \Hyperion\AnalyticAdministrationServices\ which has the connection details for EAS to connect to the SQL repository for using business rules.
    I have also seen in the past where if you are trying to use business rules with planning through EAS you first have to log into the planning web application.
    Cheers
    John

  • Business Rules Validation when validating from Calc Manager

    When I try to validate a business rule that has been migrated to calc manager, it throws an error:
    Error compiling formula .... Operator expected after ... brname.
    What could be the reason it is throwing such error.
    Thanks

    The thread points to having a file "CDF_STRING.JAR" in  <MIDDLEWARE_HOME>/EPMSystem11R1/products/Essbase/EssbaseServer/java/udf folder.
    However, I do not have this file in this location. There is a file "CALCMGRCDF.JAR"
    Do we need to have the "CDF_STRING.JAR" file as well or just the "CALCMGRCDF.JAR" is good in version 11.1.2.3 calc manager.
    Thanks

  • Hyperion Business Rules Error

    Good day!
    I have an error every time I validate the business rules in essbase.
    This is the error when I validate the Business rules :
    Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    I have checked the hbrserver log and this is what I found:
    2008-10-24 14:01:58,067 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:01:58,130 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:04:20,674 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:04:20,674 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:05:08,938 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:05:08,938 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:07:04,358 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:07:04,358 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-12-05 17:17:08,672 WARN Thread-16 com.hyperion.hbr.db.DBConnectionManager - Removed bad connection from Connection Pool: vincentp.misnet.com.ph14331cp_tools
    2008-12-05 17:17:09,047 WARN Thread-16 com.hyperion.hbr.db.DBConnectionManager - Removed bad connection from Connection Pool: vincentp.misnet.com.ph14331cp_tools
    2008-12-15 10:45:42,502 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: 25:1065:Identity: admingroup, is invalid.
    2008-12-15 10:45:42,502 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2008-12-15 10:45:42,518 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1_1/IncStmt for user admin.
    2008-12-15 10:46:41,152 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: 25:1065:Identity: admingroup, is invalid.
    2008-12-15 10:46:41,152 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2008-12-15 10:46:41,152 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    2008-12-15 10:47:34,815 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: 25:1065:Identity: admingroup, is invalid.
    2008-12-15 10:47:34,830 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2008-12-15 10:47:41,599 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    2008-12-15 11:01:05,637 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    Sorry for the long log message.
    I am using the admin user. Is there a possibility that the admin has no privilege for the business rule? (Which is unusual because it should have all the privileges).
    Can anyone tell me how to fix this issue?
    Thanks in advance.

    I think you have to give access even to the admin user to validate/run a business rule
    try giving access to that rule and then validate

Maybe you are looking for

  • A Quality Assurance Engineer's perspective on Neo2 PS/2 Port Problems.

    I came here looking for some insight . . . . and while i got some confirmation that it's a common problem, I think some things need to be cleared up. There's a mistake being made that disconnects cause and effect by lumping together effects that aren

  • Can't print to AEBS from Windows computer

    I have an ibook and a Dell desktop running Windows XP. I'm using an AEBS with a Canon i560 connected via USB. This setup has worked fine for two years but now I suddenly can't print from the Dell. I used Rendevous (now BonJour) when initially setting

  • CP5 audio playing on wrong slide

    I have an image on the first slide with no audio. The rest of the project consists of imported swf files with audio in the swf (one per slide). For some reason the audio from the swf on slide 8 starts playing when slide 1 comes up. I deleted slide 8

  • How to disable ECM Compensation Plans

    Hi people: We have an issue with the Compensation Planning ECM iView of the our MSS 6.1. We want to hide a couple of Plans (the tabs) from the current iView. We have tried with all the different parameters included on the iView, but we have not been

  • Execute MS-DOS command in Transaction

    Hello, I am copying encrypted files from the ftp server with the action: FTP Input. This works fine, but after this action i want that it executes a dos command from xMII to decrypt the files. I have a statement like this: raes-1.exe -d %TEST% DELFOR