Date: Sun, 08 Feb 2009 01:39:17 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Chuck Robey <chuckr@telenix.org> Cc: freebsd-java@freebsd.org Subject: Re: tomcat again Message-ID: <498E37C5.8090208@infracaninophile.co.uk> In-Reply-To: <498E0FA7.1020102@telenix.org> References: <498E0FA7.1020102@telenix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig277750433117866B80EAB45F Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Chuck Robey wrote: > I really don't know if this should go to FreeBSD-Java or FreeBSD-ports,= I chose > ports, I hope this is right. >=20 > I'm trying to get the port of tomcat6 to proxy a webpage through the re= cently > installed Apache22 port. Both Apache22 and Tomcat6 seem to work fine w= hen > directly queried (port 8008 for Tomcat). From what I've read, I need a= mod > loaded, according to this line added to my httpd.conf: >=20 > LoadModule webapp_module libexec/apache22/mod_webapp.so >=20 Why wouldn't you use either mod_jk or mod_proxy_ajp here? Of course, you need tomcat to have an AJP13 listener set up (usually port 8009 -- example config is in the standard server.xml but commented out I think) AJP13 is just a condensed version of HTTP with most of the standard text strings replaced by binary codes, and it uses persistent apache <-> tomcat connections rather than tearing them down after each session, so it's a bit more efficient. mod_jk is more developed and more widely used but it's yet another packag= e to install. mod_proxy_ajp comes as standard with apache22 -- it's a refactoring of the mod_jk code to take all the load-balancy stuff out int= o a separate mod_proxy module and then add back in the AJP13-ness separatel= y. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig277750433117866B80EAB45F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkmON8wACgkQ8Mjk52CukIzSxwCghl+szf/oveXhBlsVmK7CXZH3 A20AmwW74ICDjq36TA0PjHkZQAJswYpl =c/jR -----END PGP SIGNATURE----- --------------enig277750433117866B80EAB45F--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?498E37C5.8090208>