Re: Some advice on apache tomcat

2009-11-19 Thread Anthony Jay
Hi, I have failed to come up with a solution to link Apache 2.2 and Tomcat 6 using mod_jk / mod_proxy_ajp in a way that satisfies my requirements. (Seamless form based authentication, CMS using wordpress etc.) I can get 98% there but the last 2% is the blocker and I am running out of options.

Re: Some advice on apache tomcat

2009-11-19 Thread Hassan Schroeder
On Thu, Nov 19, 2009 at 5:21 AM, Anthony Jay anthony...@fastmail.fm wrote: My question is what is the recommended wordpress replacement that I can use on Tomcat to provide content management via database as well as providing blogging capability? You do know that every time someone uses

Re: Some advice on apache tomcat

2009-11-17 Thread Pid
On 16/11/2009 22:07, André Warnier wrote: Anthony Jay wrote: My main issue now is about how the authentication works between Tomcat and Apache. That's the only one I can readily answer. It is extremely simple with mod_jk. If the user is authenticated at the Apache level, mod_jk will pass this

Re: Some advice on apache tomcat

2009-11-17 Thread Anthony Jay
Yep, I had come accross mod_auth_cookie, but its current status is questionable and people seem to have moved on to other things. I am just trying to find out what those other things are! Best practises etc. It would be nice to conduct a poll to find out what people are actually using. I am

RE: Some advice on apache tomcat

2009-11-16 Thread Neil Aggarwal
Anthony: I am researching porting my site to Apache 2.2 and Tomcat, and hope to gain the following. 1. Serve the static content from apache e.g. images, clips sound, text files etc. I do that will all of my JSP apps. I set up Apache on the front end and use mod_jk to push JSP/servlet stuff

RE: Some advice on apache tomcat

2009-11-16 Thread Anthony Jay
Hi Neil, Thanks for the comments, I really appreciate hearing from someone that has actual production experience using these technologies! To answer your question below, I *could* have all my servlets in one webapp but that would not be my preference. For example I would like the capability

Re: Some advice on apache tomcat

2009-11-16 Thread Pid
On 16/11/2009 17:53, Anthony Jay wrote: Hi, I am in need of some advice. My current setup is a web application running on Jboss which serves static and dynamic content, jsp, servlets and xml on two non load balanced servers (hot spare using mysql replication). It currently uses

Re: Some advice on apache tomcat

2009-11-16 Thread André Warnier
Anthony Jay wrote: My main issue now is about how the authentication works between Tomcat and Apache. That's the only one I can readily answer. It is extremely simple with mod_jk. If the user is authenticated at the Apache level, mod_jk will pass this on to the Tomcat server via AJP. The only

Re: Some advice on apache tomcat

2009-11-16 Thread Elli Albek
You can also look at squid to serve static files and load balance. So squid fronts tomcat and your other apps. Squid can serve your static files as well. All you have to do it make sure your static files return a cache header like max-age, and squid will serve them without going to the origin

Re: Some advice on apache tomcat

2009-11-16 Thread Anthony Jay
Thanks. Squid may be a contender but I need the CMS and blogging that comes with apache/php. Although maybe someday our traffic may get to the point where we will need squid to keep up! Now that would be a good problem to have! Thanks for the pointer. On Mon, 16 Nov 2009 15:36 -0800, Elli Albek

Re: Some advice on apache tomcat

2009-11-16 Thread Anthony Jay
Thank you very much for your informative comments. In terms of breaking an application into single servlets, I agree that there would need to be strong reasons for doing it, and the clear one that springs to mind is the requirement to have different authn methods for each, None, Form, and http

RE: Some advice on apache tomcat

2009-11-16 Thread Neil Aggarwal
Tony: using Tomcat. This is good, how do you handle ssl? Does Apache terminate any SSL, all ssl or only static pages? Apache terminates the SSL connection and I use JkMount to push JSP/Servlet stuff into Tomcat. Neil -- Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net Host your