IBM Support

Eclipse based product stops with "Exit code=160"

Technote (troubleshooting)


Problem(Abstract)

Attempt to open the workbench in IBM Rational product based on Eclipse causes closing immediately or does not starting at all with following error: " JVM terminated. Exit code=160"

Symptom

An Eclipse window displays the following message: JVM terminated. Exit code=160

After you close the Eclipse message window, a javacore file (for example, javacore.20120613.102137.20388.0002.txt) is created in the installation directory.


Cause

Your XULRunner library version is not compatible with Eclipse version used in product.
Eclipse SWT is only compatible with a range of XULRunner library versions that are installed with Firefox.

  • Eclipse 3.4.x: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.0.x.

  • Eclipse 3.6.x: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.x and 3.6.x (but not 2.x), WebKitGTK+ 1.2.x

Diagnosing the problem

Steps:

  1. Open the javacore file in the product installation directory in a text editor.

  2. Search for the Module that caused the Java Virtual Machine to crash.

    If you have this problem, it will report: srctext="codesnippet">/usr/lib/xulrunner-2/libxul.so.

    0SECTION       TITLE subcomponent dump routine
    NULL           ===============================
    1TICHARSET     UTF-8
    1TISIGINFO     Dump Event "gpf" (00002000) received
    1TIDATETIME    Date:                 2012/06/13 at 10:21:38
    1TIFILENAME    Javacore filename:    /opt/IBM/RAD85/0529_GM/javacore.20120613.102137.20388.0002.txt
    1TIREQFLAGS    Request Flags: 0x81 (exclusive+preempt)
    1TIPREPSTATE   Prep State: 0x100 (trace_disabled)
    1TIPREPINFO    Exclusive VM access not taken: data may not be consistent across javacore sections
    NULL           ------------------------------------------------------------------------
    0SECTION       GPINFO subcomponent dump routine
    NULL           ================================
    2XHOSLEVEL     OS Level         : Linux 2.6.18-308.4.1.el5
    2XHCPUS        Processors -
    3XHCPUARCH       Architecture   : x86
    3XHNUMCPUS       How Many       : 2
    3XHNUMASUP       NUMA is either not supported or has been disabled by user
    NULL          
    1XHEXCPCODE    J9Generic_Signal_Number: 00000004
    1XHEXCPCODE    Signal_Number: 0000000B
    1XHEXCPCODE    Error_Value: 00000000
    1XHEXCPCODE    Signal_Code: 00000001
    1XHEXCPCODE    Handler1: 00125A1A
    1XHEXCPCODE    Handler2: 001CCA67
    1XHEXCPCODE    InaccessibleAddress: 00D5F000
    NULL          
    1XHEXCPMODULE  Module: /usr/lib/xulrunner-2/libxul.so

  3. Navigate to the directory that contains the library.

  4. Use following commands to determine your XULRunner version.


    [root@rhel5 ~]# cd /usr/lib/xulrunner-2
    [root@rhel5  xulrunner-2]# xulrunner -version
    Mozilla XULRunner
    10.0.3 - 20120402170143

Resolving the problem

Procedure:

  1. Download and install a 32 or 64 bit XULRunner in the supported range 1.8.1.3 - 3.6.x for your architecture.

  2. Locate the -vmargs section in the eclipse.ini file that is included in the product installation. Note that some IBM Worklight Studio installations use JRE arguments from the Worklight.sh script instead of from the eclipse.ini file. If a Worklight.sh file is present in the same product directory as the eclipse.ini file, add your updates to the -vmargs sections of both files.

  3. Locate the list of -vmargs arguments and add java system property org.eclipse.swt.browser.XULRunnerPath to point to the XULRunner's path. For example:
    -vmargs -Dsdp.driver=RADO85-I20120529_2348 ... -Dorg.eclipse.swt.browser.XULRunnerPath=/home/xulrunner/1.8.1.3/xulrunner

  4. Restart the product.


For alternative mechanisms to specify which XULRunner installation gets used see also Q: Can I specify which XULRunner installation gets used?

Related information

What do I need to run SWT Browser in Eclipse?
Cannot start RPT after upgrading Firefox
XUL Runner download


Cross reference information
Segment Product Component Platform Version Edition
Software Development WebSphere Application Server Developer Toolkit for Eclipse Installation Linux 8.0.4, 8.5, 8.5.1, 8.5.5 All Editions
Mobile- Speech and Enterprise Access IBM Worklight Installation 5.0.5, 5.0.0.3, 5.0.0.1, 5.0 Consumer, Enterprise
Mobile- Speech and Enterprise Access IBM Mobile Foundation Installation Linux 5.0.5, 5.0.0.3, 5.0.0.2, 5.0.0.1, 5.0
Software Development Rational Software Architect Installation Linux 8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.4.1, 8.0.4.2, 8.5, 8.5.1
Software Development Rational Software Architect for WebSphere Software Installation Linux 7.5, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.5.1, 7.5.5.2, 7.5.5.3, 7.5.5.4, 7.5.5.5, 8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.4.1, 8.0.4.2, 8.5, 8.5.1
Software Development Rational Software Architect Standard Edition Installation Linux 7.5, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.5.1, 7.5.5.2, 7.5.5.3, 7.5.5.4, 7.5.5.5

Document information

More support for: Rational Application Developer for WebSphere Software
Eclipse

Software version: 7.5, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.5.1, 7.5.5.2, 7.5.5.3, 7.5.5.4, 7.5.5.5, 8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.4.1, 8.0.4.2, 8.0.4.3, 8.5, 8.5.1, 8.5.5, 8.5.5.1, 9.0, 9.0.1, 9.1, 9.1.0.1, 9.1.1

Operating system(s): Linux

Reference #: 1598554

Modified date: 15 June 2012


Translate this page: