Grosse MàJ
This commit is contained in:
121
P51/apache-tomcat-6.0.14/webapps/docs/printer/BUILDING.txt
Normal file
121
P51/apache-tomcat-6.0.14/webapps/docs/printer/BUILDING.txt
Normal file
@ -0,0 +1,121 @@
|
||||
$Id: BUILDING.txt 467221 2006-10-24 03:16:33Z markt $
|
||||
|
||||
====================================================
|
||||
Building The Apache Tomcat 6.0 Servlet/JSP Container
|
||||
====================================================
|
||||
|
||||
This subproject contains the source code for Tomcat 6.0, a container that
|
||||
implements the Servlet 2.5 and JSP 2.1 specifications from the Java
|
||||
Community Process <http://www.jcp.org/>. In order to build a binary
|
||||
distribution version of the container from a source distribution,
|
||||
do the following:
|
||||
|
||||
|
||||
(0) Download and Install a Java Development Kit
|
||||
|
||||
* If the JDK is already installed, skip to (1).
|
||||
|
||||
* Download a Java Development Kit (JDK) release (version 1.5.x or later) from:
|
||||
|
||||
http://java.sun.com/j2se/
|
||||
|
||||
* Install the JDK according to the instructions included with the release.
|
||||
|
||||
* Set an environment variable JAVA_HOME to the pathname of the directory
|
||||
into which you installed the JDK release.
|
||||
|
||||
|
||||
(1) Install Apache Ant 1.6.x on your computer
|
||||
|
||||
* If Apache Ant 1.6.x is already installed on your computer, skip to (2).
|
||||
|
||||
* Download a binary distribution of Ant 1.6.x from:
|
||||
|
||||
http://ant.apache.org/bindownload.cgi
|
||||
|
||||
* Unpack the binary distribution into a convenient location so that the
|
||||
Ant release resides in its own directory (conventionally named
|
||||
"apache-ant-[version]"). For the purposes of the remainder of this document,
|
||||
the symbolic name "${ant.home}" is used to refer to the full pathname of
|
||||
the release directory.
|
||||
|
||||
* Create an ANT_HOME environment variable to point the directory
|
||||
${ant.home}.
|
||||
|
||||
* Modify the PATH environment variable to include the directory
|
||||
${ant.home}/bin in its list. This makes the "ant" command line script
|
||||
available, which will be used to actually perform the build.
|
||||
|
||||
|
||||
(2) Building Tomcat 6.0
|
||||
|
||||
(2.1) Checkout or obtain the source code for Tomcat 6.0
|
||||
|
||||
* Tomcat SVN repository URL:
|
||||
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/
|
||||
|
||||
* Download a source package from:
|
||||
http://tomcat.apache.org/download-60.cgi
|
||||
|
||||
* Checkout the source using SVN, selecting the desired version or
|
||||
branch (current development source is at
|
||||
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/), or
|
||||
unpack the source package. The location where the source has been
|
||||
placed will be referred as ${tomcat.source}.
|
||||
|
||||
(2.2) Building
|
||||
|
||||
* Go to that directory, and do:
|
||||
|
||||
cd ${tomcat.source}
|
||||
ant download
|
||||
ant
|
||||
|
||||
* NOTE: Users accessing the Internet through a proxy must use a properties
|
||||
file to indicate to Ant the proxy configuration. Read below.
|
||||
|
||||
* WARNING: Running this command will download binaries to the /usr/share/java
|
||||
directory. Make sure this is appropriate to do on your computer. On Windows,
|
||||
this usually corresponds to the "C:\usr\share\java" directory, unless Cygwin
|
||||
is used. Read below to customize the directory used to download the binaries.
|
||||
|
||||
* The build can be controlled by creating a ${tomcat.source}/build.properties
|
||||
file, and adding the following content to it:
|
||||
|
||||
# ----- Proxy setup -----
|
||||
# Uncomment if using a proxy server
|
||||
#proxy.host=proxy.domain
|
||||
#proxy.port=8080
|
||||
#proxy.use=on
|
||||
|
||||
# ----- Default Base Path for Dependent Packages -----
|
||||
# Replace this path with the directory path where dependencies binaries
|
||||
# should be downloaded
|
||||
base.path=/usr/share/java
|
||||
|
||||
|
||||
(3) Updating sources
|
||||
|
||||
It is recommended that you regularly update the downloaded Tomcat 6 sources
|
||||
using your SVN client.
|
||||
|
||||
(4) Rebuilds
|
||||
|
||||
For a quick rebuild of only modified code you can use:
|
||||
|
||||
cd ${tomcat.source}
|
||||
ant
|
||||
|
||||
(5) Building the servlet and jsp API documentation
|
||||
|
||||
The documentation can be easly built:
|
||||
|
||||
cd ${tomcat.source}
|
||||
ant -f dist.xml dist-javadoc
|
||||
|
||||
(6) Building a release running tests:
|
||||
|
||||
cd ${tomcat.source}
|
||||
ant -f dist.xml release
|
||||
|
||||
|
16
P51/apache-tomcat-6.0.14/webapps/docs/printer/NOTICE
Normal file
16
P51/apache-tomcat-6.0.14/webapps/docs/printer/NOTICE
Normal file
@ -0,0 +1,16 @@
|
||||
Apache Tomcat
|
||||
Copyright 1999-2007 The Apache Software Foundation
|
||||
|
||||
This product includes software developed by
|
||||
The Apache Software Foundation (http://www.apache.org/).
|
||||
|
||||
The Windows Installer is built with the Nullsoft
|
||||
Scriptable Install Sysem (NSIS), which is
|
||||
open source software. The original software and
|
||||
related information is available at
|
||||
http://nsis.sourceforge.net.
|
||||
|
||||
Java compilation software for JSP pages is provided by Eclipse,
|
||||
which is open source software. The orginal software and
|
||||
related infomation is available at
|
||||
http://www.eclipse.org.
|
147
P51/apache-tomcat-6.0.14/webapps/docs/printer/RUNNING.txt
Normal file
147
P51/apache-tomcat-6.0.14/webapps/docs/printer/RUNNING.txt
Normal file
@ -0,0 +1,147 @@
|
||||
$Id: RUNNING.txt 354430 2005-12-06 13:44:26Z yoavs $
|
||||
|
||||
===================================================
|
||||
Running The Apache Tomcat 6.0 Servlet/JSP Container
|
||||
===================================================
|
||||
|
||||
Apache Tomcat 6.0 requires the Java 2 Standard Edition Runtime
|
||||
Environment (JRE) version 5.0 or later.
|
||||
|
||||
=============================
|
||||
Running With JRE 5.0 Or Later
|
||||
=============================
|
||||
|
||||
(1) Download and Install the J2SE Runtime Environment (JRE)
|
||||
|
||||
(1.1) Download the Java 2 Standard Edition Runtime Environment (JRE),
|
||||
release version 5.0 or later, from http://java.sun.com/j2se.
|
||||
|
||||
(1.2) Install the JRE according to the instructions included with the
|
||||
release.
|
||||
(1.3) Set an environment variable named JRE_HOME to the pathname of
|
||||
the directory into which you installed the JRE, e.g. c:\jre5.0
|
||||
or /usr/local/java/jre5.0.
|
||||
|
||||
NOTE: You may also use the full JDK rather than just the JRE. In this
|
||||
case set your JAVA_HOME environment variable to the pathname of
|
||||
the directory into which you installed the JDK, e.g. c:\j2sdk5.0
|
||||
or /usr/local/java/j2sdk5.0.
|
||||
|
||||
|
||||
(2) Download and Install the Tomcat Binary Distribution
|
||||
|
||||
NOTE: As an alternative to downloading a binary distribution, you can create
|
||||
your own from the Tomcat source repository, as described in "BUILDING.txt".
|
||||
If you do this, the value to use for "${catalina.home}" will be the "dist"
|
||||
subdirectory of your source distribution.
|
||||
|
||||
(2.1) Download a binary distribution of Tomcat from:
|
||||
|
||||
http://tomcat.apache.org
|
||||
|
||||
(2.2) Unpack the binary distribution into a convenient location so that the
|
||||
distribution resides in its own directory (conventionally named
|
||||
"apache-tomcat-[version]"). For the purposes of the remainder of this document,
|
||||
the symbolic name "$CATALINA_HOME" is used to refer to the full
|
||||
pathname of the release directory.
|
||||
|
||||
|
||||
(3) Start Up Tomcat
|
||||
|
||||
(3.1) Tomcat can be started by executing the following commands:
|
||||
|
||||
$CATALINA_HOME\bin\startup.bat (Windows)
|
||||
|
||||
$CATALINA_HOME/bin/startup.sh (Unix)
|
||||
|
||||
(3.2) After startup, the default web applications included with Tomcat will be
|
||||
available by visiting:
|
||||
|
||||
http://localhost:8080/
|
||||
|
||||
(3.3) Further information about configuring and running Tomcat can be found in
|
||||
the documentation included here, as well as on the Tomcat web site:
|
||||
|
||||
http://tomcat.apache.org
|
||||
|
||||
|
||||
(4) Shut Down Tomcat
|
||||
|
||||
(4.1) Tomcat can be shut down by executing the following command:
|
||||
|
||||
$CATALINA_HOME\bin\shutdown (Windows)
|
||||
|
||||
$CATALINA_HOME/bin/shutdown.sh (Unix)
|
||||
|
||||
|
||||
==================================================
|
||||
Advanced Configuration - Multiple Tomcat Instances
|
||||
==================================================
|
||||
|
||||
In many circumstances, it is desirable to have a single copy of a Tomcat
|
||||
binary distribution shared among multiple users on the same server. To make
|
||||
this possible, you can pass a "-Dcatalina.base=$CATALINA_BASE" argument when
|
||||
executing the startup command (see (2)). In this
|
||||
"-Dcatalina.base=$CATALINA_BASE" argument, replace $CATALINA_BASE with the
|
||||
directory that contains the files for your 'personal' Tomcat instance.
|
||||
|
||||
When you use this "-Dcatalina.base=$CATALINA_BASE" argument, Tomcat will
|
||||
calculate all relative references for files in the following directories based
|
||||
on the value of $CATALINA_BASE instead of $CATALINA_HOME:
|
||||
|
||||
* conf - Server configuration files (including server.xml)
|
||||
|
||||
* logs - Log and output files
|
||||
|
||||
* lib - For classes and resources that must be shared across all web
|
||||
applications
|
||||
|
||||
* webapps - Automatically loaded web applications
|
||||
|
||||
* work - Temporary working directories for web applications
|
||||
|
||||
* temp - Directory used by the JVM for temporary files (java.io.tmpdir)
|
||||
|
||||
If you do not pass the "-Dcatalina.base=$CATALINA_BASE" argument to the
|
||||
startup command, $CATALINA_BASE will default to the same value as $CATALINA_HOME,
|
||||
which means that the same directory is used for all relative path resolutions.
|
||||
|
||||
|
||||
================
|
||||
Troubleshooting
|
||||
================
|
||||
|
||||
There are only really 3 things likely to go wrong during the stand-alone
|
||||
Tomcat install:
|
||||
|
||||
(1) The most common hiccup is when another web server (or any process for that
|
||||
matter) has laid claim to port 8080. This is the default HTTP port that
|
||||
Tomcat attempts to bind to at startup. To change this, open the file:
|
||||
|
||||
$CATALINA_HOME/conf/server.xml
|
||||
|
||||
and search for '8080'. Change it to a port that isn't in use, and is
|
||||
greater than 1024, as ports less than or equal to 1024 require superuser
|
||||
access to bind under UNIX.
|
||||
|
||||
Restart Tomcat and you're in business. Be sure that you replace the "8080"
|
||||
in the URL you're using to access Tomcat. For example, if you change the
|
||||
port to 1977, you would request the URL http://localhost:1977/ in your browser.
|
||||
|
||||
(2) An "out of environment space" error when running the batch files in
|
||||
Windows 95, 98, or ME operating systems.
|
||||
|
||||
Right-click on the STARTUP.BAT and SHUTDOWN.BAT files. Click on
|
||||
"Properties", then on the "Memory" tab. For the "Initial environment" field,
|
||||
enter in something like 4096.
|
||||
|
||||
After you click apply, Windows will create shortcuts which you can use
|
||||
to start and stop the container.
|
||||
|
||||
(3) The 'localhost' machine isn't found. This could happen if you're behind a
|
||||
proxy. If that's the case, make sure the proxy configuration for your
|
||||
browser knows that you shouldn't be going through the proxy to access the
|
||||
"localhost".
|
||||
|
||||
In Netscape, this is under Edit/Preferences -> Advanced/Proxies, and in
|
||||
Internet Explorer, Tools -> Internet Options -> Connections -> LAN Settings.
|
313
P51/apache-tomcat-6.0.14/webapps/docs/printer/aio.html
Normal file
313
P51/apache-tomcat-6.0.14/webapps/docs/printer/aio.html
Normal file
File diff suppressed because one or more lines are too long
274
P51/apache-tomcat-6.0.14/webapps/docs/printer/apr.html
Normal file
274
P51/apache-tomcat-6.0.14/webapps/docs/printer/apr.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
188
P51/apache-tomcat-6.0.14/webapps/docs/printer/building.html
Normal file
188
P51/apache-tomcat-6.0.14/webapps/docs/printer/building.html
Normal file
File diff suppressed because one or more lines are too long
54
P51/apache-tomcat-6.0.14/webapps/docs/printer/cgi-howto.html
Normal file
54
P51/apache-tomcat-6.0.14/webapps/docs/printer/cgi-howto.html
Normal file
File diff suppressed because one or more lines are too long
1003
P51/apache-tomcat-6.0.14/webapps/docs/printer/changelog.html
Normal file
1003
P51/apache-tomcat-6.0.14/webapps/docs/printer/changelog.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
643
P51/apache-tomcat-6.0.14/webapps/docs/printer/cluster-howto.html
Normal file
643
P51/apache-tomcat-6.0.14/webapps/docs/printer/cluster-howto.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
53
P51/apache-tomcat-6.0.14/webapps/docs/printer/extras.html
Normal file
53
P51/apache-tomcat-6.0.14/webapps/docs/printer/extras.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
156
P51/apache-tomcat-6.0.14/webapps/docs/printer/index.html
Normal file
156
P51/apache-tomcat-6.0.14/webapps/docs/printer/index.html
Normal file
File diff suppressed because one or more lines are too long
102
P51/apache-tomcat-6.0.14/webapps/docs/printer/introduction.html
Normal file
102
P51/apache-tomcat-6.0.14/webapps/docs/printer/introduction.html
Normal file
File diff suppressed because one or more lines are too long
304
P51/apache-tomcat-6.0.14/webapps/docs/printer/jasper-howto.html
Normal file
304
P51/apache-tomcat-6.0.14/webapps/docs/printer/jasper-howto.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
261
P51/apache-tomcat-6.0.14/webapps/docs/printer/logging.html
Normal file
261
P51/apache-tomcat-6.0.14/webapps/docs/printer/logging.html
Normal file
File diff suppressed because one or more lines are too long
1237
P51/apache-tomcat-6.0.14/webapps/docs/printer/manager-howto.html
Normal file
1237
P51/apache-tomcat-6.0.14/webapps/docs/printer/manager-howto.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1072
P51/apache-tomcat-6.0.14/webapps/docs/printer/monitoring.html
Normal file
1072
P51/apache-tomcat-6.0.14/webapps/docs/printer/monitoring.html
Normal file
File diff suppressed because one or more lines are too long
116
P51/apache-tomcat-6.0.14/webapps/docs/printer/proxy-howto.html
Normal file
116
P51/apache-tomcat-6.0.14/webapps/docs/printer/proxy-howto.html
Normal file
File diff suppressed because one or more lines are too long
1284
P51/apache-tomcat-6.0.14/webapps/docs/printer/realm-howto.html
Normal file
1284
P51/apache-tomcat-6.0.14/webapps/docs/printer/realm-howto.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
117
P51/apache-tomcat-6.0.14/webapps/docs/printer/setup.html
Normal file
117
P51/apache-tomcat-6.0.14/webapps/docs/printer/setup.html
Normal file
File diff suppressed because one or more lines are too long
348
P51/apache-tomcat-6.0.14/webapps/docs/printer/ssi-howto.html
Normal file
348
P51/apache-tomcat-6.0.14/webapps/docs/printer/ssi-howto.html
Normal file
File diff suppressed because one or more lines are too long
596
P51/apache-tomcat-6.0.14/webapps/docs/printer/ssl-howto.html
Normal file
596
P51/apache-tomcat-6.0.14/webapps/docs/printer/ssl-howto.html
Normal file
File diff suppressed because one or more lines are too long
97
P51/apache-tomcat-6.0.14/webapps/docs/printer/status.html
Normal file
97
P51/apache-tomcat-6.0.14/webapps/docs/printer/status.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user