← Back to team overview

openjdk team mailing list archive

[Bug 821936] Re: Java 7 does not find libsoftokn3.so

 

*** This bug is a duplicate of bug 814306 ***
    https://bugs.launchpad.net/bugs/814306

It is still present in the latest "Precise Pangolin (12.04)"
distribution.

Why is the fix still not integrated?

The fix:
ln -s /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so /usr/lib/x86_64-linux-gnu/libsoftokn3.so

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/821936

Title:
  Java 7 does not find libsoftokn3.so

Status in “openjdk-7” package in Ubuntu:
  Confirmed

Bug description:
  Exception in thread "AWT-EventQueue-0" java.security.ProviderException: Library /usr/lib/x86_64-linux-gnu/libsoftokn3.so does not exist
          at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:292)
          at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
          at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:224)
          at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
          at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
          at sun.security.jca.ProviderList.getProvider(ProviderList.java:232)
          at sun.security.jca.ProviderList.getIndex(ProviderList.java:262)
          at sun.security.jca.ProviderList.getProviderConfig(ProviderList.java:246)
          at sun.security.jca.ProviderList.getProvider(ProviderList.java:252)
          at java.security.Security.getProvider(Security.java:474)
          at jd.http.XTrustProvider.install(XTrustProvider.java:70)
          at jd.http.Browser.init(Browser.java:1330)
          at jd.JDInit.initBrowser(Unknown Source)
          at jd.JDInit.init(Unknown Source)
          at jd.Main.go(Unknown Source)
          at jd.Main.access$0(Unknown Source)
          at jd.Main$3.run(Unknown Source)
          at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
          at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
          at java.awt.EventQueue.access$000(EventQueue.java:101)
          at java.awt.EventQueue$3.run(EventQueue.java:666)
          at java.awt.EventQueue$3.run(EventQueue.java:664)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
          at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
          at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
          at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
          at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
          at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
          at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
          at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

  
  This missing file is located at  /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so and a symlink solves this issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/821936/+subscriptions



References