Link to home
Start Free TrialLog in
Avatar of lphillips
lphillips

asked on

Error Running GSKit When Trying to Export to XSession Window

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
SOLUTION
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lphillips
lphillips

ASKER

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
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
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You're welcome :)