SunPKCS11 is not working on Solaris-amd64 using 1.5.0_04-b05 64bit JDK
with 64 bit JDK its saying 'SunPKCS11-Solaris provider not installed'
Test Machine details:
---------------------
bash-3.00# uname -a
SunOS urt-01 5.10 Generic_Patch i86pc i386 i86pc
bash-3.00# cat /etc/release
Solaris 10 7/05 s10x_u1wos_04 X86
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 28 March 2005
JDK Version:
------------
JDK under test: (/export/updates/Regression/jdk1.5.0_04)
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_04-b05, mixed mode)
Test Case : DefaultPKCS11
Location: <Regression-Worspace>/test/java/security/Provider/DefaultPKCS11.java
System.out:
-----------
Running on SunOS 5.10
Providers: [SUN version 1.5, SunRsaSign version 1.5, SunJSSE version 1.5, SunJCE version 1.5, SunJGSS version 1.0, SunSASL version 1.5]
System.err:
-----------
java.lang.Exception: SunPKCS11-Solaris provider not installed
at DefaultPKCS11.main(DefaultPKCS11.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
at java.lang.Thread.run(Thread.java:595)
JavaTest Message: Test threw exception: java.lang.Exception: SunPKCS11-Solaris provider not installed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: SunPKCS11-Solaris provider not installed
bash-3.00# /export/updates/Regression/jdk1.5.0_04/bin/java -d64 DefaultPKCS11
Running on SunOS 5.10
Providers: [SUN version 1.5, SunRsaSign version 1.5, SunJSSE version 1.5, SunJCE version 1.5, SunJGSS version 1.0, SunSASL version 1.5]
Exception in thread "main" java.lang.Exception: SunPKCS11-Solaris provider not installed
at DefaultPKCS11.main(DefaultPKCS11.java:39)
###@###.### 2005-06-15 09:45:40 GMT