TDI 7 XULRunner Crash
On some Linux platforms, the TDI 7 CE crashes whenever it tries to render an HTML page or open a web-browser.
This happens for example on SLES 10 once Firefox is upgraded to version 3.5.
The crash message looks like this:
/opt/IBM/TDI/V7.1/jvm/jre/bin/javaw: symbol lookup error: /usr/lib/xulrunner-1.9.1.7/libxul.so: undefined symbol: gdk_screen_get_resolution
The problem is the new XULRunner library, which is not 100% backward-compatible with the original.
Fortunately the older version is usually still around, so we can work around the problem by editing
/opt/IBM/TDI/V7.*/ibmditk
and adding a flag when starting Java:
"$TDI_HOME_DIR/ce/eclipsece/miadmin" "$@" $nosplash -vm "$TDI_JAVAW_PROGRAM" -vmargs -Dcom.ibm.di.loader.IDILoader.path="$TDI_HOME_DIR" -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.8.0.14eol/xulrunner
The new bit is the parameter that starts
-Dorg.eclipse.swt.browser.XULRunnerPath
- you may need to modify the value specified to point to a valid
xulrunner
binary.
This problem is due to an interaction between Eclipse and Firefox.
The Eclipse developers are aware of it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=295394
--
AndrewFindlay - 12 Jan 2011