RE: [users@httpd] Apache2 Proxy to Tomcat backend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings:

Note the target computer is SuSe 9.3x running on an IBM Mainframe; therefore, it is 64-bit.

Ok, I downloaded Apache2 2.2.3 source and have attempted to run the following:

./configure --prefix=/srv/www/apache2
make

Now, the make is failing as follows:

Welcome to SUSE LINUX Enterprise Server 9 (s390x) - Kernel 2.6.5-7.282-s390x (0)
.
balweb21:/addons/httpd-2.2.3 # make
Making all in srclib
make[1]: Entering directory `/addons/httpd-2.2.3/srclib'
Making all in apr
make[2]: Entering directory `/addons/httpd-2.2.3/srclib/apr'
make[3]: Entering directory `/addons/httpd-2.2.3/srclib/apr'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/addons/httpd-2.2.3/srclib/apr'
make[2]: Leaving directory `/addons/httpd-2.2.3/srclib/apr'
Making all in apr-util
make[2]: Entering directory `/addons/httpd-2.2.3/srclib/apr-util'
make[3]: Entering directory `/addons/httpd-2.2.3/srclib/apr-util'
/bin/sh /addons/httpd-2.2.3/srclib/apr/libtool --silent --mode=link  gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   -I/addons/httpd-2.2.3/srclib/apr-util/include -I/addons/httpd-2.2.3/srclib/apr-util/include/private  -I/addons/httpd-2.2.3/srclib/apr/include    -version-info 2:7:2    -o libaprutil-1.la -rpath /srv/www/apache2/lib buckets/apr_buckets_pipe.lo buckets/apr_buckets_flush.lo buckets/apr_buckets_alloc.lo buckets/apr_buckets_pool.lo buckets/apr_buckets_socket.lo buckets/apr_buckets_heap.lo buckets/apr_buckets_simple.lo buckets/apr_buckets_file.lo buckets/apr_buckets.lo buckets/apr_buckets_mmap.lo buckets/apr_buckets_eos.lo buckets/apr_brigade.lo buckets/apr_buckets_refcount.lo crypto/apr_sha1.lo crypto/uuid.lo crypto/getuuid.lo crypto/apr_md5.lo crypto/apr_md4.lo dbm/apr_dbm.lo dbm/apr_dbm_berkeleydb.lo dbm/apr_dbm_gdbm.lo dbm/apr_dbm_ndbm.lo dbm/apr_dbm_sdbm.lo dbm/sdbm/sdbm_pair.lo dbm/sdbm/sdbm.lo dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo encoding/apr_base64.lo hooks/apr_hooks.lo ldap/apr_ldap_url.lo ldap/apr_ldap_option.lo ldap/apr_ldap_init.lo misc/apr_reslist.lo misc/apu_version.lo misc/apr_date.lo misc/apr_rmm.lo misc/apr_queue.lo uri/apr_uri.lo xml/apr_xml.lo strmatch/apr_strmatch.lo xlate/xlate.lo dbd/apr_dbd.lo dbd/apr_dbd_sqlite2.lo dbd/apr_dbd_sqlite3.lo dbd/apr_dbd_pgsql.lo   -lrt -lcrypt  -lpthread -ldl  /usr/lib/libexpat.la /addons/httpd-2.2.3/srclib/apr/libapr-1.la -lrt -lcrypt -lpthread -ldl
/usr/lib/libexpat.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [libaprutil-1.la] Error 1
make[3]: Leaving directory `/addons/httpd-2.2.3/srclib/apr-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/addons/httpd-2.2.3/srclib/apr-util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/addons/httpd-2.2.3/srclib'
make: *** [all-recursive] Error 1
balweb21:/addons/httpd-2.2.3 #


Does anyone know how to correct this problem??


Best regards.

Roger Hendrix
Information Services
Baldor Electric Co.
5711 R. S. Boreham, Jr. St.  72908

Phone:   479-648-5823

Internal Web.:  http://my.baldor.com
External Web:  http://www.baldor.com


-----Original Message-----
From: Nick Kew [mailto:nick@xxxxxxxxxxxx]
Sent: Tuesday, October 31, 2006 11:37 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Apache2 Proxy to Tomcat backend


On Tue, 31 Oct 2006 11:23:49 -0600
"Roger Hendrix at Baldor-IS" <RHendrix@xxxxxxxxxx> wrote:

> Greetings:
> 
> I am trying to configure an Apache front-end Proxy Service to talk to
> a backend Tomcat Server.
> 
> The Apache Server is:	 apache2-2.0.49-27.59
> The Tomcat Server is: jakaarta-tomcat-5.0.19-29.1
> 
> The Apache Server is configured using ProxyPass and ProxyPreserveHost
> statements.
> 
> Users can connect to the java application.

Upgrade to Apache 2.2, and use whatever is necessary of its
new proxy cookie manipulation capabilities.

That also gives you the benefit of mod_proxy_ajp, for more
efficient connection to Tomcat.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux