Friday, March 8, 2013

Failed to Intialize Maxl or Esscmd


Failed to intialize Maxl or Esscmd in Window - 64bit Platforms:

If you get any error when running the maxl script from the cmd prompt : Failed to Initialize MaxL

Problem Cause: Essbase Runtime Client(RTC) installation installs both 32 bit and 64 bit (\common\EssbaseRTC and \common\EssbaseRTC-64).  On a 64 bit box, you need to run the 64 bit programs. Thus the environment variables  (ARBORPATH, ESSBASEPATH and PATH) should point to 64 bit, rather than 32 bit.

Manually set the below environment variables to 64 bit.

ARBORPATH -> D:\Oracle\Middleware\EPMSystem11R!\common\EssbaseRTC-64\11.1.2.0
ESSBASEPATH -> D:\Oracle\Middleware\EPMSystem11R!\common\EssbaseRTC-64\11.1.2.0
PATH -> D:\Oracle\Middleware\EPMSystem11R!\common\EssbaseRTC-64\11.1.2.0\bin

Run the programs esscmd for Esscmd and essmsh for MaxL from D:\Oracle\Middleware\EPMSystem11R!\common\EssbaseRTC-64\11.1.2.0\bin

Note: Since the startup scripts startEsscmd.cmd and startMaxL.cmd are not installed in the above directory, esscmd and essmsh must be used to run the programs.

Thanks.

5 comments:

  1. But we are getting the below error .
    "Error initializing localization module"

    We have set all the paths as per your suggestion above. But we still get this error.

    ReplyDelete
    Replies
    1. Have you tried to initialize it by running startMaxL.cmd instead?

      If that works, looking at the content of that CMD will probably show you which variable has been missed

      Delete
  2. Run it from \Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseClient\bin\startEsscmd.cmd , hope you would get the esscmd prompt , this is where I always run it from,no issues.

    ReplyDelete
  3. Thanks for pointing out the root cause. We used 32-bit Essbase client in 32-bit windows. Recently we replaced a new machine in 64-bit windows 7 and got the same error. We re-installed the 64-bit Essbase client and solved the issue.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete