This information has been added to

Tay, Gary wrote:
FDS User Folks,

I have written a script to help to create a "startconsole.bat".

You have to run this script at RedHat server, it expects a "startconsole.txt" which is the output of RedHat "startconsole -D" command, and it generates "startconsole.bat".

You should edit "/opt/fedora-ds" in this script to reflect the FDS root directory of your installation.

You should edit also "" in this script to suit your need and copy "startconsole.bat" over to c:\fedora\java.

"startconsole.bat" should be run after "cd c:\fedora\java".

Content if "startconsole.txt"

/opt/fedora-ds/bin/base/jre/bin/java -ms8m -mx64m  -cp .:./mcc70_en.jar:./nmclf70_en.jar:./ldapjdk.jar:./mcc70.jar:./base.jar:./nmclf70.jar:./jss3.jar -Djava.library.path=/opt/fedora-ds/lib/jss  -Djava.util.prefs.systemRoot=/opt/fedora-ds/java/.java -Djava.util.prefs.userRoot=/opt/fedora-ds/java -D  -A

Content of ""

#! /bin/sh
# input: startconsole.txt
# output: startconsole.bat
sed -e 's/\/opt\/fedora-ds\/bin\/base\/jre\/bin\///' \
    -e 's/\/opt\/fedora-ds\/java/./g' \
    -e 's/\/opt\/fedora-ds\/lib/..\\lib/g' \
    -e 's/:/;/g' \
    -e 's/\//\\/g' \
    -e 's/http;\\\\/http:\/\//' \
    -e 's/;/' \
    startconsole.txt > startconsole.bat

Content of "startconsole.bat" generated by running ""

java -ms8m -mx64m  -cp .;.\mcc70_en.jar;.\nmclf70_en.jar;.\ldapjdk.jar;.\mcc70.jar;.\base.jar;.\nmclf70.jar;.\jss3.jar -Djava.library.path=..\lib\jss 
      -Djava.util.prefs.systemRoot=.\.java -Djava.util.prefs.userRoot=. -D  -A



-----Original Message-----
From: [] On Behalf Of Sam Tran
Sent: Wednesday, July 06, 2005 9:47 PM
To: General discussion list for the Fedora Directory server project.
Subject: Re: [Fedora-directory-users] Open-source Management Console and Adminserver

On 7/6/05, Thierry Lanfranchi <> wrote:
 Sam Tran a écrit :
 On 7/5/05, <> wrote:
 Rich Megginson wrote:

 Sam Tran wrote:

 On 7/5/05, Rich Megginson <> wrote:

 Sam Tran wrote:


When are you planning to release the management console and admin 
server source code?

 Probably before the end of the year. We can't yet provide dates.


Are you planning to have a Windows version of the management console? 
It would be really convenient for admins who have a Windows box.

 I don't know if we will have an "officially supported version" for 
Windows, but you will be able to run it on Windows. You can run it 
right now if you know the java class and arguments - it's just a 
java/swing application. The startconsole binary just sets up the 
environment, classpath, ld library path, etc. then invokes java.
with only a little more hassle one can build or download the Win32 
bits of JSS, NSS and NSPR from and get SSL going too. 
Those are the only native parts of the Console besides the 
startconsole wrapper. That will allow your Console to connect to the 
Admin Server via https and the Directory Server via ldaps. It'll also 
be less fussy when creating ldaps replication agreements.

Launch the Console in debug mode with "startconsole -D" to see how to 
invoke java to get the Console to run.

 Thanks Rich and Uffe for your help.

It would be nice to have a HOWTO for that.


Fedora-directory-users mailing list

 This is how I proceeded to get the console working under Windows :
 * made a c:\fedora directory on my windows box and copied 
/opt/fedora-ds/java and /opt/fedora-ds/lib from red hat box to windows 
 * started console on the red hat box with the -D command line option like
Rich recommended, and obtained the full command line
 * created a .BAT in my c:\fedora\java directory on the windows box
 edited the .BAT to :
 * modify the path to the java executable
 * replace ':' in the -cp option with ';'
 * replace the / in the pathes with \ (except for the admin server 
 I obtained a .BAT with that line (might be split into several lines 
by my mail client, but it's a single command line):  java -ms8m -mx64m  
-Djava.util.prefs.userRoot=. -D  -A
 (java executable is in my path and the .bat is ran from the 
 working great so far

Fantastic Thierry!

Merci. ;)


Fedora-directory-users mailing list

Fedora-directory-users mailing list