OK, I got the module to build--thanks for your response.

I have a new problem getting it to run.  I'm trying to get Apache to run
the JVM inprocess.  I see the following error in Apache's log file:

Can't load native library libjvm.so : libjvm.so: cannot open shared object file: No 
such file or directory

I ran "./configure --with-apr-lib=/usr/lib/apr --with-apxs2=/usr/sbin/apxs --with-jni"

And then hacked jk/native2/server/apache2/Makefile, changing APACHE2_LIBDIR
to /usr/lib/apr (that was the only way I could get it to find
libapr-0.a).

And copied the files jkjni.so and mod_jk2.so to Apache's modules
directory.

Am I missing anything else?

Some of the documentation I've found mentions a file, mod_jk2.dsp, but
the contents of the file itself suggests it's only for Win32.  Is this
true?

Thanks,
Dhruva

On Tue, Jun 10, 2003 at 06:36:27AM -0400, Eric J. Pinnell wrote:
> What I have found, and this for mod_jk2, is that all it really wants is
> axps.  So ./configure --with-axps2=/path/to/apache2/bin/axps worked for
> me.
> 
> Then make.  Then it put mod_jk2.so in the build directory and I copied it
> over to the apache modules directory.
> 
> This might work for mod_jk.  I'd give it a try.
> 
> -e
> 
> On Mon, 9 Jun 2003, Dhruva B. Reddy wrote:
> 
> > I'm having trouble getting Tomcat 4.1.18 to run with Apache 2.0.40 on
> > Redhat Linux 8.0 and this seemed the most appropriate place to turn.
> >
> > More specifically, I'm trying to build mod_jk.  I get various errors
> > when running the configure script (depending the arguments that I feed
> > it).
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to