← Back to team overview

openjdk team mailing list archive

Bug#638008: SSL connections fail: /usr/lib/x86_64-linux-gnu/libsoftokn3.so does not exist

 

Package: openjdk-7-jre
Version: 7~b147-2.0~pre2-3
Severity: important

Java apps seem to be unable to establish SSL connections with OpenJDK
7. Switching to OpenJDK 6 fixes the problem.

java.security.ProviderException: Library /usr/lib/x86_64-linux-gnu/libsoftokn3.so does not exist
	sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:292)
	sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103)
	sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:224)
	sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
	java.security.AccessController.doPrivileged(Native Method)
	sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
	sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
	sun.security.jca.ProviderList.getProvider(ProviderList.java:232)
	sun.security.jca.ProviderList$ServiceList.tryGet(ProviderList.java:433)
	sun.security.jca.ProviderList$ServiceList.access$200(ProviderList.java:375)
	sun.security.jca.ProviderList$ServiceList$1.hasNext(ProviderList.java:485)
	sun.security.jca.GetInstance.getInstance(GetInstance.java:170)
	javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
	javax.net.ssl.SSLContext.getDefault(SSLContext.java:97)
	javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:121)
	javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(HttpsURLConnection.java:333)
	javax.net.ssl.HttpsURLConnection.<init>(HttpsURLConnection.java:291)
	sun.net.www.protocol.https.HttpsURLConnectionImpl.<init>(HttpsURLConnectionImpl.java:85)
	sun.net.www.protocol.https.Handler.openConnection(Handler.java:62)
	sun.net.www.protocol.https.Handler.openConnection(Handler.java:57)
	java.net.URL.openConnection(URL.java:969)

Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/814306

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39.4-melech (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openjdk-7-jre depends on:
ii  libaccess-bridge-java- 1.26.2-5          Java Access Bridge for GNOME (jni 
ii  libasound2             1.0.24.1-2        shared library for ALSA applicatio
ii  libc6                  2.13-10           Embedded GNU C Library: Shared lib
ii  libgif4                4.1.6-9           library for GIF images (library)
ii  libjpeg8               8c-2              Independent JPEG Group's JPEG runt
ii  libpng12-0             1.2.46-3          PNG library - runtime
ii  libpulse0              0.9.23-1          PulseAudio client libraries
ii  libx11-6               2:1.4.4-1         X11 client-side library
ii  libxext6               2:1.3.0-3         X11 miscellaneous extension librar
ii  libxi6                 2:1.4.3-3         X11 Input extension library
ii  libxrender1            1:0.9.6-2         X Rendering Extension client libra
ii  libxtst6               2:1.2.0-3         X11 Testing -- Record extension li
ii  openjdk-7-jre-headless 7~b147-2.0~pre2-3 OpenJDK Java runtime, using Hotspo
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages openjdk-7-jre recommends:
ii  ttf-dejavu-extra              2.33-1     Vera font family derivate with add

Versions of packages openjdk-7-jre suggests:
pn  icedtea6-plugin               <none>     (no description available)

-- no debconf information