users@glassfish.java.net

"Sun App Server 9.1 Update 1 with HADB" fails to startup - "Exception in initializing SunPKCS11"

From: <Aspi_Engineer_at_putnam.com>
Date: Tue, 11 Mar 2008 16:41:00 -0400

Hi,

I downloaded "Sun Java System Application Server 9.1 Update 1 with HADB"
and installed it on Windows XP. However it consistently fails to startup
with the exception shown below.
I have tried using external JDK 1.5.0.15 as well as 1.6.0.5. And I have
tried using the bundled JDK. All give the same results.

Any help would be appreciated.

Thanks
Aspi Engineer

[#|2008-03-11T16:06:08.559-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;_RequestID=35bd4cec-e1fa-4329-8f19-cc8e63b67927;|SEC8001:
 Exception in initializing SunPKCS11.
java.security.ProviderException: Initialization failed
      at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:186)
      at
com.sun.enterprise.ee.security.EESecuritySupportImpl.loadSunPKCS11Stores(EESecuritySupportImpl.java:246)
      at
com.sun.enterprise.ee.security.EESecuritySupportImpl.initNSS(EESecuritySupportImpl.java:153)
      at
com.sun.enterprise.ee.security.EESecuritySupportImpl.<init>(EESecuritySupportImpl.java:95)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
      at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at java.lang.Class.newInstance0(Class.java:350)
      at java.lang.Class.newInstance(Class.java:303)
      at
com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl.invoke(PluggableFeatureFactoryBaseImpl.java:84)
      at $Proxy0.getSecuritySupport(Unknown Source)
      at
com.sun.enterprise.security.SecurityUtil.getSecuritySupport(SecurityUtil.java:365)
      at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:102)
      at
com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:101)
      at
com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:262)
      at
com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:101)
      at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
      at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
      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.enterprise.server.PELaunch.main(PELaunch.java:412)
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_SLOT_ID_INVALID
      at sun.security.pkcs11.wrapper.PKCS11.C_GetSlotInfo(Native Method)
      at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:178)
      ... 23 more
|#]

[#|2008-03-11T16:06:08.569-0400|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=35bd4cec-e1fa-4329-8f19-cc8e63b67927;|java.lang.reflect.InvocationTargetException
      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.enterprise.server.PELaunch.main(PELaunch.java:412)
Caused by: java.lang.ExceptionInInitializerError
      at
com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:101)
      at
com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:262)
      at
com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:101)
      at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
      at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
      ... 5 more
Caused by: java.lang.IllegalStateException: Initialization failed
      at
com.sun.enterprise.ee.security.EESecuritySupportImpl.initNSS(EESecuritySupportImpl.java:161)
      at
com.sun.enterprise.ee.security.EESecuritySupportImpl.<init>(EESecuritySupportImpl.java:95)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
      at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at java.lang.Class.newInstance0(Class.java:350)
      at java.lang.Class.newInstance(Class.java:303)
      at
com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl.invoke(PluggableFeatureFactoryBaseImpl.java:84)
      at $Proxy0.getSecuritySupport(Unknown Source)
      at
com.sun.enterprise.security.SecurityUtil.getSecuritySupport(SecurityUtil.java:365)
      at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:102)
      ... 10 more
|#]



This message is intended for the recipient only and is not meant to be forwarded or distributed in any other format. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument, or security, or as an official confirmation of any transaction. Putnam does not accept purchase or redemptions of securities, instructions, or authorizations that are sent via e-mail. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of Putnam Investments, LLC (DBA Putnam Investments) and its subsidiaries and affiliates. If you are not the intended recipient of this e-mail, please delete the e-mail.