mod_jk Internal Server Error

2002-10-22 Thread chris . hanrahan
Greetings,

I am running Apache 1.3.27 and Tomcat 3.3.1 under Red Hat Linux.

Apache is on one server, and Tomcat is on a different server.

I have configured apache to send all requests for .jsp files to the Tomcat
server.  Here is the workers.properties file from the apache server:

worker.baluxas01.port=8009
worker.baluxas01.host=10.179.16.53
worker.baluxas01.type=ajp13
worker.baluxas01.lbfactor=1

In httpd.conf on the apache server, I have:

JkMount /*.jsp baluxas01

Whenever I access any jsp file, I receive an Apache Internal Error
message via the web browser.  There are no other details listed, no Java or
other errors.  There is also nothing in the Apache error log, the mod_jk
error log, or the Tomcat error log.  No console messages appear on the
server running Tomcat.

If I install Tomcat on the same server as Apache, and reconfigure the
workers.properties file so that :

worker.baluxas01.host=10.179.16.53

is set to

worker.baluxas01.host=localhost

then everything works correctly and the jsp pages appear like they are
supposed to.  It is when I try to connect to a Tomcat container running on
another machine that I run into problems.

I have searched the Internet and the mail list archives without much
success.  Most people are running Apache and Tomcat on the same physical
server.  Is the setup I described supported ?  Am I missing something in my
configuration ?

Any help would be appreciated.

Thanks very much,

Chris Hanrahan




**Disclaimer**
This  Memo and any attachments, may be confidential and legally privileged.
If  you  are  not  the  intended recipient and have received this in error,
kindly  destroy  this  message  and  notify the sender.  Thank you for your
assistance.


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




mod_jk internal server error

2001-04-05 Thread Florian Richter





Hi,
maybe somebody can help me, my tomcat works fine at 

port 8080 but when I use it with apache (mod_jk) I 
get an internal server Error. The CLASSPATH and PATH Variable is properly set. 


Here is the Error message from the 
mod_jk.log:
[jk_uri_worker_map.c (344)]: Into 
jk_uri_worker_map_t::map_uri_to_worker[jk_uri_worker_map.c (406)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp12[jk_worker.c 
(123)]: Into wc_get_worker_for_name ajp12[jk_worker.c (127)]: 
wc_get_worker_for_name, done found a worker[jk_ajp12_worker.c (223)]: 
Into jk_worker_t::get_endpoint[jk_ajp12_worker.c (121)]: Into 
jk_endpoint_t::service[jk_connect.c (108)]: Into 
jk_open_socket[jk_connect.c (115)]: jk_open_socket, try to connect socket = 
6[jk_connect.c (124)]: jk_open_socket, after connect ret = 
-1[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 
101[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 
-1[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = 
-1[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done

thanks,
Florian