Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

Christopher Schultz

2006-11-15

Replies:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lars,

Lars Nielsen Lind wrote:
> I have tried with mod_jk but can't make it work. I get this err msg in
> mod_jk.log:
>
> [Wed Nov 15 00:32:34 2006] [16667:10448] [error]
> ajp_validate::jk_ajp_common.c (1931): can't resolve tomcat address
> localhost

This suggests a name resolution problem.

> And mod_jk this way:
>
> ./buildconf.sh
> ./configure --with-apxs=/opt/apache-2.2.3/bin/apxs
> --with-java-home=/opt/jdk1.5.0_09 --enable-jni

I believe that the JNI connector is deprecated. Are you intending to run
mod_jk with JNI? I'd like to see what the rest of the list thinks about
that.

mod_jk is telling you that it cannot resolve "localhost". What do you
have in your /etc/resolv.conf? What about /etc/hosts? What happens if
you "ping localhost"?

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFWxg59CaO5/Lv0PARAq4GAKC7cA94sm//4gFeQXYEGVCfjaKeWwCcCyeB
7r6GVV76ukecB3iww2jisHo=
=wwWl
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.