BusinessEvents DecisionManager fails to start with error, "libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory".

BusinessEvents DecisionManager fails to start with error, "libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory".

book

Article ID: KB0094241

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
DecisionManager fails to start with error, "libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory".
Symptoms:
Decision manager fails to start with the following error:
+++++++++++
!ENTRY org.eclipse.osgi 4 0 2015-11-18 14:37:18.615
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
    /app001/tibapp/soa/tibco/be/5.2/eclipse-platform/eclipse/configuration/org.eclipse.osgi/741/0/.cp/libswt-pi-gtk-4430.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    no swt-pi-gtk in java.library.path
    /app001/tibapp/.swt/lib/linux/x86_64/libswt-pi-gtk-4430.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    Can't load library: /app001/tibapp/.swt/lib/linux/x86_64/libswt-pi-gtk.so

    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:327)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
    at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:39)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:135)
    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:716)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
    at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:165)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:107)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
+++++++++++


Cause:
libgtk-x11-2.0.so.0 is provided by GIMP ToolKit(GTK+), a library for creating GUIs for X.The issue happens while Eclipse is not able to open libgtk-x11-2.0.so.0 .

Issue/Introduction

BusinessEvents DecisionManager fails to start with error, "libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory".

Resolution

Adding libgtk-x11-2.0.so.0 library to the server will fix this issue.