Friday, September 2, 2011

Talend - xulrunner (BI - "the resurrection")

I ran into an ugly error while starting up Talend (a.k.a Talend Open Studio) on linux (OpenSuse 11.4)

[sourcecode language="bash"]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x6fa62bde, pid=14623, tid=3076241088
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK Client VM (20.0-b11 mixed mode linux-x86 )
# Derivative: IcedTea6 1.10.2
# Distribution: Dummy Product (i586), package suse-4.3.1-i386
# Problematic frame:
# C  [libxul.so+0xd39bde]  NS_UTF16ToCString_P+0x1abd6
#
# An error report file with more information is saved as:
# /home/rene/TOS-All-r63143-V4.2.2/hs_err_pid14623.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#
./TalendOpenStudio-linux-gtk-x86.sh: lĂ­nea 7: 14623 Abortado                ./TalendOpenStudio-linux-gtk-x86

[/sourcecode]

The thing is that you need to specify the path to the xulrunner library (of course you ought to install it first if not present on your system) in the TalendOpenStudio-linux-gtk-x86_64.ini or TalendOpenStudio-linux-gtk-x86.ini depending on your architecture. Mine is as follows:

[sourcecode language="bash"]
-vmargs
-Xms128m
-Xmx1024m
-XX:MaxPermSize=2048m
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-2.0.1/xulrunner

[/sourcecode]

diff: -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-2.0.1/xulrunner

I'm giving it more memory than the default parameters (still experimenting with them) as I hate it running that slow.

No comments:

Post a Comment