← Back to team overview

openjdk team mailing list archive

Bug#637337: This bug happens in jconsole too

 

Message error:

Exception in thread "JConsole.addHost"
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$ServiceList.tryGet(ProviderList.java:433)
	at sun.security.jca.ProviderList$ServiceList.access$200(ProviderList.java:375)
	at sun.security.jca.ProviderList$ServiceList$1.hasNext(ProviderList.java:485)
	at sun.security.jca.GetInstance.getInstance(GetInstance.java:170)
	at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
	at javax.net.ssl.SSLContext.getDefault(SSLContext.java:97)
	at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:121)
	at javax.rmi.ssl.SslRMIClientSocketFactory.getDefaultClientSocketFactory(SslRMIClientSocketFactory.java:207)
	at javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(SslRMIClientSocketFactory.java:117)
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
	at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:340)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at sun.tools.jconsole.ProxyClient.checkSslConfig(ProxyClient.java:225)
	at sun.tools.jconsole.ProxyClient.<init>(ProxyClient.java:128)
	at sun.tools.jconsole.ProxyClient.getProxyClient(ProxyClient.java:481)
	at sun.tools.jconsole.JConsole$3.run(JConsole.java:528)

Thanks!

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

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openjdk-7-jdk depends on:
ii  libc6                  2.13-18           Embedded GNU C Library: Shared lib
ii  libx11-6               2:1.4.4-1         X11 client-side library
ii  openjdk-7-jre          7~b147-2.0~pre3-3 OpenJDK Java runtime, using Hotspo
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages openjdk-7-jdk recommends:
ii  libxt-dev                     1:1.1.1-2  X11 toolkit intrinsics library (de

Versions of packages openjdk-7-jdk suggests:
pn  openjdk-7-demo                <none>     (no description available)
pn  openjdk-7-source              <none>     (no description available)
pn  visualvm                      <none>     (no description available)