public final class SetupServer extends Object
public static void main(String[] args) throws EmbeddedDirectoryServerException
The OpenDJ archive is the zip archive that is resulting from a maven build. The server root directory is the directory where OpenDJ will be installed. Because the archive contains the "opendj" directory, it is mandatory to provide a server root directory that is named "opendj" (the archive will be automatically extracted in the parent directory of the provided server root directory). Other parameters are usual parameters to setup a server.
args - The command line arguments: openDJArchive, serverRootDir
and optionally: baseDn, backendType, ldapPort, adminPort, jmxPortEmbeddedDirectoryServerException - If an error occursCopyright © 2011–2022. All rights reserved.