Update: Seems I'm late to the party. Ludo already wrote about installing DSCC in 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.
-
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
-
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
-
Edit the
glassfish/domains/domain1/config/server.policyfile 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; }; -
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
-
Deploy DSCC using the GlassFish console.
You will find
var/dscc6/dscc.warwhere 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 uploaddscc.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.

<a href="http://blogs.sun.com/Ludo/entry/deploying_dscc_war_in_glassfish">http://blogs.sun.com/Ludo/entry/deploying_dscc_war_in_glassfish</a> ;-)
Posted by Ludo on September 07, 2007 at 01:02 PM CEST #
I should have RTFM!
At least I confirm that it works.
Posted by Mark on September 07, 2007 at 02:00 PM CEST #