Re: Apache 2.2 to Tomcat 6 via proxy_ajp

2009-05-28 Thread J. Zimmerman
Thanks for all of the replies. I had tried most of the suggestions previously, but things were still not working the way I wanted. Specifically I could get it to work if I was willing to using http://domain.com/appname, but not just http://domain.com/. I had seen the Tomcat virtual hosting docume

Re: Apache 2.2 to Tomcat 6 via proxy_ajp

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/21/2009 11:43 PM, Caldarale, Charles R wrote: >> From: J. Zimmerman [mailto:john.z...@gmail.com] Subject: Apache 2.2 >> to Tomcat 6 via proxy_ajp >> >> The wrench in the works is that we want to do virtual hosti

Re: Apache 2.2 to Tomcat 6 via proxy_ajp

2009-05-22 Thread Jim Jagielski
applications via port 443 or 80 and we are doing this via Apache. I can make this work via proxy_ajp and proxy_http so that something like http://hostname/appname works just fine. The wrench in the works is that we want to do virtual hosting through Apache and not have the appname appended to

Re: Apache 2.2 to Tomcat 6 via proxy_ajp

2009-05-22 Thread Mark Thomas
the > applications via port 443 or 80 and we are doing this via Apache. I can > make this work via proxy_ajp and proxy_http so that something like > http://hostname/appname works just fine. > > The wrench in the works is that we want to do virtual hosting through Apache > and not

RE: Apache 2.2 to Tomcat 6 via proxy_ajp

2009-05-21 Thread Caldarale, Charles R
> From: J. Zimmerman [mailto:john.z...@gmail.com] > Subject: Apache 2.2 to Tomcat 6 via proxy_ajp > > The wrench in the works is that we want to do virtual hosting through > Apache and not have the appname appended to it. The Apache virtual > hosted URL's will be the one

Apache 2.2 to Tomcat 6 via proxy_ajp

2009-05-21 Thread J. Zimmerman
. I can make this work via proxy_ajp and proxy_http so that something like http://hostname/appname works just fine. The wrench in the works is that we want to do virtual hosting through Apache and not have the appname appended to it. The Apache virtual hosted URL's will be the ones exposed t

Re: proxy_ajp behind a firewall

2008-07-03 Thread Michele Mase'
Thanx 4 the hint. Basically I ask 4 help because sometimes the docs are too few :( Maybe, working together with the other group (httpd) for writing a small comparison between parameters (mod_jk/proxy_ajp) should be a good help/idea. Regards Michele On Thu, Jul 3, 2008 at 10:49 AM, Rainer Jung

Re: proxy_ajp behind a firewall

2008-07-03 Thread Rainer Jung
imeout=1 worker.node1.prepost_timeout=1 worker.node1.socket_timeout=10 #This value must equal server.xml's connectionTimeout of 10 minutes worker.node1.connection_pool_timeout=600 ... Which parameters should I use with proxy_ajp? I've found that: mod_jk proxy_ajp connect_time

proxy_ajp behind a firewall

2008-07-03 Thread Michele Mase'
node1.socket_timeout=10 #This value must equal server.xml's connectionTimeout of 10 minutes worker.node1.connection_pool_timeout=600 ... Which parameters should I use with proxy_ajp? I've found that: mod_jk proxy_ajp connect_timeout ping socket_timeouttimeout t

Re: proxy_ajp sticky sessions troubles

2008-07-02 Thread Michele Mase'
thanx; changing it both apache and tomcat side solved my issue! I've also followed this blog http://www.felixwu.com/blog/?tag=proxy_ajp where the simple config i well explained. Ciao Michele On Wed, Jul 2, 2008 at 3:15 PM, Rainer Jung <[EMAIL PROTECTED]> wrote: > Hi Michele, &g

Re: proxy_ajp sticky sessions troubles

2008-07-02 Thread Rainer Jung
Hi Michele, Michele Mase' wrote: According with the documentation, I've tried to setup a load balancer apache2.2.x/tomcat5.5.x; I'm unable to maintain the session. my conf: apache2.2.9/tomcat5.5.26/jdk1.5.0_15,linux redhat5.2 apache side: RewriteEngine On ProxyPreserveHost On P

proxy_ajp sticky sessions troubles

2008-07-02 Thread Michele Mase'
According with the documentation, I've tried to setup a load balancer apache2.2.x/tomcat5.5.x; I'm unable to maintain the session. my conf: apache2.2.9/tomcat5.5.26/jdk1.5.0_15,linux redhat5.2 apache side: RewriteEngine On ProxyPreserveHost On ProxyRequests Off ProxyVia

Proxy_ajp VS. mod_jk - Performance comparation?

2008-06-30 Thread Milan Cvejic
Hello, i have simple question. What is faster? Proxy_ajp or mod_jk? I noticed weird cpu usage increase for tomcat process when i use proxy_ajp. Thanks. -- Milan Cvejić Sistem Administrator Inbox d.o.o. Software for Internet Bulevar AVNOJa 99, 11000 Beograd, Srbija tel +381 11 313 07 21 fax

Re: proxy_ajp

2008-06-25 Thread Rainer Jung
Christopher Schultz schrieb: Mark, Mark Dewey wrote: | | Is it possible that you have a firewall or iptables in the way? Can you telnet from the httpd machine to the app server over port 8007 (or 8009, depending on the server)? He should definitely try that. But I find strange, that e

Re: proxy_ajp

2008-06-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Dewey wrote: | | Is it possible that you have a firewall or iptables in the way? Can you telnet from the httpd machine to the app server over port 8007 (or 8009, depending on the server)? - -chris -BEGIN PGP SIGNATURE- Ve

Re: proxy_ajp

2008-06-25 Thread Mikolaj Rydzewski
Mark Dewey wrote: Hi yes I am. I get both over http and the usual white page for the ajp ports. I'd play with configuration element and balancer configuration to see whether it will work. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html -- Mikolaj Rydzewski <[EMAIL PROTECTED]>

Re: proxy_ajp

2008-06-25 Thread Mark Dewey
Hi yes I am. I get both over http and the usual white page for the ajp ports. Cheers, Mark Mikolaj Rydzewski wrote: Mark Dewey wrote: [Wed Jun 25 *13*:04:22 2008] [error] (*13*)*Permission* *denied*: *proxy*: *AJP*: attempt to connect to www.xxx.yyy.zzz:8007 (www.xxx.yyy.zzz) failed [Wed Jun

Re: proxy_ajp

2008-06-25 Thread Mikolaj Rydzewski
Mark Dewey wrote: [Wed Jun 25 *13*:04:22 2008] [error] (*13*)*Permission* *denied*: *proxy*: *AJP*: attempt to connect to www.xxx.yyy.zzz:8007 (www.xxx.yyy.zzz) failed [Wed Jun 25 *13*:04:22 2008] [error] ap_proxy_connect_backend disabling worker for (www.xxx.yyy.zzz) [Wed Jun 25 *13*:04:22 200

Re: proxy_ajp

2008-06-25 Thread Mark Dewey
[Wed Jun 25 *13*:04:22 2008] [error] (*13*)*Permission* *denied*: *proxy*: *AJP*: attempt to connect to www.xxx.yyy.zzz:8007 (www.xxx.yyy.zzz) failed [Wed Jun 25 *13*:04:22 2008] [error] ap_proxy_connect_backend disabling worker for (www.xxx.yyy.zzz) [Wed Jun 25 *13*:04:22 2008] [error] *proxy*:

Re: proxy_ajp

2008-06-25 Thread Mark Dewey
Hi Mark, server.xml is as follows -: SSLEngine="on" /> className="org.apache.catalina.mbeans.ServerLifecycleListener" /> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> Cheers, Mark Mark Thomas wrote: M

Re: proxy_ajp

2008-06-25 Thread Mark Thomas
Mark Dewey wrote: I am currently using proxy ajp successfully and very happy with the simplicity of configuration compared to my experiences a few years ago! I have run into a problem however. I have two version of tomcat running on one of the servers. Here is the configuration -: ProxyPass

Re: proxy_ajp

2008-06-25 Thread Mikolaj Rydzewski
Mark Dewey wrote: I am currently using proxy ajp successfully and very happy with the simplicity of configuration compared to my experiences a few years ago! I have run into a problem however. I have two version of tomcat running on one of the servers. Here is the configuration -: ProxyPass

proxy_ajp

2008-06-25 Thread Mark Dewey
I am currently using proxy ajp successfully and very happy with the simplicity of configuration compared to my experiences a few years ago! I have run into a problem however. I have two version of tomcat running on one of the servers. Here is the configuration -: ProxyPass /tc1/ ajp://www.xx