Apache+mod_jk

Simon Tomazic simon at aborigin.net
Mon Feb 18 14:17:01 CET 2002


Instaliru sem Apache in modul mod_jk. Namestiv sem tudi JDK-1.2.2_011
in mi dela.

httpd.conf imam vpisano tole:

# Load mod_jk
#
LoadModule      jk_module  libexec/mod_jk.so
AddModule       mod_jk.c

# Configure mod_jk
#
JkWorkersFile   /var/lib/jakarta-tomcat-3.3a-src/src/etc/jk/workers.properties
JkLogFile       /var/log/mod_jk.log
JkLogLevel      info

<VirtualHost xxx.xxx.xxx.xxx>
        DocumentRoot /home/www/data
        ServerName nekaj.nekaj.si
                <Location "WEB-INF/">
                AllowOverride None
                deny from all
                </Location>
        JkMount /*.jsp ajp13
        JkMount /*.xml ajp13
        JkMount /servlet/* ajp13
</VirtualHost>

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request

v logu mi pa javlja tole:
[Mon Feb 18 14:13:30 2002]  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (196)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (635)]: Error connecting to the Tomcat process.
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (848)]: In jk_endpoint_t::service, send_request failed in send loop 0
[Mon Feb 18 14:13:30 2002]  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (196)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (635)]: Error connecting to the Tomcat process.
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (848)]: In jk_endpoint_t::service, send_request failed in send loop 1
[Mon Feb 18 14:13:30 2002]  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (196)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (635)]: Error connecting to the Tomcat process.
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (848)]: In jk_endpoint_t::service, send_request failed in send loop 2
[Mon Feb 18 14:13:30 2002]  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (196)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (635)]: Error connecting to the Tomcat process.
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (848)]: In jk_endpoint_t::service, send_request failed in send loop 0
[Mon Feb 18 14:13:30 2002]  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (196)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (635)]: Error connecting to the Tomcat process.
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (848)]: In jk_endpoint_t::service, send_request failed in send loop 1
[Mon Feb 18 14:13:30 2002]  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (196)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (635)]: Error connecting to the Tomcat process.
[Mon Feb 18 14:13:30 2002]  [jk_ajp13_worker.c (848)]: In jk_endpoint_t::service, send_request failed in send loop 2

Dobil sem web aplikacijo ki ima koncnice jsp. in pod windozam dela,
zdaj pa je to treba usposobit še pod Linuxom. Prebral sem kar nekaj
howto-jev in raznih navodil pa mi ne uspe usposobit modula da bi stvar
zaspilala.
Ce se je z ekdo ukvarjal z instalacijo ali pa je imel podobne
probleme, ce se javi in mi pomaga bi bilo zelo dobrodoslo.

Ce sem kaj pozabil napisat, da bi lahko problem bil hitreje ugotovljen
me opozorite.

-- 
LP

 Simon





More information about the lugos-list mailing list