Skip to content

Instantly share code, notes, and snippets.

@rmoff
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save rmoff/f4983afea789d2c08337 to your computer and use it in GitHub Desktop.

Select an option

Save rmoff/f4983afea789d2c08337 to your computer and use it in GitHub Desktop.
OBIEE runcat.cmd - $USER_INSTALL_DIR$

On an Admin tools only (no OBIEE server), version 11.1.1.7.1, runcat.cmd has two invalid lines:

set ORACLE_HOME=$USER_INSTALL_DIR$\oraclebi\orahome
set JAVA_HOME=$JAVA_HOME$

This means that the script fails to run (because $USER_INSTALL_DIR$ is invalid).

I suspect this is because $USER_INSTALL_DIR$ and $JAVA_HOME$ are tokens that the installer should be replacing when it builds runcat.cmd, but due to a bug doesn't

To get runcat.cmd to work, strip out the $var$ and replace it with the correct path, eg:

set JAVA_HOME=C:\Program Files\Oracle Business Intelligence Enterprise Edition Plus Client Tools\jre
set ORACLE_HOME=C:\Program Files\Oracle Business Intelligence Enterprise Edition Plus Client Tools\oraclebi\orahome

To see a similar file that is generated correctly, see bi-init.bat on the same installation:

set ORACLE_HOME=C:\Program Files\Oracle Business Intelligence Enterprise Edition Plus Client Tools\oraclebi\orahome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment