Wednesday, August 10, 2011


I had some trouble running the script associated with OSB:

. $ORACLE_HOME/Oracle_OSB1/common/bin/

I get:

$ORACLE_HOME ... wlserver_10.3/common/bin/ line 23: /bin/java: No such file or directory

in fact JAVA_HOME was not defined. Weird, because if I do "echo $JAVA_HOME" I get a valid value.

Well, invokes a bunch os other shell scripts, and one of them resets JAVA_HOME if JAVA_VENDOR is not defined. No warning given. Grunt!

So, you need to
export JAVA_VENDOR=Sun

before you run the script.

Yet when I use this version of to rnu the, I get an error:
ImportError: no module named wli

At this point I would rather use the traditional way:

(make sure you type the leading ".")
. $ORACLE_HOME/user_projects/domains/mydomain/bin/
java weblogic.WLST

which works without any issue.


No comments: