SOA - BPEL with Business Rules deployment issue

I am trying to construct the Purchase Order Processing SOA sample, I am able to deploy and test with mediator, BPEL. When I tried to add business rules to the BPEL I am getting following error. can anyone please help on this?
10:47:54 AM] Creating HTTP connection to host:XXX.XXX.XXX.XXX, port:7001
[10:47:54 AM] Sending internal deployment descriptor
[10:47:54 AM] Sending archive - sca_POProcessing_rev1.4.jar
[10:48:00 AM] Received HTTP response from the server, response code=500
[10:48:00 AM] Error deploying archive sca_POProcessing_rev1.4.jar to partition "default" on server AdminServer [http://XXX.XXX.XXX.XXX:7001]
[10:48:00 AM] HTTP error code returned [500]
[10:48:00 AM] Error message from server:
There was an error deploying the composite on AdminServer: Deployment Failed: Error occurred during deployment of component: ManualApprovalRule to service engine: implementation.decision, for composite: POProcessing: Error compiling fact classes.
Error while compiling fact classes for service ManualApprovalRule.
Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.
ManualApprovalRule.
[10:48:00 AM] Check server log for more details.
[10:48:00 AM] Error deploying archive sca_POProcessing_rev1.4.jar to partition "default" on server AdminServer [http://XXX.XXX.XXX.XXX:7001]
[10:48:00 AM] ####  Deployment incomplete.  ####
[10:48:00 AM] Error deploying archive file:/D:/ORACLE_HOME/Docs&Samples/Purchase_Order_Tutorial/POProcessing/POProcessing/deploy/sca_POProcessing_rev1.4.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

Hi,
It would be helpful to others if you say which version/patch you are using.
To answer number 1, that has always been a feature of business, you don't get the option to overwrite, its always been a pain.
I have not come across issue 2 and I am sure I have imported many rules with the cross dimensional operator in them ->
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Slow Performance with Business Rules

    Hello,
    Has anyone ever had slow performance with business rules? For example, I attached a calc script to a form and it ran for 20 seconds. I made an exact replica of the calc script in a business rules and it took 30 seconds to run. Also, when creating / modifying business rules in EAS it takes a long time to open or save or attach security - any ideas on things to improve this performance?
    Thanks!

    If you are having issues with performance of assigning access then I am sure there was patch available, it was either a HSS patch or planning patch.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to undeploy business rules deployed in Planning

    I am unable to undeploy test business rules deployed on Production. Deleting from calculation manager leaves BR in planning.. is there in any other option??

    Try this http://docs.oracle.com/cd/E17236_01/epm.1112/cmgr_admin/ch07s03s01.html
    "To remove a business rule or ruleset from an application after you deploy the business rule or ruleset, make it ineligible for deployment by clearing the check box next to its name in the Deployment View. Then you can perform a full deployment of the application by right-clicking it and selecting Deploy."
    As you've already deleted rule from Calc manager try to create empty rules with the same name (if first full deployment wouldn't help)
    Edited by: vvipirailo on Jun 6, 2012 10:42 AM

  • Error importing composite with business rules into SVN

    Hello,
    When I import a composite with business rules into Tortoise SVN I get below error.
    Error: Commit blocked by pre-commit hook (exit code 1) with output:
    Error: Path
    Error: '/trunk/ProjectName_SCA/.rulesdesigner/jaxb_classes/com/ProjectName/package-info.class'
    Error: is restricted for commit by pattern '\.class$' for the current user.
    I could import other composites(w/o business rules)
    Thanks

    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

  • Problem deploying composite with Business Rules

    I´m trying to deploy a simple composite at my EM, but the following error occurs when i try:
    [06:10:29 PM] Error deploying archive sca_POProcessing_rev1.1.jar to partition "default" on server AdminServer [http://soabpm-vm.site:7001]
    [06:10:29 PM] HTTP error code returned [500]
    [06:10:29 PM] Error message from server:
    There was an error deploying the composite on AdminServer: Deployment Failed: Error occurred during deployment of component: FulfillmentRules to service engine: implementation.decision, for composite: POProcessing: Error while loading the rule catalog.
    The rule catalog cannot be loaded.
    Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.
    A rule catalog could not be found.
    The catalog FulfillmentRules in package fulfillmentrules could not be found.
    Make sure that the rule catalog fulfillmentrules.FulfillmentRules exists in the path oracle/rules/fulfillmentrules/FulfillmentRules.rules:oramds:///soa/shared/common/oracle/rules/:oramds:///soa/shared/mediator/oracle/rules/:oramds:///soa/shared/rules/oracle/rules/:oramds:///soa/shared/workflow/oracle/rules/:oramds:///soa/shared/casemgmt/oracle/rules/
    It seems that it´s trying to lookup my component at MDS, but i didn´t implement it that way, so, what's going on?
    Any help would be most appreciate.

    I see what you're saying, but here's why it works the way you're observing it.
    Once deployed, the 10g business rules are edited by a business user (the owner of the rule). Changes in Studio that a developer makes to a business rule don't override the changes that the business user made.
    To let the business owner edit the rule, add a Global Interactive activity and change its property setting to edit the business rule. Put this activity in the role for the business owner (the person you want to edit the rule).
    Dan

  • Group Security Issue with Business Rules

    Hopefully you experts out there can follow this. We have about 200 users in our Planning application split into 3 categories (Admins, Interactive Users and Planners) via groups setup in Shared services. We also have an email group list setup in Outlook that has all 200 users in it that we use to send out emails to all users regarding the application. So in Shared Services we have the email group list as an assigned group in the Planners group. So as new people are added to the group list in email they are automatically included as a user in the Planning application. People that are Admins or Interactive Users are manually added to those groups in Shared Services. Everything seemed to be working fine until we tried blocking the Planners groups from running certain business rules in the application. We have clusters setup in Essbase to control access to the business rules. I went into the cluster and set the Planners group to cannot validate or launch on certain rules but found that I now could not run the business rules either even though I am an Admin and the Admin group has vaildate and launch privledges in the cluster. I believe the issue has to do with the fact that I am by default in the Planners group because I am in the email group list which is assigned to the Planners group in Shared Services. Other than setting up and managing 3 seperate email group lists and assigning them individually in Shared Services, does anyone know how I can manage business rules security using the 3 groups i have setup? I hope this makes sense. If not I can provide more detail. Thanks.

    Have you tried using Business Rules projects? Create a project for the admin Shared Services group and assign all rules to that group. Create a Planning project for planners and assign only rules that you want them to run. Any rule that planners should not have access to would be removed from the Planner business rules project, but still in the admin project for you to run.

  • Issue with business rule. Failed because the fact have not been found .

    Hello
    I'm trying to execute a business rule inside my process to evaluate a service output. I've been created the rules and have used before succesfully. I got a desicion table which evaluate the entry params and in the actions I've made a new Assert to create and return an instance of en.abis.ns.biasxsd.BIASFaultDetail. Sometimes it works perfectly and in other moments fails.
    I got the following exception. I'm so sorry about the spanish but this is the language the server uses.
    <bpelFault><faultType>0</faultType><operationErroredFault xmlns="http://xmlns.oracle.com/brValidateQualityScore/brValidateQualityScore_brValidateQualityScore_DecisionService"><part name="payload"><errorInfo xmlns="http://xmlns.oracle.com/brValidateQualityScore/brValidateQualityScore_brValidateQualityScore_DecisionService"><errorMessage>Error al ejecutar una unidad de trabajo de sesión de reglas, no se ha encontrado el hecho. La sesión de reglas 510027 ha fallado porque no se ha encontrado el hecho ki.abis.ns.biasxsd.BIASFaultDetail o no existe. Compruebe la excepción subyacente y corrija el error. Póngase en contacto con los Servicios de Soporte Oracle si no se puede corregir el error. 510027</errorMessage></errorInfo></part></operationErroredFault></bpelFault>To avoid language problems the error in English is somethiong like this:
    Failed to perform a unit work  of session  rules, not found the fact. The rule session 210027  failed because the fact have not been found ki.abis.ns.biasxsd.BIASFaultDetail, or does not exits. Check the underlying exception and correct the error. Contact Oracle Support Services if you can not correct the error
    Regards,
    isabelbernely

    Have you check if this Variable exist?
    Regards
    Amarnath
    http://amarnath-essbase-blog.blogspot.com

  • Problem with business rule

    Hi all,
    I have a problem with a business rule (BR) deployed as a standalone Descision service.
    the BR consists on a simple decision table wich compare an input (bigInteger) with 50. It returns two facts (as output).
    the two conditions are confugured (i.e. <50 and >=50).
    the Decision service (stateless) is called in a simple BPEL process. in some cases the the assign activity in the bpel process rise this exception :
    <bpelFault><faultType>0</faultType><selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>empty variable/expression result. The XPath variable or expression /ns5:callFunctionStatelessDecision/ns5:resultList/ns6:processResponse/ns6:CodeRetour is empty at line 440. An attempt to read or copy data referenced or computed by the XPath expression either had invalid data, according to the XML schema, or did not contain certain optional data. Ensure that the variable or expression result named in the error message is not empty. Enable XML schema validation of related variables to ensure the run-time data is valid. </summary></part></selectionFailure></bpelFault>
    it seems like an output of the business rule used by the assign after the invoke activity is empty.
    But in the input payload for the decision service all elements are not empty. I can't inderstand how the OBR return an empty variable?
    Any help please?

    In the taskflow you should be capable to trace step by step what happens in the execution. Does this give any clue, e.g. why sometimes the assert does not work?
    cu
    Andreas

  • Problem with Business Rules in OBPM 10.3.1 Enterprise for WebLogic

    We're having a problem with our Business Rules. We've updated two of our business rules (that are used by business rule transitions) in Studio; however, when we publish the updated process, the business rules are not updated. We cannot find anywhere in the Process Admin where to administer the rules to make sure they're overwritten.
    I've double checked, and the updated rule code is in the .project.xpdl, but for whatever reason, the rules are not being updated during the deployment. I'm sure that we've done this many times in the past, but for some reason, now it is not working.
    We're tried variations of the different versioning when we publish, and we've also tried to unpublish all of the older versions of our process, but it does not change the business rules. We can try to unpublish and undeploy, but it seems like we would lose all old instances of that process that are still running if we did that.
    Has anyone ever had this issue, or know if there is a way to effect the business rules via the process admin?

    I see what you're saying, but here's why it works the way you're observing it.
    Once deployed, the 10g business rules are edited by a business user (the owner of the rule). Changes in Studio that a developer makes to a business rule don't override the changes that the business user made.
    To let the business owner edit the rule, add a Global Interactive activity and change its property setting to edit the business rule. Put this activity in the role for the business owner (the person you want to edit the rule).
    Dan

  • Planning -v11.1.1.1 - Cannot Communicate with Business Rules

    Hi,
    We are unable to log into Business Rules no matter how many times we recreate users and properly provision them. I found this in the 11.1.1.1 Installation and Configuration Guide but have no idea of where or how to make this change.
    Planning
    • After you manually deploy Planning, Business Rules does not communicate with Planning. To work around this issue, add the following Java Options:
    -DESS_ES_HOME=/hyperion/products/Essbase/eas/server -Dhyperion.home=/hyperion -DHYPERION_HOME=/Hyperion [8622082]
    Where exactly would we do this and could it possibly help?

    Issue is with SSH the SSH ware running in two sys and conflict issue.
    Restored the Open DAP and suggested the client to re start the Service and server ones.
    Client can successfully able to log to EAS and to BR now.
    Couple of BR access issue is resolved by provision and Refresh of Manage database.

  • Business Rules Import Issue

    Hi, I met some problems in business rules import.
    1. The buisness rules import cannot be overwritten, everytime when I deployed a rule to a new environment, I need to delete the old one first. Can I do some setting to enable overwriting?
    2. When the rule contains a character ">", the export xml will add a special character like "space" after it. Sometimes caused the rules failed after the deployment. Seems it is a bug.
    3. When the rule has the property "hide" for some run-time prompts, sometimes it will lose after the import, is it also a bug or any workaround?
    If any good suggestion or experience for the above problems? Thanks

    Hi,
    It would be helpful to others if you say which version/patch you are using.
    To answer number 1, that has always been a feature of business, you don't get the option to overwrite, its always been a pain.
    I have not come across issue 2 and I am sure I have imported many rules with the cross dimensional operator in them ->
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • RTP not working with Business Rule

    I am trying to create a buisness rule that fixes on a member in a custom dimension based on a run time prompt using Calc Manger (11.1.2.2).  I created the variable at the cube level, set it to 'Member' and selected the appropriate dimension, and selected RTP.  The FIX statement is very simple FIX("Current",{Contract}).  The rule validates and deploys with no problem.  When running the rule either on form save or through Business Rules I receive the error: "error parsing formula for [FIX STATEMENT] (line 2): invalid object type.  If I change the variable to uncheck 'RTP' and place the same member used previously as the Default value the rule runs no problem.  Is there any reason why the rule appears to not be able to read in my RTP selection?
    Thanks,
    CS

    Though this is not a calc manager issue, I am sure the member that Planning is picking up is a member that is set tyo dynamic calc.
    You cannot use a member that is set to dynamic calc in a fix.
    -Sree Menon

  • Moving Net Income to Balance Sheet with Business Rule

    Hello,
    The system is BPC 7.0 SP3, on SQL 2008
    I was wondering if anyone else has had this issue.  I created a business rule that moves Net Income Year to Date to the Balance Sheet, and call it through logic.  
    The problem I am having is that all periods are calculating correctly except for Period 12.  The same number that is calculate for Period 11 is posted to Period 12. 
    The Time Dimension looks correct with it's prior and current and next properties.
    Here is the Business Rule setup, all entries you do not see are NULL
    Transformation Group        Source         Source DataSRC     Destination Account   Destination DataSRC                      
    CEYTD                                NetIncome     TOTALADJ             29210                          Input                                                                               
    Reverse Sign                      YTD        Remark          
    False                                    True        CEYTD
    Here is the logic I use to call the stored procedure.
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%App%], [Actual], [USD], [%SCOPETABLE%], [%LOGTABLE%], [CEYTD], [99])
    *COMMIT
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%App%], [Actual], [LC], [%SCOPETABLE%], [%LOGTABLE%], [CEYTD], [99])
    *COMMIT
    If anyone has experienced this issue before, I would really appreciate some help on how to resolve it.
    Thank you,
    Mark Glowczewski

    Hi
    why not try the script logic in doing this it will be much more flexible
    Thanks

  • Business Rule Running issue??

    I am having all the BR's in my webform Run on Save
    When the rule runs on save, the rule is taking a lot of time to complete and may it is cretaing loops, may be since there are more than one rule.
    And if I run that rule by double clicking the rule on the same webform it gets completed in 30-40 seconds.
    I don't know what could be the issue
    I don't think there is a problem in my rule because that rule runs quickly by double clicking it.
    Please help!!
    Recenltl I also got error opening Planning
    The eror says:
    Failure to connect to the Apache Bridge
    No Backend server available for connention.
    Thanks

    You could look into setting business rules to run in the background after a set time period, this may help issues with timeouts on the web server.
    Have a look at :- http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch02s07s05.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rule Deployment Date & Time

    Hi All,
    Can we know if a business rule is deployed or not, including the time and date for deployment?? This must be available in RDBMS i think.
    Like i tried a query which selects all the Business Rules and display created , modified and moved date and time.
    The issue is that the time provided by the result of query do not match if we access the same business rule through workspace --> calc manger--> specified application --> specified plan type--> and the rule name
    The query is
    select * from
    hsp_object ho
    where ho.OBJECT_TYPE = 115
    Regards
    Ace,

    vvipirailo wrote:
    It's in EPMA schemeIt should be in the Calc Manager schema/database if the products have been deployed to separate dbs/schemas
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for