You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Dharamshila Khandelwal <dh...@gmail.com> on 2011/04/07 18:05:48 UTC

[users@httpd] Re: Not able to get apache and tomcat ajp connection to work

*This is the error from error_logs:*

[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1818): proxy: grabbed
scoreboard slot 0 in child 17537 for worker ajp://spdlws01.hsn.net:9393/
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1934): proxy: initialized
single connection worker 0 in child 17537 for (spdlws01.hsn.net)
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1818): proxy: grabbed
scoreboard slot 1 in child 17537 for worker proxy:reverse
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1934): proxy: initialized
single connection worker 1 in child 17537 for (*)
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1818): proxy: grabbed
scoreboard slot 0 in child 17538 for worker ajp://spdlws01.hsn.net:9393/
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1837): proxy: worker ajp://
spdlws01.hsn.net:9393/ already initialized
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1934): proxy: initialized
single connection worker 0 in child 17538 for (spdlws01.hsn.net)
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1818): proxy: grabbed
scoreboard slot 1 in child 17538 for worker proxy:reverse
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1837): proxy: worker
proxy:reverse already initialized
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1934): proxy: initialized
single connection worker 1 in child 17538 for (*)
[Thu Apr 07 12:04:48 2011] [notice] Apache/2.2.17 (Unix) configured --
resuming normal operations
[Thu Apr 07 12:04:48 2011] [info] Server built: Apr  4 2011 13:28:15
[Thu Apr 07 12:04:48 2011] [debug] prefork.c(1018): AcceptMutex: sysvsem
(default: sysvsem)
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1818): proxy: grabbed
scoreboard slot 0 in child 17539 for worker ajp://spdlws01.hsn.net:9393/
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1837): proxy: worker ajp://
spdlws01.hsn.net:9393/ already initialized
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1934): proxy: initialized
single connection worker 0 in child 17539 for (spdlws01.hsn.net)
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1818): proxy: grabbed
scoreboard slot 1 in child 17539 for worker proxy:reverse
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1837): proxy: worker
proxy:reverse already initialized
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1934): proxy: initialized
single connection worker 1 in child 17539 for (*)
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1818): proxy: grabbed
scoreboard slot 0 in child 17540 for worker ajp://spdlws01.hsn.net:9393/
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1837): proxy: worker ajp://
spdlws01.hsn.net:9393/ already initialized
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1934): proxy: initialized
single connection worker 0 in child 17540 for (spdlws01.hsn.net)
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1818): proxy: grabbed
scoreboard slot 1 in child 17540 for worker proxy:reverse
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1837): proxy: worker
proxy:reverse already initialized
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1934): proxy: initialized
single connection worker 1 in child 17540 for (*)
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1818): proxy: grabbed
scoreboard slot 0 in child 17541 for worker ajp://spdlws01.hsn.net:9393/
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1837): proxy: worker ajp://
spdlws01.hsn.net:9393/ already initialized
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1934): proxy: initialized
single connection worker 0 in child 17541 for (spdlws01.hsn.net)
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1818): proxy: grabbed
scoreboard slot 1 in child 17541 for worker proxy:reverse
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1837): proxy: worker
proxy:reverse already initialized
[Thu Apr 07 12:04:48 2011] [debug] proxy_util.c(1934): proxy: initialized
single connection worker 1 in child 17541 for (*)





On Thu, Apr 7, 2011 at 11:43 AM, Dharamshila Khandelwal <
dharmshila.k@gmail.com> wrote:

> I am trying to get tomcat and apache AJP connection to work using mod
>
>
> *I have the following configuration for apache 2.2.15 httpd.conf:*
>
> Listen *9093*
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
>
> <Proxy *>
> AddDefaultCharset Off
> Order deny,allow
> Allow from all
> </Proxy>
> ProxyPass /MOVE ajp://spdlws01.hsn.net:9393/
> ProxyPassReverse /MOVE ajp://spdlws01.hsn.net:9393/
>
> *Error from apache access.log *
>
> 10.17.113.24 - - [07/Apr/2011:11:36:53 -0400] "GET /MOVE/login.jsp
> HTTP/1.1" 400 -
> 10.17.113.24 - - [07/Apr/2011:11:37:33 -0400] "GET /MOVE/login.jsp
> HTTP/1.1" 400 -
> 10.17.113.24 - - [07/Apr/2011:11:37:34 -0400] "GET /MOVE/login.jsp
> HTTP/1.1" 400 -
> 10.17.113.24 - - [07/Apr/2011:11:37:35 -0400] "GET /MOVE/login.jsp
> HTTP/1.1" 400 -
>
>
> On the tomcat side, the code is located in $TOMCAT_HOME/webapps
> AJP port is 9393
> HTTP port is 9593.
>
> The website on tomcat is running on 9593.
>
> When I try to invoke the website on 9093 (which is apache listen port), I
> get page cannot be displayed error.
> Also when I invoke website on apache listen port, catalina logs are not
> updated at all.
>
>
>
>