TIBCO Domain Utility fails to start on AIX 6.1 due to "UnsatisfiedLinkError: awt (An exception was pending after running JNI_OnLoad)".

TIBCO Domain Utility fails to start on AIX 6.1 due to "UnsatisfiedLinkError: awt (An exception was pending after running JNI_OnLoad)".

book

Article ID: KB0085365

calendar_today

Updated On:

Products Versions
TIBCO Runtime Agent (TRA) -
Not Applicable -

Description

Resolution:
Description:
============
Domain Utility throws "java.lang.UnsatisfiedLinkError: awt (An exception was pending after running JNI_OnLoad)" on startup.


Environment:
===========
TIBCO Runtime Agent (TRA) 5.6.x, 5.7.x
IBM AIX 6.1
  

Symptoms:
========
Domain Utility fails to start and throws the following exception:

Failed to find the start class, "com/tibco/administrator/du/DomainUtility" - bad classpath?
Exception in thread "main" java.lang.UnsatisfiedLinkError: awt (An exception was pending after running JNI_OnLoad)
        at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1013)
        at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:977)
        at java.lang.System.loadLibrary(System.java:470)
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:69)
        at java.security.AccessController.doPrivileged(AccessController.java:202)
        at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
        at sun.awt.DebugHelper.&ltclinit>(DebugHelper.java:29)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
        at java.awt.Component.&ltclinit>(Component.java:572)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:167)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:167)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:167)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:167)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:167)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:167)
Unable to find the start class

Cause:
=====
Domain Utility fails because X11/AWT libraries are not installed on the host machine.

Resolution:
==========
Install the "X11.adt.lib" package on AIX 6.1.

References:
==========
http://forums.oracle.com/forums/thread.jspa?threadID=2206976

Issue/Introduction

TIBCO Domain Utility fails to start on AIX 6.1 due to "UnsatisfiedLinkError: awt (An exception was pending after running JNI_OnLoad)".