You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@locus.apache.org on 2000/02/08 22:08:36 UTC
cvs commit: jakarta-tomcat/src/etc Tomcat+Apache-HOWTO connector.properties faq pkginfo prototype readme tomcat.spec
costin 00/02/08 13:08:36
Added: src/build do-build-apache1.3 do-build-apache2.0
jakarta-apache.xml main.xml pkginfo prototype
tomcat-build.xml tomcat.spec
src/doc Tomcat+Apache-HOWTO faq readme
Removed: src/etc Tomcat+Apache-HOWTO connector.properties faq
pkginfo prototype readme tomcat.spec
Log:
- Moved build tools from etc/ to build/ ( Linux RPM spec, Solaris PKG, etc)
- Moved nightly scripts from jakarta-tools to tomcat ( after M2 we need to
re-vive the nightly build and check what's wrong).
- Moved docs from etc/ to doc/ ( the FAQ and README are easier to find in
doc than conf/)
Revision Changes Path
1.1 jakarta-tomcat/src/build/do-build-apache1.3
Index: do-build-apache1.3
===================================================================
#!/bin/sh
cd ${SRC_DIR}/apache-1.3
./configure --prefix=${APACHE_HOME} \
--enable-rule=SHARED_CORE \
--add-module=${SRC_DIR}/jakarta-tomcat/src/native/apache/modules/mod_ajp23.c \
--enable-module=most \
--enable-shared=max \
--disable-rule=WANTHSREGEX \
--enable-shared=ajp23
make
make install
# Fix configuration files, from helpers/binbuild
# Default port will be 8000 ( so non-root can start it )
# All paths are relative (
sed -e "s%Port 8080%Port 8000%" \
-e "s%${APACHE_HOME}/%%" \
${APACHE_HOME}/conf/httpd.conf.default > ${APACHE_HOME}/conf/httpd.conf
cd ${SRC_DIR}/jakarta-tomcat/src/native/apache/jserv
${APACHE_HOME}/bin/apxs -c mod_jserv.c jserv*.c
1.1 jakarta-tomcat/src/build/do-build-apache2.0
Index: do-build-apache2.0
===================================================================
#!/bin/sh
# needs APACHE_HOME and SRC_DIR env
cd ${SRC_DIR}/apache-2.0
mkdir src/modules/extra
cp src/modules/example/Makefile.tmpl src/modules/extra
./configure --prefix=/opt/apache-2.0 \
--add-module=${SRC_DIR}/jakarta-tomcat/src/native/apache/modules/mod_ajp23.c \
--enable-module=ajp23
make
make install
1.1 jakarta-tomcat/src/build/jakarta-apache.xml
Index: jakarta-apache.xml
===================================================================
<project name="source-snapshots" default="src.snap" basedir=".">
<!-- ******************** Initialization ******************** -->
<target name="init">
<mkdir dir="${ws.dir}" />
<tstamp />
<property name="ws.dir" value="${user.home}/ws" />
<property name="nightly.dir" value="/www/jakarta.apache.org/builds/tomcat/nightly" />
<property name="nightly.url" value="http://jakarta.apache.org/builds/tomcat/nightly" />
<property name="tomcat.home" value="/opt/tomcat" />
<property name="dist.dir" value="/opt" />
<property name="package.dir" value="/home/ftp/pub" />
<!-- Allow user to override any of the hardcoded directories -->
<property file="${user.home}/.ant.properties" />
</target>
<target name="clean.src" depends="init">
<deltree dir="${ws.dir}/jakarta-tomcat" />
<deltree dir="${ws.dir}/jakarta-watchdog" />
<deltree dir="${ws.dir}/jakarta-tools" />
<deltree dir="${ws.dir}/jakarta-tomcat.src.zip" />
<deltree dir="${ws.dir}/jakarta-tools.src.zip" />
<deltree dir="${ws.dir}/jakarta-watchdog.src.zip" />
</target>
<!-- ******************** Creating source snapshots ******************** -->
<target name="ant.src.snap" depends="init">
<cvs cvsRoot=":pserver:anoncvs@jakarta.apache.org:/home/cvspublic"
package="jakarta-tools" dest="${ws.dir}" />
<zip zipfile="${nightly.dir}/src/jakarta-tools.src.zip"
basedir="${ws.dir}" items="jakarta-tools"/>
<copyfile src="${nightly.dir}/src/jakarta-tools.src.zip"
dest="${nightly.dir}/src/jakarta-tools-${DSTAMP}.src.zip" />
<copyfile src="${ws.dir}/jakarta-tools/buildscripts/main.xml"
dest="${user.home}/scripts/main.xml" />
<copyfile src="${ws.dir}/jakarta-tools/buildscripts/jakarta-apache.xml"
dest="${user.home}/scripts/jakarta-apache.xml" />
</target>
<target name="tomcat.src.snap" depends="init">
<cvs cvsRoot=":pserver:anoncvs@jakarta.apache.org:/home/cvspublic"
package="jakarta-tomcat" dest="${ws.dir}" />
<zip zipfile="${nightly.dir}/src/jakarta-tomcat.src.zip"
basedir="${ws.dir}" items="jakarta-tomcat"/>
<copyfile src="${nightly.dir}/src/jakarta-tomcat.src.zip"
dest="${nightly.dir}/src/jakarta-tomcat-${DSTAMP}.src.zip" />
</target>
<target name="watchdog.src.snap" depends="init">
<cvs cvsRoot=":pserver:anoncvs@jakarta.apache.org:/home/cvspublic"
package="jakarta-watchdog" dest="${ws.dir}" />
<zip zipfile="${nightly.dir}/src/jakarta-watchdog.src.zip"
basedir="${ws.dir}" items="jakarta-watchdog"/>
<copyfile src="${nightly.dir}/src/jakarta-watchdog.src.zip"
dest="${nightly.dir}/src/jakarta-watchdog-${DSTAMP}.src.zip" />
</target>
<!-- ******************** Getting binaries from build machines ******************** -->
<target name="binaries.get" depends="init">
<get src="ftp://tokyo.javasoft.com/pub/tomcat/tomcat.zip"
dest="${nightly.dir}/tomcat.zip" />
<get src="ftp://tokyo.javasoft.com/pub/ant/ant.zip"
dest="${nightly.dir}/ant.zip" />
<get src="ftp://tokyo.javasoft.com/pub/tomcat/ASFtomcat.pkg.tar.Z"
dest="${nightly.dir}/ASFtomcat.pkg.tar.Z" />
<get src="ftp://tokyo.javasoft.com/pub/ant/ASFant.pkg.tar.Z"
dest="${nightly.dir}/ASFant.pkg.tar.Z" />
<get src="ftp://tokyo.javasoft.com/pub/tomcat/tomcat-test.log"
dest="${nightly.dir}/log/tomcat-test-SunOS-${DSTAMP}.log" />
<get src="ftp://tokyo.javasoft.com/pub/tomcat/watchdog-test.log"
dest="${nightly.dir}/log/watchdog-test-SunOS-${DSTAMP}.log" />
<get src="ftp://osaka.javasoft.com/pub/ant/ant-1.0-0.noarch.rpm"
dest="${nightly.dir}/ant-1.0-0.noarch.rpm " />
<get src="ftp://osaka.javasoft.com/pub/ant/ant-1.0-0.src.rpm"
dest="${nightly.dir}/ant-1.0-0.src.rpm " />
<get src="ftp://osaka.javasoft.com/pub/tomcat/tomcat-3.0-0.noarch.rpm"
dest="${nightly.dir}/tomcat-3.0-0.noarch.rpm " />
<get src="ftp://osaka.javasoft.com/pub/tomcat/tomcat-3.0-0.src.rpm"
dest="${nightly.dir}/tomcat-3.0-0.src.rpm " />
<get src="ftp://osaka.javasoft.com/pub/tomcat/watchdog-test.log"
dest="${nightly.dir}/log/watchdog-test-Linux-i386-${DSTAMP}.log" />
<get src="ftp://osaka.javasoft.com/pub/tomcat/tomcat-test.log"
dest="${nightly.dir}/log/tomcat-test-Linux-i386-${DSTAMP}.log" />
<copyfile src="${nightly.dir}/tomcat.zip" dest="${nightly.dir}/tomcat-${DSTAMP}.zip" />
<copyfile src="${nightly.dir}/ant.zip" dest="${nightly.dir}/ant-${DSTAMP}.zip" />
</target>
<target name="tomcat.zip2tar" depends="init">
<deltree dir="${ws.dir}/tmp" />
<mkdir dir="${ws.dir}/tmp" />
<expand src="${nightly.dir}/tomcat.zip" dest="${ws.dir}/tmp" />
<exec dir="${ws.dir}/tmp" command="tar cf tomcat.tar tomcat" />
<exec dir="${ws.dir}/tmp" command="compress tomcat.tar "/>
<exec dir="${ws.dir}/tmp" command="tar cf tomcat.tar tomcat" />
<exec dir="${ws.dir}/tmp" command="bzip2 tomcat.tar "/>
<copyfile src="${ws.dir}/tmp/tomcat.tar.Z" dest="${nightly.dir}/tomcat.tar.Z" />
<copyfile src="${ws.dir}/tmp/tomcat.tar.bz2" dest="${nightly.dir}/tomcat.tar.bz2" />
</target>
<target name="ant.zip2tar" depends="init">
<deltree dir="${ws.dir}/tmp" />
<mkdir dir="${ws.dir}/tmp" />
<expand src="${nightly.dir}/ant.zip" dest="${ws.dir}/tmp" />
<exec dir="${ws.dir}/tmp" command="tar cf ant.tar ant" />
<exec dir="${ws.dir}/tmp" command="compress ant.tar "/>
<exec dir="${ws.dir}/tmp" command="tar cf ant.tar ant" />
<exec dir="${ws.dir}/tmp" command="bzip2 ant.tar "/>
<copyfile src="${ws.dir}/tmp/ant.tar.Z" dest="${nightly.dir}/ant.tar.Z" />
<copyfile src="${ws.dir}/tmp/ant.tar.bz2" dest="${nightly.dir}/ant.tar.bz2" />
</target>
<target name="remove-old" depends="init">
<exec dir="${nightly.dir}" command="find . -atime +3 -name tomcat-\*.zip -print -exec rm {} \;" />
<exec dir="${nightly.dir}/logs" command="find . -atime +3 -print -exec rm {} \;" />
</target>
<!-- ******************** Agregate targets ******************** -->
<target name="src.snap" depends="init,clean.src,ant.src.snap,tomcat.src.snap,watchdog.src.snap" >
</target>
<target name="bin.snap" depends="init,binaries.get,tomcat.zip2tar,ant.zip2tar" >
</target>
</project>
1.1 jakarta-tomcat/src/build/main.xml
Index: main.xml
===================================================================
<project name="source-snapshots" default="tomcat" basedir=".">
<!-- ******************** Initialization ******************** -->
<target name="init">
<tstamp />
<property name="ws.dir" value="${user.home}/ws" />
<!-- keep it in sync with jakarta-apache.xml -->
<property name="nightly.url" value="http://jakarta.apache.org/builds/tomcat/nightly" />
<property name="dist.dir" value="${user.home}/opt" />
<property name="tomcat.home" value="${dist.dir}/tomcat" />
<property name="package.dir" value="${user.home}/public_html" />
<!-- Allow user to override any of the hardcoded directories -->
<property file="${user.home}/.ant.properties" />
</target>
<target name="clean.zip" depends="init">
<deltree dir="${ws.dir}/jakarta-tomcat.src.zip" />
<deltree dir="${ws.dir}/jakarta-tools.src.zip" />
<deltree dir="${ws.dir}/jakarta-watchdog.src.zip" />
</target>
<target name="clean.src" depends="clean.zip">
<deltree dir="${ws.dir}/jakarta-tomcat" />
<deltree dir="${ws.dir}/jakarta-watchdog" />
<deltree dir="${ws.dir}/jakarta-tools" />
</target>
<target name="clean" depends="init">
<deltree dir="${ws.dir}/build" />
<deltree dir="${ws.dir}/dist" />
<deltree dir="${dist.dir}/ant" />
<deltree dir="${dist.dir}/tomcat" />
</target>
<!-- ******************** Getting sources ******************** -->
<target name="tomcat.get" depends="init">
<get src="${nightly.url}/src/jakarta-tomcat.src.zip" dest="${ws.dir}/jakarta-tomcat.src.zip" />
<deltree dir="${ws.dir}/jakarta-tomcat" />
<expand src="${ws.dir}/jakarta-tomcat.src.zip" dest="${ws.dir}" />
</target>
<target name="tools.get" depends="init">
<get src="${nightly.url}/src/jakarta-tools.src.zip" dest="${ws.dir}/jakarta-tools.src.zip" />
<deltree dir="${ws.dir}/jakarta-tools" />
<expand src="${ws.dir}/jakarta-tools.src.zip" dest="${ws.dir}" />
</target>
<target name="watchdog.get" depends="init">
<get src="${nightly.url}/src/jakarta-watchdog.src.zip" dest="${ws.dir}/jakarta-watchdog.src.zip" />
<deltree dir="${ws.dir}/jakarta-watchdog" />
<expand src="${ws.dir}/jakarta-watchdog.src.zip" dest="${ws.dir}" />
</target>
<!-- ******************** Building ******************** -->
<target name="tomcat" depends="init">
<ant dir="${ws.dir}/jakarta-tomcat" antfile="${ws.dir}/jakarta-tomcat/build.xml" target="dist" />
<mkdir dir="${package.dir}/tomcat"/>
<zip zipfile="${package.dir}/tomcat/tomcat.zip" basedir="${tomcat.home}/.."
items="tomcat" />
<copyfile src="${package.dir}/tomcat/tomcat.zip" dest="${package.dir}/tomcat/tomcat-${os.name}-${DSTAMP}.zip" />
<copyfile src="${package.dir}/tomcat/tomcat.zip" dest="${package.dir}/tomcat/tomcat-${DSTAMP}.zip" />
</target>
<target name="ant" depends="init">
<ant dir="${ws.dir}/jakarta-tools/ant" antfile="${ws.dir}/jakarta-tools/ant/build.xml" target="dist" />
<mkdir dir="${package.dir}/ant"/>
<zip zipfile="${package.dir}/ant/ant.zip" basedir="${dist.dir}" items="ant"/>
<copyfile src="${package.dir}/ant/ant.zip" dest="${package.dir}/ant/ant-${os.name}-${DSTAMP}.zip" />
<copyfile src="${package.dir}/ant/ant.zip" dest="${package.dir}/ant/ant-${DSTAMP}.zip" />
</target>
<target name="moo" depends="init">
<ant dir="${ws.dir}/jakarta-tools/moo" antfile="${ws.dir}/jakarta-tools/moo/build.xml" target="dist" />
</target>
<target name="test-build" depends="init">
<ant dir="${ws.dir}/jakarta-tomcat" antfile="${ws.dir}/jakarta-tomcat/build.xml" target="test" />
</target>
<target name="watchdog" depends="init">
<ant dir="${ws.dir}/jakarta-watchdog" antfile="${ws.dir}/jakarta-watchdog/build.xml" target="dist" />
</target>
<!-- ******************** Testing ******************** -->
<target name="tomcat-test" depends="init">
<exec dir="${ws.dir}/build/tomcat/test" command="runtest" output="${package.dir}/tomcat/tomcat-test.log" />
</target>
<target name="watchdog-test" depends="init">
<exec dir="${ws.dir}/build/watchdog" command="runtest" output="${package.dir}/tomcat/watchdog-test.log" />
</target>
<target name="test-apache" depends="init">
<exec dir="${ws.dir}" command="/usr/local/apache/bin/apachectl start" />
<exec dir="${ws.dir}/build/tomcat/test" command="runtest" output="${package.dir}/tomcat/tomcat-test.log" />
<exec dir="${ws.dir}/build/watchdog" command="runtest" output="${package.dir}/tomcat/watchdog-test.log" />
<exec dir="${ws.dir}" command="/usr/local/apache/bin/apachectl stop" />
</target>
<!-- ******************** Platform specific packages ******************** -->
<target name="pkg" depends="init">
<deltree dir="${ws.dir}/build/ASFtomcat" />
<exec os="SunOS" dir="${ws.dir}/jakarta-tomcat/src/etc" command="pkgmk -o -f prototype -d ${ws.dir}/build -r / " />
<exec os="SunOS" dir="${ws.dir}/build" command="tar cf ASFtomcat.tar ASFtomcat " />
<exec os="SunOS" dir="${ws.dir}/build" command="compress ASFtomcat.tar " />
<copyfile src="${ws.dir}/build/ASFtomcat.tar.Z" dest="${package.dir}/tomcat/ASFtomcat.pkg.tar.Z" />
<deltree dir="${ws.dir}/build/ASFant" />
<exec os="SunOS" dir="${ws.dir}/jakarta-tools/ant/src/etc" command="pkgmk -o -f prototype -d ${ws.dir}/build -r / " />
<exec os="SunOS" dir="${ws.dir}/build" command="tar cf ASFant.tar ASFant " />
<exec os="SunOS" dir="${ws.dir}/build" command="compress ASFant.tar " />
<copyfile src="${ws.dir}/build/ASFant.tar.Z" dest="${package.dir}/ant/ASFant.pkg.tar.Z" />
</target>
<target name="tomcat.rpm" depends="init">
<copyfile src="${ws.dir}/jakarta-tomcat.src.zip" dest="/usr/src/redhat/SOURCES/jakarta-tomcat.src.zip" />
<copyfile src="${ws.dir}/jakarta-tools.src.zip" dest="/usr/src/redhat/SOURCES/jakarta-tools.src.zip" />
<exec os="Linux" dir="${ws.dir}" command="rpm -ba --target noarch ${ws.dir}/jakarta-tomcat/src/etc/tomcat.spec " />
<copyfile src="/usr/src/redhat/RPMS/noarch/tomcat-3.0-0.noarch.rpm" dest="${package.dir}/tomcat/tomcat-3.0-0.noarch.rpm" />
<copyfile src="/usr/src/redhat/SRPMS/tomcat-3.0-0.src.rpm" dest="${package.dir}/tomcat/tomcat-3.0-0.src.rpm" />
</target>
<target name="ant.rpm" depends="init">
<copyfile src="${ws.dir}/jakarta-tools.src.zip" dest="/usr/src/redhat/SOURCES/jakarta-tools.src.zip" />
<exec os="Linux" dir="${ws.dir}" command="rpm -ba --target noarch ${ws.dir}/jakarta-tools/ant/src/etc/ant.spec " />
<copyfile src="/usr/src/redhat/RPMS/noarch/ant-1.0-0.noarch.rpm" dest="${package.dir}/ant/ant-1.0-0.noarch.rpm" />
<copyfile src="/usr/src/redhat/SRPMS/ant-1.0-0.src.rpm" dest="${package.dir}/ant/ant-1.0-0.src.rpm" />
</target>
<target name="rpm" depends="init,tomcat.rpm,ant.rpm">
</target>
<!-- ******************** Agregate targets ******************** -->
<target name="get.all" depends="init,clean.zip,tomcat.get,tools.get,watchdog.get">
</target>
<target name="build" depends="init,ant,moo,tomcat,test-build,watchdog">
</target>
<target name="all" depends="init,clean,get.all,build">
</target>
<target name="test" depends="init,tomcat-test,watchdog-test">
</target>
</project>
1.1 jakarta-tomcat/src/build/pkginfo
Index: pkginfo
===================================================================
PKG=ASFtomcat
NAME=Tomcat - Apache Servlet Engine
VERSION=3.0
ARCH=sparc i386
CLASSES=none
CATEGORY=utility
VENDOR=Apache
EMAIL=costin@eng.sun.com
BASEDIR=/
PSTAMP=tokyo.javasoft.com19991212210421
1.1 jakarta-tomcat/src/build/prototype
Index: prototype
===================================================================
i pkginfo
d none /opt/tomcat 0755 costin staff
d none /opt/tomcat/lib 0755 costin staff
f none /opt/tomcat/lib/ant.jar 0644 costin staff
f none /opt/tomcat/lib/xml.jar 0644 costin staff
f none /opt/tomcat/lib/servlet.jar 0644 costin staff
f none /opt/tomcat/lib/jasper.jar 0644 costin staff
d none /opt/tomcat/etc 0755 costin staff
f none /opt/tomcat/etc/server.xml 0644 costin staff
f none /opt/tomcat/etc/server.dtd 0644 costin staff
f none /opt/tomcat/etc/web.xml 0644 costin staff
f none /opt/tomcat/etc/web.dtd 0644 costin staff
f none /opt/tomcat/etc/tomcat.conf 0644 costin staff
f none /opt/tomcat/etc/SimpleStartup.java 0644 costin staff
d none /opt/tomcat/src 0755 costin staff
d none /opt/tomcat/src/javax 0755 costin staff
d none /opt/tomcat/src/javax/servlet 0755 costin staff
d none /opt/tomcat/src/javax/servlet/jsp 0755 costin staff
d none /opt/tomcat/src/javax/servlet/jsp/tagext 0755 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/tagext/TagLibraryInfo.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/tagext/TagSupport.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/tagext/BodyTag.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/tagext/BodyTagSupport.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/tagext/TagExtraInfo.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/tagext/TagInfo.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/tagext/Tag.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/tagext/VariableInfo.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/tagext/TagData.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/tagext/BodyContent.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/tagext/TagAttributeInfo.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/PageContext.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/JspEngineInfo.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/JspFactory.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/JspException.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/HttpJspPage.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/JspTagException.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/JspWriter.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/jsp/JspPage.java 0644 costin staff
d none /opt/tomcat/src/javax/servlet/http 0755 costin staff
f none /opt/tomcat/src/javax/servlet/http/HttpServletRequest.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/http/Cookie.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/http/HttpServlet.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/http/HttpUtils.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/http/HttpSession.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/http/HttpServletResponse.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/http/HttpSessionBindingListener.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/http/LocalStrings.properties 0644 costin staff
f none /opt/tomcat/src/javax/servlet/http/HttpSessionBindingEvent.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/http/HttpSessionContext.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/ServletException.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/LocalStrings.properties 0644 costin staff
f none /opt/tomcat/src/javax/servlet/ServletInputStream.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/ServletContext.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/UnavailableException.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/ServletOutputStream.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/RequestDispatcher.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/SingleThreadModel.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/ServletConfig.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/ServletRequest.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/GenericServlet.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/ServletResponse.java 0644 costin staff
f none /opt/tomcat/src/javax/servlet/Servlet.java 0644 costin staff
d none /opt/tomcat/examples 0755 costin staff
d none /opt/tomcat/examples/servlets 0755 costin staff
f none /opt/tomcat/examples/servlets/reqparams.html 0644 costin staff
f none /opt/tomcat/examples/servlets/reqinfo.html 0644 costin staff
f none /opt/tomcat/examples/servlets/cookies.html 0644 costin staff
f none /opt/tomcat/examples/servlets/reqheaders.html 0644 costin staff
f none /opt/tomcat/examples/servlets/index.html 0644 costin staff
f none /opt/tomcat/examples/servlets/helloworld.html 0644 costin staff
f none /opt/tomcat/examples/servlets/sessions.html 0644 costin staff
d none /opt/tomcat/examples/WEB-INF 0755 costin staff
d none /opt/tomcat/examples/WEB-INF/classes 0755 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/RequestHeaderExample.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/HelloWorldExample.java 0644 costin staff
d none /opt/tomcat/examples/WEB-INF/classes/colors 0755 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/colors/ColorGameBean.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/colors/ColorGameBean.class 0644 costin staff
d none /opt/tomcat/examples/WEB-INF/classes/examples 0755 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/examples/ShowSource.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/examples/FooTagExtraInfo.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/examples/FooTag.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/examples/LogTag.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/examples/ShowSource.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/examples/ExampleTagBase.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/examples/FooTag.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/examples/ExampleTagBase.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/examples/LogTag.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/examples/FooTagExtraInfo.java 0644 costin staff
d none /opt/tomcat/examples/WEB-INF/classes/cal 0755 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/cal/Entries.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/cal/TableBean.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/cal/Entry.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/cal/Entry.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/cal/JspCalendar.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/cal/Entries.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/cal/JspCalendar.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/cal/TableBean.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/CookieExample.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/RequestParamExample.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/RequestParamExample.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/RequestInfoExample.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/SessionExample.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/SessionExample.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/HelloWorldExample.class 0644 costin staff
d none /opt/tomcat/examples/WEB-INF/classes/dates 0755 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/dates/JspCalendar.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/dates/JspCalendar.class 0644 costin staff
d none /opt/tomcat/examples/WEB-INF/classes/checkbox 0755 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/checkbox/CheckTest.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/checkbox/CheckTest.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/SnoopServlet.class 0644 costin staff
d none /opt/tomcat/examples/WEB-INF/classes/num 0755 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/num/NumberGuessBean.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/num/NumberGuessBean.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/RequestInfoExample.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/LocalStrings.properties 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/SnoopServlet.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/RequestHeaderExample.java 0644 costin staff
d none /opt/tomcat/examples/WEB-INF/classes/error 0755 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/error/Smart.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/error/Smart.class 0644 costin staff
d none /opt/tomcat/examples/WEB-INF/classes/sessions 0755 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/sessions/DummyCart.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/sessions/DummyCart.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/servletToJsp.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/servletToJsp.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/classes/CookieExample.class 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/web.xml 0644 costin staff
d none /opt/tomcat/examples/WEB-INF/jsp 0755 costin staff
d none /opt/tomcat/examples/WEB-INF/jsp/applet 0755 costin staff
f none /opt/tomcat/examples/WEB-INF/jsp/applet/Clock2.java 0644 costin staff
f none /opt/tomcat/examples/WEB-INF/jsp/example-taglib.tld 0644 costin staff
d none /opt/tomcat/examples/jsp 0755 costin staff
d none /opt/tomcat/examples/jsp/sessions 0755 costin staff
f none /opt/tomcat/examples/jsp/sessions/carts.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/sessions/carts.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/sessions/crt.html 0644 costin staff
f none /opt/tomcat/examples/jsp/sessions/DummyCart.html 0644 costin staff
f none /opt/tomcat/examples/jsp/sessions/carts.html 0644 costin staff
d none /opt/tomcat/examples/jsp/checkbox 0755 costin staff
f none /opt/tomcat/examples/jsp/checkbox/checkresult.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/checkbox/CheckTest.html 0644 costin staff
f none /opt/tomcat/examples/jsp/checkbox/cresult.html 0644 costin staff
f none /opt/tomcat/examples/jsp/checkbox/check.html 0644 costin staff
f none /opt/tomcat/examples/jsp/checkbox/checkresult.txt 0644 costin staff
d none /opt/tomcat/examples/jsp/cal 0755 costin staff
f none /opt/tomcat/examples/jsp/cal/cal1.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/cal/Entry.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/cal/Entries.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/cal/cal2.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/cal/cal2.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/cal/TableBean.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/cal/login.html 0644 costin staff
f none /opt/tomcat/examples/jsp/cal/cal1.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/cal/calendar.html 0644 costin staff
f none /opt/tomcat/examples/jsp/cal/JspCalendar.txt 0644 costin staff
d none /opt/tomcat/examples/jsp/forward 0755 costin staff
f none /opt/tomcat/examples/jsp/forward/forward.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/forward/forward.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/forward/fwd.html 0644 costin staff
f none /opt/tomcat/examples/jsp/forward/one.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/forward/two.html 0644 costin staff
d none /opt/tomcat/examples/jsp/include 0755 costin staff
f none /opt/tomcat/examples/jsp/include/include.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/include/include.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/include/foo.html 0644 costin staff
f none /opt/tomcat/examples/jsp/include/foo.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/include/inc.html 0644 costin staff
d none /opt/tomcat/examples/jsp/plugin 0755 costin staff
d none /opt/tomcat/examples/jsp/plugin/applet 0755 costin staff
f none /opt/tomcat/examples/jsp/plugin/applet/Clock2.class 0644 costin staff
f none /opt/tomcat/examples/jsp/plugin/applet/Clock2.java 0644 costin staff
f none /opt/tomcat/examples/jsp/plugin/plugin.html 0644 costin staff
f none /opt/tomcat/examples/jsp/plugin/plugin.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/plugin/plugin.jsp 0644 costin staff
d none /opt/tomcat/examples/jsp/error 0755 costin staff
f none /opt/tomcat/examples/jsp/error/er.html 0644 costin staff
f none /opt/tomcat/examples/jsp/error/err.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/error/errorpge.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/error/err.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/error/error.html 0644 costin staff
d none /opt/tomcat/examples/jsp/jsptoserv 0755 costin staff
f none /opt/tomcat/examples/jsp/jsptoserv/jsptoservlet.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/jsptoserv/hello.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/jsptoserv/jts.html 0644 costin staff
f none /opt/tomcat/examples/jsp/jsptoserv/jts.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/jsptoserv/stj.txt 0644 costin staff
d none /opt/tomcat/examples/jsp/snp 0755 costin staff
f none /opt/tomcat/examples/jsp/snp/snoop.html 0644 costin staff
f none /opt/tomcat/examples/jsp/snp/snoop.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/snp/snoop.jsp 0644 costin staff
d none /opt/tomcat/examples/jsp/simpletag 0755 costin staff
f none /opt/tomcat/examples/jsp/simpletag/foo.html 0644 costin staff
f none /opt/tomcat/examples/jsp/simpletag/foo.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/simpletag/foo.jsp 0644 costin staff
d none /opt/tomcat/examples/jsp/dates 0755 costin staff
f none /opt/tomcat/examples/jsp/dates/date.html 0644 costin staff
f none /opt/tomcat/examples/jsp/dates/date.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/dates/date.jsp 0644 costin staff
d none /opt/tomcat/examples/jsp/num 0755 costin staff
f none /opt/tomcat/examples/jsp/num/numguess.html 0644 costin staff
f none /opt/tomcat/examples/jsp/num/numguess.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/num/numguess.jsp 0644 costin staff
d none /opt/tomcat/examples/jsp/colors 0755 costin staff
f none /opt/tomcat/examples/jsp/colors/colors.html 0644 costin staff
f none /opt/tomcat/examples/jsp/colors/colors.txt 0644 costin staff
f none /opt/tomcat/examples/jsp/colors/ColorGameBean.html 0644 costin staff
f none /opt/tomcat/examples/jsp/colors/clr.html 0644 costin staff
f none /opt/tomcat/examples/jsp/colors/colrs.jsp 0644 costin staff
f none /opt/tomcat/examples/jsp/index.html 0644 costin staff
f none /opt/tomcat/examples/jsp/source.jsp 0644 costin staff
d none /opt/tomcat/examples/images 0755 costin staff
f none /opt/tomcat/examples/images/return.gif 0644 costin staff
f none /opt/tomcat/examples/images/execute.gif 0644 costin staff
f none /opt/tomcat/examples/images/code.gif 0644 costin staff
d none /opt/tomcat/webpages 0755 costin staff
d none /opt/tomcat/webpages/docs 0755 costin staff
d none /opt/tomcat/webpages/docs/api 0755 costin staff
d none /opt/tomcat/webpages/docs/api/javax 0755 costin staff
d none /opt/tomcat/webpages/docs/api/javax/servlet 0755 costin staff
d none /opt/tomcat/webpages/docs/api/javax/servlet/http 0755 costin staff
d none /opt/tomcat/webpages/docs/api/javax/servlet/http/class-use 0755 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpServletResponse.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpServletRequest.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpUtils.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpSessionBindingEvent.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpSessionContext.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpSessionBindingListener.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/Cookie.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpServlet.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpSession.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/package-use.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/package-summary.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/Cookie.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/package-tree.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/HttpServletRequest.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/HttpServletResponse.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/HttpSessionBindingEvent.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/HttpUtils.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/package-frame.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/HttpServlet.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/HttpSession.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/HttpSessionContext.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/http/HttpSessionBindingListener.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/package-use.html 0644 costin staff
d none /opt/tomcat/webpages/docs/api/javax/servlet/jsp 0755 costin staff
d none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext 0755 costin staff
d none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use 0755 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/BodyTagSupport.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagSupport.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagAttributeInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagExtraInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/BodyJspWriter.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/BodyContent.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagLibraryInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/BodyTag.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagData.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/VariableInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/Tag.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/BodyJspWriter.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagData.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/package-tree.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/package-summary.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/VariableInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagLibraryInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/package-frame.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagExtraInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagAttributeInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/BodyTagSupport.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/package-use.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/Tag.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagSupport.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/BodyTag.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/BodyContent.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/package-frame.html 0644 costin staff
d none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use 0755 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspFactory.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/PageContext.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspException.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspWriter.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspError.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/HttpJspPage.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspPage.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspEngineInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspError.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspWriter.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/HttpJspPage.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/package-summary.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/PageContext.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspFactory.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/package-use.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspEngineInfo.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspException.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/package-tree.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspPage.html 0644 costin staff
d none /opt/tomcat/webpages/docs/api/javax/servlet/class-use 0755 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletRequest.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletConfig.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/UnavailableException.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletInputStream.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletOutputStream.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/RequestDispatcher.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletContext.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletResponse.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/GenericServlet.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/SingleThreadModel.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletException.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/class-use/Servlet.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/SingleThreadModel.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/Servlet.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/ServletInputStream.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/package-summary.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/ServletContext.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/ServletException.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/GenericServlet.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/ServletConfig.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/RequestDispatcher.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/ServletResponse.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/ServletRequest.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/package-frame.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/ServletOutputStream.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/package-tree.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/javax/servlet/UnavailableException.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/help-doc.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/overview-frame.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/index-all.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/serialized-form.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/overview-tree.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/deprecated-list.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/overview-summary.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/packages.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/stylesheet.css 0644 costin staff
f none /opt/tomcat/webpages/docs/api/index.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/allclasses-frame.html 0644 costin staff
f none /opt/tomcat/webpages/docs/api/package-list 0644 costin staff
d none /opt/tomcat/webpages/WEB-INF 0755 costin staff
d none /opt/tomcat/webpages/WEB-INF/classes 0755 costin staff
f none /opt/tomcat/webpages/WEB-INF/classes/SnoopServlet.java 0644 costin staff
f none /opt/tomcat/webpages/WEB-INF/classes/SnoopServlet.class 0644 costin staff
f none /opt/tomcat/webpages/WEB-INF/web.xml 0644 costin staff
f none /opt/tomcat/webpages/tomcat.gif 0644 costin staff
f none /opt/tomcat/webpages/index.html 0644 costin staff
f none /opt/tomcat/tomcat.sh 0644 costin staff
f none /opt/tomcat/env.tomcat 0644 costin staff
f none /opt/tomcat/ant 0644 costin staff
f none /opt/tomcat/shutdown.sh 0644 costin staff
f none /opt/tomcat/tomcat.bat 0644 costin staff
f none /opt/tomcat/tomcatEnv.bat 0644 costin staff
f none /opt/tomcat/startup.sh 0644 costin staff
f none /opt/tomcat/shutdown.bat 0644 costin staff
f none /opt/tomcat/startup.bat 0644 costin staff
f none /opt/tomcat/server.xml 0644 costin staff
f none /opt/tomcat/README 0644 costin staff
f none /opt/tomcat/FAQ 0644 costin staff
f none /opt/tomcat/webserver.jar 0644 costin staff
1.1 jakarta-tomcat/src/build/tomcat-build.xml
Index: tomcat-build.xml
===================================================================
<project name="Tomcat" default="main" basedir=".">
<property name="build.compiler" value="classic"/>
<!-- XXX need to re-think the directory structure -->
<property name="tomcat.build" value="${user.home}/ws/build/tomcat"/>
<property name="tomcat.home" value="${user.home}/ws/dist/tomcat"/>
<property name="tools.home" value="${user.home}/ws/jakarta-tools"/>
<property name="src_dir" value="${user.home}/ws" />
<property name="out_dir" value="/home/ftp/pub/tomcat" />
<property name="tomcat_src" value="${src_dir}/jakarta-tomcat" />
<!-- XXX define it in params or have "default" Project properties ??? -->
<property name="DSTAMP" value="19991119" />
<!-- #################### getSources - from taz #################### -->
<target name="getSources">
<get src="http://jakarta.apache.org/builds/tomcat/standalone/nightly/tomcat-src-${DSTAMP}.zip" dest="${tomcat_src}/tomcat-src.zip"/>
<expand src="${tomcat_src}/tomcat-src.zip" dest="${tomcat_src}" />
<get src="http://jakarta.apache.org/builds/tomcat/standalone/nightly/tools-src.zip" dest="${tomcat_src}/tools-src.zip"/>
<expand src="${tomcat_src}/tools-src.zip" dest="${tools.home}" />
</target>
<!-- #################### prepare - create directories and copy static files #################### -->
<target name="prepare" >
<mkdir dir="${tomcat.build}"/>
<mkdir dir="${tomcat.build}/classes"/>
<mkdir dir="${tomcat.build}/etc"/>
<mkdir dir="${tomcat.build}/src"/>
<mkdir dir="${tomcat.build}/lib"/>
<echo message="TOMCAT SRC= ${tomcat_src}" />
<copydir src="${tomcat_src}/src/webpages" dest="${tomcat.build}/webpages"/>
<copydir src="${tomcat_src}/src/examples" dest="${tomcat.build}/examples"/>
<copydir src="${tomcat_src}/src/share/javax" dest="${tomcat.build}/src/javax"/>
<copyfile src="${tools.home}/projectx-tr2.jar" dest="${tomcat.build}/lib/xml.jar"/>
<copydir src="${tomcat_src}/src/shell" dest="${tomcat.build}" />
<!-- XXX clean this up ! -->
<copyfile src="${tomcat_src}/src/share/org/apache/tomcat/shell/deployment/server.xml"
dest="${tomcat.build}/server.xml"/>
<!-- XXX Where should it be ? -->
<copyfile src="${tomcat_src}/src/share/org/apache/tomcat/shell/deployment/server.xml"
dest="${tomcat.build}/etc/server.xml"/>
<copyfile src="${tomcat_src}/src/share/org/apache/tomcat/shell/deployment/server.dtd"
dest="${tomcat.build}/etc/server.dtd"/>
<copyfile src="${tomcat_src}/src/share/org/apache/tomcat/deployment/web.xml"
dest="${tomcat.build}/etc/web.xml"/>
<copyfile src="${tomcat_src}/src/share/org/apache/tomcat/deployment/web.dtd"
dest="${tomcat.build}/etc/web.dtd"/>
<copyfile src="${tomcat_src}/LICENSE" dest="${tomcat.build}/LICENSE"/>
<copyfile src="${tomcat_src}/src/etc/readme" dest="${tomcat.build}/README"/>
<copyfile src="${tomcat_src}/src/etc/faq" dest="${tomcat.build}/FAQ"/>
<copyfile src="${tomcat_src}/src/etc/SimpleStartup.java"
dest="${tomcat.build}/etc/SimpleStartup.java"/>
</target>
<!-- #################### Main #################### -->
<target name="main" depends="prepare">
<javac srcdir="${tomcat_src}/src/share" destdir="${tomcat.build}/classes"
classpath="${tomcat.build}/lib/xml.jar" debug="on"/>
<javac srcdir="${tomcat_src}/src/examples/WEB-INF/classes"
destdir="${tomcat.build}/examples/WEB-INF/classes"
classpath="${tomcat.build}/classes"/>
<javac srcdir="${tomcat_src}/src/webpages/WEB-INF/classes"
destdir="${tomcat.build}/webpages/WEB-INF/classes"
classpath="${tomcat.build}/classes"/>
<javac srcdir="${tomcat_src}/src/examples/jsp/plugin/applet"
destdir="${tomcat.build}/examples/jsp/plugin/applet"/>
<rmic base="${tomcat.build}/classes"
class="org.apache.tomcat.shell.AdminImpl"/>
</target>
<!-- #################### Dist - create jars and the final dir struct #################### -->
<target name="dist" depends="main">
<!-- cut & paste of "prepare", with tomcat.home instead of tomcat_build
XXX create "parametrized" targets
XXX do we need all the files in tomcat_build ??
-->
<mkdir dir="${tomcat.home}" />
<mkdir dir="${tomcat.home}/lib" />
<mkdir dir="${tomcat.home}/etc" />
<mkdir dir="${tomcat.home}/src" />
<mkdir dir="${tomcat.home}/examples" />
<mkdir dir="${tomcat.home}/webpages" />
<copydir src="${tomcat_src}/src/share/javax" dest="${tomcat.home}/src/javax"/>
<copyfile src="${tools.home}/ant.jar" dest="${tomcat.home}/lib/ant.jar"/>
<copyfile src="${tools.home}/tools/projectx-tr2.jar" dest="${tomcat.home}/lib/xml.jar"/>
<copydir src="${tomcat_src}/src/shell" dest="${tomcat.home}" />
<!-- XXX clean this up ! -->
<copyfile src="${tomcat_src}/src/share/org/apache/tomcat/shell/deployment/server.xml"
dest="${tomcat.home}/server.xml"/>
<!-- XXX Where should it be ? -->
<copyfile src="${tomcat_src}/src/share/org/apache/tomcat/shell/deployment/server.xml"
dest="${tomcat.home}/etc/server.xml"/>
<copyfile src="${tomcat_src}/src/share/org/apache/tomcat/shell/deployment/server.dtd"
dest="${tomcat.home}/etc/server.dtd"/>
<copyfile src="${tomcat_src}/src/share/org/apache/tomcat/deployment/web.xml"
dest="${tomcat.home}/etc/web.xml"/>
<copyfile src="${tomcat_src}/src/share/org/apache/tomcat/deployment/web.dtd"
dest="${tomcat.home}/etc/web.dtd"/>
<copyfile src="${tomcat_src}/src/etc/license.txt" dest="${tomcat.home}/LICENSE"/>
<copyfile src="${tomcat_src}/src/etc/readme" dest="${tomcat.home}/README"/>
<copyfile src="${tomcat_src}/src/etc/faq" dest="${tomcat.home}/FAQ"/>
<copyfile src="${tomcat_src}/src/etc/SimpleStartup.java"
dest="${tomcat.home}/etc/SimpleStartup.java"/>
<copydir src="${tomcat.build}/webpages" dest="${tomcat.home}/webpages"/>
<copydir src="${tomcat.build}/examples" dest="${tomcat.home}/examples"/>
<!-- XXX add manifest for autorun! -->
<jar jarfile="${tomcat.home}/webserver.jar"
basedir="${tomcat.build}/classes"
items="org/apache/tomcat"/>
<jar jarfile="${tomcat.home}/lib/servlet.jar"
basedir="${tomcat.build}/classes"
items="javax/servlet"/>
<jar jarfile="${tomcat.home}/lib/jasper.jar"
basedir="${tomcat.build}/classes"
items="org/apache/jasper"/>
</target>
<!-- #################### Build the "final" distributable #################### -->
<target name="package" depends="dist">
<jar jarfile="${out_dir}/tomcat-${DSTAMP}.zip"
basedir="${tomcat.home}/.."
items="tomcat" />
</target>
<!-- #################### Clean #################### -->
<target name="clean">
<deltree dir="${tomcat.build}"/>
<deltree dir="${tomcat.home}"/>
</target>
<!-- #################### getSources + prep + package #################### -->
<target name="nightly" depends="clean,getSources,prep,dist,package"/>
</project>
1.1 jakarta-tomcat/src/build/tomcat.spec
Index: tomcat.spec
===================================================================
Summary: Apache's servlet engine
Name: tomcat
Version: 3.0
Release: 0
Vendor: Apache Software Foundation
Group: System Environment/Daemons
Copyright: Apache - free
## Icon: tomcat.gif
Url: http://jakarta.apache.org
# BuildRoot: /home/costin/
Provides: tomcat
Prefix: /opt
Source: http://jakarta.apache.org/builds/tmp/tomcat/jakarta-tomcat.src.zip
Source: http://jakarta.apache.org/builds/tmp/tomcat/jakarta-tools.src.zip
%description
Develop Web applications in Java.
%prep
cd /usr/src/redhat/BUILD
rm -rf jakarta-tomcat
rm -rf jakarta-tools
rm -rf build
unzip -x ${RPM_SOURCE_DIR}/jakarta-tomcat.src.zip
unzip -x ${RPM_SOURCE_DIR}/jakarta-tools.src.zip
cd jakarta-tomcat
%build
cd /usr/src/redhat/BUILD/jakarta-tomcat
ant
%install
cd /usr/src/redhat/BUILD/jakarta-tomcat
ant -Dtomcat.home /opt/tomcat dist
%clean
rm -rf jakarta-tomcat
rm -rf jakarta-tools
rm -rf build
%post
%preun
%files
%dir /opt/tomcat
%dir /opt/tomcat/lib
%dir /opt/tomcat/etc
%dir /opt/tomcat/src
%dir /opt/tomcat/src/javax
%dir /opt/tomcat/src/javax/servlet
%dir /opt/tomcat/src/javax/servlet/http
%dir /opt/tomcat/src/javax/servlet/jsp
%dir /opt/tomcat/src/javax/servlet/jsp/tagext
%dir /opt/tomcat/examples
%dir /opt/tomcat/examples/WEB-INF
%dir /opt/tomcat/examples/WEB-INF/classes
%dir /opt/tomcat/examples/WEB-INF/classes/examples
%dir /opt/tomcat/examples/WEB-INF/classes/checkbox
%dir /opt/tomcat/examples/WEB-INF/classes/error
%dir /opt/tomcat/examples/WEB-INF/classes/num
%dir /opt/tomcat/examples/WEB-INF/classes/cal
%dir /opt/tomcat/examples/WEB-INF/classes/colors
%dir /opt/tomcat/examples/WEB-INF/classes/sessions
%dir /opt/tomcat/examples/WEB-INF/classes/dates
%dir /opt/tomcat/examples/WEB-INF/jsp
%dir /opt/tomcat/examples/WEB-INF/jsp/applet
%dir /opt/tomcat/examples/jsp
%dir /opt/tomcat/examples/jsp/plugin
%dir /opt/tomcat/examples/jsp/plugin/applet
%dir /opt/tomcat/examples/jsp/cal
%dir /opt/tomcat/examples/jsp/jsptoserv
%dir /opt/tomcat/examples/jsp/dates
%dir /opt/tomcat/examples/jsp/colors
%dir /opt/tomcat/examples/jsp/error
%dir /opt/tomcat/examples/jsp/sessions
%dir /opt/tomcat/examples/jsp/forward
%dir /opt/tomcat/examples/jsp/checkbox
%dir /opt/tomcat/examples/jsp/simpletag
%dir /opt/tomcat/examples/jsp/include
%dir /opt/tomcat/examples/jsp/num
%dir /opt/tomcat/examples/jsp/snp
%dir /opt/tomcat/examples/servlets
%dir /opt/tomcat/examples/images
%dir /opt/tomcat/webpages
%dir /opt/tomcat/webpages/docs
%dir /opt/tomcat/webpages/docs/api
%dir /opt/tomcat/webpages/docs/api/javax
%dir /opt/tomcat/webpages/docs/api/javax/servlet
%dir /opt/tomcat/webpages/docs/api/javax/servlet/jsp
%dir /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext
%dir /opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use
%dir /opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use
%dir /opt/tomcat/webpages/docs/api/javax/servlet/class-use
%dir /opt/tomcat/webpages/docs/api/javax/servlet/http
%dir /opt/tomcat/webpages/docs/api/javax/servlet/http/class-use
%dir /opt/tomcat/webpages/WEB-INF
%dir /opt/tomcat/webpages/WEB-INF/classes
/opt/tomcat/lib/servlet.jar
/opt/tomcat/lib/jasper.jar
/opt/tomcat/etc/server.xml
/opt/tomcat/etc/server.dtd
/opt/tomcat/etc/web.xml
/opt/tomcat/etc/web.dtd
/opt/tomcat/etc/tomcat.conf
/opt/tomcat/etc/SimpleStartup.java
/opt/tomcat/src/javax/servlet/http/HttpServletResponse.java
/opt/tomcat/src/javax/servlet/http/LocalStrings.properties
/opt/tomcat/src/javax/servlet/http/Cookie.java
/opt/tomcat/src/javax/servlet/http/HttpSessionBindingListener.java
/opt/tomcat/src/javax/servlet/http/HttpServlet.java
/opt/tomcat/src/javax/servlet/http/HttpSession.java
/opt/tomcat/src/javax/servlet/http/HttpSessionContext.java
/opt/tomcat/src/javax/servlet/http/HttpUtils.java
/opt/tomcat/src/javax/servlet/http/HttpSessionBindingEvent.java
/opt/tomcat/src/javax/servlet/http/HttpServletRequest.java
/opt/tomcat/src/javax/servlet/jsp/JspEngineInfo.java
/opt/tomcat/src/javax/servlet/jsp/PageContext.java
/opt/tomcat/src/javax/servlet/jsp/tagext/BodyTagSupport.java
/opt/tomcat/src/javax/servlet/jsp/tagext/TagSupport.java
/opt/tomcat/src/javax/servlet/jsp/tagext/TagAttributeInfo.java
/opt/tomcat/src/javax/servlet/jsp/tagext/BodyTag.java
/opt/tomcat/src/javax/servlet/jsp/tagext/TagLibraryInfo.java
/opt/tomcat/src/javax/servlet/jsp/tagext/Tag.java
/opt/tomcat/src/javax/servlet/jsp/tagext/BodyContent.java
/opt/tomcat/src/javax/servlet/jsp/tagext/TagInfo.java
/opt/tomcat/src/javax/servlet/jsp/tagext/VariableInfo.java
/opt/tomcat/src/javax/servlet/jsp/tagext/TagData.java
/opt/tomcat/src/javax/servlet/jsp/tagext/TagExtraInfo.java
/opt/tomcat/src/javax/servlet/jsp/JspPage.java
/opt/tomcat/src/javax/servlet/jsp/JspTagException.java
/opt/tomcat/src/javax/servlet/jsp/JspFactory.java
/opt/tomcat/src/javax/servlet/jsp/JspWriter.java
/opt/tomcat/src/javax/servlet/jsp/JspException.java
/opt/tomcat/src/javax/servlet/jsp/HttpJspPage.java
/opt/tomcat/src/javax/servlet/ServletContext.java
/opt/tomcat/src/javax/servlet/ServletOutputStream.java
/opt/tomcat/src/javax/servlet/Servlet.java
/opt/tomcat/src/javax/servlet/ServletConfig.java
/opt/tomcat/src/javax/servlet/UnavailableException.java
/opt/tomcat/src/javax/servlet/ServletRequest.java
/opt/tomcat/src/javax/servlet/GenericServlet.java
/opt/tomcat/src/javax/servlet/RequestDispatcher.java
/opt/tomcat/src/javax/servlet/SingleThreadModel.java
/opt/tomcat/src/javax/servlet/LocalStrings.properties
/opt/tomcat/src/javax/servlet/ServletInputStream.java
/opt/tomcat/src/javax/servlet/ServletResponse.java
/opt/tomcat/src/javax/servlet/ServletException.java
/opt/tomcat/examples/WEB-INF/classes/examples/FooTagExtraInfo.class
/opt/tomcat/examples/WEB-INF/classes/examples/ExampleTagBase.class
/opt/tomcat/examples/WEB-INF/classes/examples/FooTag.class
/opt/tomcat/examples/WEB-INF/classes/examples/LogTag.class
/opt/tomcat/examples/WEB-INF/classes/examples/FooTag.java
/opt/tomcat/examples/WEB-INF/classes/examples/FooTagExtraInfo.java
/opt/tomcat/examples/WEB-INF/classes/examples/ShowSource.class
/opt/tomcat/examples/WEB-INF/classes/examples/ExampleTagBase.java
/opt/tomcat/examples/WEB-INF/classes/examples/ShowSource.java
/opt/tomcat/examples/WEB-INF/classes/examples/LogTag.java
/opt/tomcat/examples/WEB-INF/classes/RequestHeaderExample.java
/opt/tomcat/examples/WEB-INF/classes/servletToJsp.class
/opt/tomcat/examples/WEB-INF/classes/checkbox/CheckTest.class
/opt/tomcat/examples/WEB-INF/classes/checkbox/CheckTest.java
/opt/tomcat/examples/WEB-INF/classes/error/Smart.java
/opt/tomcat/examples/WEB-INF/classes/error/Smart.class
/opt/tomcat/examples/WEB-INF/classes/LocalStrings.properties
/opt/tomcat/examples/WEB-INF/classes/num/NumberGuessBean.java
/opt/tomcat/examples/WEB-INF/classes/num/NumberGuessBean.class
/opt/tomcat/examples/WEB-INF/classes/RequestParamExample.java
/opt/tomcat/examples/WEB-INF/classes/cal/Entry.java
/opt/tomcat/examples/WEB-INF/classes/cal/TableBean.java
/opt/tomcat/examples/WEB-INF/classes/cal/TableBean.class
/opt/tomcat/examples/WEB-INF/classes/cal/JspCalendar.java
/opt/tomcat/examples/WEB-INF/classes/cal/Entries.java
/opt/tomcat/examples/WEB-INF/classes/cal/JspCalendar.class
/opt/tomcat/examples/WEB-INF/classes/cal/Entries.class
/opt/tomcat/examples/WEB-INF/classes/cal/Entry.class
/opt/tomcat/examples/WEB-INF/classes/colors/ColorGameBean.java
/opt/tomcat/examples/WEB-INF/classes/colors/ColorGameBean.class
/opt/tomcat/examples/WEB-INF/classes/CookieExample.java
/opt/tomcat/examples/WEB-INF/classes/SessionExample.class
/opt/tomcat/examples/WEB-INF/classes/SnoopServlet.java
/opt/tomcat/examples/WEB-INF/classes/RequestParamExample.class
/opt/tomcat/examples/WEB-INF/classes/CookieExample.class
/opt/tomcat/examples/WEB-INF/classes/RequestInfoExample.class
/opt/tomcat/examples/WEB-INF/classes/sessions/DummyCart.java
/opt/tomcat/examples/WEB-INF/classes/sessions/DummyCart.class
/opt/tomcat/examples/WEB-INF/classes/SessionExample.java
/opt/tomcat/examples/WEB-INF/classes/RequestInfoExample.java
/opt/tomcat/examples/WEB-INF/classes/servletToJsp.java
/opt/tomcat/examples/WEB-INF/classes/SnoopServlet.class
/opt/tomcat/examples/WEB-INF/classes/RequestHeaderExample.class
/opt/tomcat/examples/WEB-INF/classes/dates/JspCalendar.class
/opt/tomcat/examples/WEB-INF/classes/dates/JspCalendar.java
/opt/tomcat/examples/WEB-INF/classes/HelloWorldExample.java
/opt/tomcat/examples/WEB-INF/classes/HelloWorldExample.class
/opt/tomcat/examples/WEB-INF/jsp/applet/Clock2.java
/opt/tomcat/examples/WEB-INF/jsp/example-taglib.tld
/opt/tomcat/examples/WEB-INF/web.xml
/opt/tomcat/examples/jsp/plugin/applet/Clock2.class
/opt/tomcat/examples/jsp/plugin/applet/Clock2.java
/opt/tomcat/examples/jsp/plugin/plugin.txt
/opt/tomcat/examples/jsp/plugin/plugin.html
/opt/tomcat/examples/jsp/plugin/plugin.jsp
/opt/tomcat/examples/jsp/cal/cal2.txt
/opt/tomcat/examples/jsp/cal/TableBean.txt
/opt/tomcat/examples/jsp/cal/calendar.html
/opt/tomcat/examples/jsp/cal/cal2.jsp
/opt/tomcat/examples/jsp/cal/Entries.txt
/opt/tomcat/examples/jsp/cal/JspCalendar.txt
/opt/tomcat/examples/jsp/cal/Entry.txt
/opt/tomcat/examples/jsp/cal/cal1.txt
/opt/tomcat/examples/jsp/cal/cal1.jsp
/opt/tomcat/examples/jsp/cal/login.html
/opt/tomcat/examples/jsp/jsptoserv/jsptoservlet.jsp
/opt/tomcat/examples/jsp/jsptoserv/jts.txt
/opt/tomcat/examples/jsp/jsptoserv/stj.txt
/opt/tomcat/examples/jsp/jsptoserv/jts.html
/opt/tomcat/examples/jsp/jsptoserv/hello.jsp
/opt/tomcat/examples/jsp/dates/date.html
/opt/tomcat/examples/jsp/dates/date.txt
/opt/tomcat/examples/jsp/dates/date.jsp
/opt/tomcat/examples/jsp/colors/ColorGameBean.html
/opt/tomcat/examples/jsp/colors/colors.html
/opt/tomcat/examples/jsp/colors/colors.txt
/opt/tomcat/examples/jsp/colors/colrs.jsp
/opt/tomcat/examples/jsp/colors/clr.html
/opt/tomcat/examples/jsp/error/er.html
/opt/tomcat/examples/jsp/error/err.txt
/opt/tomcat/examples/jsp/error/err.jsp
/opt/tomcat/examples/jsp/error/error.html
/opt/tomcat/examples/jsp/error/errorpge.jsp
/opt/tomcat/examples/jsp/sessions/DummyCart.html
/opt/tomcat/examples/jsp/sessions/carts.txt
/opt/tomcat/examples/jsp/sessions/carts.html
/opt/tomcat/examples/jsp/sessions/crt.html
/opt/tomcat/examples/jsp/sessions/carts.jsp
/opt/tomcat/examples/jsp/forward/one.jsp
/opt/tomcat/examples/jsp/forward/fwd.html
/opt/tomcat/examples/jsp/forward/forward.txt
/opt/tomcat/examples/jsp/forward/forward.jsp
/opt/tomcat/examples/jsp/forward/two.html
/opt/tomcat/examples/jsp/checkbox/checkresult.txt
/opt/tomcat/examples/jsp/checkbox/CheckTest.html
/opt/tomcat/examples/jsp/checkbox/checkresult.jsp
/opt/tomcat/examples/jsp/checkbox/check.html
/opt/tomcat/examples/jsp/checkbox/cresult.html
/opt/tomcat/examples/jsp/simpletag/foo.html
/opt/tomcat/examples/jsp/simpletag/foo.txt
/opt/tomcat/examples/jsp/simpletag/foo.jsp
/opt/tomcat/examples/jsp/include/foo.html
/opt/tomcat/examples/jsp/include/include.txt
/opt/tomcat/examples/jsp/include/include.jsp
/opt/tomcat/examples/jsp/include/foo.jsp
/opt/tomcat/examples/jsp/include/inc.html
/opt/tomcat/examples/jsp/num/numguess.html
/opt/tomcat/examples/jsp/num/numguess.txt
/opt/tomcat/examples/jsp/num/numguess.jsp
/opt/tomcat/examples/jsp/snp/snoop.txt
/opt/tomcat/examples/jsp/snp/snoop.jsp
/opt/tomcat/examples/jsp/snp/snoop.html
/opt/tomcat/examples/jsp/index.html
/opt/tomcat/examples/jsp/source.jsp
/opt/tomcat/examples/servlets/sessions.html
/opt/tomcat/examples/servlets/helloworld.html
/opt/tomcat/examples/servlets/reqinfo.html
/opt/tomcat/examples/servlets/cookies.html
/opt/tomcat/examples/servlets/reqparams.html
/opt/tomcat/examples/servlets/index.html
/opt/tomcat/examples/servlets/reqheaders.html
/opt/tomcat/examples/images/code.gif
/opt/tomcat/examples/images/return.gif
/opt/tomcat/examples/images/execute.gif
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/package-summary.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/VariableInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/Tag.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/VariableInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagAttributeInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagSupport.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagData.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagExtraInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagLibraryInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/BodyContent.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/TagInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/BodyJspWriter.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/BodyTagSupport.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/class-use/BodyTag.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagLibraryInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/BodyJspWriter.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagAttributeInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagExtraInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/BodyTagSupport.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/Tag.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagSupport.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/package-frame.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/package-use.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/package-summary.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/package-tree.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/BodyContent.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/BodyTag.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/tagext/TagData.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspEngineInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspFactory.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspWriter.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspEngineInfo.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspPage.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/HttpJspPage.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspError.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/PageContext.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/class-use/JspException.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspFactory.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspError.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspWriter.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspPage.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/package-frame.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/JspException.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/HttpJspPage.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/package-tree.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/package-use.html
/opt/tomcat/webpages/docs/api/javax/servlet/jsp/PageContext.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletConfig.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/RequestDispatcher.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletRequest.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletOutputStream.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/Servlet.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletResponse.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/SingleThreadModel.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletException.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletInputStream.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/ServletContext.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/GenericServlet.html
/opt/tomcat/webpages/docs/api/javax/servlet/class-use/UnavailableException.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpServletRequest.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpUtils.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpServletResponse.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/Cookie.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpServlet.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpSessionContext.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpSession.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpSessionBindingListener.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/class-use/HttpSessionBindingEvent.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/HttpSessionBindingListener.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/HttpServletRequest.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/HttpUtils.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/HttpServlet.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/HttpServletResponse.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/package-summary.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/HttpSessionContext.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/HttpSession.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/package-frame.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/HttpSessionBindingEvent.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/package-use.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/package-tree.html
/opt/tomcat/webpages/docs/api/javax/servlet/http/Cookie.html
/opt/tomcat/webpages/docs/api/javax/servlet/package-tree.html
/opt/tomcat/webpages/docs/api/javax/servlet/RequestDispatcher.html
/opt/tomcat/webpages/docs/api/javax/servlet/package-frame.html
/opt/tomcat/webpages/docs/api/javax/servlet/ServletContext.html
/opt/tomcat/webpages/docs/api/javax/servlet/GenericServlet.html
/opt/tomcat/webpages/docs/api/javax/servlet/ServletOutputStream.html
/opt/tomcat/webpages/docs/api/javax/servlet/ServletException.html
/opt/tomcat/webpages/docs/api/javax/servlet/ServletInputStream.html
/opt/tomcat/webpages/docs/api/javax/servlet/SingleThreadModel.html
/opt/tomcat/webpages/docs/api/javax/servlet/ServletRequest.html
/opt/tomcat/webpages/docs/api/javax/servlet/package-summary.html
/opt/tomcat/webpages/docs/api/javax/servlet/Servlet.html
/opt/tomcat/webpages/docs/api/javax/servlet/package-use.html
/opt/tomcat/webpages/docs/api/javax/servlet/ServletConfig.html
/opt/tomcat/webpages/docs/api/javax/servlet/UnavailableException.html
/opt/tomcat/webpages/docs/api/javax/servlet/ServletResponse.html
/opt/tomcat/webpages/docs/api/serialized-form.html
/opt/tomcat/webpages/docs/api/package-list
/opt/tomcat/webpages/docs/api/packages.html
/opt/tomcat/webpages/docs/api/index.html
/opt/tomcat/webpages/docs/api/help-doc.html
/opt/tomcat/webpages/docs/api/stylesheet.css
/opt/tomcat/webpages/docs/api/deprecated-list.html
/opt/tomcat/webpages/docs/api/overview-summary.html
/opt/tomcat/webpages/docs/api/overview-frame.html
/opt/tomcat/webpages/docs/api/index-all.html
/opt/tomcat/webpages/docs/api/overview-tree.html
/opt/tomcat/webpages/docs/api/allclasses-frame.html
/opt/tomcat/webpages/WEB-INF/classes/SnoopServlet.class
/opt/tomcat/webpages/WEB-INF/classes/SnoopServlet.java
/opt/tomcat/webpages/WEB-INF/web.xml
/opt/tomcat/webpages/tomcat.gif
/opt/tomcat/webpages/index.html
/opt/tomcat/tomcatEnv.bat
/opt/tomcat/shutdown.bat
/opt/tomcat/ant
/opt/tomcat/startup.sh
/opt/tomcat/startup.bat
/opt/tomcat/env.tomcat
/opt/tomcat/tomcat.sh
/opt/tomcat/tomcat.bat
/opt/tomcat/shutdown.sh
/opt/tomcat/server.xml
/opt/tomcat/README
/opt/tomcat/FAQ
/opt/tomcat/webserver.jar
%changelog
1.1 jakarta-tomcat/src/doc/Tomcat+Apache-HOWTO
Index: Tomcat+Apache-HOWTO
===================================================================
Tomcat+Apache HOWTO
by
Costin Manolache <co...@eng.sun.com>
Anil Vijendran <ak...@eng.sun.com>
$Revision: 1.1 $ $Date: 2000/02/08 21:08:34 $
This document describes how to setup Tomcat to run with Apache. For
now this document describes how to run Tomcat 3.0 with Apache
1.3.9. Check the section on "Tested Configurations" for other
Apache/Tomcat versions.
------------------------------------------------------------------------
Table of Contents
1. Introduction
2. Installation
2.1 Apache 1.3.9
2.2 Tomcat 3.0
2.3 Testing Your Configuration
2.4 Adding Contexts
3. Tested Configurations
4. More information, feedback, bugs
------------------------------------------------------------------------
1. Introduction
This document is intended to get you started using Tomcat with
Apache until we have Apache and Tomcat as one integrated
release. If you ran into any gotchas while following these
instructions, please let us know so we can keep this document
updated.
In the rest of the document, we use /path/to/apache-1.3.9 to mean
the path to the Apache 1.3.9 installation and /path/to/tomcat3.0
to mean the path to the Tomcat 3.0 installation. We will assume
you are running Apache on the default port (80).
2. Installation
2.1 Apache 1.3.9
* Download and install the Apache 1.3.9 binary for your
platform from
http://www.apache.org/dist/binaries
* Configure the default HTTP listener port in your
/path/to/apache-1.3.9/conf/httpd.conf file.
* Make sure ServerName in /path/to/apache-1.3.9/conf/httpd.conf
contains the name of your host.
* If you are using a version of Apache that you have compiled
yourself and you are using a precompiled version of mod_jserv.so,
make sure that you compiled support for loadable
modules. Do this my compiling mod_so.so using --enable-module=so
with configure.
2.2 Tomcat 3.0
* Download and install Tomcat 3.0 for your OS/platform from
http://jakarta.apache.org/builds/tomcat/release/v3.0/<os>/<platform>
* Download mod_jserv for your platform from
http://jakarta.apache.org/builds/tomcat/release/v3.0/<os>/<platform>/modules
and copy it into /path/to/apache-1.3.9/libexec for a Unix
install and \path\to\apache-1.3.9\modules for a Win32
install.
mod_jserv is the software that allows Apache and Tomcat to
communicate. The port used to communicate is set in the
server.xml file for Tomcat, and tomcat.conf for Apache, and
they must agree. Currently this port defaults to 8007 and
uses the AJP12 protocol.
* Edit /path/to/apache-1.3.9/conf/httpd.conf and add the
following line at the end:
Include /path/to/tomcat3.0/etc/tomcat.conf
* For Win32 users, comment out the line containing libexec/mod_jserv.so
and uncomment out the line containing modules/ApacheModuleJServ.dll.
* It is also important to note that because Tomcat has a
standalone HTTP server built in, it must be run on a
different port than Apache.
2.3 Testing Your Configuration
* Restart Apache (apachectl restart or Apache -k restart on Win32)
* Make sure http://<hostname> is working
* Start Tomcat (Use startup.sh for Unix or startup.bat for
Win32 from /path/to/tomcat3.0)
* Try either http://<hostname>/examples/servets/ or
http://<hostname>/examples/jsp/ to verify it is working.
2.3 Adding Contexts
There's two different ways you can add contexts to this
configuration:
(a)
* Add to /path/to/tomcat3.0/etc/tomcat.conf:
ApJservMount /<context> /root
* restart Apache.
(b)
* Create /path/to/apache-1.3.9/htdocs/<context>
* Install all the files of that context into that
directory.
* Make sure /path/to/tomcat3.0/server.xml points to
/path/to/apache-1.3.9/htdocs/<context>
* Add to /path/to/tomcat3.0/etc/tomcat.conf:
ApJservMount /<context>/servlet /root
<Location /CONTEXT/WEB-INF/ >
AllowOverride None
deny from all
</Location>
3. Tested Configurations
Apache 1.3.9 + Tomcat 3.0 has been tested on the following OSes:
* Linux (RedHat 6.1) on SPARC and Intel
- IBM JDK 1.1.8
* Solaris 2.6 on SPARC
- Sun JDK 1.1.8
- Sun JDK 1.2.2
* Windows NT SP 4
- Sun JDK 1.1.8
- Sun JDK 1.2.2
4. More information, feedback and bugs
Please send bug reports (both on Tomcat and on this document) to
tomcat-dev@jakarta.apache.org.
If you tested this on a platform/os that is not listed here, please
either update this file (if you have CVS commit access on Jakarta)
or send a note to tomcat-dev@jakarta.apache.org.
1.1 jakarta-tomcat/src/doc/faq
Index: faq
===================================================================
Some Frequently Asked Questions (FAQ) on Tomcat
-----------------------------------------------
Q: I am getting a 404 Error, what does it mean?
A: In simple terms, it means the server was not able to locate
the resource you requested. This can occur because of five
reasons:
* One, the URL you typed was wrong or has a typo.
* Two, the URL you requested could not be resolved with
the current "docBase". If you are trying to run your own
"web-application" please read the questions related to
"installing your own web-application" in this FAQ.
* Three, you're using JDK 1.1.x on a Windows platform. It's
a known bug (see Readme) that the server doesn't serve files
in this configuration. Use JDK 1.2.x instead.
* Four, on a Windows platform you have installed Tomcat in
a directory with a path part longer than 8 characters, e.g.
C:\Program Files\jakarta, and run the "startup" script from
a command tool after you have cd'd to the directory using
the short form of the name, e.g.
> cd C:\Progra~1\jakarta
> startup
If you cd using the long name it works fine, e.g.
> cd "C:\Program Files\jakarta"
> startup
* Five, on a Unix platform, you are attempting to access a file
that is a symbolic link.
The last three cases are caused by a test in
org.apache.tomcat.core.DefaultServlet to see whether the absolute
name of a file equals the canonical name. This test is intended
to solve a serious security problem, where mixed case or additional
characters in a file name can get Tomcat to serve the source
file instead of the processed file for JSP files on a Windows
platform. This test should be replaced with a solution that doesn't
have the above side effects.
Q: I am getting a 500 Error, what does it mean?
A: In simple terms, it means that there was some "Internal Server
Error" while processing your request. You need to study carefully
the trace at the server window to find out more about the error.
These errors can occur while translating your jsp source to a
servlet. These are translation-time errors and occur mostly because
of some syntax error in the jsp file or in the generated java file.
Please use the error-message at the server-window for debugging.
Errors can also occur at request-time. Again, the information about
specific problem/exception can be obtained by looking at the
server-side trace.
Q: What do I need in my CLASSPATH?
A: All you need is a correct version of JDK (1.1.x or 1.2).
Since the JSP engine also uses 'javac' it needs to be in the CLASSPATH.
If you are using JDK 1.1.x it will automatically be included. If
you are using JDK 1.2 you will need to set JAVA_HOME to the directory
where JDK is installed or alternately you can put "tools.jar" in your
CLASSPATH.
All other classes, jar files that are needed, are put by the startserver
script and you don't need to worry about them.
Q: Where are the classes for JSPs and Servlets?
A: webserver.jar -- class files for Servlet Engine.
lib/jspengine.jar -- class files for JSP Engine.
lib/servlet.jar -- Public APIs for Servlet.
lib/jsp.jar -- Public APIs for JSP.
lib/xml.jar -- classes for parsing XML document.
Q: Can I combine these classes with other webservers?
A: The JSP engine uses just the public portion of the Java Servlet 2.2
API. In theory, it could run on other servlet engines that support
the Servlet 2.2 API but we have not tested this release on any servlet
engine other than the one in Tomcat.
Q: Where do I put my jsp sources and beans?
A: If you just want to test JSPs without creating a separate web-application
you can use the default "example" application. If you want to create
a new web-application please read "how to install a new web-application?".
To use the default, put all your JSP source under /examples/jsp, either
in the same directory or under a new subdirectory of /examples/jsp (as
done in the included examples). Put all your beans (class files) under
/examples/WEB-INF/jsp/beans appropriately (as done for the included
beans). The startserver script will automatically add these classes to
the CLASSPATH at runtime.
If your server is already running, you will need to stop and restart it.
You can invoke your jsps using http://locahost:8080/examples/jsp/yours.jsp
Q: What is a web-application? How can I install a new web-application?
A: A web-application is a collection of resources such as jsps, servlets,
html files, images, etc. which are mapped to a specific "URI" prefix.
For example, all the resources related to baseball can be assembled
into a "baseball" directory and correspondingly all the requests that
start with "/baseball" can be mapped to this application.
A new application can be added to Tomcat by editing server.xml file.
To add "baseball" application you can make the following additions to
the file (at the appropriate place):
<Context path="/baseball" docBase="baseball"
defaultSessionTimeOut="30" isWARExpanded="true"
isWARValidated="false" isInvokerEnabled="true"
isWorkDirPersistent="false"/>
Please read "server.xml" for more details.
a) To install servlets within a web-application, you can do the following:
* Once a servlet has been compiled, it can be added to Tomcat by:
determine which "web application" context you'd like to add the servlet
to
add the servlet class file to the
WEBAPP/WEB-INF/classes directory
* In order to define a name and init params for the newly installed
servlet you need to also:
register the servlet with a <servlet> element in the
WEBAPP/WEB-INF/web.xml file
you can optionally map your servlet
to uri requests relative to the context
within it is located by adding a <servlet-mapping>
element in the WEBAPP/WEB-INF/web.xml
file
* And finally restart the server
You can access your new servlet via a URI similiar
to the following:
http://localhost:8080/WEBAPP/servlet/SERVLET-NAME
If you've associated a URI path mapping to your
servlet you can access it via a URI similiar to the
following:
http://localhost:8080/WEBAPP/foo.EXTENSION
- or -
http://localhost:8080/WEBAPP/MAP-PATH
where:
WEBAPP = the web-application URI name
SERVLET-NAME = the base name of a servlet
EXTENSION = a file time extension
MAP-PATH = associated URI MAP path
b) To install jsps and beans within a web-application you can do
the following:
* Put the jsp sources in any directory under /WEBAPP.
* Make sure that the compiled beans are in the CLASSPATH. This can
be done either by setting the CLASSPATH manually or by editing
the startup script.
* And finally restart the server.
You can invoke your new jsp via a URI similar to the following:
http://localhost:8080/WEBAPP/yourfile.jsp
Q: How are the URIs mapped at the server?
A: First, the web-server will match the beginning of the requested URI
against the prefixes of all contexts (web-applications). If no context
matches, it will use the default context instead.
Q: What do different init parameters for the JSP engine mean?
* keepgenerated:
Whether to keep the generated java file or no. Can take a
value of true/false. If value is true then the generated files
are kept else they are deleted.
* scratchdir:
The work dir which will be created for storing all the
generated code. This can be set to any dir. That directory will be
created under the docbase.
* largeFile:
Can take a value of true/false. If the file is really large then
all the static html is stored is a separate data file if the value
of this param is set to true.
* sendErrToClient:
Can take a value of true/false. If set to true then all
the compilation/parsing errors will be sent as part of the response
to the client.
* ieClassId:
This is used with the plugin. This is a particular id that is
set to activate the plugin. The default value for IE 4 and 5 are
set as of now. This is for future use incase the classId for IE
changes in the future.
To set any of these to a value other than the default you need to
explicitely define the JSP engine servlet and a mapping for the
.jps extension in WEBAPP/WEB-INF/web.xml, e.g.
<servlet>
<servlet-name>
jsp
</servlet-name>
<servlet-class>
org.apache.jasper.runtime.JSPServlet
</servlet-class>
<init-param>
<param-name>
keepgenerated
</param-name>
<param-value>
true
</param-value>
</init-param>
<init-param>
<param-name>
sendErrToClient
</param-name>
<param-value>
true
</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>
jsp
</servlet-name>
<url-pattern>
*.jsp
</url-pattern>
</servlet-mapping>
1.1 jakarta-tomcat/src/doc/readme
Index: readme
===================================================================
$Id: readme,v 1.1 2000/02/08 21:08:34 costin Exp $
Tomcat 3.1M1
All classes are written exclusively in the Java(tm) Programming
Language and may be used with and JRE 1.1 conformant system,
including Java2 conformant systems.
You should read the License Agreement which applies to this
software.
At this time, the documentation for this release is primarily:
This README document
A FAQ on some Tomcat specifics
The JavaDoc documentation
API Examples
RUNNING THE SERVER
------------------
In order to run the Server it is necessary to have installed a compliant
JDK. You must also have the "java" program available in your path (set
using the PATH environment variable). More information can be found at
http://java.sun.com/products/jdk.
In order to use the JSP engine, you will need to include the code for
"javac" in your CLASSPATH. For JDK 1.2, this can be found in
/path/to/jdk1.2/lib/tools.jar. For JDK 1.1, this can be found in
/path/to/jdk1.1/lib/classes.zip
There is a Unix based Korn Shell Script and a Windows based Batch File
provided in the installation directory. To start up the server on Unix:
% startup.sh
To start up the server on Windows
C:\tomcat\> startup
Once the server is running, you can use any web browser to browse
http://localhost:8080
and you will be browsing pages served from the server. You can read
the JavaDoc documentation for the javax.servlet packages as well as
see some JSP and servlet examples.
To stop the server, use the following commands:
Unix: % shutdown.sh
Windows: > shutdown
KNOWN BUGS AND ISSUES
---------------------
1. Automatic servlet reloading is not implemented in Tomcat.
2. The web server crashes with a StackOverflowException if there
is infinite recursion in RequestDispatcher.forward/include or
<jsp:forward/include .../>.
TROUBLESHOOTING
---------------
On a Windows 95/98 machine you may see an "Out of Environment Space"
error message when starting the server. This is caused by Windows
providing too small a space for environment variables. To work around
this limitation:
Close the DOS window (the error can corrupt its CLASSPATH variable)
Open a new MS-DOS window
Click on the MS-DOS icon at the top-left of the Window
Select teh Properties option
Click on the "Memory" tab
Adjust the "Initial Environment" drop-down box from "Auto" to "2816"
Click on OK
Start the server
For debugging other errors, it is sometimes more convenient to run Tomcat
in the same foreground window (startup will run Tomcat as a detached process
on Unix and in a separate window on Windows). To disable this, start
Tomcat via:
Unix: % tomcat.sh run
Windows: > tomcat run