Technote (troubleshooting)
Problem(Abstract)
Trying to run the "itmcmd manage" command on Linux is giving a Java error and does not bring up the GUI.
Symptom
Running the "itmcmd manage" command on Linux is giving a Java error and does not bring up the GUI. The following error is seen in the ITM_INSTALL/logs/CandleManage.log file:
java.lang.UnsatisfiedLinkError: awt (An exception was pending after running JNI_OnLoad)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1018)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:982)
at java.lang.System.loadLibrary(System.java:469)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:69)
at java.security.AccessController.doPrivileged(AccessController.java:202)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:50)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at java.awt.Component.<clinit>(Component.java:580)
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)
Could not find the main class: ITMinstall.JFrame1. Program will exit.
This same error is referenced in APAR IV24794, but the APAR mentions these RPMs to fix the error:
libXcursor
libXfixes
libXi
But checking the system, these are already installed as follows:
/Tivoli/IBM/ITM/bin > rpm -q --qf '%{NAME}-%{VERSION} (%{ARCH})\n' libXi
libXi-1.0.1 (x86_64)
libXi-1.0.1 (i386)
/Tivoli/IBM/ITM/bin > rpm -q --qf '%{NAME}-%{VERSION} (%{ARCH})\n' libXcursor
libXcursor-1.1.7 (x86_64)
libXcursor-1.1.7 (i386)
/Tivoli/IBM/ITM/bin > rpm -q --qf '%{NAME}-%{VERSION} (%{ARCH})\n' libXfixes
libXfixes-4.0.1 (x86_64)
libXfixes-4.0.1 (i386)
Cause
It was determined that the following additional RPM was required:
libXtst
Resolving the problem
Install the additional RPM:
libXtst
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.