httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: [users@httpd] Configuration of Tomcat 5.5 and Apache 2.2
Date Mon, 11 May 2009 14:05:34 GMT
Hracek, Petr wrote:
> Hello all,
> In my system I would like to enable servlets on my system but
> unfortunatelly
> I found two ways of these functionality.
> First case::
> mod_proxy_ajp
> Second case:
> mod_jk connector.
> For first case I have question if the servlets are stored in
> /opt/pm/servlet directory
> what is correct syntax used in configuration file of apache 2.2?
> How it should look like ProxyPass and ProxyPassReverse?
> I have been using mod_jk (Version 3.2.1) with apache 1.3
> There were several directives as JkMount, JkWorkersFileJkLogLevel.
> Are these directives working for the latest mod_jk connector as well?
I don't think that there was ever a mod_jk version 3.2.1.  Where did you 
get that version number from ? The current version is 1.2.28.

Start by having a look at the on-line documentation :

Apache (httpd) does not run servlets.  Tomcat does. Where the servlets 
are stored on disk and what they do and how they do it, is not a concern 
of Apache, but of Tomcat.
So, in any case, the first step would be to set up Tomcat, then check if 
your servlets work properly when accessing Tomcat directly from the 
browser (presumably on port 8080 or so).
(Make a note of the URLs you use to access the servlets, but that is 
something you will need, to configure the connector.)

When that is working, then you can start thinking about how to go 
through Apache, and an Apache/Tomcat connector, to access those same 
servlets.  You will have to choose a connector.  If you have used mod_jk 
before, then I would recommend to stick with it, there will be less 
Basically the configuration is identical for Apache 2.2.x as it was for 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message