There are certain activities that the enPortal administrator will complete through the use of command line utilities. This section details the available commands, including the purpose of each command and the options associated with that command.
Perform the following to execute the commands detailed on this page:
enPortal runs as a standard Tomcat web application. This section details some of the Tomcat commands that are most commonly used by the enPortal administrator. For more detail on any commands in this section, the administrator should consult the applicable Tomcat documentation.
service install – Creates a new service
service remove – Deletes the existing service
This section details commands that can be used by the enPortal administrator to manage or configure the system.
(B)ackup: Enter “B” to restore the system configuration by re-loading into the database the configuration files last saved by the XMLExport command in [INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/server/content-backup/.
(S)tock: Enter “S” to restore the system configuration by re-loading into the database the stock content that would be loaded in a fresh installation of the product. No custom configuration will be retained.
(N)one: Enter “N” to not load any content into the system. This is not typically recommended, as the interface will generally not load without any base content.
When running this command you must first confirm to proceed, then prompted for the key length in bits. After running this command the [INSTALL_HOME]/server/webapps/enportal/WEB-INF/config/crypto.properties file will be created or updated. This file is automatically included in full archives. If running a clustered enPortal system, and depending on the deployment/update model, it may be necessary to copy this file to each server.
Although this command can be run with enPortal running, the enPortal process must be restarted for all stored keys to be re-encrypted using the new key.
This section details commands that would be of use to an administrator managing enPortal on a Unix file system.
Perform the following to execute the commands detailed in this section: