Hello all,
I still have not been able to get mod_jk working. If anyone has any ideas,
I'd like to hear them! I did FINALLY get mod_jserv working. Here is what I
did:
I decided to try to follow the instructions for downloading Jserv binaries
that someone sent in an earlier reply to my problem.
1. First went to
http://java.apache.org/jserv/install/howto.unix_install.html
2. From there it gives specific requirements for building Jserv. I didn't
previously have the Java Servlet Development Kit 2.0, so I got that from
http://java.sun.com/products/servlet/archive.html . (Maybe this is related
to my problems with mod_jk?)
3. I untarred the JSDK2.0 and put it in a directory on my system.
4. THen, I downloaded the Jserv binary from
http://java.apache.org/jserv/dist .(There are a bunch or rpms which I
avoided and got the gz file, and opened that into a temp directory on my
system.
5. THen, I went back to
http://java.apache.org/jserv/install/howto.unix_install.html and followed
the instructions from the section titled Configure Apache JServ, and from
the email from Sendai. He says:
./configure --prefix=/usr/local/jserv --with-apxs=/usr/local/apache/bin/apxs
--with-jdk-home=/path/to/jdk --with-JSDK=/path/to/jsdk.jar --disable-debugg
ing
(Note: I didn't find a jsdk.jar file on my machine anywhere, but I put the
path to where I had installe jsdk2.0 in step 3 above and that seemed to work
okay.)
And Wallah! It worked! Geeze! What an incredible task this was! I have
to say that previously on another Linux machine, I followed the basic
instructions for compiling the mod_jserv by downloading the src distribution
of tomcat and then going into the src/native/apache/jserv directory and
typing the command
apxs -c -o mod_jserv.so *.c
and it worked like a charm.
I don't know why it isn't working on this setup, but it isn't. And like I
said, I never could get mod_jk working -- and that seems to be the preferred
way to set this up. So, I would still like informaiton if anyone figures
out what else I might try. In the mean time, I hope this information is
helpful to someone else!
- Sue Evans
-----Original Message-----
From: Kevin Shortt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 4:39 PM
To: [EMAIL PROTECTED]
Subject: RE: mod_jk and mod_jserv compiling problems
I am getting this EXACT same error on Solaris 2.7.
It appears that apxs is calling a command with arguments only.
I haven't solved my problem either. Any help would be appreciated.
I will post my solution when I resolve it.
-k
> -----Original Message-----
> From: Sue Evans [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 25, 2001 3:31 PM
> /usr/local/apache/bin/apxs -o
mod_jk.so -I../jk -I/usr/java/jdk1.3.0_02/inc
> lude -I/usr/java/jdk1.3.0_02/include/linux -c *.c ../jk/*.c
>
> What I get is this:
>
> -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
> jk_pool.o jk_nwmain.o jk_msg_buf
> f.o jk_map.o jk_lb_worker.o jk_jni_worker.o jk_connect.o jk_ajp13_worker.o
> jk_ajp13.o jk_ajp12_worker.
> o mod_jk.o
> apxs:Break: Command failed with rc=255