Directory Service Control Center on GlassFish V2

Update: Seems I'm late to the party. Ludo already wrote about installing DSCC in GlassFish.

Download GlassFish

Directory Service Control Center gives you a customizable, browser based interface to update entries in your directory. This entry shows you how to set up Directory Editor on GlassFish V2. (The build I got was 58c.) Before you start you should already have downloaded and set up GlassFish as described in the Quick Start Guide.

  1. Download DSEE free of charge

    Get Directory Service Control Center (DSCC) with Directory Server Enterprise Edition. Install Directory Server Enterprise Edition from the zip distribution using dsee_deploy. To summarize, here is a dsee_deploy installation.

    $ ./dsee_deploy install -c all -i /local
  2. Set up the DSCC Registry, which is a directory where DSCC stores configuration information.

    $ /local/dscc6/bin/dsccsetup ads-create
    Choose password for Directory Service Manager:  
    Confirm password for Directory Service Manager:
    Creating DSCC registry...
    DSCC Registry has been created successfully
    

    Remember the password you use for Directory Service Manager, as you need it to log in later.

    Also make sure the common agent container is started so DSCC can create new servers and manage registered servers.

    $ /local/dsee6/cacao_2/usr/sbin/cacaoadm status
    default instance is DISABLED at system startup.
    Current retries count : 0/4
    Processes:
    5692
    Uptime: 0 day(s), 0:1
  3. Edit the glassfish/domains/domain1/config/server.policy file to run DSCC in the first GlassFish instance you created, adding the following policy:

    grant codeBase "file:${com.sun.aas.instanceRoot}/applications/j2ee-modules/dscc/-" {
            permission java.security.AllPermission;
    };
  4. Restart the GlassFish instance to take into account the policy change.

    /export/glassfish/domains/domain1/bin $ ./stopserv
    Server was successfully stopped.
    /export/glassfish/domains/domain1/bin $ ./startserv
    admin username:admin
    admin password:
    master password:
    Redirecting output to /export/glassfish/domains/domain1/logs/server.log
  5. Deploy DSCC using the GlassFish console.

    You will find var/dscc6/dscc.war where you installed Directory Server Enterprise Edition. If you installed GlassFish and DSCC on the same system, you can use the Local packaged file or directory that is accessible from the Application Server option to upload dscc.war.

Once DSCC is deployed, you can login at http://hostname:8080/dscc using the Directory Service Manager password you entered when creating the DSCC Registry.

After you login, you land on the DSCC home page.

For suggestions on what to do now, see Directory Service Control Center: Getting Started.

Comments:

I should have RTFM!

At least I confirm that it works.

Posted by Mark on September 07, 2007 at 07:00 AM CEST #

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