IBM Support

Configuration Manager launches and quits instantly without errors

Troubleshooting


Problem

When invoking configmgr binary, the application starts and quickly returns without any errors. The following error will be found in application workspace logs: java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3452 or swt-pi-gtk in swt.library.path, java.library.path or the jar file This is usually related to missing library required by configuration manager to load the application.

Symptom

When invoking configmgr binary, the application starts and quickly returns without any errors

Cause

failure to load swt libraries packaged with configuration manager due to missing dependencies

Diagnosing The Problem

Navigate to the user (that invoked configmgr binary) home folder, then open the .log file located under configmgr_workspace/.metadata

The log file should contain an entry similar to the following one:


java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3452 or swt-pi-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:233)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
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:130)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:511)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at com.ibm.ecm.configmgr.ui.rcp.Application.start(Application.java:73)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

Resolving The Problem

Navigate to the configuration manager plugin folder (for example under /opt/IBM/FileNet/ContentEngine/tools/configure/plugins).
Create a temp folder.
Copy the org.eclipse.swt.gtk.solaris.sparc_3.4.1.v3452b.jar plugin into the temp folder.
Navigate to the temp folder and unjar the plugin jar file
Run the ldd command on libswt-pi-gtk-3452.so
Check the ldd command ouput for missing librairies

You can use the following commands to perform these steps:

cd /opt/IBM/FileNet/ContentEngine/tools/configure/plugins
mkdir temp
cp org.eclipse.swt.gtk.solaris.sparc_3.4.1.v3452b.jar temp
cd temp
unjar xvf org.eclipse.swt.gtk.solaris.sparc_3.4.1.v3452b.jar
ldd libswt-pi-gtk-3452.so

Once the missing libraries are identified with the ldd command, locate the libraries the Operating System installation media (or OS vendor website) and install them.

Another option is to use configuration manager in command line mode

[{"Product":{"code":"SSNVNV","label":"FileNet Content Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Content Engine","Platform":[{"code":"PF027","label":"Solaris"}],"Version":"4.5.1;5.0","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21418588