IBM Support

TWS 8.6 SETUP.sh can not launch a GUI, get awt related error

Troubleshooting


Problem

Getting error: com.installshield.wizard.StandardWizardListener, dbg, java.lang.UnsatisfiedLinkError: awt (An exception was pending after running JNI_OnLoad)

Symptom

x11 libraries appear to be installed as xclock is launched successfully, looks like some other libraries may be missing

Cause

Library libXft.so.2 was missing from the system.

Environment

Linux 6 RHES

Diagnosing The Problem

Ran an
strace -f -tt -s 1000 -i -T -v -o /tmp/strace.out SETUP.sh -is:log /tmp/ms.log
and noticed prior to the error being issued the following library could not be found

5571 09:29:25.610161 [ b43424] open("/lib/i686/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) <0.000013>
5571 09:29:25.610207 [ b43424] open("/lib/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) <0.000013>
5571 09:29:25.610253 [ b43424] open("/usr/lib/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) <0.000013>
5571 09:29:25.715637 [ 24a430] write(1, "(Feb 8, 2013 9:29:25 AM), Wizard, com.installshield.wizard.StandardWizardListener, dbg, java.lang.UnsatisfiedLinkError: awt (An exception was pending after running JNI_OnLoad)", 175) = 175 <0.000032>
5571 09:29:25.722300 [ 24a430] write(1, "(Feb 8, 2013 9:29:25 AM), Wizard, com.installshield.wizard.StandardWizardListener,wrn, could not initialize interface swing - trying awt", 137 <unfinished ...>

Resolving The Problem

Install libXft.so.2 library

eg.


yum install libXft.so.2

[{"Product":{"code":"SSGSPN","label":"IBM Workload Scheduler"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Tivoli Dynamic Workload Console","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.6","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

13621;077;649

Document Information

Modified date:
17 June 2018

UID

swg21625026