tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Nielsen Lind <...@tidtilforandring.dk>
Subject Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?
Date Thu, 16 Nov 2006 08:43:45 GMT
Solved with mod_jk without JNI, and thanks for all the tips.

In my /etc/hosts there was this line:

::1   localhost.localdomain   localhost

And I added this line:

127.0.0.1   localhost.localdomain   localhost

and now I can ping localhost.




Christopher Schultz skrev:
> -----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@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message