You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Meyer, James" <ja...@experian.com> on 2001/07/12 19:17:22 UTC

RE: mod_jk for solaris

I have just finished compiling mod_jk.so for solaris 8 using gcc 2.9.5 so I
know it works :) 

 The problem that I was having involved getting a rc=255 error at the end of
the apxs procedure. This was fixed by adding /usr/ccs/bin to the path(this
is where ld lives).  The following is the script that I used to compile,
please note that everything below the export commands is one line.

cd $TOMCAT/src/native/apache1.3 

--start script
#!/usr/bin/bash
export APACHE_HOME=/usr/local/apache
export PATH=$PATH:/usr/ccs/bin
/usr/local/apache/bin/apxs -o mod_jk.so  -DSOLARIS -I../jk
-I/usr/java/include -I/usr/java/include/solaris  -lposix4 -c *.c ../jk/*.c
---end script---

-James

-----Original Message-----
From: Paul Lombardo [mailto:PLombardo@icici-info.com]
Sent: Thursday, July 12, 2001 10:52 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: mod_jk for solaris


Yep!  and if I find it I'll send it to you.  I am recompileng Apache
woth the mod_so configured in so I hope the apxs stuff will work.

-----Original Message-----
From: abarron@gol.com [mailto:abarron@gol.com]
Sent: Thursday, July 12, 2001 11:18 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: mod_jk for solaris


Hi Paul,

It appears we are fighting the same battle at the same time.  I have
ripped
through this for an entire night.  Not only isn't there a build script
for
solaris in the default  tar, the apxs compile directions are wrong!

I have simply asked some one for a recompiled version.  It is easier.
BTW,
then you have to work with the mod_jk.conf file and start configuring
what
gets passed.

If I get the file, I will send it to you.

ab

Paul Lombardo wrote:

> Good morning all -
>
> I am attempting to setup and configure Tomcat 3.2.2. to use with
Apache
> 1.3.x  on a Solaris 2.6 machine.
>
> I have Apache in and running.  I have Tomcat installed and handling
> requests on port 8080.
>
> I now need to set things up so that Apache will hand off requests for
> jsp to tomcat and I am assuming that for that I need to setup mod_jk
(or
> is that mod_jk.so)
>
> Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3  dorectory I
> have:
>
> Makefile.freebsd  Makefile.linux    Makefile.nw       mod_jk.c
> mod_jk.dsp
>
> I don't see one for Solaris.  I went tp the web and downloaded a
> mod_jk.so and tried that, but upon inspection the source file was full
> of garbage and was useless.
>
> I am so close I can taste it.  any suggestions?
>
> Paul
>
> "This document may contain confidential information, as well as
> proprietary information, of ICICI Infotech, Inc.  Your company and its
> employees agree to keep the material in this document confidential and
> any violation of this paragraph is strictly prohibited."
>  <<Paul V. Lombardo (Business Fax).vcf>>