This error does not indicate a problem loading the shared libraries. 
Instead, it indicates the call to initialize NSS failed. Most likely 
it's a problem with the security databases. Are you passing in a 
directory to the CryptoManager.initialize() call? Does that directory 
exist and is it writable? Perhaps there are already databases there and 
this program doesn't have read/write access to them? What other options 
are you passing to CryptoManager.initialize()?

Jason Halmes wrote:

[...]we are trying to get nss/jss working on
Windows 2K.  We have NSS working.

But JSS keeps doing this:

java.lang.SecurityException: Unable to initialize security library
        at org.mozilla.jss.CryptoManager.initializeAllNative(Native
Method)
        at
org.mozilla.jss.CryptoManager.initialize(CryptoManager.java:763)


We set up PATH and CLASSPATH as documented on the jss page.  I keep
thinking I'm doing something stupid but I can't figure out what is
wrong.  We are running in the 1.4 jdk, could that be it?  Or is it
possibly W2K that JSS doesn't like?

Any ideas would be greatly appreciated, I have been searching with
google on the newsgroup and no one seems to have this problem.


Reply via email to