glassfish
  1. glassfish
  2. GLASSFISH-9332

SunPKCS11 initialization error w/ 64bit VM

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: v2.1.1
    • Fix Version/s: not determined
    • Component/s: packaging
    • Labels:
      None
    • Environment:

      Operating System: SunOS
      Platform: All

    • Issuezilla Id:
      9,332
    • Status Whiteboard:
      Hide

      v3_exclude,V2.1.1exclude

      Show
      v3_exclude,V2.1.1exclude

      Description

      Unable to start b30 with jdk1.6.0_16 64bit VM. start-domain fails with the
      following error:

      [#|2009-08-27T16:40:36.675-0700|SEVERE|sun-appserver2.1|javax.enterprise.system.
      core.security|_ThreadID=10;_ThreadName=main;_RequestID=7f935454-876c-4018-8ed1-c
      091c61adeb2;|SEC8001: Exception in initializing SunPKCS11.
      java.lang.UnsatisfiedLinkError: /export/appservers/sjsas/lib/sparcv9/libnss3.so:
      ld.so.1: java: fatal: /export/appservers/sjsas/lib/libnssutil3.so: wrong ELF cl
      ass: ELFCLASS32
      at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
      at java.lang.Runtime.loadLibrary0(Runtime.java:823)
      at java.lang.System.loadLibrary(System.java:1030)
      at com.sun.enterprise.ee.security.NssStore.<clinit>(NssStore.java:100)
      at com.sun.enterprise.ee.security.EESecuritySupportImpl.initNSS(EESecuri
      tySupportImpl.java:151)
      at com.sun.enterprise.ee.security.EESecuritySupportImpl.<init>(EESecurit
      ySupportImpl.java:95)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
      orAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
      onstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl.invoke(P
      luggableFeatureFactoryBaseImpl.java:84)
      at $Proxy0.getSecuritySupport(Unknown Source)
      at com.sun.enterprise.security.SecurityUtil.getSecuritySupport(SecurityU
      til.java:364)
      at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:102)
      at com.sun.enterprise.security.SecurityLifecycle.onInitialization(Securi
      tyLifecycle.java:101)
      at com.sun.enterprise.server.ApplicationServer.onInitialization(Applicat
      ionServer.java:265)
      at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(On
      DemandServer.java:103)
      at com.sun.enterprise.server.PEMain.run(PEMain.java:399)
      at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

      #]

        Activity

        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.
        Hide
        jagadesh added a comment -

        Will not be fixed for V2.1.1

        Show
        jagadesh added a comment - Will not be fixed for V2.1.1
        Hide
        jagadesh added a comment -

        Will not be fixed for V2.1.1

        Show
        jagadesh added a comment - Will not be fixed for V2.1.1
        Hide
        meenap added a comment -

        Picked up the nightly build from:
        /net/koori.sfbay/n/v02/glassfish_branch2.1.1/bundles/b31f-2009-10-08.

        Did a quick test on Solaris Sparc and Solaris X86 by testing the start domain.

        Sparc
        *******
        bigapp-niagara-1(aroot):appserver/lib ->pwd
        /export/home/appserver/lib

        bigapp-niagara-1(aroot):appserver/lib ->ls -l nss
        rw-rr- 1 root root 26032 Oct 9 10:19 libasnss.so
        rw-rr- 1 root root 1768100 Oct 9 10:19 libnss3.so
        rw-rr- 1 root root 506776 Oct 9 10:19 libnssckbi.so
        rw-rr- 1 root root 252620 Oct 9 10:19 libnssdbm3.so
        rw-rr- 1 root root 176880 Oct 9 10:19 libnssutil3.so

        bigapp-niagara-1(aroot):lib/sparcv9 ->pwd
        /export/home/appserver/lib/sparcv9

        bigapp-niagara-1(aroot):lib/sparcv9 ->ls -l nss
        rw-rr- 1 root root 41504 Oct 9 10:19 libasnss.so
        rw-rr- 1 root root 1849232 Oct 9 10:19 libnss3.so
        rw-rr- 1 root root 622712 Oct 9 10:19 libnssckbi.so
        rw-rr- 1 root root 275312 Oct 9 10:19 libnssdbm3.so
        rw-rr- 1 root root 209904 Oct 9 10:19 libnssutil3.so

        start
        [#|2009-10-09T10:31:50.095-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting
        Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build
        b31f-fcs) ...|#]

        [#|2009-10-09T10:31:54.717-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java
        HotSpot(TM) 64-Bit Server VM;1.6.0_16;Sun
        Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version
        1.6.0_16] from [Sun Microsystems Inc.]|#]

        ..............................

        [#|2009-10-09T10:32:52.850-0700|WARNING|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=10;_ThreadName=main;_RequestID=02b664d6-69b9-4369-b650-830e111589eb;|EJBLifeCycle:
        Automatic timer migration component not enabled for DAS instance|#]

        [#|2009-10-09T10:32:53.111-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application
        server startup complete.|#]

        Domain started up successfully with 64 Bits JDK1.6.0_16 on Sparc.

        X86
        ******

        bigapp-xeon-2(aroot):appserver/lib ->pwd
        /export/home/appserver/lib

        bigapp-xeon-2(aroot):appserver/lib ->ls -l nss
        rw-rr- 1 root root 24676 Oct 9 10:20 libasnss.so
        rw-rr- 1 root root 2427148 Oct 9 10:21 libnss3.so
        rw-rr- 1 root root 490276 Oct 9 10:21 libnssckbi.so
        rw-rr- 1 root root 360444 Oct 9 10:21 libnssdbm3.so
        rw-rr- 1 root root 195180 Oct 9 10:21 libnssutil3.so

        bigapp-xeon-2(aroot):lib/amd64 ->pwd
        /export/home/appserver/lib/amd64

        bigapp-xeon-2(aroot):lib/amd64 ->ls -l nss
        rw-rr- 1 root root 28936 Oct 9 10:20 libasnss.so
        rw-rr- 1 root root 2668376 Oct 9 10:21 libnss3.so
        rw-rr- 1 root root 638576 Oct 9 10:21 libnssckbi.so
        rw-rr- 1 root root 418312 Oct 9 10:21 libnssdbm3.so
        rw-rr- 1 root root 246816 Oct 9 10:21 libnssutil3.so

        start
        [#|2009-10-09T10:33:50.828-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting
        Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build
        b31f-fcs) ...|#]

        [#|2009-10-09T10:33:51.610-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java
        HotSpot(TM) 64-Bit Server VM;1.6.0_16;Sun
        Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version
        1.6.0_16] from [Sun Microsystems Inc.]|#]

        .......................................

        [#|2009-10-09T10:34:01.682-0700|WARNING|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=10;_ThreadName=main;_RequestID=3989c62d-e2f8-44d8-96f9-4bab8f61cd3b;|EJBLifeCycle:
        Automatic timer migration component not enabled for DAS instance|#]

        [#|2009-10-09T10:34:01.729-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application
        server startup complete.|#]

        Domain started up successfully with 64 Bits JDK1.6.0_16 on X86

        Show
        meenap added a comment - Picked up the nightly build from: /net/koori.sfbay/n/v02/glassfish_branch2.1.1/bundles/b31f-2009-10-08. Did a quick test on Solaris Sparc and Solaris X86 by testing the start domain. Sparc ******* bigapp-niagara-1(aroot):appserver/lib ->pwd /export/home/appserver/lib bigapp-niagara-1(aroot):appserver/lib ->ls -l nss rw-r r - 1 root root 26032 Oct 9 10:19 libasnss.so rw-r r - 1 root root 1768100 Oct 9 10:19 libnss3.so rw-r r - 1 root root 506776 Oct 9 10:19 libnssckbi.so rw-r r - 1 root root 252620 Oct 9 10:19 libnssdbm3.so rw-r r - 1 root root 176880 Oct 9 10:19 libnssutil3.so bigapp-niagara-1(aroot):lib/sparcv9 ->pwd /export/home/appserver/lib/sparcv9 bigapp-niagara-1(aroot):lib/sparcv9 ->ls -l nss rw-r r - 1 root root 41504 Oct 9 10:19 libasnss.so rw-r r - 1 root root 1849232 Oct 9 10:19 libnss3.so rw-r r - 1 root root 622712 Oct 9 10:19 libnssckbi.so rw-r r - 1 root root 275312 Oct 9 10:19 libnssdbm3.so rw-r r - 1 root root 209904 Oct 9 10:19 libnssutil3.so start [#|2009-10-09T10:31:50.095-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build b31f-fcs) ...|#] [#|2009-10-09T10:31:54.717-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) 64-Bit Server VM;1.6.0_16;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.6.0_16] from [Sun Microsystems Inc.] |#] .............................. [#|2009-10-09T10:32:52.850-0700|WARNING|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=10;_ThreadName=main;_RequestID=02b664d6-69b9-4369-b650-830e111589eb;|EJBLifeCycle: Automatic timer migration component not enabled for DAS instance|#] [#|2009-10-09T10:32:53.111-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#] Domain started up successfully with 64 Bits JDK1.6.0_16 on Sparc. X86 ****** bigapp-xeon-2(aroot):appserver/lib ->pwd /export/home/appserver/lib bigapp-xeon-2(aroot):appserver/lib ->ls -l nss rw-r r - 1 root root 24676 Oct 9 10:20 libasnss.so rw-r r - 1 root root 2427148 Oct 9 10:21 libnss3.so rw-r r - 1 root root 490276 Oct 9 10:21 libnssckbi.so rw-r r - 1 root root 360444 Oct 9 10:21 libnssdbm3.so rw-r r - 1 root root 195180 Oct 9 10:21 libnssutil3.so bigapp-xeon-2(aroot):lib/amd64 ->pwd /export/home/appserver/lib/amd64 bigapp-xeon-2(aroot):lib/amd64 ->ls -l nss rw-r r - 1 root root 28936 Oct 9 10:20 libasnss.so rw-r r - 1 root root 2668376 Oct 9 10:21 libnss3.so rw-r r - 1 root root 638576 Oct 9 10:21 libnssckbi.so rw-r r - 1 root root 418312 Oct 9 10:21 libnssdbm3.so rw-r r - 1 root root 246816 Oct 9 10:21 libnssutil3.so start [#|2009-10-09T10:33:50.828-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build b31f-fcs) ...|#] [#|2009-10-09T10:33:51.610-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) 64-Bit Server VM;1.6.0_16;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.6.0_16] from [Sun Microsystems Inc.] |#] ....................................... [#|2009-10-09T10:34:01.682-0700|WARNING|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=10;_ThreadName=main;_RequestID=3989c62d-e2f8-44d8-96f9-4bab8f61cd3b;|EJBLifeCycle: Automatic timer migration component not enabled for DAS instance|#] [#|2009-10-09T10:34:01.729-0700|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#] Domain started up successfully with 64 Bits JDK1.6.0_16 on X86
        Hide
        coding added a comment -
            • Issue 9332 has been confirmed by votes. ***
        Show
        coding added a comment - Issue 9332 has been confirmed by votes. ***

          People

          • Assignee:
            Snjezana Sevo-Zenzerovic
            Reporter:
            eileeny
          • Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: