I fixed this by adding the path of my Java installation to the path statement
in the batch file that starts the console. It appears that Java installs
java.exe in c:\windows\system32 as well as in c:\program files\java\jre6
\bin. The system32 folder is in the normal system path, so I guess Java is
normally started from the system32 folder. For some reason, the console
can't find the required libraries when Java is started from
c:\windows\system32. Here is the relevant line from fedora-idm-console.bat
with my addition:
set PATH=%BASEPATH%;c:\program files\java\jre6\bin;%PATH%
-G.
---------- Original Message -----------
From: Rich Megginson <rmeggins(a)redhat.com>
To: "General discussion list for the 389 Directory server project." <fedora-
directory-users(a)redhat.com>
Sent: Fri, 06 Nov 2009 07:29:24 -0700
Subject: Re: [389-users] Windows Console Quit Working
Glenn wrote:
> Sorry to be such a pest, but now I have another problem. The Windows
> console, which worked fine on my computer for two years, suddenly quit.
I
> installed the latest console, but it does the same thing.It
starts up
fine
> and displays the login window. After I enter login credentials,
the DOS
> window hangs. I'm copying the contents of the DOS window below. Any
ideas
> appreciated. We are using Fedora Directory 1.0.4 on RHEL4.
Thanks. -G.
>
Something must have changed. Did you update Firefox on the machine?
What else might have changed?
> C:\Program Files\Fedora Identity Management Console>echo off
>
> C:\Program Files\Fedora Identity Management Console>"java" "-
> Djava.library.path=
> ." -cp "./jss4.jar;./ldapjdk.jar;./idm-console-base.jar;./idm-console-
> mcc.jar;./
> idm-console-mcc_en.jar;./idm-console-nmclf.jar;./idm-console-
> nmclf_en.jar;./fedo
> ra-idm-console_en.jar" -Djava.util.prefs.systemRoot=/.fedora-idm-console -
> Djava.
> util.prefs.userRoot=/.fedora-idm-console
> com.netscape.management.client.console.
> Console
> Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program
> Files\Fedo
> ra Identity Management Console\jss4.dll: The specified procedure could
not be
> fo
> und
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(Unknown Source)
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at org.mozilla.jss.CryptoManager.loadNativeLibraries
> (CryptoManager.java:
> 1339)
> at org.mozilla.jss.CryptoManager.initialize
(CryptoManager.java:827)
> at org.mozilla.jss.CryptoManager.initialize
(CryptoManager.java:800)
> at
com.netscape.management.client.util.UtilConsoleGlobals.initJSS
> (Unknow
> n Source)
> at com.netscape.management.client.comm.HttpsChannel.<clinit>
(Unknown
> Sou
> rce)
> at com.netscape.management.client.comm.HttpManager.createChannel
> (Unknown
> Source)
> at com.netscape.management.client.comm.CommManager.send(Unknown
> Source)
> at com.netscape.management.client.comm.CommManager.send(Unknown
> Source)
> at com.netscape.management.client.comm.HttpManager.get(Unknown
Source)
> at
com.netscape.management.client.console.Console.invoke_task
(Unknown
> So
> urce)
> at
com.netscape.management.client.console.Console.authenticate_user
> (Unkn
> own Source)
> at com.netscape.management.client.console.Console.<init>(Unknown
> Source)
>
> at com.netscape.management.client.console.Console.main(Unknown
Source)
------- End of Original Message -------