Business Rules : Sample Project
Hi,
Is any body has use the BPM's Business Rules feature, i need a sample project how to define and use this feature.
Thanks,
Brijesh Kumar Singh
Here's a tutorial I wrote that shows how to create and edit business rules using the Oracle BPM 10g Business Rules Editor from both a developer and an end user perspective. It's a part of the basic training we provide:
http://www.4shared.com/file/GiMR6iei/Business_Rules.html
Dan
Similar Messages
-
Hi,
I just started with a simple Business rules sample.
All the time only the first condition in the rule set seem to be executed and the result is same inspite of conditions not matching the first condition.
Am I doing something wrong?
Thanks,
PrabuMaybe not, the rule may be working as designed. If you are doing a simple rule you also need to implement the negative, e.g.
if I have a rule that price must be greater that $1000
if price > 1000 then ...
The rule will only activate for prices greater than 1000 what about less than?
so you need to implement the negative
if price <= 1000 then
cheers
James -
Hi da,
I have few queries on business rules.
1. what is the use of business rules ? and how can we use and where can we use it. is there any usefull guide?
I can see BR outline tab in EAS console with some of functions. ( I just recently finished my essbase training and we never told about these business rules).
2. In shared services when I try to open Business Rules under projects it is showing the error" Refer to essbase security guide" . ( I externalized all users to Shared services). So how can I access Business Rules in shared serives? or is there any other way to access.
{OS: windows server 2003 sp2
DB: Sql Server 2005
Hyperion System 9( 9.3.1).}
Help will be appreciated.
Thanks and Regards,
Sri-Oralce.Hi Sri,
1. Basics of BR ( Business Rules ) can be found in planning document ( there are 2 planning docs 1. user guide and 2. Admin guide). Pls find that
2. From Planning perspective , we create Business Rules ,which are nothing but another version of essbase calculatino scripts , thats why you do see in EAS.
3. Essbase training does not include Business Rules ( planning does include).If you are comfortable with calculation scripts, then BR's should be comfortable to you.
4. To see BR's in shared services , I have a question , did you install Planning and all.
Sandeep Reddy Enti
HCC
http://hyperionconsultancy.com/ -
How to deploy Oracel Business Rule (11 TP4) from within JDeveloper?
Hello,
I'm testing the Oracle Business Rules functionality provided in JDeveloper 11TP4.
Development looks nice. I'd like to test the rules, wether it be from within a Java Class or as a Web Service.
- How can I test the Business Rule 11G in Jdev TP4?
- How can I deploy the Business Rules to an Application Server?
Who's got ideas?
Thanks in advance,
Regards Léon SmiersLeon,
Try the business rules sample for TP4. It includes instructions on how to build the rule and deploy it from JDev.
http://www.oracle.com/technology/products/ias/bpel/techpreview/index.html
Heidi. -
Business Rules Project Takes Too Long to Open
Does anyone know why it takes too long (~3-5 minutes) to open/edit a security project definded for assigning business rules to planning application forms? We are using Hyperion v11.1.1.3.0. Essbase is on Windows server, Shared Services on Solaris 10 Unix. Even before we migrated Essbase to Windows to gain better performance running calcs, opening projects using EAS has always been very slow to open. Please advice if there is a way to improve performance on this.
Clear Cookies & Cache
* https://support.mozilla.com/en-US/kb/Template:clearCookiesCache
Clear the Network Cache
* https://support.mozilla.com/en-US/kb/How%20to%20clear%20the%20cache#w_clear-the-cache
Firefox takes a long time to start up
* https://support.mozilla.com/en-US/kb/firefox-takes-long-time-start-up
Check and tell if its working. -
Business Rule Of Sample Application in Planning
Hi Planning Gurus,
I am unable to find where the business rule is saved in Planning Application (Sample Application shipped with Planning), though i see some default Rules under Business Rule within Admin console like aggall etc. But where are the basic calc like Revenue=Unit*Unit Price.
Thanks & regards
N KumarIf the location and access has been set up on the business rule then they should appear soon after in planning.
If no business rules are showing and depending on your version, check that HBRServer.properties exists in the planning web server strucure e..g \Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning\WEB-INF\classes
Cheers
John
http://john-goodwin.blogspot.com/ -
Business Rules Instance disappeard in projects folder in Shared Services
Hi all,
I have this strange thing happend to me today morning. when i logged into the Shared Services i can find the Business Rules folder but i couldnt find the instance for it.Is there any way i can reconfigure it so that i can see the instance back again in Shared Services.
Environment: Windows server, Hyperion version 9.3.1
Any help on this would be greatly appreciated.
Thanks in AdvancePlease find the error log below
com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
java.lang.Exception: Registeration failed: error.generalSaveModel.Registeration failed: error.generalSaveModel.
at com.hyperion.cis.config.CmsRegistrationUtil.registerApplication(CmsRegistrationUtil.java:222)
at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeHubRegistrationTask(RunAllTasksWizardAction.java:360)
at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:165)
at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)
Thanks -
Unable to find Business Rules in the JDeveloper while creating new project
Hi All,
I am going through the chapter 9 Creating a Rule-enabled Non-SOA Java EE Application for JDevloper 11g. I am following the instruction given in the chapter.
However I am unable to find a Business Rules category for creating a Business rules directory.
Probably it has to be activated from somewhere.
I tried searching its significance with JDev installation but haven't got anything.
It seems very basic level problem, however...Please let me know if anybody knows how to solve it
Thanks,
Makarand.
Edited by: user11223806 on Aug 12, 2009 7:48 AMDid you install the SOA extension for JDeveloper from the help->check for updates?
-
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)
----- -
Business Rule Issue in Planning
Hi All,
I am working on a business rule and I ve tried doing it many ways but still unable to achieve the desired results. Please find the BR below:-
FIX(@CHILDREN("Vendor Expenses")
,{Scenario},@Relative("Year",0),"No VendorCategory")
{UPKVendor}
IF (@ISUDA({UPKVendor},Master))
{UPKMasterVendor}= @MEMBER(@CONCATENATE("V",@NAME({UPKVendor})));
{ToVersion}->@IDescendants({UPKMasterVendor}) = {FromVersion}->@IDescendants({UPKMasterVendor})
ELSE
{ToVersion}->{UPKVendor}={FromVersion}->{UPKVendor};
ENDIF
ENDFIX
Assumptions :-
{UPKVendor} is a runtime prompt of type "Member" who's value is initiated from the web form (Vendor Dimension which is tagged with UDA's to identify the type of project)
{UPKMasterVendor} is a runtime prompt of type "Member" who's value is constructed by concatenating "V" to the {UPKVendor}
{ToVersion} & {FromVersion} are runtime prompt's as well and the user can select the values for these prompts as part of the business rule.
Desired Results:-
IF A VENDOR IS A "MASTER" Vendor, WHICH IS IDENTIFIED USING THE UDA
THEN COPY THE UPKMASTERVENDOR AND IT's DESCENDANTS FROM THE ONE VERSION (FROMVersion) to ANOTHER VERSION (TOVersion)
For some reason, the calc manager is not formulating @IDescandants({UPKMasterVendor})
{ToVersion}->@IDescendants({UPKMasterVendor}) = {FromVersion}->@IDescendants({UPKMasterVendor})
Any help is greatly appreciated.
Thanks,
CzHi,
The issue here is that you are trying to assign a member string in a variable on runtime which is not quite possible in Calc Script language. As discussed here number of times and once more quite recently, Calc Script does not support object type (including string) assignment. You can only assign numeric values to members and variables alike. You should try something like @Match function or If condition to achieve what you are doing. Another issue in your script is that you use @Descendants in an equation. You should use @Descendants to restrict the boundaries of your calculation (IF(@ISMBR..., FIX etc) but not in equations.
Just to give an idea, have a look at below sample:
IF (@ISUDA({UPKVendor},Master))
IF(@ISMBR(@Descendants((@MEMBER(@CONCATENATE("V",@NAME({UPKVendor})))))
{ToVersion}= {FromVersion};
ENDIF
ENDIF
Cheers,
Alp -
How to get rid of Business Rule in JhsModel: JHS-00128 Allowable Values req
JHeadstart 10.1.3.2
We are using FlexItems in our application.
The JhsModel implementation, shipped in Jar file jhsadfrt-10.1.3.jar, contains the underlying ADF BC objects for the FlexItem functionality.
When we try to create (or remove) a FlexItemDefinition of type Dropdown List, we are stopped by the error: JHS-00128: Allowable Values are required for this Item Display Type.
We do not want that - we have a UID that does not allow editing of master and details on the same page. Therefore, we will never be able to successfully create a dropdown list item since we cannot in the same transaction create the allowable values as well.
How could we disable this business rule - or remove it altogether? I suppose it is implemented somewhere in the jar file that contains the JhsModel project. What is the recommended way of disabling this constraint?
thanks for your help
LucasHi Lucas,
This error is raised if the number of allowable values is zero and the allowable values query of the flexitemdefinitions entity is 'empty'. You could write a (temporary) dummy allowable values query in the flexitemdefinitions entity in order to save the master, and then once you've input the allowable values in the details page, remove or reset the value in the allowable values query attribute of the flexitemdefinitions entity.
Hope this helps,
Regards,
Ibrahim -
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 secondshi',
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] -
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. -
String CDF functions not working in business rules
Working with EPM 11.1.2. I created a calc script on the planning cube and it works perfectly. I then put the same code in a business rule and it will not validate. Please see the code below.
1) created udf folder in following directory
essbase/Oracle/Middleware/EPMSystem11R1/products/Essbase/EssbaseServer/java
2) modified udf policy to grant access to all
3) saved CDF_String.jar file to new udf folder on server
4) registered functions via maxl
5) stop/start application
6) stopped/started EAS services
I get the following error in the message window (line 9 is the JGetStringFromDouble statement):
"Encountered " "-> " "-> "" at line 9, column 35.
Was expected one of:
What do I need to do to get this code working as a business rule since I want to use RTPs in this routine?
FIX("No_Profit_Center", FY07:&CapAppEndYr, "Working Plan", "Current", "Manual_Input", "LOC", @Relative("Period",0), @Relative("Project",0), @Relative("Entity",0))
"AC_Unappr_Fcst_Depr"
IF ( "AC_Unappr_Fcst_Depr" == #Missing)
IF ("FY07"->"No_Period"->"AC_Depr_CC" != #Missing)
"AC_Unappr_Fcst_Depr"->(@MEMBER(@CONCATENATE("EN_",@JgetStringFromDouble("FY07"->"No_Period"->"AC_Depr_CC",@_False,@_False)))) = "AC_Unappr_Fcst_Depr_Temp";
ELSE
"AC_Unappr_Fcst_Depr" = "AC_Unappr_Fcst_Depr_Temp";
ENDIF
ENDIF
ENDFIXEdited by: jjdubb on Jun 11, 2012 9:10 AMI've had this issue with a different string function. Business Rules does not like the boolean parameters (@_FALSE) used in these CDF's. I had a similar issue and had to rewrite my CDF without the parameters. You basically need to hardcode the "with quotes" and "with decimals" parameters in the java code.
Hope this helps,
- Jake -
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
SeshaCan anyone help me on this..
Maybe you are looking for
-
ThinkPad USB Keyboard with TrackPoint issues with scroll (55Y9003)
Hi Guys, I am having issues with this keyboard... I ordered it to use it on my work where I have Dell Vostro desktops. However scroll simply doesn't work in all programs and even stops working ... I also using VM and it doesn't work at all in VMWAR
-
No new extensions or add-ons have been installed. And all the features options to open new tabs fail to open a new tab. Can someone tell me how to fix the problem? I'm tempted to downgrade to an earlier version of firefox or reinstall 3.6.13 to see i
-
Hello Is it possible to open multiple instances of excel from spw so that I may view different spreadsheets on different monitor screens? I can do this outside of sharepoint no problem.
-
I can not listen to podcasts on my ipod 4
I can not listen to podcasts from itunes on my ipod 4. Is there anything I can do to get it to work?
-
Not able to query the price of PTO model through Pricing and availability
Hi all, I book an order for PTO model through OM, i get the prices displayed, if i query the same model through Pricing and availability form, to know the price, there is no item found in the LOV The same model in istore, shows no prices in the catal