Author |
Message |
26/05/2010 13:40:11
|
hilka
Power User
Joined: 23/11/2007 09:00:08
Messages: 191
Offline
|
Hello Community,
did anyone ever try to put a Apache Webserver in front of the Tomcat instance and communicate between the two using AJP?
What should be placed on the Webserver (images etc.) and what has to be placed on the Tomcat?
Tobias
|
|
|
26/05/2010 14:44:00
|
schenker
Active
Joined: 12/03/2008 16:38:47
Messages: 9
Offline
|
Hi Tobias,
we're using an apache webserver in front of up to 12 Tomcat-Nodes for loadbalancing with JK over AJP. This configuration runs now for over 5 years in production and we are very happy with it.<br>
We have NO content that is served by the apache webserver, all static content (html-pages and images) is contained in the webapp deployed on the tomcat nodes. We have never tried to use apache for static content, because we don't have a lot of it.
Thomas
|
|
|
26/05/2010 15:01:32
|
hilka
Power User
Joined: 23/11/2007 09:00:08
Messages: 191
Offline
|
Hello Thomas,
thanks for your reply.
Your application is running since 5 years? I guess this is not a CaptainCasa System ;-). But anyways, seems to be a quite big system...
We already had this for some project in the past where we used another framework (ajax-based, you know which framework...). In this project, we had some static content (like images) on the Webserver and all dynamic content on the tomcat.
Just wanted to know if there are some common pitfalls for integrating a CaptainCasa application in such a scenario.
Tobias
|
|
|
26/05/2010 15:35:30
|
schenker
Active
Joined: 12/03/2008 16:38:47
Messages: 9
Offline
|
Hi Tobias,
for the application we started with 5 years ago, we in fact also used the ajax-based framework you know... <br>
But we also have several applications that are built with CaptainCasa - all running with exactly the same configuration without any problems (but of course also with no static content in the apache).
Thomas
|
|
|
26/05/2010 15:53:11
|
hilka
Power User
Joined: 23/11/2007 09:00:08
Messages: 191
Offline
|
Hi Thomas,
thanks for the answer. So there will be no surprises when we use CaptainCasa in such an environment. Thanks.
Tobias
|
|
|
|