[Business Rules] Rules engine not updating my Fact Result as expected.

I have a Fact type implemented as a Java class, named Commission with the following properties: age(int), area(int), amt(double):
In the Java application I set the age to 30 and area to 3:
Commission comm = new Commission();
comm.setAge(30);
comm.setArea(3)Now I have a set of rules defined in the ruleAuthor where in, if the age is > 20 and area is between 1 and 5 then the business rule engine should set the Amt field to .3
But when I run the rules engine:
ruleSession.executeRuleset(...);
ruleSession.callFunctionWithArgument("assert", comm);
ruleSession.callFunction("run");
double commamt = comm.getAmt(); //this value returns (0) as if the rules engine did not fire the rule and did not change the amt field to .3When i get the comm.getAmt(), the value is zero and not 0.3 which is the expected result.
I wonder what's wrong, I only followed and patterned the instructions and code that came with Oracle Business Rules CarRental Example and/or the example that came in the Business Rule ViewLet.

Hi Phil,
I tried your suggestion. But it still does not work.
I don't if this would help but this is how I defined my rules:
1. I created a Java class file as a Fact Definition. Compiled it and stored it into a jar file.
2. Copied the .jar file to a remote machine where OracleAS is installed.
3. I run the ruleAuthor (browser) and specified a ruleRepository file.
4. Specified the jar file where the Fact Definition (Java file) is.
5. Created Ruleset and Rules
6. Save the Dictionary.
7. Copied the generated rulesRepository on to my local hard drive (remote).
8. Create and Run the Rule-Enabled Java application. ruleRepository points to the ruleRepository file generated by ruleAuthor and copied to my local hard drive.
Maybe there is something wrong with how I packaged the Java Fact Definition?

Similar Messages

  • Business Rules Engines?

    Hi,
    I have experience with embedding "CLIPS" which is a C rules engine as a
    Forte Service Object which was easily wrappered using standard Forte
    wrapper strategy.
    Also, we have a sales rep in ATL who used to work @ ILOG and therefore
    competed with Nueron Data, and from various conversations with mutual Forte
    / Rules Engine customers I've learned it would be a complimentary integration.
    They all have some C-callable API and so a Forte Service Object would be a
    good client to the rules engine api due to our support for multi-threading
    when API is thread safe and additional option of replicating for load-bal
    when API isn't thread safe. The later concept is analogous to our use of
    DBSession object for interface with DBMS client api's.
    Be aware, the experiences I hear about with the mentioned rules engines is
    that there are not always business analysts truly capable of using the
    Rules development interfaces provided by the tools.
    So maybe the use of Forte Conductor's dynamic Process automation
    capabilities may also be a fit. If you want to discuss how, let me know.
    -jim
    Return-Path: <[email protected]>
    X-Sender:
    Date: Fri, 23 Jan 1998 13:19:03 -0800
    To: [email protected]
    From: Vic Brown <[email protected]>
    Subject: Business Rules Engines?
    Sender: [email protected]
    Reply-To: Vic Brown <[email protected]>
    Has anyone on this list integrated a COTS business rules engine,
    or components, into a Forte application? Specific products
    of interest would be those from Neuron Data, ILOG, USoft
    or, possibly, Vision Software.
    If so, comments? Type of application? War stories?
    Thanks.
    Victor Brown
    TRW Data Services
    Oakland, CA
    Phone: 510.645.3240
    FAX: 510.465.4811Jim Rice mailto:[email protected]
    Forte Software, Inc. http://www.forte.com
    South Eastern Tech Sales Mgr.
    301-721-1910 Corp: 510-869-3400 x2316

    The following Business Rule Solution uses POJO's and XML and meets the following criteria!
    Business Rule Solutions should be:
    Non-Industry Specific
    Appropriate and Affordable for any size business
    Enterprise-class solution (scalable, optimized, extensible)
    Remember: All businesses have business rules, and all businesses need an efficient way of managing and executing these business rules.
    What Business Rule Solutions should provide:
    Input Validation & Data Integrity
    Integration & Data Transformation
    Analytics
    Interpret clients Business Policies & Behaviors and clients run-time
    data and execute the appropriate process related workflow efficiently.
    The Return on Investment:
    ROI continues every day, week, month and year into the future!
    Simplify all program development through component reuse.
    Lowers software maintenance by a magnitude.
    Manages & Protects a company assets (Business Rules) in one
    repository.
    Provide Business Agility and Competitive Advantage!
    Further, I believe Business Rule Solutions are a higher level of abstraction of services that all other applications should use to implement the Model-View-Controller design pattern!
    Use the Contact Us! page for quicker responses. http://www.agilebusinessrulecomponents.com

  • Business rules engine faults..

    Can someone please advise on what could cause this issue?
    We are using SOA suite 11.1.1.2
    1. The rules engine takes an input as usual but doesn't send any output.
    2. The BPEL process that invokes the rules sends out a bpelFault instead - (because the rules engine doesn't send anything back)
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <selectionFailure>
    <part   name="summary" >
    <summary>empty variable/expression result. The XPath variable or expression /ns1:callFunctionStatelessDecision/ns1:resultList/ns2:RulesResponse is empty at line 122. An attempt to read or copy data referenced or computed by the XPath expression either had invalid data, according to the XML schema, or did not contain certain optional data. Ensure that the variable or expression result named in the error message is not empty. Enable XML schema validation of related variables to ensure the run-time data is valid. </summary>
    </part>
    </selectionFailure>
    </bpelFault> 3. At other times, the process works fine for the SAME input

    Hi Paul:
    The short answer is yes.  But its not easy.
    You will have to add some references to your orchestration:
    System.Transactions.DLL, System.Data.DLL, Microsoft.RuleEngine.DLL
    Next the BRE will need a connection string to connect to your database.
    Create a Variable in the orchestration ex:  SQLConn of type  System.Data.SqlClient.SqlConnection
    Create a Variable in the orchestration ex: RulesConn of type Microsoft.RuleEngine.DataConnection
    in an expression shape set the following :
    SQLConn = new System.Data.SqlClient.SqlConnection("Initial Catalog=Customer;Data Source=(local);Integrated Security=SSPI;");
    RulesConn = new Microsoft.RuleEngine.DataConnection ("database", "tablename", SQLConn);
    then call the rules shape.... it should work.
    there is a blog post about this I have used in the past:
    http://blogs.msdn.com/b/rgarg/archive/2009/04/23/using-biztalk-business-rules-engine-bre-with-database.aspx

  • Does sap xi has business rules engine?

    Dear experts,
    i am dealing with microsoft biztalk server,i come across this business rules engine.this framework comprises policies,facts,vocabularies, and rules.
    so does <b>sap xi </b>has this business rules engine??if yes plz eloborate?? if no whats the sap's alternate for this??
    thanks heaps in advance
    cheers
    kish

    well alternative would to develop some web page or ABAP screen which you can fromulate rule and in background you can use R3 Custom tables or any database tables to store the rules...
    while mapping you can do RFC lookup in case you have used R3 tables or database lookup to read the rule in case of other database....
    look possible but we have yet started working on this approach..

  • Business Rules will not launch or open in EAS or Planning

    The Business Rules will not open or launch in EAS.  Additionally, they do not show up in Planning at all.  The error received is "Exception occurred. Please check your log file for details."  As of Friday, everything was working fine. On Monday morning the issue started.  The only thing that occurred over the weekend was the weekly stop & start of all services.
    Addiitonal Info:
    Version 9.3.1
    Can create new rules, but after saved, cannot launch or re-open
    Can view the business rules in EAS, cannot open, launch, or validate
    Cannot view any business rules in Planning
    Have already tried stopping and starting all services
    Have already tried different ids.
    When reviewing the error log I could find it says the following:
    AJPRequestHandler-HTTPThreadGroup-6 com.hyperion.hbr.security.HbrSecurityAPI -
    Error Code: -1
    com.hyperion.css.CSSCommunicationException: Unable to communicate with the server. Error Code: 3
    NestedException:
    com.hyperion.css.CSSCommunicationException: Failed to connect to the directory server. Error Code: 3
    NestedException:
    javax.naming.CommunicationException: USRTPD201P:389 [Root exception is java.net.ConnectException: Connection refused: connect]
    at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(Unknown Source)
    at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(Unknown Source)
    at com.hyperion.css.spi.impl.msad.MSADProvider.getUserByIdentity(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.getUserByIdentity(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getUserById(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getUserByIdentity(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getIndirectRolesListForEntries(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getRolesListForEntries(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getRolesListForEntry(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPIHelper.getMergedCSSentriesArray(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPIHelper.updateAllHashes(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPI.getGroupsHash(Unknown Source)
    at com.hyperion.hbr.db.DBGroups.getGroupsForGroup(Unknown Source)
    at com.hyperion.hbr.core.GroupManagerServer.getGroupsForGroup(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.getInheritedObjects(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.getUserAccessibleObjects(Unknown Source)
    at com.hyperion.hbr.core.AccessHash.getCurrentAccess(Unknown Source)
    at com.hyperion.hbr.core.AccessHash.canLaunch(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.canLaunch(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.validateLaunchLocations(Unknown Source)
    at com.hyperion.hbr.core.AccessControlCmdListener.validateLaunchLocations(Unknown Source)
    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 com.essbase.eas.framework.server.application.AbstractCommandListener.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultCommandDispatcher.dispatchEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.EventDispatcherWorkListener.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultWorkDispatcher.dispatchEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultApplication.generateWorkEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultServlet.handleRequest(Unknown Source)
    at com.essbase.eas.server.AppManServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    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.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Nested Exception:
    Error Code: -1
    com.hyperion.css.CSSCommunicationException: Failed to connect to the directory server. Error Code: 3
    NestedException:
    javax.naming.CommunicationException: USRTPD201P:389 [Root exception is java.net.ConnectException: Connection refused: connect]
    at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.getBorrowObject(Unknown Source)
    at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.borrowValidatedConnection(Unknown Source)
    at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(Unknown Source)
    at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(Unknown Source)
    at com.hyperion.css.spi.impl.msad.MSADProvider.getUserByIdentity(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.getUserByIdentity(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getUserById(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getUserByIdentity(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getIndirectRolesListForEntries(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getRolesListForEntries(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getRolesListForEntry(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPIHelper.getMergedCSSentriesArray(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPIHelper.updateAllHashes(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPI.getGroupsHash(Unknown Source)
    at com.hyperion.hbr.db.DBGroups.getGroupsForGroup(Unknown Source)
    at com.hyperion.hbr.core.GroupManagerServer.getGroupsForGroup(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.getInheritedObjects(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.getUserAccessibleObjects(Unknown Source)
    at com.hyperion.hbr.core.AccessHash.getCurrentAccess(Unknown Source)
    at com.hyperion.hbr.core.AccessHash.canLaunch(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.canLaunch(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.validateLaunchLocations(Unknown Source)
    at com.hyperion.hbr.core.AccessControlCmdListener.validateLaunchLocations(Unknown Source)
    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 com.essbase.eas.framework.server.application.AbstractCommandListener.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultCommandDispatcher.dispatchEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.EventDispatcherWorkListener.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultWorkDispatcher.dispatchEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultApplication.generateWorkEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultServlet.handleRequest(Unknown Source)
    at com.essbase.eas.server.AppManServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    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.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Nested Exception:
    javax.naming.CommunicationException: USRTPD201P:389 [Root exception is java.net.ConnectException: Connection refused: connect]
    at com.sun.jndi.ldap.Connection.<init>(Connection.java:204)
    at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
    at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1578)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2596)
    at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
    at com.hyperion.css.spi.util.jndi.pool.CSSJNDIKeyedObjectFactory.init(Unknown Source)
    at com.hyperion.css.spi.util.jndi.pool.CSSJNDIKeyedObjectFactory.makeObject(Unknown Source)
    at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:792)
    at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.getBorrowObject(Unknown Source)
    at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.borrowValidatedConnection(Unknown Source)
    at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(Unknown Source)
    at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(Unknown Source)
    at com.hyperion.css.spi.impl.msad.MSADProvider.getUserByIdentity(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.getUserByIdentity(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getUserById(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getUserByIdentity(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getIndirectRolesListForEntries(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getRolesListForEntries(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getRolesListForEntry(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPIHelper.getMergedCSSentriesArray(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPIHelper.updateAllHashes(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPI.getGroupsHash(Unknown Source)
    at com.hyperion.hbr.db.DBGroups.getGroupsForGroup(Unknown Source)
    at com.hyperion.hbr.core.GroupManagerServer.getGroupsForGroup(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.getInheritedObjects(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.getUserAccessibleObjects(Unknown Source)
    at com.hyperion.hbr.core.AccessHash.getCurrentAccess(Unknown Source)
    at com.hyperion.hbr.core.AccessHash.canLaunch(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.canLaunch(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.validateLaunchLocations(Unknown Source)
    at com.hyperion.hbr.core.AccessControlCmdListener.validateLaunchLocations(Unknown Source)
    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 com.essbase.eas.framework.server.application.AbstractCommandListener.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultCommandDispatcher.dispatchEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.EventDispatcherWorkListener.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultWorkDispatcher.dispatchEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultApplication.generateWorkEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultServlet.handleRequest(Unknown Source)
    at com.essbase.eas.server.AppManServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    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.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:507)
    at java.net.Socket.connect(Socket.java:457)
    at java.net.Socket.<init>(Socket.java:365)
    at java.net.Socket.<init>(Socket.java:178)
    at com.sun.jndi.ldap.Connection.createSocket(Connection.java:346)
    at com.sun.jndi.ldap.Connection.<init>(Connection.java:181)
    ... 62 more

    I can view the rules in EAS, just cannot open or launch.  I am thinking it still has to do with the active directory that they changed, but need more time to research.  Here is the specific error now:
    2013-08-07 10:09:32,057 INFO AJPRequestHandler-HTTPThreadGroup-6 com.hyperion.hbr.security.HbrSecurityAPI - LDAP porvider could not be contacted.
    Error Code: -1
    com.hyperion.css.CSSCommunicationException: LDAP porvider could not be contacted. Error Code: 3
    NestedException:
    java.net.ConnectException: Connection refused: connect
    at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.validateSocketConnection(Unknown Source)
    at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.init(Unknown Source)
    at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.<init>(Unknown Source)
    at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(Unknown Source)
    at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(Unknown Source)
    at com.hyperion.css.spi.impl.msad.MSADProvider.getUserByIdentity(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.getUserByIdentity(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getUserById(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getUserByIdentity(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getIndirectRolesListForEntries(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getRolesListForEntries(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getRolesListForEntry(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPIHelper.getMergedCSSentriesArray(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPIHelper.updateAllHashes(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPI.getGroupsHash(Unknown Source)
    at com.hyperion.hbr.db.DBGroups.getGroupsForGroup(Unknown Source)
    at com.hyperion.hbr.core.GroupManagerServer.getGroupsForGroup(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.getInheritedObjects(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.getUserAccessibleObjects(Unknown Source)
    at com.hyperion.hbr.core.AccessHash.getCurrentAccess(Unknown Source)
    at com.hyperion.hbr.core.AccessHash.canLaunch(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.canLaunch(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.validateLaunchLocations(Unknown Source)
    at com.hyperion.hbr.core.AccessControlCmdListener.validateLaunchLocations(Unknown Source)
    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 com.essbase.eas.framework.server.application.AbstractCommandListener.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultCommandDispatcher.dispatchEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.EventDispatcherWorkListener.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultWorkDispatcher.dispatchEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultApplication.generateWorkEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultServlet.handleRequest(Unknown Source)
    at com.essbase.eas.server.AppManServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    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.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Nested Exception:
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:507)
    at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.validateSocketConnection(Unknown Source)
    at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.init(Unknown Source)
    at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.<init>(Unknown Source)
    at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(Unknown Source)
    at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(Unknown Source)
    at com.hyperion.css.spi.impl.msad.MSADProvider.getUserByIdentity(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.getUserByIdentity(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getUserById(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getUserByIdentity(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getIndirectRolesListForEntries(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getRolesListForEntries(Unknown Source)
    at com.hyperion.css.spi.impl.nv.NativeProvider.getRolesListForEntry(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPIHelper.getMergedCSSentriesArray(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPIHelper.updateAllHashes(Unknown Source)
    at com.hyperion.hbr.security.HbrSecurityAPI.getGroupsHash(Unknown Source)
    at com.hyperion.hbr.db.DBGroups.getGroupsForGroup(Unknown Source)
    at com.hyperion.hbr.core.GroupManagerServer.getGroupsForGroup(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.getInheritedObjects(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.getUserAccessibleObjects(Unknown Source)
    at com.hyperion.hbr.core.AccessHash.getCurrentAccess(Unknown Source)
    at com.hyperion.hbr.core.AccessHash.canLaunch(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.canLaunch(Unknown Source)
    at com.hyperion.hbr.core.AccessControlManagerServer.validateLaunchLocations(Unknown Source)
    at com.hyperion.hbr.core.AccessControlCmdListener.validateLaunchLocations(Unknown Source)
    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 com.essbase.eas.framework.server.application.AbstractCommandListener.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultCommandDispatcher.dispatchEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.EventDispatcherWorkListener.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultWorkDispatcher.dispatchEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultApplication.generateWorkEvent(Unknown Source)
    at com.essbase.eas.framework.server.application.DefaultServlet.handleRequest(Unknown Source)
    at com.essbase.eas.server.AppManServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    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.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

  • Business Rules Do Not Execute When Saving a Form

    When saving a form the attached business rules are not executing. Sometimes we are unable to validate business rules via AAS. When this happens we do a security refresh from Planning to Essbase and Essbase to Shared Services. At other times, we bounce planning and even Essbase and this seems to fix the problem. Today we have tried every combination (bounce planning, Essbase, AAS) and we are able to at least validate biz rules in AAS but we (i.e., users) are uanble to execute the biz rule when they save via the planning form. There are no issues running the biz rules when saving the form using an administration account. Can someone explain what's going on or provide direction as to why this problem happens and how to fix this issue?

    Hi,
    Well is your version 9.3.0.1? If yes then you have my sympathies :). We too have this version and face similar problems with Business Rules. Usually things come back to normal after following the steps mentioned above. However what I would want to know is the following:
    1) From where are you running the Business rules? I am asking this because if you are trying to run from Smartview then I would suggest you look at the time it takes for the Business Rules to execute. If it excedes the timeout settings then it will exit out. However the BR might still be running in the back ground. This you can confirm by looking at the data.
    2) Have you checked if you have installed all the patches?
    Hope it helps.
    Regards,
    Amol

  • Business Rule Export Not Complete

    I have a situation where I am exporting business rules and the codeblock of a few business rules are not included. If I look at the XML, the business rule is there, the name,description, ect, but the node that should have the actual code is either empty or not there. Has anybody experienced this before? We have cycled the services to clean the cache. There aren't any special characters that I would expect to break the xml. We don't get any errors during the export. Anybody ever had this issue?

    Try the following
    Option 1
    EAS console provide the functionality to migrate (rather than export to file) a repository from a source environment to a target environment by direct RDBMS connection.
    Refer to page 97 of the HBR administrator guide:
    http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/hbradmin.pdf
    Option 2
    Increase the heap size of the EAS console via the "admincon.lax" file found under Hyperion\AnalyticAdministrationServices\console\bin
    The parameter to change is: "-Xmx256M" in the "LAX.NL.JAVA.LAUNCHER.MAIN.METHOD" section of the file.
    You can increase it to a maximum of "-Xmx1024M"
    Hope this helps.
    Cheers
    -Manoj

  • Business rules Engine

    I have a system dealing with different work flow engines at the same time. It gets data from a whole list of different applications, Once it recieves this information, it processes it based on a Business Rules Engine. The rules for the Busines Rules Engine are defined in a definition filw which is huge and deals with info as to how to handle a particular piece of data under a certain situation. Would you send it to System A, B or X based on some information and what kind of operation needs to be carried out.
    Now this seems to be a decoupled system since theis system acts like an Enterprise bus or a hub and is decoupled from the rest of the systems. Its technological dependencies on the rest are minimal. But the problem as in any mediator based pattern is that if the definition file is messed up, the rules def file, all the systems getting info from the hub would be messed up.
    Could someone advise how to avoid this dependency, which is more of a business rules dependency than technological.

    "messed up" as in one or more bits flipped? or as in those rules are
    incorrect? Flipped bits can quite adequately be detected by some form
    of CRC. Incorrect rules are much more difficult to detect.
    kind regards,
    Jos

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

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

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

  • Business rule trigger not calling the procedure in my code

    Good morning every one,
    I have a small problem with two of my business rule triggers.
    I have these tables:
    pms_activity
    csh_cash
    csh_integrate_leh
    csh_integrate_led
    and my process goes like this:
    upon approval of a row in my pms_activity table I have a trigger that insert a row in my csh_cash - and in the csh_cash table I have a trigger that will insert in the csh_ingerate_leh and csh_integrate_led.
    my problem is pms_activity does generate a row in csh_cash but the trigger in the cash does not fire to generate a row in the csh_integrate_leh and led tables.
    I have generated in the following order after I created my business rule:
    I have generated the table from the designer (server module tab)
    I have generated the CAPI from the head start utility
    I have generated the API from the designer
    I have generated the CAPI from the designer
    I have run the recompil.sql
    I have checked that my business rule trigger is enabled and should run on insert and no where restriction
    === this is my business rule logic ======
    l_rule_ok boolean := true;
    begin
    trace('br_csh001_cev (f)');
    csh_gl_pkg.csh_gen_integ_jvs(p_id
    ,p_ref_num
    ,p_own_id
    ,p_trt_id
    ,p_value_date
    ,p_description
    ,p_amount
    ,p_cur_id
    ,p_gla_dr
    ,p_gla_cr
    ,p_gla_pl
    ,p_gla_rev
    ,p_gla_eqt);
    return l_rule_ok;
    exception
    when others
    then
    qms$errors.unhandled_exception(PACKAGE_NAME||'.br_csh001_cev (f)');
    end br_csh001_cev;
    ==== end =======================
    Any help will be appreciated as I have struggled with this for two days.
    Thanks

    Haroon,
    SAP does not allow Stored Procedures to be used as part of the SAP Business Db or to be used to access SAP Business One tables directly for Insert, Update or Delete.  Any interaction with the SAP Business One Db is required to go through the SAP Business One API's, namely the DI and UI API's.
    Eddy

  • Business rules do not show up in forms

    We are using EPM 11.1.2.0. Recently, we have noticed that any new business rules we have created and associated with certain forms-do not show up in the forms.
    We have verified security, location etc for the rules. Somehow they don't show up at all.(even admin cannot see it in workspace).
    But they still exist if we look at rules in eas console.
    Anybody had similar issues?
    Edited by: 784749 on Nov 22, 2011 7:24 AM

    We recently had a somewhat similar issue. We opened our Workforce planning app to the users. Even though we turned on business rules on EAS and admin was able to see the rules on forms, the users did not. Restarting Planning services solved the issue.
    Cheers,
    Mehmet

  • Business rules do not appear in Planning

    Hi,
    I've created 4 business rules, and assigned myself with Modify privileges, and "Launch and validate" privileges.
    Outline has been assigned and the rules validate fine as well.
    When login to planning and view the business rules under that plan type, it does not show the rules.
    Can anyone help with understanding what this prolem is related to?
    Thanks,
    Anindyo

    I assume that you assigned the business rule to the application location? If not, go into the business rule edit mode and check the Location tab. Make sure the application location is added. If it does not seamlessly appear in Planning, then log out then back into the Planning application for the rules to synch with Planning.

  • Business Rules are not imported in deployment process

    Dear friends:
    I am deploying a project. The project has 23 business rules.
    In the Oracle BPM Process Administrator,--> Projects --> In the column Business Rules --> Details , There are not one business rule imported which was created in Oracle BPM Studio.
    What is happening? Something is wrong in the deployment process?
    Or what is the correct way to write business rule for a project?
    I hope your answers.
    Best Regards,
    Danny

    Hi Danny,
    If you're using Oracle BPM Enterprise running on WebLogic you're ok. I know it's disconcerting, but your business rules were really created and deployed. It's a cosmetic bug that prevents them from being able to be viewed in the Process Administrator tool.
    Hope this helps,
    Dan

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

  • Business Rule Security not refreshing?

    I have a business rule project that contained a bunch of rules and have a user that is part of a group that was granted launch access to that project. If I remove a rule from the project, in theory that user should no longer see that rule in Planning but that's not happening. The user still sees all the rules including the ones that used to be in the project but have since been removed.

    1) I've verified that the sec. group that the user belongs to is only provisioned with business rule "basic user". Also verified that the rule that was taken out of the project does not contain any access previlges of it's own
    2) No overlapping projects
    3) Have already tried refresh security from SS, migrate users in HBR, Planning migrate\refresh with no luck
    It seems like some sort of refresh disconnect because like I said, user can still see rules that don't have any rule level access previlge assigned but did at one point exist in a project that did enable access via project level access. Once I took the rule out of the project, security to it should have gone away.
    Thanks

Maybe you are looking for

  • How can I get the elive tab in the dutch version of photoshop elements 13?

    I have installed the dutch version of pse13. There is no sign of any elive tab after installation. How can I make this tab visible?

  • Remove or isolate part with JavaScript?

    Hi folks, as you know you can remove or isolate parts in the modelhierarchy with a few clicks. Now I want to do exacactly the same with JavaScript to add this function to a button or something similar. So I can have a button like "show part xy" and o

  • Cannot read email

    Just updated to the new 4.0 on my 3.0 system on Saturday. On Monday I noticed I can't read my email. The email will download and I can read the first 2 lines (or 3, 4, 5 lines if I change it in my settings), but when I click on the actual email to vi

  • Dreamweaver & MySQL Extension for PHP

    Hey guys, As everybody knows, the mysql extension in PHP has been deprecated and it will soon be replaced by mysqli, so does anybody know where I can find an Adobe Extension I can use so I can start using mysqli with Dreamweaver instead of mysql? By

  • HT204053 how can i turn off restriction on setting

    I cant turn off my restiction and i have 10 attempt its my ninth and i dont remember the passcode, in addition to that i am not able to click on the icloud tab, message,twitter, facebook flickr vimeo and itune main account is not mine and I can't sig