Il 05/03/2014 19:49, Christopher Schultz ha scritto:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Theresa,

On 3/5/14, 12:05 PM, Teresa Fasano wrote:
Il 05/03/2014 17:51, Christopher Schultz ha scritto:
This kind of thing works without a problem for me. Can you give
us some more information? There must be more in the log file.

- -chris

Hi Cris, the complete log of Apache reports: [Wed Mar 05 17:54:16
2014] [debug] mod_proxy_ajp.c(45): proxy: AJP: canonicalising URL
//127.0.0.1:8009/share/ [Wed Mar 05 17:54:16 2014] [debug]
proxy_util.c(1506): [client 130.186.19.127] proxy: ajp: found
worker ajp://127.0.0.1:8009/share for ajp://127.0.0.1:8009/share/
[Wed Mar 05 17:54:16 2014] [debug] mod_proxy.c(998): Running scheme
ajp handler (attempt 0) [Wed Mar 05 17:54:16 2014] [debug]
mod_proxy_http.c(1952): proxy: HTTP: declining URL
ajp://127.0.0.1:8009/share/ [Wed Mar 05 17:54:16 2014] [debug]
mod_proxy_ajp.c(698): proxy: AJP: serving URL
ajp://127.0.0.1:8009/share/ [Wed Mar 05 17:54:16 2014] [debug]
proxy_util.c(2011): proxy: AJP: has acquired connection for
(127.0.0.1) [Wed Mar 05 17:54:16 2014] [debug] proxy_util.c(2067):
proxy: connecting ajp://127.0.0.1:8009/share/ to 127.0.0.1:8009
[Wed Mar 05 17:54:16 2014] [debug] proxy_util.c(2193): proxy:
connected /share/ to 127.0.0.1:8009 [Wed Mar 05 17:54:16 2014]
[debug] proxy_util.c(2380): proxy: AJP: backend socket is
disconnected. [Wed Mar 05 17:54:16 2014] [debug]
proxy_util.c(2444): proxy: AJP: fam 2 socket created to connect to
127.0.0.1 [Wed Mar 05 17:54:16 2014] [debug] ajp_header.c(224):
Into ajp_marshal_into_msgb [Wed Mar 05 17:54:16 2014] [debug]
ajp_header.c(450): ajp_marshal_into_msgb: Done [Wed Mar 05 17:54:16
2014] [debug] mod_proxy_ajp.c(269): proxy: APR_BUCKET_IS_EOS [Wed
Mar 05 17:54:16 2014] [debug] mod_proxy_ajp.c(274): proxy: data to
read (max 8186 at 4) [Wed Mar 05 17:54:16 2014] [debug]
mod_proxy_ajp.c(289): proxy: got 0 bytes of data [Wed Mar 05
17:54:16 2014] [debug] ajp_header.c(687): ajp_read_header:
ajp_ilink_received 04 [Wed Mar 05 17:54:16 2014] [debug]
ajp_header.c(697): ajp_parse_type: got 04 [Wed Mar 05 17:54:16
2014] [debug] ajp_header.c(516): ajp_unmarshal_response: status =
400 [Wed Mar 05 17:54:16 2014] [debug] ajp_header.c(537):
ajp_unmarshal_response: Number of headers is = 0 [Wed Mar 05
17:54:16 2014] [debug] ajp_header.c(687): ajp_read_header:
ajp_ilink_received 05 [Wed Mar 05 17:54:16 2014] [debug]
ajp_header.c(697): ajp_parse_type: got 05 [Wed Mar 05 17:54:16
2014] [debug] mod_proxy_ajp.c(605): proxy: got response from
127.0.0.1:8009 (127.0.0.1) [Wed Mar 05 17:54:16 2014] [debug]
proxy_util.c(2029): proxy: AJP: has released connection for
(127.0.0.1)

The problem is with the communication with Tomcat 7. No problems
with Tomcat 6 (the same configuration of mod_proxy_ajp). Recalling
the application directly on the HTTP port of the tomcat ( 8080 )
everything works (HTTP 200).
Please post your connector configuration for Tomcat 7 (and Tomcat 6
for that matter). There is nothing else different?



I solved it by adding in the server.xml of Tomcat 7:
maxHttpHeaderSize = "65536" maxHeaderCount = "-1"
while in the httpd. conf:
ProxyIOBufferSize 65536

Bye,
Teresa

--
----------------------------------
L'educazione รจ il pane dell'anima
----------------------------------

Teresa Fasano

CINECA
System and Technologies Department
Middleware and Infrastructure Group
Via Magnanelli, 6/3
Casalecchio di Reno (Bologna) ITALY

web:     http://www.cineca.it
e-mail:  t.fas...@cineca.it
phone:   +39 051 61 71 364


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to