To host web applications on the server, use HTTP connection handlers.
-
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"
-
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)"