Check out this article:
  http://forums.oracle.com/forums/thread.jspa?messageID=6386364

It implies that the first slot will be used unless debug is on.
Any empty first slot could be a problem, as the OpenSC hot-plug
slot could be empty.

If this is the problem, try setting in the opensc.conf
  plug_and_play = false


On 6/12/2011 8:12 AM, Bernardo Höhl wrote:
> Hello Martin,
>
> Thank you for replying...
>
> We have added the 32 bit option to the java execution, it seems we have 
> overcome the architecture problem.
>
> But we still get:
>
> air:sign bernardo$ ./run.sh
> Removing SunPKCS11-Darwin
> java.security.KeyStoreException: PKCS11 not found
>       at java.security.KeyStore.getInstance(KeyStore.java:587)
>       at radek.security.PKCS11Util.createKeystore(Unknown Source)
>       at radek.signingd.SignD.main(SignD.java:106)
> Caused by: java.security.NoSuchAlgorithmException: PKCS11 KeyStore not 
> available
>       at sun.security.jca.GetInstance.getInstance(GetInstance.java:142)
>       at java.security.Security.getImpl(Security.java:659)
>       at java.security.KeyStore.getInstance(KeyStore.java:584)
>       ... 2 more
> PKCS11 not found
>
> On 11.06.2011, at 11:06 AM, Martin Paljak wrote:
>
>> Hello,
>> On Jun 11, 2011, at 15:26 , Bernardo Höhl wrote:
>>
>>> Caused by: java.io.IOException: 
>>> dlopen(/Library/Frameworks/eToken.framework/Versions/4.55.41/libeToken.dylib,
>>>  1): no suitable image found.  Did find:
>>>     /Library/Frameworks/eToken.framework/Versions/4.55.41/libeToken.dylib: 
>>> no matching architecture in universal 
>>> wrapper/Library/Frameworks/eToken.framework/Versions/4.55.41/libeToken.dylib
>>>     at sun.security.pkcs11.wrapper.PKCS11.connect(Native Method)
>>
>> Your Java process architecture (64 bits?) does not match the available file 
>> architecture. Check with
>>
>> $ file /Library/Frameworks/eToken.framework/Versions/4.55.41/libeToken.dylib
>>
>>
>>
>> --
>> @MartinPaljak.net
>> +3725156495
>>
>
> _______________________________________________
> opensc-devel mailing list
> opensc-devel@lists.opensc-project.org
> http://www.opensc-project.org/mailman/listinfo/opensc-devel
>
>

-- 

  Douglas E. Engert  <deeng...@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to