Directory Editor 6 on Apache Tomcat

Directory Editor gives you a customizable, browser based interface to update entries in your directory. This entry shows you how to set up Directory Editor on Apache Tomcat. If you have not already created a Directory Server instance and loaded sample data, see the earlier entry on getting started. Also you should already have downloaded and set up Tomcat.

Download DSEE free of charge

Get Directory Editor with Directory Server Enterprise Edition. When you unpack the zip distribution of Directory Server Enterprise Edition, you see a file system directory called DSEE_Directory_Editor that contains the software, including the installable de.class binary, a couple of install scripts, and some documentation. The installation script prompts you for the install location, so you need to know where Tomcat is installed. You also need to set your DISPLAY environment variable correctly to install Directory Editor.

$ sh install.sh
Starting Sun Java System Directory Editor 6.0 Installer

...

Specify the directory location where you want to install the Directory Editor
program.

   Directory to install Directory Editor components into [/home/mark] {"<"
   goes back, "!" exits}: /export/apache-tomcat-6.0.14/webapps

Checking disk space...


The following items for the product Directory Editor will be installed:

Product: Directory Editor
Location: /export/apache-tomcat-6.0.14/webapps
Space Required: 8.16 MB
----------------------------------------------
Directory Editor war file


Ready to Install

1. Install Now
2. Start Over
3. Exit Installation

   What would you like to do [1] {"<" goes back, "!" exits}?

Installing Directory Editor
|-1%--------------25%-----------------50%-----------------75%--------------100%|

Installation details:

     Product           Result     More Information
 1.  Directory Editor  Installed  Available

2. Done

   Enter the number corresponding to the desired selection for more
   information, or enter 2 to continue [2] {"!" exits}:
$ 

As described in the Directory Server Enterprise Edition release notes, you must fix a missing JAAS config file problem after installation:


When deploying on Tomcat, login fails due to a missing JAAS configuration file.
To work around this issue, first create tomcat-install-path/bin/setenv.sh containing the following line:
JAVA_OPTS="-Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas.conf"
Next create tomcat-install-path/conf/jaas.conf. Edit the file to contain the following lines:
SunDirectoryLogin {
 com.sun.dml.auth.SunDirectoryLoginModule required;
};

To complete installation, you set the directory start up properties.

You then identify the directory to manage.

Once you can manage the directory, you can login to Directory Editor anonymously to search (as is the case on many directories), or as a user with access rights to make changes.

Once you are logged in, there are several tasks on the start page.

The following page shows you creating a user named Mark.

For more information on Directory Editor, see the Installation and Configuration Guide online at http://docs.sun.com/source/819-2191/index.html.

Comments:

This was right on the mark, very helpful and now DE is up and running!

Thanks!

~M

Posted by Martin Brooks on February 26, 2009 at 05:55 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Mark Craig writes about Directory Services products and technologies. The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today