tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Lucard <priest.luc...@gmail.com>
Subject Mod_jk error
Date Fri, 10 Jan 2014 22:53:39 GMT
.
On Jan 10, 2014 5:00 PM, "Alex Lucard" <priest.lucard@gmail.com> wrote:

> I am running CentOS 6.5 and tomcat 7
> I cannot get the mod_jk to work
> I have a JSP page on this server and if you go to localhost:8080/Hello it
> will work but if I just go to localhost/Hello The requested URL /Hello was
> not found on this server.
>
> I have apache2 and tomcat 7 install both work.
> Here is the part I added to the httpd.conf file
>
> # Load the mod_jk module.
> LoadModule jk_module /usr/lib64/httpd/modules/mod_jk.so
> JkWorkersFile /etc/httpd/conf/workers.properties
> jkLogFile /var/log/mod_jk.log
> JkLogLevel    level
> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>
> My workers.properties file at /etc/httpd/conf/workers.properties
> worker.list=worker1
> worker.worker1.type=ajp13
> worker.worker1.port=8009
> worker.worker1.host=localhost
> #worker.worker1.lbfactor=1
>
>
> My error log file /var/log/mod_jk.log
> [Fri Jan 10 15:19:22 2014] [1854:140509786134496] [info] init_jk::mod_jk.c
> (3365): mod_jk/1.2.37 initialized
> [Fri Jan 10 15:19:23 2014] [1855:140509786134496] [error]
> ajp_validate::jk_ajp_common.c (2696): worker worker1 can't resolve tomcat
> address localhost
> [Fri Jan 10 15:19:23 2014] [1855:140509786134496] [info] init_jk::mod_jk.c
> (3365): mod_jk/1.2.37 initialized
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message