Installation of Sun Directory Server Enterprise Edition (DSEE) on Windows:-
Here are the complete steps :-
1. through command line
D:\Softwares\LDAP\DSEE.6.3.Windows-X86-full\DSEE_ZIP_Distribution>dsee_deploy.exe
install -i C:\DSEE
=============================================================================================================================================================
=============================================================================================================================================================
2. accept the license
Do you accept the license terms ? :
yesCheck availability of port 11162Checking running Directory Server
instancesChecking running Directory Proxy Server instancesUnzipping
sun-ldap-base.zip ...Unzipping sun-ldap-perl.zip ...Unzipping
sun-ldap-dsrk6.zip ...Unzipping sun-ldapcsdk-tools.zip ...Unzipping
sun-ldapcsdk-dev.zip ...Unzipping sun-ldap-ljdk.zip ...Unzipping
sun-ldap-jre.zip ...Unzipping sun-ldap-shared.zip ...Unzipping
sun-ldap-shared-l10n.zip ...Unzipping sun-ldap-directory.zip
...Unzipping sun-ldap-directory-l10n.zip ...Unzipping
sun-ldap-directory-config.zip ...Unzipping sun-ldap-directory-dev.zip
...Unzipping sun-ldap-mfwk.zip ...Unzipping sun-ldap-cacao.zip
...Unzipping sun-ldap-console-agent.zip ...Unzipping
sun-ldap-console-cli.zip ...Unzipping sun-ldap-console-common.zip
...Unzipping sun-ldap-console-var.zip ...Unzipping sun-ldap-jdmk.zip
...Unzipping sun-ldap-directory-client.zip ...Unzipping
sun-ldap-directory-client-l10n.zip ...Unzipping sun-ldap-proxy.zip
...Unzipping sun-ldap-proxy-l10n.zip ...Unzipping
sun-ldap-proxy-client.zip ...Unzipping sun-ldap-proxy-client-l10n.zip
...Unzipping sun-ldap-console-gui.zip ...Unzipping
sun-ldap-console-gui-help.zip ...Unzipping
sun-ldap-console-gui-l10n.zip ...Unzipping
sun-ldap-console-gui-help-l10n.zip ...Creating WAR file for Console
Configuring
Cacao at D:/DSEE/dsee6/cacao_2Setting Cacao parameter jdmk-home with
default value [D:\DSEE\dsee6\private]Setting Cacao parameter java-home
with default value [D:\DSEE\jre]Setting Cacao parameter nss-lib-home
with default value [D:\DSEE\dsee6\private\lib]Setting Cacao parameter
nss-tools-home with default value [D:\DSEE\dsee6\bin]Registering DSCC
agent into cacaoStarting Cacao if necessaryRegistering JESMF agent into
CacaoInitializing JESMF...Registering DS in JESMF...Checking Cacao
status...Deploying JESMF in Cacao...Deploying DS in JESMF...DS has been
successfully registered in JESMF.Making a copy of dsee_deploy.exeMaking
a copy of listrunnings.exeYou can now start your Directory Server
InstancesYou can now start your Directory Proxy Server Instances
=============================================================================================================================================================
=============================================================================================================================================================
3. Create a Instance.
D:\DSEE\ds6\bin>dsadm create -p 1389 -P 636 D:\DSEE\instance
Warning: 636 is a privileged port ; make sure that user 'Raghuvir Kamath' has right to use it before running start subcommand
Choose the Directory Manager password:adminadmin
Confirm the Directory Manager password:adminadmin
Use 'dsadm start 'C:\DSEE\instance'' tado start the instance
=============================================================================================================================================================
=============================================================================================================================================================
4. Start the instance.
D:\DSEE\ds6\bin>dsadm start D:\DSEE\instance
Waiting
for Directory Server instance 'D:/DSEE/instance' to start...Directory
Server instance 'D:/DSEE/instance' started: pid=2816
=============================================================================================================================================================
=============================================================================================================================================================
5. Create a suffix
D:\DSEE\ds6\bin>dsconf
create-suffix -e -h localhost -p 1389 dc=example,dc=comEnter
"cn=Directory Manager" password:adminadmin
=============================================================================================================================================================
=============================================================================================================================================================
6. Import the Example.ldif to the directory.
D:\DSEE\ds6\bin>dsconf
import -e -h localhost -p 1389 D:\DSEE\ds6\ldif\Example.ldif
dc=example,dc=comEnter "cn=Directory Manager" password:New data will
override existing data of the suffix "dc=example,dc=com".Initialization
will have to be performed on replicated suffixes.Do you want to
continue [y/n] ? y## Index buffering enabled with bucket size 40##
Beginning import job...## Processing file
"D:\DSEE\ds6\ldif\Example.ldif"## Finished scanning file
"D:\DSEE\ds6\ldif\Example.ldif" (160 entries)## Workers finished;
cleaning up...## Workers cleaned up.## Cleaning up producer thread...##
Indexing complete.## Starting numsubordinates attribute generation.
This may take a while, please wait for further activity reports.##
Numsubordinates attribute generation complete. Flushing caches...##
Closing files...## Import complete. Processed 160 entries in 5 seconds.
(32.00 entries/sec)
Task completed (slapd exit code: 0).
=============================================================================================================================================================
=============================================================================================================================================================
D:\DSEE\dsrk6\bin>dir
Volume in drive D has no label.
Volume Serial Number is 6C13-6887
Directory of D:\DSEE\dsrk6\bin
08/07/2008 03:41 PM
.08/07/2008
03:41 PM ..03/11/2008 03:53 PM 54,431 authrate.exe03/11/2008 03:53 PM
2,263 cities03/11/2008 03:53 PM 54,449 dsmlmodify.exe03/11/2008 03:53
PM 54,449 dsmlsearch.exe03/11/2008 03:53 PM 3,636
example.template08/07/2008 03:32 PM example_files03/11/2008 03:53
PM 60,238 first.names03/11/2008 03:53 PM 106,146 last.names03/11/2008
03:30 PM 54,431 ldapcmp.exe03/11/2008 03:30 PM 54,431
ldapcompare.exe03/11/2008 03:30 PM 54,431 ldapdelete.exe03/11/2008
03:30 PM 54,431 ldapmodify.exe03/11/2008 03:30 PM 54,431
ldappasswd.exe03/11/2008 03:30 PM 54,431 ldapsearch.exe03/11/2008 03:53
PM 54,449 ldapsubtdel.exe03/11/2008 03:53 PM 54,431
ldifxform.exe03/11/2008 03:53 PM 107,868 logconv03/11/2008 03:53 PM
54,449 makeldif.exe03/11/2008 03:53 PM 54,431 modrate.exe03/11/2008
03:53 PM 54,431 searchrate.exe03/11/2008 03:53 PM 3,259
solaris.template03/11/2008 03:53 PM 153 states03/11/2008 03:53 PM 525
streets08/07/2008 03:41 PM 37,854 test.ldif08/07/2008 03:31 PM 554
test.template 24 File(s) 1,084,602 bytes 3 Dir(s) 36,942,323,712 bytes
free D:\DSEE\dsrk6\bin>makeldif -t test.template -o test.ldif
Processing
complete.101 total entries written.
=============================================================================================================================================================
=============================================================================================================================================================
D:\DSEE\dscc6\bin>dsccsetup ads-create
Choose password for Directory Service Manager:adminadmin
Confirm password for Directory Service Manager:adminadmin
Creating DSCC registry...
DSCC Registry has been created successfully
=============================================================================================================================================================
=============================================================================================================================================================
To Deploy WAR File with Tomcat
just copy the war file from D:\DSEE\var\dscc6 to C:\apache-tomcat-6.0.13\webapps.
Add the emphasized text in the ${CATALINA_BASE}/conf/web.xml file as shown below:... jsp org.apache.jasper.servlet.JspServlet fork false xpoweredBy false ... enablePooling false 3
Add the following entries in System variables
CATALINA_HOME C:\apache-tomcat-6.0.13
CATALINA_BASE C:\apache-tomcat-6.0.13
Start the tomcat app server from C:\apache-tomcat-6.0.13\bin\startserver.bat
in the console u will see
INFO:
Deploying web application archive dscc.warAug 13, 2008 12:30:03 PM
org.apache.coyote.http11.Http11Protocol startINFO: Starting Coyote
HTTP/1.1 on http-8080Aug 13, 2008 12:30:03 PM
org.apache.jk.common.ChannelSocket initINFO: JK: ajp13 listening on
/0.0.0.0:8009Aug 13, 2008 12:30:03 PM org.apache.jk.server.JkMain
startINFO: Jk running ID=0 time=0/47 config=nullAug 13, 2008 12:30:03
PM org.apache.catalina.startup.Catalina startINFO: Server startup in
9208 ms