After Oracle bought BEA Systems in January 2008, BEA's Weblogic has been incorporated into Oracle Service Bus. I tried to run OSB 10.3.1 on Oracle Enterprise Linux 5 (32 bit) and quickly ran into problems with xulrunner.
Symptoms:
Run $BEA_HOME/wlserver_10.3/common/bin/quickstart.sh.
Click on "Launch Oracle Workshop for Weblogic".
Get: pop up message with "JVM terminated. Exit code 1" etc.
According to the stack dump, the problem is with Eclipse on xulrunnner 1.9.
Solution:
Download xulrunner 1.8 e.g. from, http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.1.3/contrib/linux-i686
Unzip xulrunner-1.8.1.3.en-US.linux-i686-20080128.tar.gz into /usr/lib. Note that the current version is in /usr/lib/xulrunner-1.9
This creates a directory called "xulrunner". Rename this to "xulrunner-1.8".
In $BEA_HOME/workshop_10.3/workshop.ini, add this line (or modify it if it's already there):
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.8
Click again on "Launch Oracle Workshop for Weblogic" from Quicklaunch and the "Workshop for Weblogic 10gR3" should pop up.
Verify that all other products requiring xulrunner 1.9 (e.g. firefox 3) still work.
Note: There is an initialization file for eclipse in $BEA_HOME/osb/tools/eclipse_pkgs/2.0/eclipse_3.3.2/eclipse/eclipse.ini
However, adding -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.8 to eclipse.ini made no difference. The stack dump in $BEA_HOME/utils/quickstart/jrockit.xxxx.dump clearly shows the 1.9 version of xulrunner among all the other Eclipse startup parameters.
Oracle Support were very responsive on this issue, though it was the workshop.ini update that finally fixed the problem.
My Oracle administration notes/findings. You are welcome to browse and comment.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment