ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Error - The binary library jpkcs11 could not be loaded

Post new topic  Reply to topic
 Error - The binary library jpkcs11 could not be loaded « View previous topic :: View next topic » 
Author Message
thipe
PostPosted: Wed Jun 07, 2006 6:48 pm    Post subject: Error - The binary library jpkcs11 could not be loaded Reply with quote

Novice

Joined: 24 Jun 2003
Posts: 19
Location: Brasil - São Paulo

Hello folks.

I was going to create a key.kdb on /var/mqm/ssl - client side and I got an error :

==> gsk6cmd -keydb -create -db key.kdb -pw xxxxx -type cms -expire 7000 -stash

The binary library jpkcs11 could not be loaded.

Is there something I can do to fix that ?

Here are .profile from mqm user.

export CLASSPATH=.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/u
r/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm
java/lib/jta.jar:/usr/mqm/java/lib

export PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.

if [ -s "$MAIL" ] # This is at Shell startup. In normal
then echo "$MAILMSG" # operation, the Shell checks
fi # periodically.

export HOST=`hostname`
export PS1='${USER}@${HOST} ${PWD##$HOME/}
==> '
alias ll='ls -lt '
set -o vi

export PATH=/usr/mqm/ssl/jre/bin:$PATH
export JAVA_HOME=/usr/mqm/ssl/jre
export MQSSLKEYR=/var/mqm/ssl/key

Thanks.
_________________
Adriano Alves
São Paulo - Brasil
Websphere MQSeries v5.3 Adm Certified
Websphere MQSeries v 6 Adm Certified
Back to top
View user's profile Send private message Send e-mail MSN Messenger
8davitt
PostPosted: Wed Jun 07, 2006 11:33 pm    Post subject: Reply with quote

Apprentice

Joined: 06 Feb 2003
Posts: 37
Location: Seated in front of monitor

Hello thipe, The question you have asked is not exactly JMS or MQ Java API related so should probably go in one of the other fora but I will have a go anyway.

I believe the problem is related to the C runtime that you are using. GSKit relies on the C runtime 6.0.0.3 or later.

Check which version of C you are using as I believe you may find it is quite back level. If required get up to the most recent level.

/s
Back to top
View user's profile Send private message
thipe
PostPosted: Thu Jun 08, 2006 2:21 pm    Post subject: Reply with quote

Novice

Joined: 24 Jun 2003
Posts: 19
Location: Brasil - São Paulo

Hello Davitt. You're right .

I was working with AIX folks this morning and they found main problem ... related to C++ library version . We upgrade to 6.0.0.4 and the problem has gone .

Thank you very much!

Adriano.
_________________
Adriano Alves
São Paulo - Brasil
Websphere MQSeries v5.3 Adm Certified
Websphere MQSeries v 6 Adm Certified
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Error - The binary library jpkcs11 could not be loaded
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.