Buisiness rules in bpel

How to Create a rule in Oracle Business Rules Rule Author and how to create a Decision Service Partner Link in BPEL that referers the Rule
Repository and implement the same in a BPEL process.
can anybody help me with an example...

Read
http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/decision.htm#sthref3129

Similar Messages

  • Xslt transformation rules for BPEL

    Hi there,
    Can anyone advise where I can find the xslt transformation rules for BPEL. I am unable to find the mentioned file "114.XSLTTransformations".
    Best regards!
    Linda

    I installed the BPEL process manager and find the 114.XSLTTransformations tutorial project, but the sample xslt file is for a specific xml file but not for a general bpel file, which doesn't help with my problem.
    For instance, if I want to transform a bpel file to other formats using xslt, how to handle "partner link" structure of bpel?
    Best regards,
    Linda

  • Business Rules and BPEL integration

    hi
    can u provide me information on how to integrate Business Rules with BPEL. do provide me any documents related to this, if any.

    Hi,
    In the new 10.1.3 release (scheduled to hit the streets this summer) Oracle provides business rules support in the BPEL product.
    Supported in 10.1.3 are Ilog Jrules as well as Oracle's own business rules engine that will be contained in the package.
    More info on new features can be found in a recent web seminar for which the replay can be obtained here: http://www.oracle.com/technology/products/ias/bpel/htdocs/webinars.html.
    Hth, Sjoerd

  • Unable to integarte Oracle business rules with BPEL

    hi'
    I am unable to integrate Business rules with BPEL, I am using JDeveloper to do this.
    I have successfully made a connection to rule repository and using decision service in synchronous BPEL process.
    In the decision service wizard step 1 of 2
    1.) Selected 'Execute Ruleset' in Invocation pattern
    2.) Selected rules set which I have cretead before.
    the problem is coming when nothing is geting displayed in the
    window below for Fact name, assert name, watch fact.
    please help me why Fact name, assert name, watch fact are not coming.
    thanks
    Yatan

    Thanks Anirudh,
    Do I need to make some changes in the java classes or in the XSD file which I am importing while creating new BPEL process
    I am importing the same XSD file in input and output, actually I am updating the database in the BPEL process so I am taking the
    input from the payload and updating the DB.
    Do I need to make two different <complexType name="updatingDB"> and <complexType name="businessrules">in the XSD
    if you have some example which shows the Integration of BPEL and Business rules
    with Java facts please share it with me.
    thanks
    Yatan
    Edited by: user10681871 on May 25, 2009 11:51 PM
    Edited by: user10681871 on May 26, 2009 12:02 AM

  • Accessing Business rules from BPEL, OESB and OSB

    How to aceess Business rules from BPEL, OESB and OSB ?

    Hey you can use Decision Service in BPEL process. You have "Decide" activity for this. However, no idea about ESB or OSB.

  • Creating simple Business Rules in BPEL process

    Hi,
    I have an environment consisting of SOA Suite 11g running on Weblogic Server. I'm using JDeveloper 11g for development.
    Scenario
    I have a BPEL process which starts off by polling a DB table and I then assign the input to a Recieve activity's InputVariable. I have a 'Number' column which will contain a number between 1 and 3. I then require Business Rules (BR) to be set up which read this value, and based on the number, assign a 'Name' string (which is to be the output variable from the business rules) to be used later on in BPEL process.
    Problem - I have followed the basic tutorials available in order to set up the business rules, but am getting numerous errors. Firstly, I sometimes find that my input/output variables created during setup of BR component and the XSD based on this, does not have XML Faces automatically created for it (therefore have to create it myself by clicking on the + button and doing this for each element of XSD). When I do get this working, I then double-click on my Business Rules activity in my BPEL process, only to find that the input/output variables here no longer are assignable to my BR input/output variables as I get the following error "Exception: Problem Building Schema!".
    I am not sure why this is, but suspect that my XSD (which is very simple anyway) or the setup steps I follow to define the link to my XSD, are wrong.
    I have taken the following steps so far:
    1. Create empty BPEL process
    2. Set up polling adapter to poll DB table
    3. Create Receive activity and assigned polled input to created variable
    4. Add Business Rules component to composite and set up and create dictionary here. Also set up inputs/outputs to be in form of my XSD elements.
    5. Add Business Rules component to my BPEL process and configure this to include input/output variables (*This is where error occurs*)
    6. Go back to .rules component in composite to define rule and define rule
    Upon deployment, I get many errors most of which pertain to "Unresolved XML element... make sure XML element +xxxxx+ is defined in one of WSDL's that are referenced by the deployment descriptor."
    I have only imported a simple XSD containing two elements to this project. The other XSD is the one of my polling adapter. I've not created any input/output variables for the overall BPEL process as didn't think I was required to.
    Can you please help in getting this process doing the simple activities described at the top.
    I appreciate your help.
    Edited by: user10248308 on 10-Mar-2010 11:49

    Hi,
    Create a project with BPEL composite
    Now drag a business rule
    Now create input variable of type ur requestelement
    and output variable of type response element
    Now in rules designer page take decision table
    and then craete a condition (inputelement.input > 1000) and in the rule select true
    now create another rule select false
    Npw create an action with assertion and select the parameterized box there
    now in designer page for first rule assign some value (say 500) and for second rule some value(100)
    Now in bpel u have to assign a value to input var of BR
    Deploy the process
    If u supply 10000 u will get 500
    if u supply 100 u will get 100
    In the same way u can do by using If-Then
    You can use facts and bucketsets according to ur requirement
    Regards
    PavanKumar.M
    PavanKumar.M

  • Business Rules with BPEL or ADF

    Hi,
    My requirement is :
    We have to migrate records from one DB table to another DB table.
    And we have to apply Business Rules on those records while they are on there journy from source DB to target DB.
    We have two choices to achieve this:-
    1) Use BPEL process and Tranform Record from Source to Destination by applying Business Rules
    Or
    2) Develop ADF application and use business rules SDK to fetch the Rules and apply them to Tranfer Data from Source DB to Traget DB.
    Can anybody suggest the better approach on this.
    Thanks & Regards,
    anvv sharma

    You may want to provide more information on your use case. The way I read this is that neither product would suite your use case. This looks more like an ETL solution, therefore ODI may be a better play.
    Is this a one off exercise?
    How big is the payload?
    what are the examples of the business rules?
    Are the business rules dynamic?
    cheers
    James

  • JHeadstart, Oracle Business Rules and BPEL Process Manager

    Dear JHeadstart Team,
    I have some questions regarding integration of JHeadstart and Oracle Business Rules and Oracle BPEL Process Manager. As a matter of fact I don't have any work expriences with these tools so my questions may not be good and precise.
    1- Using a business rule engine can dramatically increase speed of development and ease of maintenance.I had a very good exprience in using JHeadstart and Headstart in the past but I wanted to know if it is possible to use Oracle Business Rules in conjunction with the JHeadstart ? If so, What steps should be taken? Is there any known issue about this integration? Does Oracle Business Rules have any interference with JHeadstart or it is only used in model layer during insert,update,delete?
    2- Is it possible to develope a system based on oracle work flow engine (Oracle BPEL Process Manager) using JHeadstart ? If so, What steps should be taken and how the changes in the flow of work would by applyed in a system developed by JHeadstart. Is there any known issue about this integration?
    Any help,link to documents or general guidelines would be highly appreciated.
    Thanks in advance,
    Navid

    Couple of things I would like to add, are the following.
    In the context of an ADF application usage of Oracle Business Rules most likely is in the business logic layer, but mind that it does not need to be restricted to that.
    Oracle Business Rules takes so called 'facts' as input, evaluates some rules based on that and change those facts or return some result. That might be checking a business rule as defined in the JHeadstart Developers Guide. But it might also return some value that is used in a navigation rule.
    Think about a page flow where after page A normally page C is presentend, but in case of some situation (like a customer ordered something and you want to present some special offering based on that) you want page B presented in between (i.e. A -> B -> C). Oracle Rules could be used to determine this page flow. This would be an example of using it in the controller layer (probably in combination with using facts that come from the model layer).
    Another remark that I would like to make, is that in my opinion it does not make much sense to use Oracle Rules for business rules that logically more or less are part of your data model (like end date must be on or after begin date). You typically use Oracle Rules to implement business rules that are of a volatile nature, meaning that day-to-day business may require a change of the rules. One example is the navigation case that I mentioned before. Another (typical) example would be a rule that defines when a customer is a Gold customer.
    Jan Kettenis

  • Invoking rules from bpel.

    Im trying to create a decision service in bpel. However there is not much docs on how to accomplish this. Ive created a rule following chapter 4 of the users guide for business rules. However when i go to jdev to select the ruleset. i can select it but no facts show up... am i missing something?

    Ok - I re-created my 10.1.3.1 environment to try this one more time. I re-installed so that I would have a clean start.
    Everything is on one machine.
    1. Using RuleAuthor, I created a repository in c:\rules.
    2. Using JDeveloper, I created a BPEL process. Synchronous. Input and output schemas the same as what I used in my rule so that I could test this easily.
    3. I added a Rule connection to point to my repository at the c:\rules location. I also added the application server and integration server connections.
    4. I added a DecisionService using the Rule connection. I set the invocation pattern to Execute Ruleset (since I have rulesets in my repository, not functions). I browse to select the Ruleset. I see my Rule connection and expand it and see the ruleset and select it. I select the Assert Fact and Watch Fact checkboxes and select Next. In step 2, I confirm that the xsd file is available.
    5. I create a Decide activity. I select my Decision Service created in (4). I choose to "execute ruleset, retrieve results, and reset session". I add the Assign Input Facts and Assign Output Facts copy operations to copy my input variable to the ruleset input and the ruleset output assigned to my output variable.
    6. Save everything. Deploy.
    7. Open Enterprise Manager and go to the web services page. See my bpel process web service endpoint. Select Test Service (twice), enter my input data and Invoke. I see the output from the ruleset evaluation.
    I did not copy any files around or do anything with classpaths. The tools did it all for me. In the process of Deploying, the repository gets copied into my JDev project and also to the application server. If I want to make changes to the rules that are effective immediately, I have to edit the respository on the app server, not the one in c:\rules.
    Note: make sure you set the invocation pattern as described in step (4). Otherwise you are asking to select a Function and if you don't have any, you'll see nothing under your Decision Service Rule connection.
    Let me know if you have more questions.
    Heidi.

  • Buisiness Rules not running properly

    Hi Experts,
    I am using Hyperion 11.1.1 and I have created planning business rules in Calc Manager using RTP variables. The rules get deployed without any errors. When the rules are run from planning, we select the values for the variables in the prompt dialect. The rules starts running but after sometime, the prompt window box gets converted to the form page on which the rule is run instead of showing "Rule run successfully". But quite strangely, some time rules successfully runs. But most of the time, the rule doesn't run. I am not sure whether it's getting timed out or not. Can anyone throw some light on this strange behaviour? Would appreciate your help.
    Regards,
    ADB

    I then closed out of outlook completely.  I opened webmail and created a client-side rule that moved emails from myself to a specific folder, marked them as read, and with high importance.  The rule kicked off automatically and sorted my email
    into the appropriate folder.
    According to this deacription, it seems that the Inbox rule created in Outlook Web Access(a Webmail client for Exchange) can work automatically. If so, I think the issue should be related to Outlook client.
    Since the issue occurs whenever you checked "Used Cached Exchange mode" or not, we can restart Outlook in safe mode to check whether the issue continues to confirm if it is caused by any third-party add-ins.
    Please update your Outlook 2007 to the latest version and remove all Inbox rule to re-create them one by one to check whether the issue persists. If it doesn't work, please change a computer to have a try.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Error while integrating Business rules (decision service) in BPEL

    hi'
    from some time I am struggling to integrate Business Rules with BPEL, I was successfully able to integrate it also.
    however now once again the same error has started coming.
    If it try to deploy the BPEL process it will give built failed but the BPEL process will come in the BPEL console
    and after passing the parameter it will give unable to find the decision service WSDL file.
    please advice what is the issue some time it works perfectly some time it shows error while deploying.
    error:
    Buildfile: D:\Oracle-SaaS\Downloads\jdevstudio10134\jdev\mywork\OEA\OEADetermineApproverBPEL\build.xml
    [java] Java Result: 1
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/D:/Oracle-SaaS/Downloads/jdevstudio10134/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process OEADetermineApproverBPEL on bg1ws0044, port 80
    [deployProcess] Deploying process D:\Oracle-SaaS\Downloads\jdevstudio10134\jdev\mywork\OEA\OEADetermineApproverBPEL\output\bpel_OEADetermineApproverBPEL_1.1.jar
    [deployProcess] Successfully deployed the process "OEADetermineApproverBPEL" on server "bg1ws0044" and port "80"
    deployTaskForm:
    [echo]
    | Deploying workflow form for OEADetermineApproverBPEL on bg1ws0044, port 80
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Application Deployer for default_OEADetermineApproverBPEL_1_1_HumanTask1 STARTS.
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Copy the archive to C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_OEADetermineApproverBPEL_1_1_HumanTask1.ear
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_OEADetermineApproverBPEL_1_1_HumanTask1.ear begins...
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Unpacking default_OEADetermineApproverBPEL_1_1_HumanTask1.ear
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Done unpacking default_OEADetermineApproverBPEL_1_1_HumanTask1.ear
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Unpacking workflowform.war
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Done unpacking workflowform.war
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_OEADetermineApproverBPEL_1_1_HumanTask1.ear ends...
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Starting application : default_OEADetermineApproverBPEL_1_1_HumanTask1
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initializing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initializing EJB container
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Loading connector(s)
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Starting up resource adapters
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initializing EJB sessions
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Committing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initialize workflowform begins...
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initialize workflowform ends...
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Started application : default_OEADetermineApproverBPEL_1_1_HumanTask1
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Application Deployer for default_OEADetermineApproverBPEL_1_1_HumanTask1 COMPLETES. Operation time: 1422 msecs
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] BindWebApp error: javax.management.ReflectionException
    [deployTaskForm]
    BUILD FAILED
    D:\Oracle-SaaS\Downloads\jdevstudio10134\jdev\mywork\OEA\OEADetermineApproverBPEL\build.xml:97: Error while deploying the form on server "bg1ws0044" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:141)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:818)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:578)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:849)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:875)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         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:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 8 seconds

    hi',
    I am able to deploy it successfully the problem was with version,the form also got successfully deployed according to the build,
    when I tried to run the JSP page, below is the OC4J Server log and next is the error on the IE.
    OC4J Server log
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    D:\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config>
    D:\jdevstudio10131\jdk\bin\javaw.exe -client -classpath D:\jdevstudio10131\j2ee\home\oc4j.jar;D:\jdevstudio10131\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=nandiisa.sonata.local -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=172.23.*|172.23.0.60|*.sonata.local|localhost|127.0.0.1|bg1ws0044 -Dhttps.proxyHost=nandiisa.sonata.local -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=172.23.*|172.23.0.60|*.sonata.local|localhost|127.0.0.1|bg1ws0044 -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Aug 6, 2009 2:54:20 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Aug 6, 2009 2:54:20 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 10201 ms.
    Target URL -- http://172.23.19.80:8988/OEA-BPELProcessforApproval-context-root/HumanTask1/form/war/HumanTask1.jsp
    09/08/06 14:54:25 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    WARNING: Code-source C:\product\10.1.3.1\OracleAS_1\bpel\lib\xmlparserv2.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html) has the same filename but is not identical to /D:/jdevstudio10131/lib/xmlparserv2.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0.
    09/08/06 14:54:30 log4j:WARN No appenders could be found for logger (collaxa.cube.services).
    09/08/06 14:54:30 log4j:WARN Please initialize the log4j system properly.
    <2009-08-06 14:54:30,245> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:358)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:125)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.config.ConfigurationManager.getProperty(ConfigurationManager.java:119)
         at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(ConfigurationManager.java:170)
         at oracle.bpel.services.common.exception.ServicesException.<clinit>(ServicesException.java:61)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
         at oracle.bpel.services.workflow.query.impl.TaskQueryService.<clinit>(TaskQueryService.java:78)
         at oracle.bpel.services.workflow.client.JavaWorkflowServiceClient.getTaskQueryService(JavaWorkflowServiceClient.java:77)
         at humantask1.form._war._HumanTask1._jspService(_HumanTask1.java:92)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    <::> ORABPEL-30028
    <::>
    <::> Invalid configuration file wf_config.xml
    <::> The configuration file wf_config.xml not be read.
    <::> Make sure that the configuration file wf_config.xml is available and is a valid XML document. Contact oracle support if error is not fixable.
    error on the IE.
    500 Internal Server Error
    oracle.classloader.util.AnnotatedNoClassDefFoundError:      Missing class: com.collaxa.common.util.Base64Encoder     Dependent class: oracle.bpel.services.workflow.verification.impl.VerificationService     Loader: current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0     Code-Source: /D:/jdevstudio10131/integration/lib/bpm-services.jar     Configuration: <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_htmlThe missing class is not available from any code-source or loader in the system.     at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [D:/jdevstudio10131/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]     at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [D:/jdevstudio10131/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [D:/jdevstudio10131/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [D:/jdevstudio10131/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]     at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]     at oracle.bpel.services.workflow.verification.impl.VerificationService.encryptString (VerificationService.java:1924) [D:/jdevstudio10131/integration/lib/bpm-services.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0]     at oracle.bpel.services.workflow.verification.impl.VerificationService.createTokenFromMap (VerificationService.java:1806) [D:/jdevstudio10131/integration/lib/bpm-services.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0]     at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit> (VerificationService.java:145) [D:/jdevstudio10131/integration/lib/bpm-services.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0]     at oracle.bpel.services.workflow.query.impl.TaskQueryService.<clinit> (TaskQueryService.java:78) [D:/jdevstudio10131/integration/lib/bpm-services.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0]     at oracle.bpel.services.workflow.client.JavaWorkflowServiceClient.getTaskQueryService (JavaWorkflowServiceClient.java:77) [D:/jdevstudio10131/integration/lib/bpm-services.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0]     at humantask1.form._war._HumanTask1._jspService (_HumanTask1.java:89) [D:/jdevstudio10131/jdev/mywork/OEA/BPELProcessforApproval/output/.jsps/ (from *.jsp in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\output\.jsps), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp.jsp22074838:0.0.0]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service (OrionHttpJspPage.java:59) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspPageTable.service (JspPageTable.java:453) [D:/jdevstudio10131/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspServlet.internalService (JspServlet.java:591) [D:/jdevstudio10131/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspServlet.service (JspServlet.java:515) [D:/jdevstudio10131/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at javax.servlet.http.HttpServlet.service (HttpServlet.java:856) [D:/jdevstudio10131/j2ee/home/lib/servlet.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by api:1.4.0]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke (ServletRequestDispatcher.java:711) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal (ServletRequestDispatcher.java:368) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest (HttpRequestHandler.java:866) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:448) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest (HttpRequestHandler.java:216) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run (HttpRequestHandler.java:117) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run (HttpRequestHandler.java:110) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket (ServerSocketAcceptHandler.java:239) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700 (ServerSocketAcceptHandler.java:34) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:298) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap:1.5.0_06]

  • How to make BPEL process work with  Oracle Business Rules

    Hi
    I know that we can use business rules in BPEL process as decision services.
    But how should I do in real development? Are there any samples or tutorials that explain how to do that in details on otn or somewhere?
    Could somebody help?
    Thanks a lot
    Peter

    Thanks a million.
    But I have an other problem now.
    That is my JDevelper has no Decision service activity. And I saw the list label name is BPEL Extension Activities. But my JDev has no such a list item. What should I do?
    Hope somebody could help me!
    Thanks
    Peter

  • Two business rules runtime errors

    Hi,
    The business rules looks very nice but I got two runtime errors, The first I have to deploy twice else I got a wdsl error
    08/02/17 13:05:16 -------> CompositeDeployerTimer: deploying composites ...
    08/02/17 13:05:16 --------->deploying composite model: businessrules/br!1.0*2008-02-17_10-23-41_328
    17-feb-2008 13:05:16 oracle.integration.platform.PlatformMessages warningUnableRegisterService
    WARNING: Unable to register service.
    oracle.fabric.common.FabricException: Error in getting XML input stream: OrderCheckRules_DecisionService.wsdl: Error in getting XML input stream: OrderCheckRules_DecisionService.wsdl: Error in getting XML input stream: oramds:/br/OrderCheckRules_DecisionService.wsdl: MDS-00054: Het bestand dat moet worden geladen oramds:/br/OrderCheckRules_DecisionService.wsdl bestaat niet.
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:341)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:141)
         at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:149)
         at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:130)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:89)
    The other is more serious. All the business rules fails with the same error.
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.> ORABPEL-36335
    Fact not found in the rule engine working memory, rule session execution failed.
    The rule session bpel:1701 failed because an instance of the fact credit_check_br.OUTPUT 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.
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:516)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:272)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.execute(OracleRuleSession.java:246)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1273)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at java.lang.Thread.run(Thread.java:595)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.> ORABPEL-36333
    Error while executing the rule session.
    The rule session bpel:1701 failed to execute.
    Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:287)
    SEVERE: <.> Fact not found in the rule engine working memory, rule session execution failed.
    The rule session bpel:1701 failed because an instance of the fact credit_check_br.OUTPUT 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.

    I'm not sure what you did to create the rule you are running here. Did you try the Rules chapter of the 105 sample on the TP3 page? That one does work.
    Once you have it working using the sample, try your exercise again and let us know what you did to create your rule. There are many permutations here and we want to know what doesn't work.
    Heidi.

  • Business Rules - Date comparison

    Hi,
    I want to implement a business rule that depends on the number of days between two dates e.g. approve where date1 greater than date2 plus 10 days.
    I'm calling Business rule via BPEL so am using XML Facts. What support is there for date types in the Business Rules?
    K

    There is no way to create this with a Business Rule, you have to write a custom workflow or SQL nightly job or something to update your fields.
    Ok people start screaming.
    "solution" if you want to call it that. USE AT YOUR OWN RISK, try in dev first :)
    1. Create an Attribute / Column in your Entity and call it Today or something.
    2. Go to Business Rules and create a dummy rule where you are setting this attribute (unconditionally with no Condition)
         Today equals 1/1/2000 or something.
    3. Go to tblBRItem find this BR and etin ItemSQL  from N'1/1/2000' to GETDATE()
    now you have Todays Date field...
    OK NEVER MIND, I've tried it and it works, the problem is that tblBRItems gets updated via a stored proc and will overwrite your entry.
    One can modify the code there as well but I don't have time to play with it unfortunately, as at that time you have to pass some token in to identify some values as your own special commands ... Either way this becomes messy and not a way to go.

  • 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

Maybe you are looking for