Jakarta TomCat

  • Follow


Hi,

This is regarding the TomCat site atApache.org. I find the User Guide
not very helpful. It doesn't tell you about server.xml and web.xml
files. How to deploy a servlet in TomCat. I find it is not clear or
easy to understand. It mentions Ch 9 10 11 12 13 in the Java 2.3 Specs
for Servlet but I couldn't find them anywhere. In the TomCat
Architecture it goes into a lot of detail but doesn't mention the
server & web.xml files.
0
Reply forgoogle2003 (11) 7/16/2004 1:26:04 PM

grumple wrote:

> This is regarding the TomCat site atApache.org. I find the User Guide
> not very helpful. It doesn't tell you about server.xml and web.xml
> files. How to deploy a servlet in TomCat. I find it is not clear or
> easy to understand. It mentions Ch 9 10 11 12 13 in the Java 2.3 Specs
> for Servlet but I couldn't find them anywhere. In the TomCat
> Architecture it goes into a lot of detail but doesn't mention the
> server & web.xml files.

Find a users group, bring your notebook, and have an install party.

I worked with TomCat for a month, at a site where it was already installed
and configured, and I still could not tell you what it does or how to
bootstrap it.

You may also want to try its online forums instead of a generic newsgroup.

-- 
  Phlip
  http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces


0
Reply phlip_cpp (3649) 7/16/2004 2:31:19 PM


forgoogle2003@yahoo.co.in (grumple) said:
>This is regarding the TomCat site atApache.org. I find the User Guide
>not very helpful.

Hmm.. while not perfect, at least the Tomcat 4.1 docs are not too bad.
But then, you didn't tell which versions documentation you were reading.

>It doesn't tell you about server.xml and web.xml files.

web.xml is the same for any compliant container, so the documentation
for that is in the servlet specification (from Sun), and not mixed with
documentation specific to Tomcat.

>How to deploy a servlet in TomCat. I find it is not clear or easy to
>understand.

From page
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html

   Deployment With Tomcat 4
....
     A web application can be deployed in Tomcat by one of the following
     approaches:
     * Copy unpacked directory hierarchy into a subdirectory in directory
       $CATALINA_HOME/webapps/
....
     * Copy the web application archive file into directory
       $CATALINA_HOME/webapps/
....
     * Use the Tomcat 4 "Manager" web application to deploy and undeploy
       web applications
....
     * Use "Manager" Ant Tasks In Your Build Script
....
     * Add a <Context> entry in the $CATALINA_HOME/conf/server.xml
       configuration file


>It mentions Ch 9 10 11 12 13 in the Java 2.3 Specs
>for Servlet but I couldn't find them anywhere. In the TomCat
>Architecture it goes into a lot of detail but doesn't mention the
>server & web.xml files.

Server.xml is pretty much described within subpages of
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html
though it'd be best to read the document and the sample server.xml
file included in Tomcat distribution in parallel -- the sample
server.xml contains very informative comments of the various
configuration elements.

Google search for "java servlet specification 2.3" gives as the first
match the page http://java.sun.com/products/servlet/download.html
from where you can follow the links to the actual specifiation document
(documenting, among other things, the working of the web.xml file).

Reading this might help to understand the Tomcat documentation better.
-- 
Wolf  a.k.a.  Juha Laiho     Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
         PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
0
Reply Juha.Laiho (584) 7/16/2004 9:32:03 PM

2 Replies
27 Views

(page loaded in 0.071 seconds)

Similiar Articles:









7/2/2012 3:05:01 AM


Reply: