RE: Configuration of Tomcat 5.5 and Apache 2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry for mistification correct version which have been already were taken from jakarta-tomcat package

When the tomcat is running and tomcat home page is /srv/www/tomcat55/base/webapps where should be applications passed
How can I tell to tomcat that my application http://localhost:8080/PM/servlet is in directory /opt/pm/servlets
What syntax should be for tomcat and for apache configuration file.
What about JkMount in apache 2.2
My configuration settings in apache 2.2 are:
<IfModule mod_jk.c>
	JkMount /PM/servlet/* ajp13
</IfModule>

And what about tomcat configuration?

regards / S pozdravem
Petr Hráček

-----Original Message-----
From: André Warnier [mailto:aw@xxxxxxxxxx] 
Sent: Monday, May 11, 2009 4:06 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Configuration of Tomcat 5.5 and Apache 2.2

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 :
http://tomcat.apache.org/connectors-doc/

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 
surprises.
Basically the configuration is identical for Apache 2.2.x as it was for 
1.3.x.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux