remm2003/09/15 07:07:00
Modified:webapps/docs/appdev build.xml.txt deployment.xml
installation.xml processes.xml
Log:
- Update the most problematic items of the appdev docs.
- Now this probably would need to be updated a bit with respect to the
deployer (which in turn could inherit a few concepts from here).
Revision ChangesPath
1.3 +14 -14jakarta-tomcat-catalina/webapps/docs/appdev/build.xml.txt
Index: build.xml.txt
===
RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/appdev/build.xml.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build.xml.txt 30 Jul 2002 03:58:28 - 1.2
+++ build.xml.txt 15 Sep 2003 14:07:00 - 1.3
@@ -143,10 +143,10 @@
-->
-
-
-
-
+
+
+
+
@@ -357,11 +357,11 @@
-
+
@@ -486,10 +486,10 @@
-
+
1.4 +29 -16jakarta-tomcat-catalina/webapps/docs/appdev/deployment.xml
Index: deployment.xml
===
RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/appdev/deployment.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- deployment.xml15 Jan 2003 03:40:43 - 1.3
+++ deployment.xml15 Sep 2003 14:07:00 - 1.4
@@ -125,14 +125,9 @@
Out of the box, a standard Tomcat 5 installation includes a variety
of pre-installed shared library files, including:
-The JavaMail 1.2 (and associated JavaBeans Activation
-Framework) APIs, so you can write mail-enabled web applications.
-
-The JDBC 2.0 Optional Package APIs, which define things like
-javax.sql.DataSource.
The Servlet 2.4 and JSP 2.0 APIs that are fundamental
to writing servlets and JavaServer Pages.
-An XML Parser compliant with the JAXP (version 1.1) APIs, so
+An XML Parser compliant with the JAXP (version 1.2) APIs, so
your application can perform DOM-based or SAX-based processing of
XML documents.
@@ -178,6 +173,28 @@
+
+
+
+The description below uses the variable name $CATALINA_HOME
+to refer to the directory into which you have installed Tomcat 5,
+and is the base directory against which most relative paths are
+resolved. However, if you have configured Tomcat 5 for multiple
+instances by setting a CATALINA_BASE directory, you should use
+$CATALINA_BASE instead of $CATALINA_HOME for each of these
+references.
+
+
+A /META-INF/context.xml file can be used to define Tomcat specific
+configuration options, such as loggers, data sources, session manager
+configuration and more. This XML file must contain one Context element, which
+will be considered as if it was the child of the Host element corresponding
+to the Host to which the The Tomcat configuration documentation contains
+information on the Context element.
+
+
+
+
In order to be executed, a web application must be deployed on
@@ -215,16 +232,12 @@
Use "Manager" Ant Tasks In Your Build Script. Tomcat 5
includes a set of custom task definitions for the Ant
build tool that allow you to automate the execution of commands to the
-"Manager" web application. These tasks are used in the example
-build script discussed later, and are explained there.
-Add a entry in the
-$CATALINA_HOME/conf/server.xml configuration file.
-This approach is described briefly below, and allows you to position
-the document root of your web application at some point other than the
-$CATALINA_HOME/webapps/ directory. You will need to restart
-Tomcat to have changes in this configuration file take effect. See the
-administrator documentation (TODO: hyperlink) for more information on
-configuring new Contexts in this way.
+"Manager" web application. These tasks are used in the Tomcat deployer.
+
+Use the Tomcat Deployer. Tomcat 5 includes a packaged tool
+bundling the Ant tasks, and can be used to automatically precompile JSPs
+which are part of the web application before deployment to the server.
+
Deploying your app on other servlet containers will be specific to each
1.4 +1 -1 jakarta-tomcat-catalina/webapps/docs/appdev/installation.xml
Index: installation.xml
===
RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/appdev/installation.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- installation.xml 15 Jan 2003 03:40:43 - 1.3
+++ installation.xml 15 Sep 2003 14:07:00 - 1.4