Sun Directory Services 3.1 User's Guide

Starting Deja

There are four methods for starting Deja:

To connect to the directory server, Deja requires that the dsservd daemon is running on the server that holds the directory. If the dsservd daemon is not running, Deja will start but is unable to connect. In this case, start dsservd as described in "Starting the dsservd and dswebd Daemons". Then connect to the directory server as described in "Reconnecting Deja to the Directory Server".

Displaying Deja Remotely Through the Sun WebServer

  1. Set the documentation root for the Sun WebServer to /opt/SUNWconn/html.

    Refer to the Sun WebServer documentation for instructions.

  2. Start the Sun WebServer.

    Refer to the Sun WebServer documentation for instructions. The Sun WebServer must be running on the same machine as the dsservd daemon.

  3. Open the following URL in a Java compatible web browser:


    http://hostname/Deja.html
    

    where hostname is the hostname of the machine running the Sun Directory Services and the web server.

    Deja is displayed.

Displaying Deja Remotely Through Any Web Server

  1. Create a symbolic link from the documentation root directory for your web server to /opt/SUNWconn/html:


    prompt% cd docroot_dir
    prompt% ln -s /opt/SUNWconn/html sds

    where docroot_dir is the documentation root directory for your web server.

    The web server must be running on the same machine as the dsservd daemon.

  2. Open the following URL in a Java compatible web browser:


    http://hostname/sds/Deja.html
    

    where hostname is the hostname of the machine running Sun Directory Services and the web server.

    Deja is displayed.

Displaying Deja Locally Without any Web Server

  1. On the machine running the directory server daemon, dsservd, open the following URL in a Java compatible web browser:


    file:/opt/SUNWconn/html/Deja.html

    Deja is displayed. It tries to connect to the directory server specified in the Deja.html file. If it can't connect, an error message is displayed.

Displaying Deja Locally as a Java Application

  1. On the machine running the directory server daemon, dsservd, Set the JAVA_HOME environment variable to the installation directory of your Java Virtual Machine (JVM).

  2. Type:


    prompt% /opt/SUNWconn/bin/deja [ host_name [port_number]]

    where:

    host_name is the hostname of the directory server. The default is localhost.

    port_number is the port number of the directory server. The default is 389.

    The client machine needs to have a Java Virtual Machine and JDK version 1.1.5 or a compatible version installed.