If http://your.url:8080/yourApp doesn't work, you have to fix Tomcat first (server.xml).


If http://your.url/yourApp doesn't work and http://your.url:8080/yourApp does work, you have to fix mod_jk (or rather the JK settings in Apache's httpd.conf).

HTH

John

Denise Mangano wrote:

Ok I'm a dope - sorry. I didn't realize that I had changed my
ServerName in my apache httpd.conf and forgot to change it in my
server.xml . However, now I am getting a bad request error. I am no
longer getting the HTTP 404 resource not available error. I'm not
really sure if that means Tomcat is working or not though...


Both mod_jk.log and catalina.out look normal.  My apache logs don't say
anything about the request... The strangest thing is that I have all my
logging set to debug, but there is nothing showing in my apache log.
They don't say much of anything besides my server starting and
stopping...

Thanks.


-----Original Message-----
From: Denise Mangano Sent: Thursday, September 04, 2003 1:00 PM
To: Tomcat Users List
Subject: Urgent - strange tomcat /mod jk (?) problem going on



I have a major problem and I am hoping you can help. I have a web app which serves the first few pages through apache, then the last 4 secure pages through tomcat. This was all working at one point, but I've had to rebuild since - and I'm experiencing some new problems.

I have apache 1.3.28, Tomcat 4.1.27, mod_jk 1.3. My apache part of the
site works fine. It appears that Tomcat (and possibly mod_jk) are
working.


1. When I go to www.mysite.com:8080 I get a page cannot be displayed 2. Anytime I try to go to www.mysite.com/index.jsp or any other Tomcat
page I get HTTP Status 404 - The requested resource
(/CCPayments/7D/CCPayment.jsp) is not available.


Also, there is no mention of this request in the apache error logs to
indicate that the server is attempting to serve that page through
Apache.


Mod_jk finds the match for /CCPayments/ but doesn't do anything with it.
This is the output in mod_jk.log: [Thu Sep 04 12:26:04 2003]
[jk_uri_worker_map.c (477)]: Attempting to map URI
'/CCPayments/7D/CCPayment.jsp' [Thu Sep 04 12:26:04 2003]
[jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker,
Found a context match ajp13 -> /CCPayments/ [Thu Sep 04 12:26:04 2003]
[jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Thu Sep 04
12:26:04 2003]  [jk_worker.c (136)]: wc_get_worker_for_name, done  found
a worker [Thu Sep 04 12:26:04 2003]  [jk_ajp_common.c (1404)]: Into
jk_worker_t::get_endpoint [Thu Sep 04 12:26:04 2003]  [jk_ajp_common.c
(1448)]: In jk_endpoint_t::ajp_get_endpoint, time elapsed since last
request = 31 seconds [Thu Sep 04 12:26:04 2003]  [jk_ajp_common.c
(1116)]: Into jk_endpoint_t::service [Thu Sep 04 12:26:04 2003]
[jk_ajp_common.c (295)]: Into ajp_marshal_into_msgb [Thu Sep 04 12:26:04
2003]  [jk_ajp_common.c (432)]: ajp_marshal_into_msgb - Done [Thu Sep 04
12:26:04 2003]  [jk_ajp_common.c (642)]: sending to ajp13 #674 [Thu Sep
04 12:26:04 2003]  [jk_ajp_common.c (884)]: ajp_send_request 2: request
body to send 0 - request body to resend 0 [Thu Sep 04 12:26:04 2003]
[jk_ajp_common.c (729)]: received from ajp13 #109 [Thu Sep 04 12:26:04
2003]  [jk_ajp_common.c (483)]:
ajp_unmarshal_response: status = 404
[Thu Sep 04 12:26:04 2003]  [jk_ajp_common.c (488)]:
ajp_unmarshal_response: Number of headers is = 2
[Thu Sep 04 12:26:04 2003]  [jk_ajp_common.c (532)]:
ajp_unmarshal_response: Header[0] [Content-Type] =
[text/html;charset=ISO-8859-1] [Thu Sep 04 12:26:04 2003]
[jk_ajp_common.c (532)]:
ajp_unmarshal_response: Header[1] [Content-Language] = [en-US] [Thu Sep
04 12:26:04 2003]  [jk_ajp_common.c (729)]: received from ajp13 #753
[Thu Sep 04 12:26:04 2003]  [jk_ajp_common.c (729)]: received from ajp13
#2 [Thu Sep 04 12:26:04 2003]  [jk_ajp_common.c (1382)]: Into
jk_endpoint_t::done, recycling connection

Any clue what else to check for? I guess it seems that mod_jk is doing
its thing like its supposed to but Tomcat isn't working, but I won't
know for sure until I at least get Tomcat working.  Also - I started
Tomcat first and waited a whole minute before starting Apache.

Thanks,

Denise Mangano



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to