users@grizzly.java.net

Re: File upload problem

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Thu, 17 Feb 2011 14:47:45 +0100

Hi Gagan,

> We are trying to build a server application which can handle multiple
> clients concurrently, which will upload big files to our server. We
> are facing problem with Apache.commons library as it gives us "Stream
> ended unexpectedly" exception. We would like to use Grizzly API to
> develop our server side code so that we will be able to handle such
> large file uploads. We are using Glassfish 3.0.1 webserver.
>
> Please point to us some sample programs which tells us how to use
> Grizzly APIs for building our server code. Also let us know what all
> configuration changes we need to make in the Glassfish server to solve
> our problem.
Wanted to make sure, you're looking the way how to handle large uploads
in Glassfish, not Grizzly standalone, right?

Thanks.
Alexey.