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
The S99contentaweb script sets the Contenta environment and calls the contentaweb.csh file.
The file is delivered to $XYV_PDM_ROOT/distr
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.
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 the Apache Tomcat service on Linux
/etc/rc5.d/S99contentaweb start
Manually stopping the Apache Tomcat service on Linux
/etc/rc5.d/S99contentaweb 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.