users@glassfish.java.net

Re: Glassfish 3.1 File upload problem

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Mon, 12 Sep 2011 11:02:59 +0200

Hi,

have you tried the uploading w/o Apache in the middle?
How big the uploading file is and how long it takes before you see the
error response?

Can you pls. check if the same issue reproducible on Glassfish 3.1.1?

Thanks.

WBR,
Alexey.

On 09/12/2011 07:58 AM, forums_at_java.net wrote:
> I am using Glasshfish 3.1 with Apache front ending on Ubuntu 11.04
> I have configured Apache Virtual host and Glassfish application is being
> served by one of the Virtual host.
> I have observed that the file uploading module of my application is
> giving
> errors time and again. I am using Apache file upload library.
> When I try to upload the file (even smaller sized files) the Glassfish
> gives
> following error.
> -------------------
> Bad Gateway
> The proxy server received an invalid response from an upstream server.
> Additionally, a 400 Bad Request error was encountered while trying to
> use an
> ErrorDocument to handle the request.
> ------------------------------------------------
> What could be the possible cause? The proxytime out is set to 600 in
> virtual
> host configuration file.
> Is there any setting of Glassfish is affecting it? please guide.
>
>
>
>
> --
>
> [Message sent by forum member 'sspadmin']
>
> View Post: http://forums.java.net/node/842126
>
>