Re: Jakarta-Tomcat

From: Sandor W. Sklar (ssklar@STANFORD.EDU)
Date: Fri Aug 23 2002 - 22:04:32 EDT


On Friday, August 23, 2002, at 03:45 PM, Aaron W Morris wrote:

> You never mentioned Apache in your original post.

Actually, the original poster mentioned Apache in the first sentence of
his post (which is quoted at the bottom.)

> If you post the error message, perhaps I can help. I have some
> experience compiling mod_jk on AIX.

That would be great; basically, I:

* download jakarta-tomcat-connectors-4.0.4-src.tar.gz

* decompress it using gnu tar so the long links don't break

* cd jk/native/apache-1.3

* edit the "build-hpux-cc.sh" script (that looks like the closest to
aix), and make the following changes:

$ diff build-hpux-cc.sh build-aix.sh

13,14c13,14
< APACHE_HOME=/usr/local/apache
< JAVA_HOME=/opt/java1.3

---
 > APACHE_HOME=/opt/www/apache
 > JAVA_HOME=/usr/java
25c25
< if [ ! -d $JAVA_HOME/include/hp-ux ] ; then
---
 > if [ ! -d $JAVA_HOME/include  ]; then
31c31
< JAVA_INCLUDE="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/hp-ux"
---
 > JAVA_INCLUDE="-I${JAVA_HOME}/include "
* run the new "build-aix.sh" script.
The compilation chugs along fine (a couple of warnings, but no biggies)
, and then dies near the end with:
ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry
-bI:/usr/local/stronghold/modules/libexec/httpd.exp -lc -o mod_jk.so
mod_jk.o jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
jk_pool.o jk_nwmain.o jk_msg_buff.o jk_md5.o jk_map.o jk_lb_worker.o
jk_jni_worker.o jk_context.o jk_connect.o jk_ajp_common.o
jk_ajp14_worker.o jk_ajp14.o jk_ajp13_worker.o jk_ajp13.o
jk_ajp12_worker.o
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
apxs:Break: Command failed with rc=524288
Error with apxs
If I google for that "axps:Break: ... " error, I see many posts from
people with the same problem, compiling various modules, but I haven't
run into any solutions.
If you can help, that would be greatly appreciated!
Thanks,
        --Sandy
>
> "Sandor W. Sklar" <ssklar@STANFORD.EDU> wrote:
>
>> On Friday, August 23, 2002, at 10:07  AM, Aaron W Morris wrote:
>>
>>> The binary installation of Jakarta Tomcat has everything you need to
>>> run Tomcat.  Also, the binary installation of Tomcat is not platform
>>> specific.
>>
>> That is true; however, he is trying to integrate Tomcat with Apache,
>> using (I'm guessing) mod_jk, which is not available in binary form,
>> and
>> must be compiled for the platform it is being run on.
>>
>> I've been successful on Solaris and Mac OSX, but getting mod_jk to
>> compile on AIX has still eluded me.  Doing a quick google, I see that
>> I'm not alone.  Google doesn't give any obvious solutions, either.
>>
>> I suspect I could get it to work if I recompiled Apache from source,
>> but I haven't had the time to go that far, so for now, production goes
>> on Sun (and development goes on my Mac!  :-)
>>
>> Jai, if you get a definitive solution off-list, I'd appreciate it if
>> you would share it.
>>
>> Thanks,
>>        -s-
>>
>>>
>>> "RANGI, JAI" <JAI_RANGI@SDSTATE.EDU> wrote:
>>>
>>>> Hi,
>>>> I am trying to configure Jakarta-Tomcat on AIX-5L on Apache Server.
>>>> Evenry part of Jakarta-Tomcat is looking for another package and
>>>> looks like
>>>> this is a big loop.
>>>> Has some one done this before and can some one provide me the
>>>> documentation
>>>> of How to Configure Jakarta-Tomcat for Apache on AIX. Or is there
>>>> any
>>>> place
>>>> I can find all the documentation and All the packages at one place.
>>>> Thnaks in Advance.
>>>> Jai Rangi
>>>>
>> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>> --
>> -- --
>>  Sandor W. Sklar  -  Unix Systems Administrator  -  Stanford
>> University
>> ITSS
>>  Non impediti ratione cogitationis.
>> http://whippet.stanford.edu/~ssklar
>> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>> --
>> -- --
>>
>
>
> --
> -Aaron W Morris
>
> If not fully satisfied with this email, please return unread portion
> for a full refund.  Offer void in Utah.  Other restrictions apply.
>
>
>
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas.
> Experience the convenience of buying online with Shop@Netscape!
> http://shopnow.netscape.com/
>
> Get your own FREE, personal Netscape Mail account today at
> http://webmail.netscape.com/
>
>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
  Sandor W. Sklar  -  Unix Systems Administrator  -  Stanford University
ITSS
  Non impediti ratione cogitationis.
http://whippet.stanford.edu/~ssklar
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:10 EDT