Business Rule in shared library

Hi,
We have 2 portal projects. Say Project 1 and Project2. Project 1 is deployed as a shared library for project2. Project2 is deployed as an application.
I have a business rule in a Project1's datasync project. And executing that rule from the controller of a spring portlet present in the project1's web project. This is deployed as shared library for project2. If i try to access the desktop (present in Project2), it throws follwoing error.
com.bea.p13n.rules.manager.RuleSetNotFoundException: The rule set with URI /Rules/a.rls could not be located by the class named com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.
     at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.getRuleSet(RuleSetPersistenceManager.java:408)
     at com.bea.p13n.rules.manager.internal.ContextPool.<init>(ContextPool.java:149)
     at com.bea.p13n.rules.manager.internal.ContextPoolFactory.getContextPool(ContextPoolFactory.java:214)
     at com.bea.p13n.rules.manager.internal.RulesManagerImpl.getContext(RulesManagerImpl.java:476)
     at com.bea.p13n.rules.manager.internal.RulesManagerImpl.evaluate(RulesManagerImpl.java:349)
     at com.bea.p13n.rules.manager.internal.RulesManagerImpl.evaluateRuleSet(RulesManagerImpl.java:122)
     at com.bea.p13n.rules.manager.internal.RulesManager_jswjkk_EOImpl.evaluateRuleSet(RulesManager_jswjkk_EOImpl.java:597)
     at com.capitalone.ecom.framework.RuleEngine.Impl.RuleExecutorImpl.evaluateRuleSet(RuleExecutorImpl.java:187)
     at com.capitalone.www.capabilities.portlet.controller.NavigationController.readBusinessRule(NavigationController.java:81)
     at com.capitalone.www.capabilities.portlet.controller.NavigationController.renderRequest(NavigationController.java:62)
     at com.capitalone.www.capabilities.portlet.controller.common.BaseController.handleRenderRequestInternal(BaseController.java:58)
     at org.springframework.web.portlet.mvc.AbstractController.handleRenderRequest(AbstractController.java:223)
     at org.springframework.web.portlet.mvc.SimpleControllerHandlerAdapter.handleRender(SimpleControllerHandlerAdapter.java:52)
Project 2 also has a business rule in its own datasync. That rule is accessed from backing file. It executes fine.
Any help.......

Hi
We are thinking of using a separate portal project with all the business rules and use a remote portlet for getting the result.
The question is like the wsrp-producer-registry.xml has to be manually copied to the running EAR and the <wsrp-producer handle> entry has to be manually made. Is it not possible to have the <wsrp-producer handle> entry automatically.
Also, <wsdl-url> entry currently is http://localhost:7001/xyz/producer?wsdl. But if the entries have to be made manually. do we need to repeat the process for other envirnments. i.e, the <wsdl-url> has to be changed manually in every environment and then deployed? Or is it not required to make any entries?
Are there any other limitations, using this approach..

Similar Messages

  • Problem with Business Rules access from Shared Services

    Hello,
    When trying to access Business Rules from Shared Services (expand Business Rules and click on the application) I get the "Refer to the Security Guide to configure security permissions for this application" message, but the user is fully provisioned for Business Rules. It happens even logged on as admin. Access from Administration Services works fine. The version Hyperion system 9 (9.3.0.1). What is wrong? Help, please.
    Thanks,
    Timur

    You can't access Business Rules from Shared Services. This is no different from any other application - Planning, Essbase, etc. You can provision users to the application roles, but you can't actually do anything with the application, other than security, in Shared Services. You use Admin Services to maintain Business Rules.

  • Exporting business rules

    I'm using the instructions from the following thread, Re: Steps to migrate Hyperion Planning application from 9.2.0 to new 9.3.1 env to copy a Planning application from version 9.2.0.2 to 9.3.1. There is a reference in these instructions to export the business rules using Administration Services. I only see options for Business Rules to either copy or export to shared services in the 9.2.0.2 version of the AAS Console. Which one of these options should I use or is there someplace else I should look to export the business rules.
    Thanks,
    Tom

    Yes, the user Id. is an admin for business rules. It may be a configuration issue. I get the following message when I try to click on a rule under Business Rules in Shared Services.
    Refer to your Admin Guide to configure security privileges for this application.
    I get this message in both the 9.2.0.2 environment and 9.3.1 environment. The user is an admin for Business Rules in the 9.3.1 environment also.
    The application does not use forms which I beleive is what Business Rules are used for. Not sure if they are used for anything else. Is it safe that I can ignore the business rules in the 9.3.1 environment or am I missing a critical piece that needs to be included in the 9.3.1 environment.
    Thanks,
    Tom

  • Oracle EPM 11.1.1: Business Rules issue

    Hi All,
    I have installed Oracle EPM 11.1.1 and I have created a planning application. However when I logon to Analytical Administration console and try to create a business rule I am facing the following issue:
    1. When I try to select Planning Application out I get the following errors:
    Error connecting to Essbase server <Server name>/<Application Name>.
    Detail:Could not log in to Planning Server
    2. As a work around I have set the Essbase outline and the rule is getting validated from AAS. This rule has been attached to a form and should be executed when I do a submit. However the rule is not running from the form. I tried running the rule from Planning web and again I am getting an error.
    I checked the access rights for the Business Rule from shared services and the admin user (which I am using) has Provision and Administrator rights. Is it a configuration issue or is there something that I am missing here.
    Thanks in advance,
    Amol

    NewUser2 wrote:
    Try to add a description to the Business Rule. There is a bug associated with it and you can find out in the Planning Readme. We had the same issue and got resolved by adding a description to the BR. Hope this will work for you.But the problem is he can't even create a business rule so how can he add a description to something he can't create?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Security issue in Business Rule

    Hi All,
    I've one user who is provisioned for business rules in shared services. I can see the user in Essbase user list. But when I try to assign the user to a business rule, I don't see that user in the "Add user" pop up box. There are total 121 essbase users and 120 users can be assigned to the business rule except that one. This is quite surprising and I tried lot of options but no result yet.
    I'm using system 9.2. And I tried below options:
    Deprovision the user and provision him again in shared service.
    Ran the security refresh in planning desktop
    restart essbase services
    Please let me know if you have any idea to correct this issue, Thanks in advance!!

    Log into "My Oracle Support" and have a search for doc id 763345.1, read section "Users and rights"
    Hopefully it will be useful to you.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business rules help

    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/

  • Optional package versus shared library

    I quote from the WL docs...
    "Optional packages differ from Java EE libraries because optional packages can be referenced from any Java EE module (EAR, JAR, WAR, or RAR archive) or exploded archive directory. Java EE libraries can be referenced only from a valid Enterprise Application. "
    Does this mean that javaee libraries can be accessed only from EAR and WAR
    whereas optionalpackage can be accessed from ear,jar , war or rar.....
    in otherwords javaee libraries cannot be accessed from a regular jar or rar...
    if that is the case, I wish they had just said so!

    Hi,
    EAR Shared Library Cannot be referenced by A WAR Application...EAR Shared Library Should be referenced By An EAR Application Only.
    Similarly...a WAR Shared Library cannot be referenced by EAR....So rule:
    EAR Shared library--------should be reffered by EAR Applications
    WAR Shared Libraries ---should be reffered by WAR Applications
    I have developed a Simple TestCase to demonstrate it...Please download it from: http://www.4shared.com/file/219660365/de4e3636/SharedLibrary_TestCase.html
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com/generalweblogic/ (WebLogic Wonders Are Here)

  • 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 Advance

    Please 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

  • Shared Services 11.1.2 + Provisioned Roles for Business Rules not reflectin

    Hi,
    I have provisioned users to have 'Basic' role in shared services for Business rules. We are using Calc manager + classic planning app. However users are unable to see the business rules associated with the forms due to which the rules dont run on save. Is there a intermediary step which I am overlooking?
    Regards,
    N

    Please ignore this question. I guess i posted in the wrong place. Not sure how to remove the thread

  • Business Rule Library not activated

    Hi, can anyone please tell me what drives the activation of Business Rule library?I am currently working on Consolidation of Investments and I have configured the dimension properties, application parameters as stated in 340.But my businessrules librray is not activated and hence I am not able to define the rules of consolidation.
    Edited by: 281642 on Aug 30, 2011 6:32 AM

    Hi,
    Which business rules have you selected?
    The business rules at the appset level are visible only if the automatic adjustment business rule is selected in your application.
    Hope this helps.

  • Library of Business Rules

    An existing system in my company has a large repository of decision tables, that we would like to port to decision tables to be run on Oracle Business Rules engine (and exposed through a single service).
    What would be the best way to do this?
    To me, JDeveloper does not seemthe right choice because: a) it would take long time to port the tables manually, and b) I am not sure if creating (only) a library of business rules (without any other componnets) is possible (in JDeveloper).
    I have not tried Business Process Composer?
    Once the decision tables are ported, we would like to use Oracle tools to manage the tables (modify existing and create new onces). I assume Businesss Process Composer would be good for that.
    Any suggestions would be very appreciated.
    Thank you,

    You are awesome !! Thanks for your valuable feedback..this will definitely help many people..
    I will just summarize from that post how we can check logs..
    Example: You want to test the Consolidation business rule & check what records it is writing..
    Step 1)Do Light Optimize so that request id in the Manage of consol cube in BW closes( Yellow->Green)
    Step 2)Run the consolidation business rule, you will see some 250 records written..
    Step 3)Again right click on consol cube in BW and hit Manage and now you can see new request id with yellow status..
    Step 4)Copy the request ID of the new entry and filter in Display data and now you can see that 250 records which was run by business rules
    I guess this will be helpful for someone !! Cheers!!

  • Sharing information between Hyperion Business Rules

    I am trying to share information between two Hyperion Business rules in EAS console.
    Suppose for example , I calculated a value and stored in local variable in one Business Rule.
    I would like to have this information in another business rule.
    Any idea about the possiblities.?
    I tried to use Global Variables in EAS but the Global variables are fixed and cannot be changed.
    Thanks ,
    Rajan

    Can you make a HBR local variable the target of a value? Doesn't that local variable have to resolve to a member in an Essbase database sooner or later if it's going to receive a data value from a formula?
    Or did you create a local variable as Real and then used that as the target? Maybe that would do it? (Obviously I've never done this.)
    Could you create a temporary place in the database to stick it and then delete it?
    Something like:
    1) Local variable = some kind of formula/calc
    2) No Account->No Product->No Scenario->whatever = Local Variable value. The point is an unused member that will let you set a value without overwriting permanent numbers. That shouldn't be too hard to find in a Planning app.
    3) In HBR #2, go after that member combination and number from #2, stick it into a local variable, and set that location in #2 to #Missing.
    Kind of painful, but it shouldn't really be that tough. You will need to make sure you create the block in #2.
    Regards,
    Cameron Lackpour

  • Syntax errors in Oracle Business Rules carrental ruleset

    Hi,
    I'm using Oracle Business Rules Rule Author on Windows, version 10.1.3.0.0.
    I'm working with the OTN carrental sample. If i load the supplied file-based repository CarRepository from the %HOWTO_HOME%/dict directory, navigate to the RL tab -> Generate RL-code and select the 'Check RL-Syntax' button I always get the same error message:
    Error:'5}' is undefined at line ... column ... in [DM or vehicleRent]
    If I navigate to 'Test Rulesets' i get the same error, no matter what testfunction i use with the vehicleRent ruleset.
    When i test the sample with the supplied java code i don't get any errors.
    However, if I follow the steps in chapter 2 (javaFact) or 4 (XMLFact) of the Business Rules user guide and setup everything from scratch for a filebased repository i get the same error at runtime.
    I based the filebased repository on the supplied emptyrepository file.
    Seems to make no difference whether I use a filebased or a webdav repository.
    any help on this would be appreciated.
    Rob
    Message was edited by:
    [email protected]

    There are two problems here. First, there is a bug that causes this error string to be displayed incorrectly when using the RuleAuthor in any browser language other than English. If you change the browser language to English, you should see:
    <p>
    A syntax error is found. <br>
    Error:'carrental.Driver' is undefined at line 4 column 14 in DM
    <p>
    The cause of this problem is that carrental.Driver class is not in the classpath for Rule Author. This isn't covered in the how-to. See section 3.10 in the Oracle® Business Rules User’s Guide (B15986-01) (available from here).
    <p>
    From this doc:
    <p>
    Create a rule set you want to test. If the data model includes any Java classes, the
    Java classes must be included in the OC4J classpath. The easiest way to do this is
    to put the JAR files in the following directory, then restart OC4J:
    $ORACLE_HOME/j2ee/home/applications/ruleauthor/lib
    <p>
    or add it as a shared library using EM (specific instructions follow in the doc) and then add that shared library to RuleAuthor.
    Message was edited by:
    philvarner

  • Using third party jars with Oracle Business Rules

    Hi
    I am working on Oracle AS 10g release 2.
    We are using Oracle Business Rules in integration with Oracle BPEL.
    While using third party jars however, Oracle Business Rules end is facing errors.
    Error during unmarshallingProvider com.sun.xml.bind.ContextFactory_1_0_1 not found
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: com.sun.xml.bind.ContextFactory_1_0_1
    Dependent class: javax.xml.bind.ContextFinder
    Loader: oracle.xml:10.1.0_2
    Code-Source: /D:/oracleasr3/lib/xml.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\oracleasr3\j2ee\home\oc4j.jar
    Can anybody help in figuring out where Jaxb jars(3rd party jars) are to be kept so that OAS access it?
    We tried using the applib folder to load the jars but we are getting class loading errors.
    When new instances are created, class loading is not happening.
    Pls help.
    Thanks
    Kavya

    Are you using Application Server Release 3 or Release 2? There are different versions listed in your mail.
    I think you probably want to add this as a shared library via EM and then import the shared library to your application with the application's xml config files.

  • Parameterized message in SO Business Rules

    HI
    We are trying to implement custom rules in sales order form using processing constraint.
    Rule to implement : When the order quantity for an item is less than the minimum order quantity defined in the price list then it should
    display an error message with the minimum order quantity for that item.
    Example : Ordered Quantity is less than Minimum Order Amount X.
    where X = amount stored in attribute1 of the price list.
    We are using business rules default messaging feature to disply the message but not able to pass the minimum quntity as message parameter. Can you body please suggest us if we can display parameterized messages and if yes how?
    Thanks in advance for your help.
    Regards.

    There are two problems here. First, there is a bug that causes this error string to be displayed incorrectly when using the RuleAuthor in any browser language other than English. If you change the browser language to English, you should see:
    <p>
    A syntax error is found. <br>
    Error:'carrental.Driver' is undefined at line 4 column 14 in DM
    <p>
    The cause of this problem is that carrental.Driver class is not in the classpath for Rule Author. This isn't covered in the how-to. See section 3.10 in the Oracle® Business Rules User’s Guide (B15986-01) (available from here).
    <p>
    From this doc:
    <p>
    Create a rule set you want to test. If the data model includes any Java classes, the
    Java classes must be included in the OC4J classpath. The easiest way to do this is
    to put the JAR files in the following directory, then restart OC4J:
    $ORACLE_HOME/j2ee/home/applications/ruleauthor/lib
    <p>
    or add it as a shared library using EM (specific instructions follow in the doc) and then add that shared library to RuleAuthor.
    Message was edited by:
    philvarner

Maybe you are looking for

  • How do I move my iTunes library from my old computer to my new computer?

    I currently have a Gateway 500S PC running Windows XP. I also have a 120GB portable WD Passport USB Drive. My iTunes library is on this computer. I have just purchased a Dell XPS 410 PC running Microsoft Windows XP Media Center Edition 2005. My quest

  • ITunes Store error 504

    The store just keeps showing a loading bar up the top and eventually it comes up with the error code "504". I have restarted iTunes and problem persists. Also iTunes is up to date (10.3.1) and system also. The only things are NOT up to date are new i

  • How do i complain Apple service provider

    I was angry about what service provider service! where can i complain directly? please help, thanks!

  • Passing XML from Java to PL/SQL using CLOBs?

    Hi. Here at the University at Buffalo, we're trying to develop an architecture where departments can send XML transactions to the business offices over HTTP. Since we don't have much Java expertise on staff, the boss has decided that we should use PL

  • 32 bit problem on a 64 bit operating system

    I have iTunes, reasonably current, on a Windows XP-Home laptop. I just bought a new desktop with Windows 7 Ultimate. I purhcased PC Mover from Dell to migrate my stuff. Foolishly, I migrated the iTunes that was on my laptop. After the migration, I tr