To host web applications on the server, use HTTP connection handlers.

  1. To create the web application servlet extension, use the create-web-application-extension option with dsconfig.
    $ bin/dsconfig create-web-application-extension \
      --extension-name "Hello Web Application" \
      --set "base-context-path:/hello-app" \
      --set "document-root-directory:/opt/hello-web-app" 
  2. To monitor the connection handler, use the ldapsearch tool.
    Note:

    By default, the HTTP connection handler has an advanced monitor entry property, keep-stats, that is set to TRUE.

    $ bin/ldapsearch --baseDN "cn=monitor" \
      "(objectClass=ds-http-connection-handler-statistics-monitor-entry)"