users@glassfish.java.net

Re: SunPKCS11 not found on GF 2.1 with 64bit JVM

From: p_repetti <pierangelo.repetti_at_gmail.com>
Date: Thu, 27 May 2010 10:35:51 -0700 (PDT)

I see. Could you direct me to any reference (Sun issues, posts, articles,
whatever) about that ?

Thank you very much

-- Pierangelo


Shing Wai Chan-2 wrote:
>
> The corresponding classes may not be in 64 bit JDK in Window platform.
> As a temporary workaround, you may like to use 32 bit in Window in this
> moment.
> Thanks.
> Shing Wai Chan
>
> On 5/26/10 3:46 AM, p_repetti wrote:
>> Hello
>>
>> I have a web application that digitally signs files using a smart card
>> device. The application runs in the following environment:
>>
>> - JVM 1.6u20 64-bit
>> - Sun Java System Application Server 9.1_02 (build b04-fcs)
>> - Windows Server 2003 x64 SP2
>> - Intel Xeon CPU
>>
>> When I open the smart card device from code I get the following
>> exception:
>>
>> java.lang.ClassNotFoundException: sun.security.pkcs11.SunPKCS11
>> java.lang.RuntimeException: java.lang.ClassNotFoundException:
>> sun.security.pkcs11.SunPKCS11
>> ...
>> Caused by: java.lang.ClassNotFoundException:
>> sun.security.pkcs11.SunPKCS11
>> at
>> com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:738)
>> at
>> com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:628)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>
>> I installed a 32-bit JVM, linking the application server to it and
>> everything runs fine.
>>
>> What's wrong with 64bit ?
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://old.nabble.com/SunPKCS11-not-found-on-GF-2.1-with-64bit-JVM-tp28679048p28697512.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.