Glenn wrote:
Not sure about java, but the console .bat file should always be started from the \program files\fedora whatever console folder. That must be the working directory because that's where the required .dlls are located. If the the .dlls cannot be located in the current working directory, then they are looked for in the PATH.I fixed this by adding the path of my Java installation to the path statementin 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
Right - see above
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@xxxxxxxxxx> To: "General discussion list for the 389 Directory server project." <fedora- directory-users@xxxxxxxxxx> Sent: Fri, 06 Nov 2009 07:29:24 -0700 Subject: Re: [389-users] Windows Console Quit WorkingIGlenn 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.fineinstalled the latest console, but it does the same thing.It starts upideasand displays the login window. After I enter login credentials, the DOS window hangs. I'm copying the contents of the DOS window below. Anynot beSomething must have changed. Did you update Firefox on the machine? What else might have changed?appreciated. We are using Fedora Directory 1.0.4 on RHEL4. Thanks. -G.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.ConsoleException in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\Fedo ra Identity Management Console\jss4.dll: The specified procedure couldfo 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)(Unknownat com.netscape.management.client.util.UtilConsoleGlobals.initJSS (Unknow n Source) at com.netscape.management.client.comm.HttpsChannel.<clinit>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(UnknownSource)(Unknownat com.netscape.management.client.console.Console.invoke_taskSo urce)atcom.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(UnknownSource)-- 389 users mailing list 389-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users------- End of Original Message ------- -- 389 users mailing list 389-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users
<<attachment: smime.p7s>>
-- 389 users mailing list 389-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users