Sun Directory Server Enterprise Edition 7.0 Installation Guide

Deploying WAR File With BEA WebLogic Server

After you install Directory Server Enterprise Edition, you can deploy the WAR file to access DSCC. Refer to the following procedure for deployment instructions:

ProcedureTo Deploy WAR File With BEA WebLogic Server

The following example shows how to install DSCC in BEA WebLogic Server on a Solaris 10 system.

  1. Create the WAR file for DSCC.


    $ install-path/bin/dsccsetup war-file-create

    For native packages installation, the WAR file is created in the /var/opt/SUNWdsee7/ directory.

    For zip distribution installation, the WAR file is created in the install-path/var directory.

  2. Initialize the DSCC registry.


    $ install-path/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
  3. To create server instances on the same host where DSCC is deployed, register the DSCC agent in Common Agent Container.


    $install-path/bin/dsccsetup cacao-reg

    Type the following command to check the location and other statistics of your war file and DSCC registry:


    $ install-path/bin/dsccsetup status
  4. Deploy the WAR file.

    1. Browse the WebLogic console using http://localhost:7001/console.

    2. Goto base_domain/Deployments.

    3. Click Lock and Edit.

    4. Click Install.

    5. Click Upload your file(s).

    6. In Deployment Archive, select install-path/var/dscc7.war.

    7. Click Next.

    8. Select dscc7.war and click Next a few times and Finish.

    9. Click Activate Changes in the top left corner.

    The dscc7 deployment must be in the active state.


    Note –

    The above steps are an example of how dscc7.war file is deployed into BEA WebLogic Server. The BEA WebLogic Server documentation is the only trustable source of information for deploying WAR files.


  5. Use http://hostname:port/dscc7 to connect to DSCC.

    The default port number for BEA WebLogic Server is 7001.

    The Directory Service Manager Login page displays.