Linux startup scripts
The following sample Linux startup scripts, which you can modify for your specific site, are delivered with the Contenta Web software. These scripts are optional and are provided for your convenience. Oracle services must be started before these scripts are executed or the automatic execution of the Contenta Server fails.
S99contentaweb/K99contenta
These scripts set the Contenta environment and call the contenta.csh file.
The files are delivered to $XYV_PDM_ROOT/distr/oracle.bin
The file is copied to the /etc/init.d directory as contentaweb and linked to:
Linux: /etc/rc5.d
You must modify the contentaweb.csh (see below) so the proper environment is set for startup of Apache and Tomcat.
K39contentaweb
This script does a shutdown of pcmserver. It is delivered to /etc/rc0.d on Linux.
contentaweb.csh
Starts Apache and Tomcat.
The file is delivered to $XYV_PDM_ROOT/bin
Modify the following in contents of the file:
| Search for: | Enter/Specify |
|---|---|
| setenv JAVA_HOME | set to the JRE directory |
| Set the startup of Tomcat and Apache servers | set the lines beginning with cd to the path to the bin directories (as shown in the file) |
Manually Starting and Stopping Services
| OS | To Start | To Stop |
|---|---|---|
| Linux | /etc/rc5.d/S99contentaweb start | /etc/rc3.d/K39contentaweb stop |
Verifying the Contenta Web Installation
To test that Contenta Web installed correctly open a browser window and enter the following URL (note that the URL is case-sensitive):
http://machinename/cw/standard/code/CWLoginForm.jsp
where machinename is the name of the Contenta Web server.
If Contenta Web and the web server software are installed and configured correctly, the Contenta Web Login window appears in your browser window.
If the Login window appears, complete the configuration steps in the Post-installation setup and Configuring your Contenta Web system topics before using Contenta Web.