此内容没有您所选择的语言版本。

Chapter 5. Using Jsvc to Start Tomcat


Jsvc is a set of libraries and applications that facilitates running Java applications on Linux, UNIX, and similar operating systems. Using Jsvc with Red Hat JBoss Web Server 3 allows Tomcat to switch identities. Using Jsvc, Tomcat can perform root-level operations and then revert to a non-privileged user. Jsvc is primarily used for running Tomcat as a service.
Jsvc files are available at the following locations:

For Red Hat Enterprise Linux:

  • JWS_HOME/extras/jsvc
  • JWS_HOME/tomcat<VERSION>/bin/jsvc

Note

JWS_HOME/tomcat<VERSION>/bin/jsvc is a symlink to JWS_HOME/extras/jsvc.

For Solaris:

  • JWS_HOME/sbin/jsvc
  • JWS_HOME/share/apache-tomcat-<VERSION>/bin/jsvc

Note

JWS_HOME/share/apache-tomcat-<VERSION>/bin/jsvc is a symlink to JWS_HOME/sbin/jsvc.

5.1. Starting Tomcat Using Jsvc

Procedure 5.1. Start Tomcat Using Jsvc on Red Hat Enterprise Linux

  • Run the following command to start Tomcat using Jsvc on Red Hat Enterprise Linux:
    JWS_HOME/tomcat<VERSION>/bin/daemon.sh start
    Copy to Clipboard Toggle word wrap

Procedure 5.2. Start Tomcat Using Jsvc on Solaris

  • Run the following command to start Tomcat using Jsvc on Solaris:
    JWS_HOME/share/tomcat<VERSION>/bin/daemon.sh start
    Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat