See this page in (approximate): Español| Français| Italiano| Deutsch| Português

Some Information About The Tomcat Web-Server

[make a comment about (or add to) this document] | [Alexis Documentation Home]

1. INTRODUCTION
2. A FEW TIPS
3. TUTORIAL STYLE ARTICLES
4. SOME RESOURCES
5. CONNECTING APACHE AND TOMCAT
6. PROBLEMS CONNECTION APACHE AND TOMCAT



1.  INTRODUCTION [TOC]



   This file contains some links for Internet resources for the Apache Tomcat
   Web-Server. Tomcat is also called an 'application server'. It is capable of
   serving Java Server Pages, (JSP's) as well as Java Servelets. Tomcat is part
   of the Apache Projects

2.  A FEW TIPS [TOC]



   Under RedHat Linux, there is an initialization script (that is a script to
   start and stop tomcat) at  /etc/rc.d/init.d/tomcat and also another one
   at /usr/bin/dtomcat4    The first one appears to call the second one. I had
   miscellaneous problems with the first one.

   I am attempting to use the 'mod_jk' module in order to join Tocat and
   The Apache WebServer. Eventually the solution to getting mod_jk to work
   with Apache and Tomcat was to actually recompile mod_jk.

   Need to change the worker.java_home value in the 'workers.properties' file

   The file called 'tomcat-users.xml' controls authentication to tomcat pages
   and resources.

3.  TUTORIAL STYLE ARTICLES [TOC]



  [*]http://www.codesta.com/knowledge/technical/tomcat_warp_apache/index.jsp
     Contains some information about multiple tomcat instances


4.  SOME RESOURCES [TOC]



  Apparently there is a 'tomcat-apache HOWTO' document which describes how to
  connect the two applications. Possibly 'mod jserv' is important. Actually
  mod_jserv is the old connector module which now appears to be superceded by
  mod_jk


[*]http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/
    A mailing list archive for Tomcat

[*]http://www.jguru.com/forums/home.jsp?topic=Tomcat
    A tomcat forum

[*]http://java.sun.com/products/servlet/2.2/
    The Sun Microsystems Servlet specification. In some respects it may be
    possible to use this to work out how Tomcat works or should work.

[*]http://www.jguru.com/faq/view.jsp?EID=524500
    Some questions about integrating Tomcat and Apache

  Tomcat: A Minimalistic User's Guide written by Gal Shachor,
    A document I dont have a url for.

[*]http://mikal.org/interests/java/tomcat/
    A mailing list archive for Tomcat

5.  CONNECTING APACHE AND TOMCAT [TOC]



   /tomcat-docs/jk2/
     Under the default installation, in this directory are instructions for
     using mod_jk

[*]http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache-howto.html
    An apache tomcat connecting Howto. But this is for Tomcat 3.2 where as the
    American Server uses Tomcat4.

[*]http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/bin/
    Binaries for mod_jk, for various apaches

[*]http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html
    A 'working with mod_jk' document, also written by Gal Shachor.

6.  PROBLEMS CONNECTION APACHE AND TOMCAT [TOC]



   At the moment, may 19, 2003, Tomcat and Apache are not communicating
   properly in the American Server: mod_jk seems to be loaded, the static
   HTML pages are mapped to the correct locations but the jsps and servlets
   are not mapped.

   Possible solutions:
     use the 'auto-conf' mode of Tomcat and Apache- See the
     Tomcat documentation for how.

     Change the mod_jk.so binary file which is in the apache modules
     directory. The Barcelona Debian Server did not have SSL enabled whereas
     the American Apache Web Server does have SSL. Also, in the release
     directory (url given above), there are different binaries for SSL and
     non SSL Apache Servers.

  Actual Solution
    Recompile mod_jk on the target computer


BACK TO THE TABLE OF CONTENTS
If you wish, you may add a comment, suggestion or other contribution which will appear at the end of this document.
Any input you make is greatly appreciated.


Your Comment (or other contribution to this document)


Your Name [OPTIONAL BUT NICE]


See this page in (approximate): Español| Français| Italiano| Deutsch| Português
Hosted by www.Geocities.ws

1