Business Rules CmdLnLauncher.exe

I am working on an Essbase application and I want to launch a business rule through a command line as shown in the example below. (taken from the HBR admin guide).
Here is how to launch a business rule called Budget with the run-time prompt information for the month of the year stored in a file called MONTH.
Target:
"C:\Hyperion\eas\console\bin\CmdLnLauncher.exe" -Sserver1 -Uadmin -Ppassword -rBudget
-fmonth.rtp
Start in:
"C:\Hyperion\eas\console\bin"
Looking through all the directories, though, I cannot see the CmdLnLauncher.exe. I think the documentation may be out of date as it refers to EAS rather than AAS. I am using Essbase 9.3.1 and the only similar thing I have seen is a HYSL\AAS\consol\bin folder that has a CmdLnLauncher.bat file in it. Does the exe file still exist and if so where should it be located?
Thanks in advance for any help.

JohnGoodwin wrote:
Hi,
It is the bat file you can use, One way of using CmdlnLauncher is :-
Create a file and put the following information into it filling in the servername,app name and db name
ExecDB::"Essbase/servername/appname/dbname"
Save it as .xml file, so something like connect.xml
Then when you run your command line do exactly like before Cmdlnlauncher.bat -Sservername -Uusername -Ppassword -rrule -fconnect.xml
If you have variables in your rule you can
In EAS right click over the rule and select "Automate Launch Variables", fill in the details and then save it is as an xml.
You just need to reference the xml in the batch script as described above using the -f parameter.
Cheers
John
http://john-goodwin.blogspot.com/
Hi John, just want to check whether there is error handling of using the batch file CmdLnLauncher.bat?
Any error code returned if the HBR was not launched successfully?
Thanks!

Similar Messages

  • Running Business rules thru MAXL(or CmdLnLauncher.bat utility)

    I want to run the Business rule. Daily 3 times(Like automation) in 11.1.1.3 version
    Refering to the forums
    Running Business rules thru MAxl
    .RTP file format
    i found its not possible through Maxl.
    But I was not able to understand clearly how to do the process atleast through "CmdLnLauncher"
    Where can i Find the utility Folder
    and Where and how do i need to write the script to run Business Rule(I also wanted to use the Runtime Prompt)
    Note : i went to EAS --> Right click on BR--> Automatice BR --> Saved the File in desktop with .xml file

    The utility will be on a machine where EAS has been installed, it will be located at <HYPERION_HOME>\products\essbase\eas\console\bin
    The post you linked to .RTP file format has all the details on running it.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Howto start a Business Rule with MAXL

    Hi,
    I want to start a Business Rule over a MAXL Skript. I dont find anything about this in the Documentation. I only found execute calculation which starts a calc script.
    Can Anyone tell me the right command ?
    Thanks Kevin

    Hi,
    I guess you can not launch the BRs from MaxL. But you can automate the process of running the BRs in a bat file using the CmdLnLauncher.exe utility which runs the BRs. Following is the syntax of calling this pogram in batch file :
    "C:\Hyperion\eas\console\bin\CmdLnLauncher.exe" -Sserver1 -UUsername -
    Ppassword -rappname -fRtpfilename
    You need to update the above path with your HBR installation directory. The Rtpfilename is the file which will contain the name of BR and the runtime prompts. You can create this file by opening the BR and select the option "Automate Runtime prompts"
    Hope this helps.
    Regards,
    - Sandeep

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

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

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

  • Dynamic filename in Business Rules

    Hi,
    I would like to use the DataExport command in my business rules to extract level-0 data in a file as a reference for user. I would need to extract data only for Entities that a user has access to (I figured that I could use parameters, link the rule to a Planning form and use "members" on form).
    My problem is that I would need a different filename for each execution. Something like :
    ..\userABC_20090513_100350_BV_SBQ.txt
    ..\userDEF_20090513_100430_BV_SLVQ.txt
    Is there a way, in business rules, to find the following info ?
    - the user who is currently running the rule.
    - the current date.
    - the current time.
    If not, is there a way to include a shell in a business rule. I have a small .exe that return the date or time as an "errorlevel" code that I could use if I can call a shell in the rule.
    Finally, a theorical question : is there an other way to ensure that only the user who run the rule can access the generated file (always while using business rules) ?
    Thanks

    First, in a well designed data model, I'm not sure I see the need for data validation logic to change regularly. If a particular column cannot be NULL today, it would be rather unlikely that it would somehow need to be NULL tomorrow.
    Second, I'm not sure I see what this approach buys you over the much simpler approach of adding and removing check constraints if the data model changes. Adding and removing a constraint is pretty trivial-- orders of magnitude less difficult than doing the analysis to determine what constraint needs to change and what impact that has downstream.
    Third, I would suspect that if you need to encode these sorts of constrains in a table, your system will kill downstream systems with regularity. If p1 is NOT NULL today, but tomorrow it suddenly allows NULL values, a consumer application might well break (or worse, silently return incorrect results). Data changes should not be able to screw up downstream systems.
    Fourth, if you did build such a system, you would have to build your own constraint validator, rather than being able to rely on Oracle's (unless you wrote code to create and drop Oracle constraints based on values in a table, but that seems rather convoluted). Given that Oracle's constraint validation engine is highly optimmized and highly accurate, a home grown engine isn't going to look particularly good in comparison.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Business Rule Error

    Hi,
    I am trying to launch the Business Rule using the Command Launcher utility. It was working fine a few days back, but today when I am trying to execute it, its giving me the following error:
    Launch Vars: {Department=D_1, ExecDB=Planning/DevSer/App}
    com.hyperion.hbr.excp.ExceptionAdapter: Connection unavailable Planning/EAS/App/Db.
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.hyperion.hbr.common.Util.getExcpAdapter(Unknown Source)
    at com.hyperion.hbr.core.ExecutionManagerServerRemote.connect(Unknown Source)
    at com.hyperion.hbr.core.ExecutionManagerServerRemote.connect(Unknown Source)
    at com.hyperion.hbr.api.PluginManagerClient.connect(Unknown Source)
    at com.hyperion.hbr.cmdlnlauncher.LaunchManager.launchRule(Unknown Source)
    at com.hyperion.hbr.cmdlnlauncher.CmdLineLauncher.main(Unknown Source)
    Detail:Exception occurred. Please check your log file for details.
    Connection unavailable Planning/EAS/App/Db.
    2010-08-03 11:33:13,225 WARN main com.hyperion.hbr.cmdlnlauncher.CmdLineLauncher - Connection unavailable Planning/EAS/App/Db.

    Yes it creates a connection and populates information into EAS/HBR db table (HBRPluginData), not sure if it is exactly the same with the command line launcher though I thought it may be.
    Its always been a pain that you have to log into planning first before business rules work correctly through EAS, probably never get fixed now as the push is towards calc manager now.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules Web Launcher error

    All,
    EAS version : 9.3.1.3
    Business Rules version: 9.3.1.1
    Accessing EAS web is working fine. Getting the following error when I am trying to use Business Rules Web launcher
    An error occurred: Login Failed. Please login again.
    Error Message:Error logging in to Business Rules. The repository has not been configured or you are not authorized to use Business Rules.
    Complete Detail: Detail:Error instantiating implementation class Error instantiating implementation class {0} Detail:null
    I am provisioned as adminstrator for essbase server as well as business rules
    referred
    Re: How to run a Hyperion Planning Business rule from Essbase Excel
    Can't log into Business Rules
    restarted HypAAS.exe but it didn't help.
    An error occurred: Login Failed. Please login again.
    Error Message:Error logging in to Business Rules. The repository has not been configured or you are not authorized to use Business Rules.
    Complete Detail: Detail:Error instantiating implementation class Error instantiating implementation class {0} Detail:null
    Any help greatley appreciated.
    Thanks
    Edited by: user1662732 on Sep 28, 2011 10:38 AM
    Edited by: user1662732 on Sep 28, 2011 10:42 AM

    I had came across with same error in system 9, few years back.
    Luckily, issue was in the installation phase. I had reconfigured the HBR repository to fix the issue.
    Can you check on the Shared Services Roles for that user. Again, what you can try is create a new user, assign HBR admin and try login.
    Regards,
    YoGesH

  • Error code returned if the business rules not executed

    Recently we found that some Hyperion business rules are not executed during the daily batch file but no error code was returned.
    Is there any method to force the return of error code so that we can check the batch result more easier?
    Thanks a lot!

    For information, we are using the batch file under EAS console directory of Essbase:
    \Hyperion\products\Essbase\eas\console\bin\CmdLnLauncher.bat
    @echo off
    set CPATH=..\lib\CmdLnLauncher.jar
    set CPATH=%CPATH%;..\lib\easclientplugin.jar
    set CPATH=%CPATH%;..\lib\log4j-1.2.8.jar
    set CPATH=%CPATH%;..\lib\framework_common.jar
    set CPATH=%CPATH%;..\lib\eas_common.jar
    set CPATH=%CPATH%;..\lib\jaxp-api.jar
    set CPATH=%CPATH%;..\lib\jdom.jar
    set CPATH=%CPATH%;..\lib\dom.jar
    set CPATH=%CPATH%;..\lib\xercesImpl.jar
    java -DHBR_HOME=..\.. -cp %CPATH% com.hyperion.hbr.cmdlnlauncher.CmdLineLauncher %1 %2 %3 %4 %5 %6

  • Can not run business rule with bat file

    Hi all,
    I've problem with using *.bat file to run business rule. My Essbase version is 11.1.1.3 and the syntax within
    *.bat is simple, but I always got the Usage message and can not execute the rule.
    The error result as blow(I already execute the syntax in command panel directly):
    C:\Hyperion\products\Essbase\eas\console\bin>CmdLnLauncher -SWILSON -Usynadmin -P111111 -r0004_COPYDATA
    Usage: CmdLineLauncher [-p:<passwordFile>] -Sservername -Uusername [-rBusiness R
    ule Name | -sSequence Name] [-fRun Time Prompts file] [-validate]
    My *.bat file content as below:
    cd c:\Hyperion\products\Essbase\eas\console\bin
    call CmdLnLauncher -SWILSON -Usynadmin -P1111111 -r0004_COPYDATA
    Is there something wrong? If anyone know about this problem, please help,thanks!!

    Hi,
    Here is a brief overview on how to use the command line launcher.
    You can create a file and put the following information into it filling in the servername,app name and db name
    ExecDB::"Planning/servername/appname/dbname"
    Save it as .xml file (don’t think it has to be an xml, could be .txt), so something like connect.xml
    Then when you run your command line do exactly like before Cmdlnlauncher -Sservername -Uusername -p:password.txt -rrule -fconnect.xml
    If you have variables in your rule you can
    In EAS right click over the rule and select "Automate Launch Variables", fill in the details and then save it is as an xml.
    You just need to reference the xml in the batch script as described above using the -f parameter, for sequences remove -rrule and use –sSequence
    update password.txt to the name of your password file.
    Cheers
    John
    http://john-goodwin.blogspot.com/
    Edited by: JohnGoodwin on Apr 30, 2010 8:17 AM

  • Automating Business Rules

    I am trying to use the CmdLnLauncher utility in a .bat file to run business rules with run-time prompts. The problem is I cannot get the launcher to run when the variable I am trying to pass in through the run-time prompt has a space or "-" character in it<BR>Beow is the data stored in the .xml file with TBHSal being the business rule and EmpSelMerit being the Variable name. <BR><BR>TBHSal<BR>ExecDB::"Planning/03s03thfmpln01/PL_Spare/Wrkforce"<BR>EmpSelMerit::"Thompson_Fred (5448)"<BR><BR>"Thompson_Fred (5448)" is the entity I am trying to run the business rule on, but the launcher errors out because of either the space between the first name and the employee id or the fact that there are parentheses. Same holds true if I try to use an entity that has a "-". If I run the launcher on the same business rule using an entity that does not have any special characters, it works fine. Unfortunately changing the format of my entities is not an option.<BR><BR>So the question is, is there any way to enclose the entity, either with double quotes, single quotes, or parentheses to get this to work.<BR><BR>Thanks for your help.<BR><BR><BR>

    Did you test launching the rule from a Form, passing the same member name "Thompson_Fred(5448)" for the Variable? Just to ensure that there is not a problem with the member ID.<BR><BR>On a side note, I know you mentioned member ID's could not change, but wouldn't there be more value in having the Employee Name as the Member ID and the employee # as an Alias (or vice versa). This way you could search, calculate, report,etc on either Name or ID. - just a thought)<BR>

  • Cannot find Business Rule Composer!

    Hi All,
    I was able to install Biztalk Server 2006 R2 successfully on Vista. But I am unable to see 'Business Rule Composer (BRC)' when I follow the below steps:
    Start >> All Programs >> Microsoft Biztalk Server 2006 >> (Business Rule Composer)....not able to find this!!!
    I even checked in Biztalk server 2006 configuration window and can see all the components (alongwith BRC) with green check mark. Please help me on how & from where to open it. Thanks in advance.
    Nitya.

    Hurraaaayyyyyy!!!!!  Its done now.
    Ben Cline:
    I checked for the exe within the path you specified but I did not find it.
    Kent Weare:
    I have checked in SQL Server for "BiztalkRuleEngineDb", it was already there, configured.
    Richard C S:
    When I tried to modify the installation, I found that the Business Rule Composer(BRC) checkbox was unselected. I selected that box and proceeded further, It was all installed properly.
    Many thanks to you all for your valuable inputs. Microsoft forum simply ROCKS!!! :-)
    A question to you all, if I missed selecting BRC during my initial installation, then how come it was showing as configured in Biztalk server 2006 configuration window and also the "BiztalkRuleEngineDb" in Sql server???
    Nitya.

  • Executiong Business Rules from ODI on Linux

    Hi,
    I would like to execute Business Rules from ODI. I know that it is possible with the CmdLnLauncher command on Windows, but I don't know how to do on Linux ?
    Thanks to John Goodwin, I know it's possible using the KM, but it is not my favorite issue. I would prefer using a command if it's possible.
    Does an OS command exists to execute Business Rules from ODI on Linux ?
    Can you help me please ?
    Thanks very much.
    Virgile.

    Ace2 wrote:
    I have ODI on Windows and I couldnt find CmdLnLauncher.bat/.sh !
    I am looking in $ODI_HOME\oracledi\bin . Is that the correct location ?It is a Hyperion product nothing to do with ODI.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • AS console hangs when trying export business rules

    Hi,
    when i try to export business rules from administration services console it hangs and task manager shows admincon.exe 100% cpu usage.
    Need help.
    Thanks,
    Timur

    Hi Timur,
    I ran into the same trouble. I could get 5-7 rules at a time exported just fine. but more than that it would just run and run for hours.
    One option is perhaps increase your java heap sizes for EAS.
    Another option which we did was to change security to be by project instead of by rule and this made our exports much faster
    This was with Hyperion 9.2.1

  • Error while creating a Business rule dictionary in Jdevloper 11g

    Hi,
    I am getting the following error when i define the Inputs and outputs during creating on a new business rule dictionary.
    Some XML schemas are not in the "xsd" directory! gardes.xsd
    Please manually move or copy the Schemas
    I am following the "Creating a Rule-enabled Non-SOA Java EE Application" guide in Oracle® Fusion Middleware User's Guide for Oracle Business Rules, 11g Release 1 (11.1.1)
    The two schema files generated were having different content after creation of XML schema file so I copied the file to make them same. Its still giving me the same error.
    Please Help.
    Thanks,
    Mac

    Please post business rules questions on the SOA Suite forum:
    SOA Suite

  • Error while selecting planning app in Business Rules

    Hi ,
    I am not being able to select the planning outline while developing business rules (but I can select the Essbase Outline). Whenever I expand the Planning node, an error pops up the details of which says "Error connecting to Essbase server machinename/testapp." There is a details button which says: "Could not log into Planning "Detail:Could not log in to Planning Server".
    Can anyone help me out. I am not being able to view the rules in the planning UI .
    I have tried for recycle the EAS even though i am getting same error.
    could you please let me know the solution for this
    Thanks
    mahesh

    Hi,
    Always follow this process, stop the planning service and eas service.
    Start RMI service
    Start EAS
    Start Planning
    Log into the web planning application
    Then go into EAS and create a new rule, select an outline to the application you have just logged into via web.
    Also if you are using the default admin user to log into EAS try another user that has been provisioned with business rules roles
    If you still have problems then go to My Oracle Support (formely metalink3) then have a look at doc id - 763345.1
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for