The Jakarta Project
      The Tomcat Servlet/JSP Container

リンク

目次

Installation

インストール

In order to use Tomcat 4 for developing web applications, you must first install it (and the software it depends on). The required steps are outlined in the following subsections.

Webアプリケーションを開発するために Tomcat 4 を使用するためには、 まず本体(とそれに関連するソフト)のインストールが必要です。 必要とされるステップは以下のサブセクションで簡単に説明します。

JDK

Tomcat will operate under any Java Development Kit (JDK) environment that provides a JDK 1.2 (also known as Java2 Standard Edition, or J2SE) or later platform. You will need a Java Development Kit, as opposed to a Java Runtime Environment, so that your servlets, other classes, and JSP pages can be compiled. Tomcat 4 has been extensively tested with JDK 1.3.1, which is recommended.

Tomcat は、JDK1.2 (これは、Java2 Standard EditionまたはJ2SEとして知られています) そしてそれ以降のプラットフォームであれば、どんなJava開発キット(JDK)環境でも動作します。 Servletや他のクラス、JSPページをコンパイルするためには、 Javaランタイム環境ではなく、Java開発キットが必要です。 Tomcat 4は、JDK 1.3.1で広範囲にわたってテストされているので、これを推奨します。

Compatible JDKs for many platforms (or links to where they can be found) are available at http://java.sun.com/j2se/.

さまざまなプラットフォーム向けの互換性のあるJDK(またはそれがある場所へのリンク)は、 http://java.sun.com/j2se/で入手できます。

Tomcat

Binary downloads of the Tomcat server are available from http://jakarta.apache.org/downloads/binindex.html. This manual assumes you are using the most recent release of Tomcat 4. Detailed instructions for downloading and installing Tomcat 4 are available here.

Tomcatサーバのバイナリダウンロードは、 http://jakarta.apache.org/downloads/binindex.htmlからできます。 このマニュアルは、あなたが最新のTomcat 4.0を使用すると仮定しています。 Tomcat 4 のダウンロードとインストールに関する詳細は、 こちらにあります。

In the remainder of this manual, example shell scripts assume that you have set an environment variable CATALINA_HOME that contains the pathname to the directory in which Tomcat 4 has been installed.

このマニュアルの以降では、シェル・スクリプトの例は、 あなたがTomcat 4をインストールしたディレクトリのパス名を環境変数 CATALINA_HOMEに設定していると仮定します。

Ant

Binary downloads of the Ant build tool are available from http://jakarta.apache.org/downloads/binindex.html. This manual assumes you are using Ant 1.3. The instructions should also be compatible with later versions, but this has not been tested.

Ant ビルドツールのバイナリのダウンロードは http://jakarta.apache.org/downloads/binindex.htmlから入手できます。 このマニュアルでは、Ant 1.3を使用すると仮定しています。 説明は、おそらく最新のバージョンでも互換性があると思いますが、 これはテストされまでした。

Download and install Ant from the distribution directory mentioned above. Then, add the bin directory of the Ant distribution to your PATH environment variable, following the standard practices for your operating system platform. Once you have done this, you will be able to execute the ant shell command directly.

上記で説明した配布ディレクトリからのAntをダウンロードしてインストールして ください。そして、Ant配布のbinディリクトリをあなたの PATH環境変数に、あなたのOS環境の標準的な方法で追加してください。 これが完了すれば、antは、シェルコマンドから直接起動することができます。

CVS

Besides the required tools described above, you are strongly encouraged to download and install a source code control system, such as the Concurrent Version System (CVS), to maintain historical versions of the source files that make up your web application. Besides the server, you will also need appropriate client tools to check out source code files, and check in modified versions.

上記で説明した必要なツールだけでなく、 Webアプリケーションを作成するソースファイルのバージョン履歴を保持するために、 CVSのようなソースコード管理システムをダウンロードしてインストールすることを強く勧めます。 サーバのほかに、ソースコードファイルのチェックアウトと、変更したバージョンのチェックインのために、適切なクライアントツールが必要です。

Detailed instructions for installing and using source code control applications is beyond the scope of this manual. However, CVS server and client tools for many platforms (along with documentation) can be downloaded from http://www.cvshome.org.

ソースコード管理アプリケーションのインストールと使用方法についての詳細は、 このマニュアルでは説明しません。 しかし、さまざまなプラットフォーム向けのCVSサーバーとクライアントツールは、 http://www.cvshome.org から(ドキュメントも含めて)ダウンロードすることができます。


Copyright © 1999-2001, Apache Software Foundation