Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
2.8. Running on a Solaris Operating System Installation
In order to run Tomcat on the Solaris operating system, some service configuration files will need manual editing.
JAVA_HOME variable to the desired JDK in the configuration file. The configuration file can be found at:
/opt/redhat/ews/etc/sysconfig/tomcat5
/opt/redhat/ews/etc/sysconfig/tomcat5
/opt/redhat/ews/etc/sysconfig/tomcat6
/opt/redhat/ews/etc/sysconfig/tomcat6
sbin/tomcat5 start
sbin/tomcat5 start
sbin/tomcat6 start
sbin/tomcat6 start
catalina.sh script is executed.
catalina.sh script file can be found within:
/opt/redhat/ews/share/tomcat5/bin
/opt/redhat/ews/share/tomcat5/bin
/opt/redhat/ews/share/tomcat6/bin
/opt/redhat/ews/share/tomcat6/bin
sbin/tomcat5 stop
sbin/tomcat5 stop
sbin/tomcat6 stop
sbin/tomcat6 stop
tomcat-native is automatically added to the LD_LIBRARY_PATH and -Djava.library.path during Tomcat startup. The catalina.sh script detects the running JVM version and adds the /opt/redhat/ews/lib path (/opt/redhat/ews/lib64 for 64 bit JVM) to the library path.
/opt/redhat/ews/etc/init.d directory. The following commands can be used to copy the necessary scripts:
cp /opt/redhat/ews/etc/init.d/tomcat6 /etc/rc3.d/S70tomcat5 cp /opt/redhat/ews/etc/init.d/tomcat6 /etc/rcS.d/K20tomcat5
cp /opt/redhat/ews/etc/init.d/tomcat6 /etc/rc3.d/S70tomcat5
cp /opt/redhat/ews/etc/init.d/tomcat6 /etc/rcS.d/K20tomcat5
cp /opt/redhat/ews/etc/init.d/tomcat6 /etc/rc3.d/S70tomcat6 cp /opt/redhat/ews/etc/init.d/tomcat6 /etc/rcS.d/K20tomcat6
cp /opt/redhat/ews/etc/init.d/tomcat6 /etc/rc3.d/S70tomcat6
cp /opt/redhat/ews/etc/init.d/tomcat6 /etc/rcS.d/K20tomcat6
init level numbers, consult your Solaris operating system documentation. The preferred method of service management is through the Solaris Service Management Facility. In order to read more about this facility, consult the smf(5) manual.
Apache httpd configuration files are located inside the /opt/redhat/ews/etc/httpd directory. By default all supported modules are loaded and enabled, so it is advised that you edit the httpd.conf file and disable the modules you don't need.
apachectl script located inside the /opt/redhat/ews/sbin directory. The apachectl script uses the configuration script, where you can edit and select various startup parameters, including the running of mpm. The file used is /opt/redhat/ews/etc/sysconfig/httpd
sbin/apachectl start
sbin/apachectl start
sbin/apachectl stop
sbin/apachectl stop
apachectl script should be added to your system startup files.
Note
docs/httpd/invoking.html and docs/httpd/stopping.html respectively.
Running mod_jk on the Solaris operating system is the same as running the package on Red Hat Enterprise Linux installed via zip. For detailed instructions see Running the mod_jk