users@glassfish.java.net

Re: Max upload file size

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 31 May 2007 13:40:53 -0400

Kenneth Clark wrote:
> Through a Java Webservice. I know about the timezone differences it is
> just that I hardly ever get replies, hence the reminder J
>
>
>
> I have created a service that accepts the file data but I am under the
> impression (as it happened with tomcat) that there is either a max
> transmission or max upload size property somewhere.

Yes there is one as well in Grizzly. Under http-listener, add:

<property name="maxPostSize" value="..."/>

The default is 4096.

-- Jeanfrancois


>
>
>
> *Kenneth Clark*
> *System Architect / Lead Developer*
>
> *Rabid Dog Laboratories ™*
> Putting the art back into development
>
> *tel:* +27 11 475 7409
> *mobile:* +27 82 500 5090
> *e-mail:* kenneth_at_rabiddog.co.za <mailto:kenneth_at_rabiddog.co.za>
> *website:* http://www.rabiddog.co.za/
>
> ------------------------------------------------------------------------
>
> *From:* Hong.Zhang_at_Sun.COM [mailto:Hong.Zhang_at_Sun.COM]
> *Sent:* 31 May 2007 14:33
> *To:* users_at_glassfish.dev.java.net
> *Subject:* Re: Max upload file size
>
>
>
> Hi, Kenneth
> Please note most people who are working on glassfish are located on
> US west coast and right now it's 5:30 am for them :-)
> How are you trying to upload the file? Through admin console?
>
> - Hong
>
> Kenneth Clark wrote:
>
> No ideas? Please this is quiet urgent and I can find NOTHING on the net
>
>
>
> *Kenneth Clark*
> *System Architect / Lead Developer*
>
> *Rabid Dog Laboratories ™*
> Putting the art back into development
>
> *tel:* +27 11 475 7409
> *mobile:* +27 82 500 5090
> *e-mail:* kenneth_at_rabiddog.co.za <mailto:kenneth_at_rabiddog.co.za>
> *website:* http://www.rabiddog.co.za/
>
> ------------------------------------------------------------------------
>
> *From:* Kenneth Clark [mailto:kenneth_at_rabiddog.co.za]
> *Sent:* 31 May 2007 10:53
> *To:* users_at_glassfish.dev.java.net <mailto:users_at_glassfish.dev.java.net>
> *Subject:* Max upload file size
>
>
>
> Sorry I know this is going to sound really stupid but I have an
> application that needs to facilitate the uploading of files up to 10MB
> in size.
>
>
>
> It appears there is a restriction in place that is preventing this from
> happening, is there a place where I can change the limit?
>
>
>
> Thanks guys
>
>
>
> *Kenneth Clark*
> *System Architect / Lead Developer*
>
> *Rabid Dog Laboratories ™*
> Putting the art back into development
>
> *tel:* +27 11 475 7409
> *mobile:* +27 82 500 5090
> *e-mail:* kenneth_at_rabiddog.co.za <mailto:kenneth_at_rabiddog.co.za>
> *website:* http://www.rabiddog.co.za/
>
>
>
>
>