このコンテンツは選択した言語では利用できません。

9.3. Use Jsvc with Tomcat 6


Unlike Tomcat 7, there is no wrapper script available to use when running Jsvc with Tomcat 6. Users can write their own scripts for this purpose using the configuration parameters described in the following table:
Expand
Table 9.2. Jsvc Configuration Variables for Tomcat 6
OptionsDefault ValueDescription
-home/home2/java/j2sdk{version}The Java home directory location. Tomcat 6 requires JDK version 1.6 or later.
-Dcatalina.home/opt/jboss-ews-2.0/tomcat6The Tomcat installation directory.
-usertomcatThe user Tomcat uses.
-Djava.io.tmpdir/var/tmpThe temporary directory used by Tomcat 6.
-pidfile/var/run/jsvc.pidThe file where the process ID (PID) for the running instance of Tomcat is stored.
-Dcatalina.base/opt/jboss-ews-2.0/tomcat6The directory that contains the specific configuration and set up information if multiple servers are using the same installation.
-outfilestdoutThe file where the stdout output of the embedded Java Virtual Machine is redirected.
-errfilestderrThe file where the stderr output of the Java Virtual Machine is redirected.
-stop-Stops Jsvc cleanly. The PID file location set with the -pidfile parameter contains information created when Jsvc starts. This file and its information is used to stop the Jsvc instance.
Parameters that are used after specifying an option (for example, the parameters in the table that begin with -D) are used by the embedded Java Virtual Machine that is started by Jsvc. The following is an example of how such parameters are used:
-Djava.library.path=/opt/jboss-ews-2.0/tomcat6
Similarly, the classpath can be added using -cp. The following example illustrates a sample classpath option that starts org.apache.catalina.startup.Bootstrap:
-cp $JAVA_HOME/lib/tools.jar:$CATALINA_HOME/bin/commons-daemon.jar:$CATALINA_HOME/bin/bootstrap.jar
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2026 Red Hat
トップに戻る