此内容没有您所选择的语言版本。
Chapter 11. Jsvc
11.1. About Jsvc 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Jsvc is a set of libraries and applications that facilitates running Java applications on UNIX. In the context of JBoss Enterprise Web Server 2.1, Jsvc allows Tomcat to switch identities. Using Jsvc, Tomcat can perform root user level operations and then revert to a non-privileged user. Jsvc is mainly used for running Tomcat as a service in the background.
For JBoss Enterprise Server 2.1, Jsvc files are available at the following locations:
For Red Hat Enterprise Linux:
jboss-ews-2.1/extras/jsvc
jboss-ews-2.1/tomcat6/bin/jsvc
jboss-ews-2.1/tomcat7/bin/jsvc
Note
Jsvc in Tomcat 6 and Tomcat 7 folders are symlinks to
extra/jsvc
in the following way:
./jboss-ews-2.1/tomcat6/bin/jsvc -> ../../extras/jsvc
./jboss-ews-2.1/tomcat7/bin/jsvc -> ../../extras/jsvc
For Solaris:
./jboss-ews-2.1/sbin/jsvc
./jboss-ews-2.1/share/apache-tomcat-6.0.41/bin/jsvc
./jboss-ews-2.1/share/apache-tomcat-7.0.54/bin/jsvc
Note
Jsvc in apache-tomcat-6.0.41 and apache-tomcat-7.0.54 folders are symlinks to
sbin/jsvc
in the following way:
./jboss-ews-2.1/share/apache-tomcat-7.0.54/bin/jsvc -> ../../../sbin/jsvc
./jboss-ews-2.1/share/apache-tomcat-6.0.41/bin/jsvc -> ../../../sbin/jsvc