Skip to content

Solaris x64 and sparc: TrustAnchor.java cannot find NSS module #3981

@adamfarley

Description

@adamfarley

Any other details:

----------System.out:(1/46)----------
libsoftokn3 version = 3.12100.  ECC Extended.
----------System.err:(22/1319)----------
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at PKCS11Test.getSunPKCS11(PKCS11Test.java:108)
	at TrustAnchors.main(TrustAnchors.java:58)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:750)
Caused by: java.security.ProviderException: NSS module not available: trustanchors
	at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:272)
	at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103)
	... 12 more

This forum comment suggests that perhaps the contents of java.library.path or LD_LIBRARY_PATH could be causing this bug.

Please check the contents of "/usr/jdk/packages/lib/amd64" and see if anything changed around the same time as this started happening?

Job history says the parent target (jdk_security3_0) didn't see this issue on the 27th of May, but did see it on the 29th.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions