httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snigdhamukher...@bel.co.in
Subject [users@httpd] Re:Problem with reverse proxy and file upload
Date Tue, 09 Aug 2011 11:36:51 GMT



Please can someone help me understand the following logs...

Snigdha

  
Tomcat log did
not show any error message.

Apache error log showed the
following:

[Thu Aug 04 13:29:34 2011] [info] Server built: Jul 
4 2011 13:42:24
[Thu Aug 04 13:31:31 2011] [error]
ajp_marshal_into_msgb - No such method
-----------------------------7db157364027e
[Thu Aug 04 13:31:31 2011]
[error] ajp_send_header: ajp_marshal_into_msgb failed
[Thu Aug 04
13:31:31 2011] [error] (120010)APR does not understand this error code:
proxy: AJP: request failed to 10.10.20.10:8009 (10.10.20.10)
[Thu Aug
04 13:33:00 2011] [error] ajp_marshal_into_msgb - No such method
-----------------------------7dbf174027e
[Thu Aug 04 13:33:00 2011]
[error] ajp_send_header: ajp_marshal_into_msgb failed
[Thu Aug 04
13:33:00 2011] [error] (120010)APR does not understand this error code:
proxy: AJP: request failed to 10.10.20.10:8009 (10.10.20.10)
[Thu Aug
04 13:33:26 2011] [error] ajp_marshal_into_msgb - No such method
-----------------------------7db242314027e
[Thu Aug 04 13:33:26 2011]
[error] ajp_send_header: ajp_marshal_into_msgb failed


Apache access log showed the following:

10.10.1.111 - -
[04/Aug/2011:13:32:46 +0530] "POST
http://10.10.1.7/FileTest/servlet/JDataRead HTTP/1.0" 200 4185
10.10.1.111 - - [04/Aug/2011:13:32:49 +0530] "POST
http://10.10.1.7/FileTest/servlet/ReqFile HTTP/1.0" 200 4346
10.10.1.111 - - [04/Aug/2011:13:33:00 +0530]
"-----------------------------7dbf174027e" 500 537
10.10.1.111 - - [04/Aug/2011:13:33:26 +0530]
"-----------------------------7db242314027e" 500 537
10.10.1.111 - - [04/Aug/2011:13:33:39 +0530]
"-----------------------------7db28024027e" 500 537

For file upload I used multipart/form data.  
-----------------------------7dbf174027e, etc are actually boundary for
the multipart form data. 
I can not understand why apache will
mistake the boundary of multipart form data as a method.

Snigdha


  Why don't you check the apache and tomcat log
files when trying to upload and see if any useful messages?


Igor


On Thu, Aug 4, 2011 at 2:14 PM,  snigdhamukherjee@bel.co.in> wrote:
 
Hi,

Please
does any one have any suggestions regarding this.

Snigdha

 



  Hi all,

I am using apache
2.2.15 as a reverse proxy server in front of tomcat app server. 
https is enabled between the client and apache reverse proxy server.
Between apache and tomcat plain data flows.

The application
needs a file of  less than 500 bytes to be uploaded by user. This works
fine
without reverse proxy but fails always when used with reverse
proxy.

The other pages served by reverse proxy server are
fine.

When trying to upload the file wireshark shows the packet
as "continuation or non-http data" and the application gets
stuck there.

My configuration is as follows:

ProxyRequests Off
  
KeepAliveTimeout 500
ProxyPass /
ajp://BACKEND-SERVER:8009/
ProxyPassReverse /
ajp://BACKEND-SERVER:8009/
ProxyPassReverseCookiePath / /


Can anyone tell what may be the problem???


Snigdha

P.S.: Browser used is Internet explorer 








Please send mail to @bel.co.in only 
Confidentiality Notice 
The information contained in this electronic message and any attachments to this 
message are intended for the exclusive use of the addressee(s) and may contain 
confidential or privileged information. If  you are not the intended recipient, 
 please notify the sender at Bharat Electronics  or support@bel.co.in 
immediately and destroy all copies of this message and any attachments. 

Mime
View raw message