httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Cuthbert <benjamin.cuthb...@db.com>
Subject Re: Apache BUG: 36495 : ajp_proxy_connect_backend failure
Date Fri, 15 Dec 2006 08:24:50 GMT
I copied the proxy_util.c from trunk and put it in 
httpd-2.2.3/modules/proxy/

When i compiled i got

Making install in proxy
/apps/exlink/SOURCES/httpd-2.2.3/srclib/apr/libtool --silent 
--mode=compile gcc   -DSSL_EXPERIMENTAL -DSSL_ENGINE  -DSOLARIS2=10 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE 
-I/apps/exlink/SOURCES/httpd-2.2.3/srclib/pcre -I. 
-I/apps/exlink/SOURCES/httpd-2.2.3/os/unix 
-I/apps/exlink/SOURCES/httpd-2.2.3/server/mpm/prefork 
-I/apps/exlink/SOURCES/httpd-2.2.3/modules/http 
-I/apps/exlink/SOURCES/httpd-2.2.3/modules/filters 
-I/apps/exlink/SOURCES/httpd-2.2.3/modules/proxy 
-I/apps/exlink/SOURCES/httpd-2.2.3/include 
-I/apps/exlink/SOURCES/httpd-2.2.3/modules/generators 
-I/apps/exlink/SOURCES/httpd-2.2.3/modules/mappers 
-I/apps/exlink/SOURCES/httpd-2.2.3/modules/database 
-I/apps/exlink/SOURCES/httpd-2.2.3/srclib/apr/include 
-I/apps/exlink/SOURCES/httpd-2.2.3/srclib/apr-util/include 
-I/apps/exlink/SOURCES/httpd-2.2.3/srclib/apr-util/xml/expat/lib 
-I/apps/exlink/SOURCES/httpd-2.2.3/modules/proxy/../generators 
-I/usr/sfw/include -I/apps/exlink/SOURCES/httpd-2.2.3/modules/ssl 
-I/apps/exlink/SOURCES/httpd-2.2.3/modules/dav/main -prefer-non-pic 
-static -c proxy_util.c && touch proxy_util.lo
proxy_util.c: In function `ap_proxy_location_reverse_map':
proxy_util.c:1098: error: `proxy_req_conf' undeclared (first use in this 
function)
proxy_util.c:1098: error: (Each undeclared identifier is reported only 
once
proxy_util.c:1098: error: for each function it appears in.)
proxy_util.c:1098: error: `rconf' undeclared (first use in this function)
proxy_util.c:1112: error: structure has no member named `interpolate_env'
proxy_util.c: In function `ap_proxy_cookie_reverse_map':
proxy_util.c:1140: error: `proxy_req_conf' undeclared (first use in this 
function)
proxy_util.c:1140: error: `rconf' undeclared (first use in this function)
proxy_util.c:1170: error: structure has no member named `interpolate_env'
proxy_util.c:1192: error: structure has no member named `interpolate_env'
proxy_util.c: In function `ap_proxy_initialize_worker':
proxy_util.c:1792: error: structure has no member named `retry_set'
*** Error code 1
make: Fatal error: Command failed for target `proxy_util.lo'
Current working directory /apps/exlink/SOURCES/httpd-2.2.3/modules/proxy
*** Error code 1
The following command caused the error:
otarget=`echo install-recursive|sed s/-recursive//`; \
list='  '; \
for i in $list; do \
    if test -d "$i"; then \
        target="$otarget"; \
        echo "Making $target in $i"; \
        if test "$i" = "."; then \
                made_local=yes; \
                target="local-$target"; \
        fi; \
        (cd $i && make $target) || exit 1; \
    fi; \
done; \
if test "$otarget" = "all" && test -z 'libmod_proxy.la 
libmod_proxy_connect.la libmod_proxy_ftp.la libmod_proxy_http.la 
libmod_proxy_ajp.la libmod_proxy_balancer.la'; then \
    made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
    make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `install-recursive'
Current working directory /apps/exlink/SOURCES/httpd-2.2.3/modules/proxy
*** Error code 1
The following command caused the error:
otarget=`echo install-recursive|sed s/-recursive//`; \
list='  aaa filters loggers metadata proxy ssl http generators mappers'; \
for i in $list; do \
    if test -d "$i"; then \
        target="$otarget"; \
        echo "Making $target in $i"; \
        if test "$i" = "."; then \
                made_local=yes; \
                target="local-$target"; \
        fi; \
        (cd $i && make $target) || exit 1; \
    fi; \
done; \
if test "$otarget" = "all" && test -z ''; then \
    made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
    make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `install-recursive'
Current working directory /apps/exlink/SOURCES/httpd-2.2.3/modules
*** Error code 1
The following command caused the error:
otarget=`echo install-recursive|sed s/-recursive//`; \
list='  srclib os server modules support'; \
for i in $list; do \
    if test -d "$i"; then \
        target="$otarget"; \
        echo "Making $target in $i"; \
        if test "$i" = "."; then \
                made_local=yes; \
                target="local-$target"; \
        fi; \
        (cd $i && make $target) || exit 1; \
    fi; \
done; \
if test "$otarget" = "all" && test -z 'httpd  '; then \
    made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
    make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `install-recursive'

Regards

Ben Cuthbert
Deutsche Bank AG
Corporate & Investment Bank
GTO : TISO / Arch Global Finance / Prime Services
PGP: http://pgp.mit.edu
+44 (0) 20 754 76389 (Tel)
+44 (0) 20 754 74996 (Fax)



Mladen Turk <mturk@apache.org> 
11/07/2006 08:18 AM
Please respond to
dev@httpd.apache.org


To
dev@httpd.apache.org
cc

Subject
Re: Apache BUG: 36495  : ajp_proxy_connect_backend failure






Benjamin Cuthbert wrote:
> 
> 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=36495
> 
> Does anyone know if this bug was fixed ?
>

It is in the trunk, where there is alternative socket
is_connected detection.
Can you check the trunk, or at least copy the new
is_socket_connected from tunk's proxy_util.c to the
2.2.x and see if it works.

I have tested the new implementation on Solaris, and it works fine.
Without that the closed socket by Tomcat is not detected on most
platforms.

Regards,
Mladen.




---

This e-mail may contain confidential and/or privileged information. If you 
are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail. Any 
unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.
Mime
View raw message