From owner-freebsd-doc@FreeBSD.ORG Tue Sep 16 15:50:02 2003 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E330916A4B3 for ; Tue, 16 Sep 2003 15:50:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BB2343FD7 for ; Tue, 16 Sep 2003 15:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8GMo1Up088716 for ; Tue, 16 Sep 2003 15:50:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8GMo1N2088714; Tue, 16 Sep 2003 15:50:01 -0700 (PDT) Resent-Date: Tue, 16 Sep 2003 15:50:01 -0700 (PDT) Resent-Message-Id: <200309162250.h8GMo1N2088714@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Josef El-Rayes Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25F6816A4B3 for ; Tue, 16 Sep 2003 15:46:58 -0700 (PDT) Received: from octopussy.utanet.at (octopussy.utanet.at [213.90.36.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5EB743FBF for ; Tue, 16 Sep 2003 15:46:56 -0700 (PDT) (envelope-from shammer@daemon.li) Received: from pam.utanet.at ([213.90.36.6]) by octopussy.utanet.at with esmtp (Exim 4.12) id 19zOb1-0006HV-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 17 Sep 2003 00:46:55 +0200 Received: from dsl-156-246.utaonline.at ([62.218.156.246] helo=gina.at) by pam.utanet.at with esmtp (Exim 4.12) id 19zOay-0003WU-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 17 Sep 2003 00:46:52 +0200 Received: by gina.at (Postfix, from userid 1001) id 169C860DB; Wed, 17 Sep 2003 00:46:46 +0200 (CEST) Message-Id: <20030916224646.169C860DB@gina.at> Date: Wed, 17 Sep 2003 00:46:46 +0200 (CEST) From: Josef El-Rayes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/56936: [patch] articles/java-tomcat: add application tags X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Josef El-Rayes List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 22:50:03 -0000 >Number: 56936 >Category: docs >Synopsis: [patch] articles/java-tomcat: add application tags >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Sep 16 15:50:00 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Josef El-Rayes >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD gina.at 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Sat Sep 13 13:22:16 CEST 2003 root@gina.at:/usr/obj/usr/src/sys/GINA i386 >Description: docs/en_US.ISO8859-1/articles/java-tomcat/article.sgml: o add application tags for Tomcat >How-To-Repeat: >Fix: --- article.sgml.diff begins here --- --- article.sgml.orig Wed Sep 17 00:30:07 2003 +++ article.sgml Wed Sep 17 00:41:55 2003 @@ -35,7 +35,8 @@ - + +%freebsd; %trademarks; @@ -99,8 +100,8 @@ least amount of aggravation. Plan on spending a whole day on such a project as it will take time to assemble all the pieces and compile them individually, and then as a whole. It also shows how - to install the famous Jakarta Tomcat Servlet and &jsp; container on - the FreeBSD operating system. + to install the famous Jakarta Tomcat Servlet and &jsp; container on + the &os; operating system. @@ -127,7 +128,7 @@ www/apache13 on my FreeBSD system. - The Tomcat portion of the install is very straight forward, but + The Tomcat portion of the install is very straight forward, but the difficulty I had was getting &java; Development Kit up and running for FreeBSD 4.X, as Sun Microsystems only supplies Binaries for Linux, &solaris;, and &windowsnt;. This means that I @@ -139,8 +140,8 @@ In this article, you will find how to install the &java; Development Kit for FreeBSD, and how to get up and running with - Tomcat. A section is also provided for - further reading. + Tomcat. A section is also provided for + further reading. @@ -383,24 +384,24 @@ Tomcat is an open-source implementation of the &java; Servlets and &javaserver.pages; technologies, developed under the Jakarta project at the Apache - Software Foundation. Tomcat implements a new Servlet framework + Software Foundation. Tomcat implements a new Servlet framework (called Catalina) that is based on completely new architecture with the Servlet 2.3 and &jsp; 1.2 specifications. It includes many additional features that make it a useful platform for developing and deploying web - applications and web services. In a nutshell, Tomcat is an + applications and web services. In a nutshell, Tomcat is an application server written in 100% Pure &java;. - Tomcat is used for many purposes, and is not limited to + Tomcat is used for many purposes, and is not limited to Application Servers. It provides an open platform to develop - extensible web and content management services. When Tomcat is + extensible web and content management services. When Tomcat is used with an optimized FreeBSD system, it can provide highly reliable and fast pacing services. Please refer to the section for more - information on Tomcat and &jsp;. The next + information on Tomcat and &jsp;. The next section will demonstrate how to build the Tomcat - Environment for FreeBSD. The version of Tomcat used in + Environment for &os;. The version of Tomcat used in this guide is 4.0.3. This version contains major bug fixes, and the following updates/changes: @@ -423,11 +424,11 @@ The Tomcat environment for FreeBSD - It is very simple to install Tomcat on a FreeBSD machine, + It is very simple to install Tomcat on a &os; machine, after setting up the necessary &java; environment, which we have previously completed. - In-order to setup Tomcat on FreeBSD, follow the below + In-order to setup Tomcat on &os;, follow the below procedure: @@ -454,11 +455,11 @@ adding it into either .profile or .cshrc, depending on the shell you are using. This variable is very crucial for the functioning of - all the &java; based programs, including Tomcat itself. + all the &java; based programs, including Tomcat itself. - Download the Tomcat binary distribution + Download the Tomcat binary distribution from the Jakarta website, which is located at . The file to download is called @@ -499,7 +500,7 @@ Installation by using the source code is currently out of scope for this document. Please refer to the following files for addition information on building from source, - available from your Tomcat distribution + available from your Tomcat distribution directory: @@ -517,26 +518,26 @@ Operating Tomcat - Basics - Now that we have finished installing Tomcat. The following - example shows how to start the Tomcat server: +Now that we have finished installing Tomcat. The following +example shows how to start the Tomcat server: &prompt.root; cd /usr/local/tomcat-4.0/bin &prompt.root; ./startup.sh (for starting Tomcat) - You can test if your Tomcat server has started by visiting + You can test if your Tomcat server has started by visiting the following URL: http://127.0.0.1:8080 or http://localhost:8080. To stop - Tomcat: + Tomcat: &prompt.root; cd /usr/local/tomcat-4.0/bin &prompt.root; ./shutdown.sh - (for stopping Tomcat) + (for stopping Tomcat) The startup.sh and shutdown.sh are frontends to the catalina.sh executable script in the same - directory; if you would like to start Tomcat automatically at + directory; if you would like to start Tomcat automatically at boot-time run: &prompt.root; cd /usr/local/etc/rc.d @@ -550,7 +551,7 @@ If your port 8080 is occupied by some other service, you can change it by editing the - server.xml in your Tomcat's + server.xml in your Tomcat's conf/ directory. In the example below, the port will be changed to 80, assuming there is no service running on that port. @@ -617,9 +618,9 @@ Conclusion Finally, we are at the end of the article and have a working - version of Tomcat. We hope that you have learned the basics of + version of Tomcat. We hope that you have learned the basics of installing and building the &java; Development Kit on FreeBSD, - along with installation of the Tomcat binary distribution + along with installation of the Tomcat binary distribution application server released by the Apache Software Foundation. The section contains pointers to additional resources on this topic, some which are in print, some which are --- article.sgml.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: