CmdLnLauncher cannot Business Rule via rule.bat file

Hi,
I tried to launch the Bussiness Rule via desktop shortcut. I create a *.bat file. I wrote the script as below;
cd d:\Hyperion\products\Essbase\eas\console\bin
call CmdLnLauncher [-P:<D:\Backup\BACKUP_SRC\password.txt>] -S10.6.87.23 -Uplanadmin -rtest
But while I launched the the bat file, the error was created as below;
D:\Hyperion\products\Essbase\eas\console\bin\ call CmdLnLauncher [-p:<d:\....\Password.txt>] -Sserver1 -Uplanadmin -rtest
com.hyperion.hbr.excp.ExcepionAdapter: Error while sending command to HBR Server running within the EAS server.
     at com.hyperion.hbr.transport.HBRCommandRequestor. <init><Unknown Source>
     at com.hyperion.hbr.cmlnlauncer.LaunchManager.connect<Unknown Source>
     at com.hyperion.hbr.cmdlnlauncher.CmdLineLauncher.main<Unknown Source>
Detail: org.apache.xerces.dom.DocumentImpş.getXmlStandalone<>z
Do you have a solution?
thks

How about this which is documented
Error: "Error While Sending Command to HBR Server Running Within the EAS Server"
Symptoms
CmdLnLauncher utility fails with the following error,
*"Error while sending command to HBR Server running within the EAS server."*
Cause
JDK 1.6 installed on the server. This is picked up as the default Java Runtime resulting in issues running CmdLnLauncher utility. The 11.1.1.x release supports JDK 1.5
You can verify what version of Java is installed on the server by executing command 'Java -version' from a command prompt.
Solution
Uninstall JDK 1.6 and install version 1.5.
If uninstalling is not an option you can perform the following steps to workaround the issue:
*1. Edit CmdLnLauncher.bat*
*2. Add path to JRE 1.5 before -DHBR_HOME*
Example of CmdLnLauncher.bat:
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
rem set CPATH=%CPATH%;..\lib\jaxp-api.jar
rem set CPATH=%CPATH%;..\lib\jdom.jar
set CPATH=%CPATH%;..\lib\dom.jar
set CPATH=%CPATH%;..\lib\xercesImpl.jar
C:\Hyperion\common\JRE\Sun\1.5.0\bin\java -DHBR_HOME=..\.. -cp %CPATH% com.hyperion.hbr.cmdlnlauncher.CmdLineLauncher %1 %2 %3 %4 %5 %6
*3. Save Changes to CmdLnLauncher.bat file.*
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • How to create a database in 11g via a bat file

    Hi
    I have had a look around the internet, but I am unable to locate a good example of how to create a database/instance in 11g via a bat file. Can anyone advise me how to do this and what other things do I need to make it work via a bat file?
    Thanks

    user633278 wrote:
    Let me say this - I have taken over from someone who has left a development database which developers want to use asap in a poor state and no documentation. It is only when I started looking at the database that I discovered these problems. At the same time a developer wants a script which they he run to drop and recreate a database - it only needs to be minimal - small database, a few tables and stored procedures.OUI uses RMAN restore to produce starter DB & does not CREATE DATABASE from scratch.
    It takes hours to run CATPROC & such after 100% totally empty results from CREATE DATABASE command

  • Business rules log files

    Hello,
    Can someone please tell me where the information is stored when I launch a business rule from the EAS console? I know when launching from planning application but I need the information specifically for EAS.
    The version is 9.3.1.
    Cheers

    You want to have a search for hbrlaunch.log, if you are on windows it is usually stored in the odd place of windows\system32
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error while migrating business rules

    While trying to use the export/import option in EAS to migrate business rules, we have run into an error.
    The export itself is fine. When trying to import, it says this:(even though it lets me select the proper xml file for importing)
    Error while migrating business rules.
    Detail: The import file specified is not a valid business rules xml file. Import will be terminated.
    Detail:Exception occured. Please check your log file for details.
    I am pretty sure I used the inherent format specified for exporting the business rules.
    Both the old and new systems are version 11.1.2.
    The LCM method also failed for the business rules migration.
    Any suggetions?
    Thanks,
    Sujani

    When you export them make sure you don't have "For Calc Mgr" checked, if you do then the import with fail.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • 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

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

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

  • Business Rules not visible sometimes-via web and smartview

    We use EPM 11.1.2.
    we have a unique problem-Business rules (associated with forms)sometimes fail to appear either via web or smartview for our users.After logging out and back in,sometimes they appear again.
    If we explicitly 'disconnect all' from smartview, close Excel, and go back in again, then the rules are visible.
    It is becoming hard to tell when the users can or cannot see the business rules.
    All users have the right provisioning-interactive user.
    Has anybody seen this kind of behavior before?
    We had a similar issue a while back-with eas web versus eas desktop client. Oracle gave us a specific fix for the eas business rules problem.
    Edited by: 784749 on Sep 26, 2011 11:59 AM

    Thats the strange thing; We use (native) groups to provision. This works fine for the other 5 users.
    But even if I provision this one user for the Business Rules, they remain invisible to this user. (in Planning)
    I discovered this morning that this user can create a new BR, but when I try to open it in AAS console I get an error
    "Exception occured, Please check your log file for details."
    Unfortunately, the log doesn't provide any more details. (even if I set the level to Debug)

  • Hyperion Business Rule Error: Cannot retrieve connected root element for

    Hi,
    I am trying to open a business rule in EAS and I am recieving the following error: Cannot retrieve connected root element for Planning/Servername/Application/Database.
    I am able to connect to the application via Planning Web, but I am recieving this message when I am trying to open the business rule in eas.
    hoping if someone has come across this issue before and has been able to successfully fix it.

    Hi,
    I have 2 BRs, one is with RTP and another without RTP (basically a clacscript as BR).
    I don't have any issue with the BR without RTP.
    When I try to validate BR withRTP, validation is failing with
    Unable to run or validate this rule (ConsolidateTestRTP) against the following location: Planning/servername/appname/dbname for user abcd.
    Detail:Exception occurred. Please check your log file for details.
    2009-04-09 12:35:58,803 WARN AWT-EventQueue-0 com.hyperion.hbr.core.MetadataManagerServerRemote - Cannot retrieve connected root element for Planning/servername/appname/dbname
    Restarted RMI,Planning,EAS services. Logged into planning first and then to EAS. Still getting error
    2009-04-09 12:41:39,881 FATAL AWT-EventQueue-0 com.hyperion.hbr.client.LauncherWindow - Exception:
    With thought of may be the syntax of RTPs in BR changed, deleted RTP in the code but still BR has RTP (I mean BR has RTP and is not used in calculations), still getting error during validation. I can create new BRs and associate to outline.
    Thanks

  • Can't see some Business Rules after running the Import via LCM

    I am trying to migrate our Business Rules down from Prod to Dev to get them back in sync. Here is the steps I have run:
    Export ALL Business Rules and Sequences from Prod via LCM
    I confirmed the export directory contains an .xml file for EACH Rule.
    copied the export directory down to Dev Shared Services server
    Turned on DEBUG for Shared Services
    Deleted ALL Business Rules and Sequences from Dev EAS BR repository
    I confirmed that ALL BUsiness Rules are listed and checked in LCM Import.
    run the Import from Dev Shared Services via LCM
    I get a Completed successfully message. No Errors.
    I Refresh Rules in Dev EAS and I only see 25% of the Business Rules listed.
    I have tried to Stop/Restart the EAS services and still nothing.
    I confirmed that the ID I am using to Export / Import has access on each Business Rule either directly or via a Group that has access.
    Any thoughts??
    Thanks in advance for any assistance on this!
    Robert

    Thanks John!
    I was really trying to get it done via LCM since I have all other migrations being done there. but I ended up taking your advice and doing it the old fashion way via EAS export.
    To answer your questions:
    We are on 11.1.1.3
    I did not see any problems in the Services logs for EAS. Nothing that stood out.
    We are migratiing 66 Rules and 15 Sequences.
    We are using Weblogic instead of Tomcat.
    Even though I have a workaround for the issue I am still interested in understanding why some of them did not import via LCM. You mentioned that you might consider adjusting some config settings. What settings would you recommend looking at?
    Thanks again John!
    Robert
    Edited by: user627522 on Nov 16, 2010 6:27 PM

  • Network Error []: Cannot Get Host Name when running business rules

    Guru's
    We are getting the following error intermittently when we are running business rules (Planning Application >>Tools>>Business Rules) or running SmartView refreshes:
    Network error []: Cannot Get Host Name
    The following is then logged in the Essbase Application logs:
    Local/Application/Database/admin@Native Directory/Error(1042022)
    Network error []: Cannot Get Host Name.
    A quick look at the Essbase Error Messages Doc says it is a network error and we have to consult the network documentation. Unfortunately this is not very descriptive so we logged an SR with Oracle but we don't seem to be getting a resolution.
    The environment is 11.1.2.0 and the architecture is as follows:
    Server 1 - MS Server 2008 x64:
    Planning, Calc Manager, Foundation Services, Framework Web Services, EAS, APS, Web Analysis, FR Web Services
    Server 2 - MS Server 2008 x64:
    Essbase Server
    Server 3 - MS Server 2008 x64:
    Framework Services, FR Print Services
    We have tried doing the following:
    1. Put in the server host names into the hosts file on the Hyperion Servers
    2.  Applied the following TCP/IP settings on all the Hyperion Servers and one of the user machines as a test:
          - Added a new DWORD Value named TcpTimedWaitDelay and set it to 30.
         - Added a new DWORD Value named MaxUserPort and set it to 65534.
         - Added a new DWORD Value named MaxFreeTcbs and set it to 6250
    3. Confirmed that there are no packet drops by monitoring the server NICs so no packet loss could be the cause of this issue
    4. The Essbase Config file has the following settings:
    NETDELAY 2000
    NETRETRYCOUNT 2500
    Has anyone come across this issue and if you managed to resolve it, how did you go about it.
    Thanx

    Hi Rahul
    The issue is happening to a number of calcs so it it not one calc specifically. I will ask the functional consultants to enhance the logging in the business rules so that we can see if the issue happens on a specific member\block etc and yes we do use Xrefs
    We can run this as a calc in EAS without any issues and it's intermittent because this business rule runs 95% of the time in Planning Application >> Tools >>Business Rules without any issues.
    Thanks

  • Urgent...!! Cannot Assosiate the Business Rule in EAS

    Hi All,
    I've some problem with my Business Rule (using 11.1.2.0 version). When I tried to associate the outline, it can't be done and error.
    Error Message :
    Error connecting to Planning server <name>.
    Detail:Exception occurred. Please check your log file for details.
    and the error log for the HBR :
    2011-08-05 01:25:09,781 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.planning.PlanningMetadataElement - Error connecting to Planning server <name>:11333.
    2011-08-05 01:25:09,781 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.planning.PlanningMetadata - Error connecting to Planning server <name>.
    How to solve this problem..??
    Thanks.
    regards,
    VieN

    Try restarting both Planning and the RMI services.
    After the services has been restarted.
    Log into Planning and go to Business Rules through Planning.
    Check that you can see the business rules available via Planning.
    Now try logging into EAS and associating a business rule to the planning outline.

  • Cannot publish Business Rules because supposedly Validation is still running

    Hi All
    I am trying to exclude business rules (ticking the Exclude flag on the UI) on a certain entity.  When I try to publish the changes the message that I'm greeted with states:
    "Business rules cannot be published or refreshed while validation is running for the entity's model. Wait until validation is completed then republish the rules".
    The entity is validated when new data is staged in via stored procedures that run on a schedule in SQL Agent.  I have turned SQL Agent off to halt any data updates/validation.  I still get this message.
    What tells it that validation is still running.  Is there a flag in the database that could be corrupted? Or a suspended instance perhaps?  Has anyone else encountered such as error?
    Any help is appreciated.
    Thanks, Mihir

    Is the version large enough that validation can take more time. Can you check if any validation is running by executing
    [mdm].[udpValidationIsRunning]
    Also can you confirm validation process is running in Service Broker by checking
    SELECT 1 FROM sys.dm_broker_activated_tasks WHERE procedure_name = N'[mdm].[udpValidationQueueActivate]'
    -Nithesh Shetty Software Engineer, C & E -> IMML -> MDS, Microsoft.

  • LCM Business Rules Export using Utility.bat

    Hi All,
    Wondering if anyone has any tips on using Utility.bat to export business rules.  I've defined a migration for business rules but it only exports one Business Rule to xml.  When executing the same migration definition from Shared Services, the business rules get exported to XML fine.
    We're running Planning 11.1.2.1.600.2.
    Thanks,
    Ryan

    Hello  Ryan,
    Want  to  Export  BR of  ESSBASE  (or) from  Calc manager .
    If  Calc  manager then first  select  all the  Calc  manager  related  artifacts  through  migration definition, after  you  get  the  export XML file ,Create  a  import  migration XML  file  .
    Now try  to  use  Utility.cmd  and  place  the  files  in  Utility.cmd  folder  only  and  import  all  calc  rules .

  • Cannot select Planning outline in Business Rules

    Hi Everyone,
    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 (and consequently cannot attach them to Forms)
    Thanks
    Sayantan
    PS:
    Hyperion Version: 11.1.1.1 deployed to Tomcat (default) on Windows XP box

    Question already asked here :- Cannot select Planning outline in Business Rules
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for