users@grizzly.java.net

File upload problem

From: Gagandeep Singh <gagandeep.singh_at_paxcel.net>
Date: Thu, 17 Feb 2011 12:38:45 +0530

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.

Thanks in advance.
Gagan