?
Solved

Error Running GSKit When Trying to Export to XSession Window

Posted on 2011-05-12
6
Medium Priority
?
2,347 Views
Last Modified: 2013-12-15
I am getting an error when trying to run the Global Security Kit (GSKit) for IBM HTTP Server (IHS).  I know my Xsession is working, because I can run xclock.  I checked the libraries listed in the "Preparing Linux systems for installation" (http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.installation.base.doc/info/aes/ae/tins_linuxsetup.html), and the ones they list are there.

Any suggestions on what is causing the error below?


[dev1con01:/apps/IHS/v70/Connect/PRD/http/gsk7/bin]:> ./gsk7ikm
Exception in thread "main" java.lang.UnsatisfiedLinkError: awt (An exception was pending after running JNI_OnLoad)
        at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1007)
        at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:971)
        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: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: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 com.ibm.gsk.ikeyman.Ikeyman.main(Ikeyman.java:26)


Linux Version Info
[dev1con01:/apps/IHS/v70/Connect/PRD/http/gsk7/bin]:> uname -a
Linux dev1con01 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux


JAVA_HOME Setting
[dev1con01:/apps/IHS/v70/Connect/PRD/http/gsk7/bin]:> env | grep JAVA_HOME
JAVA_HOME=/apps/WebSphere/AppServer/v70/Connect/PRD/java


JAVA is in the Path
[dev1con01:/apps/IHS/v70/Connect/PRD/http/gsk7/bin]:> which java
/apps/WebSphere/AppServer/v70/Connect/PRD/java/bin/java

Libraries Checked
http://www-01.ibm.com/support/docview.wss?uid=swg21407743

[dev1con01:/apps/IHS/v70/Connect/PRD/http/gsk7/bin]:> rpm -ql libXtst | grep so
/usr/lib64/libXtst.so.6
/usr/lib64/libXtst.so.6.1.0
/usr/lib/libXtst.so.6
/usr/lib/libXtst.so.6.1.0
[dev1con01:/apps/IHS/v70/Connect/PRD/http/gsk7/bin]:> rpm -ql libXp | grep so
/usr/lib64/libXp.so.6
/usr/lib64/libXp.so.6.2.0
/usr/lib/libXp.so.6
/usr/lib/libXp.so.6.2.0
[dev1con01:/apps/IHS/v70/Connect/PRD/http/gsk7/bin]:> rpm -ql libXmu | grep so
/usr/lib64/libXmu.so.6
/usr/lib64/libXmu.so.6.2.0
/usr/lib64/libXmuu.so.1
/usr/lib64/libXmuu.so.1.0.0
/usr/lib/libXmu.so.6
/usr/lib/libXmu.so.6.2.0
/usr/lib/libXmuu.so.1
/usr/lib/libXmuu.so.1.0.0
0
Comment
Question by:lphillips
  • 3
  • 2
6 Comments
 
LVL 38

Assisted Solution

by:Gerwin Jansen, EE MVE
Gerwin Jansen, EE MVE earned 750 total points
ID: 35749988
I'm not familiar with IBM GSKit iKeyman, but your OS is 64 bits, right? Do you have the gsk7ick_64 binary in your bin folder? Can you start it?
0
 

Author Comment

by:lphillips
ID: 35750011
This is what's in the directory

dev1con01:/apps/IHS/v70/Connect/PRD/http/gsk7/bin]:> ll
total 308
-rwxr-xr-x 1 wsadmin wsadmin   4268 Apr 22  2010 private_verifyinstall
-rwxr-xr-x 1 wsadmin wsadmin   7004 Apr 22  2010 gsk7ver
-rwxr-xr-x 1 wsadmin wsadmin   9726 Apr 22  2010 gsk7ikm
-rwxr-xr-x 1 wsadmin wsadmin   9726 Apr 22  2010 gsk7cmd
-rwxr-xr-x 1 wsadmin wsadmin 260968 Apr 22  2010 gsk7capicmd
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 35750558
No 64bit version there. The error message is about the ClassLoader. Did you setup your CLASSPATH? It should probably contain <your path>/gsk7/classes/cfwk.zip:<your path>/gsk7/classes/gsk7cls.jar
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

Accepted Solution

by:
lphillips earned 0 total points
ID: 35792781
I'm going to close this question, even IBM has not been able to help.  I just installed the same version of IHS on my local windows laptop and generated the keys.  Thanks gerwinjansen for your suggestions.
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 35793225
You're welcome :)
0
 
LVL 5

Expert Comment

by:Netminder
ID: 35908034
No solution, but closing per Asker request in http://www.experts-exchange.com/Q_27048011.html

Netminder
Senior Admin
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month16 days, 20 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question