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
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat