Yes... With Axis2.. Use the following configuration in your Axis2.xml.
<parameter name="enableMTOM" locked="false">true</parameter> <parameter name="cacheAttachments" locked="false">true</parameter> <parameter name="attachmentDIR" locked="false">TempDir</parameter> <parameter name="sizeThreshold" locked="false">4000</parameter> To be in the safe side, you can use the Axis2 nightly builds. ~Thilina On 9/16/06, Betsy Frey <[EMAIL PROTECTED]> wrote:
Hi Thilina, Are you using the Axis2 tip? I ask because when I use MTOM in Axis2 v 1.0, with file caching on, transferring 1gb of data causes my tomcat 5.5.17 server to see: java.lang.OutOfMemoryError: Java heap space. Thanks, Betsy -----Original Message----- From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 11:51 PM To: [email protected] Subject: Re: Axis using more than 256MB for a 9MB file Try Axis2 with File Caching Switched On.. We have tested Axis2 with files ~1GB without much hassel. IIRC Axis1.x too has the file caching option.. ~Thilina On 9/15/06, Neil Aggarwal <[EMAIL PROTECTED]> wrote: > Hello: > > Does Axis2 solve these problems? > > Thanks, > Neil > > > -- > Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com > FREE! Eliminate junk email and reclaim your inbox. > Visit http://www.spammilter.com for details. > > > -----Original Message----- > > From: Neil Aggarwal [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 13, 2006 4:43 PM > > To: [email protected] > > Subject: Axis using more than 256MB for a 9MB file > > > > Hello: > > > > I have a web service deployed using Axis 1.4 > > > > In that service, I have a method that accepts a > > String containing an XML document. > > > > When I try to upload a 9MB XML file into my service, > > Axis seems to be taking up a HUGE amount of memory. > > > > If I set the JVM to 256MB of heap, it runs out of > > memory and throws an OutOfMemoryException. > > > > If I set the JVM to 512MB of heap, I get the file > > just fine. > > > > The problem occurs *before* my web service method > > is even invoked. > > > > The service is running on Tomcat on Windows. > > > > Any ideas why Axis would consume so much memory? > > > > Thanks, > > Neil > > > > > > -- > > Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com > > FREE! Eliminate junk email and reclaim your inbox. > > Visit http://www.spammilter.com for details. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "May the SourcE be with u" http://webservices.apache.org/~thilina/ http://thilinag.blogspot.com/ http://www.bloglines.com/blog/Thilina --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- "May the SourcE be with u" http://webservices.apache.org/~thilina/ http://thilinag.blogspot.com/ http://www.bloglines.com/blog/Thilina --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
