You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Shehan Simen <ss...@itree.com.au> on 2008/08/12 02:38:23 UTC

mtom file size

Hi,
I want to specify the maximum file size when using MTOM.
The client should not send to the service files bigger than 5mb and I am using MTOM with axis2 1.4 (deployed in tomcat)
How to restrict the file size?

Please let me know.

Thanks.



Re: mtom file size

Posted by Thilina Gunarathne <cs...@gmail.com>.
hmm... I don't know why they are providing it only for form posts...  May be
tomcat does not track the size of others..

I'm sorry.. I don't have any ideas...

~Thilina

On Tue, Aug 12, 2008 at 9:58 PM, Shehan Simen <ss...@itree.com.au> wrote:

>  Hi Thilina,
>
> The maxPostSize attribute is working in tomcat only for the Post requests
> coming via the Forms.
>
> I searched a lot in google to try to find a solution. But seems no
> solution.
>
>
>
> Thanks.
>
>
>
> Regards,
>
> Simen
>
>
>
> *From:* Thilina Gunarathne [mailto:csethil@gmail.com]
> *Sent:* Wednesday, 13 August 2008 2:46 PM
> *To:* axis-user@ws.apache.org
> *Subject:* Re: mtom file size
>
>
>
> Hi,
>
>  There is a similar parameter setting in the tomcat service.xml as
> maxPostSize="<in bytes>" , this will restrict the size of incoming POST
> request. But this does not work for axis web service requests, but that
> configuration is quite easier and no need to waste time on clustering and
> stuff.
>
>  Restricting the message size using the app server (eg: tomcat) would be
> the approach most of the users might be using... I'm surprised to hear that
> Tomcat does not restrict the incoming POST request size for Axis2 web
> service requests.. For tomcat, it would be just another request..  Does this
> happen only with a particular scenerio (eg: with http chunking? ).
>
> thanks,
> Thilina
>
>
>
> Hope in future, we will be able to get such configurable solution.
>
>
>
> Thank you.
>
> Regards,
>
> Simen
>
>
>
> *From:* Martin Gainty [mailto:mgainty@hotmail.com]
> *Sent:* Wednesday, 13 August 2008 12:03 PM
>
>
> *To:* axis-user@ws.apache.org
>
> *Subject:* RE: mtom file size
>
>
>
> your SOAP response can be a URL to the file ..and hand the URL to FTP
> server for bulk of the heavy lifting
> another idea is to compress the file which will conserve bandwidth
>
> the question is which server has the necessary bandwidth to handle the
> transmission?
> if you're bogging down your webapp server you might want consider
> clustering
> http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
>
> Most prod servers run with 4GB RAM
> so you'll want to increment your stack and heap params to accomodate more
> RAM
>
> http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=/com.ibm.java.doc.diagnostics.60/diag/appendixes/defaults.html
>
> heavy resource-intensive operations should be handled by threads to prevent
> bogging down the JVM proc
>
> you may also want to consider Chunked-encoding ..
>
> Anyone else?
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>  ------------------------------
>
> From: ssimen@itree.com.au
> To: axis-user@ws.apache.org
> Date: Wed, 13 Aug 2008 09:12:40 +1000
> Subject: RE: mtom file size
>
> Hi Thilina,
>
> It is a big threat to the web service. L
>
> I don't want to crash my web server by receiving large files.
>
> We cannot request from the clients to send small files and people are
> always willing to blame us by crashing the web server.
>
> There may be some settings in the tomcat configurations to limit the size
> of incoming request. Any suggestions?
>
>
>
> Thank you.
>
>
>
> Regards,
>
> simen
>
>
>
> *From:* Thilina Gunarathne [mailto:csethil@gmail.com]
> *Sent:* Wednesday, 13 August 2008 1:35 AM
> *To:* axis-user@ws.apache.org
> *Subject:* Re: mtom file size
>
>
>
> I would say it's possible..
>
> thanks,
> Thilina
>
> On Tue, Aug 12, 2008 at 6:01 AM, Samisa Abeysinghe <
> samisa.abeysinghe@gmail.com> wrote:
>
> Thilina Gunarathne wrote:
>
> I'm not sure whether Axis2 MTOM policy implementation supports such a
> scenerio.. Other than that, I cannot think of any..
>
>
>
> Does this mean that someone can send several large attachments concurrently
> and take down the server by making it go out of resources?
>
> Thanks,
> Samisa...
>
>
> thanks,
> Thilina
>
>
>
> On Mon, Aug 11, 2008 at 5:38 PM, Shehan Simen <ssimen@itree.com.au<mailto:
> ssimen@itree.com.au>> wrote:
>
>    Hi,
>
>    I want to specify the maximum file size when using MTOM.
>
>    The client should not send to the service files bigger than 5mb
>    and I am using MTOM with axis2 1.4 (deployed in tomcat)
>
>    How to restrict the file size?
>
>
>    Please let me know.
>
>
>    Thanks.
>
>
>
>
>
>
> --
> Thilina Gunarathne - http://thilinag.blogspot.com
>
>
>
> --
> Samisa Abeysinghe
>
> http://people.apache.org/~samisa/ <http://people.apache.org/%7Esamisa/>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
> --
> Thilina Gunarathne - http://thilinag.blogspot.com
>
>
>  ------------------------------
>
> Get Windows Live and get whatever you need, wherever you are. Start here.<http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008>
>
>
>
>
> --
> Thilina Gunarathne - http://thilinag.blogspot.com
>



-- 
Thilina Gunarathne - http://thilinag.blogspot.com

RE: mtom file size

Posted by Shehan Simen <ss...@itree.com.au>.
Hi Thilina,
The maxPostSize attribute is working in tomcat only for the Post requests coming via the Forms.
I searched a lot in google to try to find a solution. But seems no solution.

Thanks.

Regards,
Simen

From: Thilina Gunarathne [mailto:csethil@gmail.com]
Sent: Wednesday, 13 August 2008 2:46 PM
To: axis-user@ws.apache.org
Subject: Re: mtom file size

Hi,

There is a similar parameter setting in the tomcat service.xml as maxPostSize="<in bytes>" , this will restrict the size of incoming POST request. But this does not work for axis web service requests, but that configuration is quite easier and no need to waste time on clustering and stuff.
Restricting the message size using the app server (eg: tomcat) would be the approach most of the users might be using... I'm surprised to hear that Tomcat does not restrict the incoming POST request size for Axis2 web service requests.. For tomcat, it would be just another request..  Does this happen only with a particular scenerio (eg: with http chunking? ).

thanks,
Thilina



Hope in future, we will be able to get such configurable solution.



Thank you.

Regards,

Simen



From: Martin Gainty [mailto:mgainty@hotmail.com<ma...@hotmail.com>]
Sent: Wednesday, 13 August 2008 12:03 PM

To: axis-user@ws.apache.org<ma...@ws.apache.org>
Subject: RE: mtom file size



your SOAP response can be a URL to the file ..and hand the URL to FTP server for bulk of the heavy lifting
another idea is to compress the file which will conserve bandwidth

the question is which server has the necessary bandwidth to handle the transmission?
if you're bogging down your webapp server you might want consider clustering
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html

Most prod servers run with 4GB RAM
so you'll want to increment your stack and heap params to accomodate more RAM
http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=/com.ibm.java.doc.diagnostics.60/diag/appendixes/defaults.html

heavy resource-intensive operations should be handled by threads to prevent bogging down the JVM proc

you may also want to consider Chunked-encoding ..

Anyone else?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.

________________________________

From: ssimen@itree.com.au<ma...@itree.com.au>
To: axis-user@ws.apache.org<ma...@ws.apache.org>
Date: Wed, 13 Aug 2008 09:12:40 +1000
Subject: RE: mtom file size

Hi Thilina,

It is a big threat to the web service. :(

I don't want to crash my web server by receiving large files.

We cannot request from the clients to send small files and people are always willing to blame us by crashing the web server.

There may be some settings in the tomcat configurations to limit the size of incoming request. Any suggestions?



Thank you.



Regards,

simen



From: Thilina Gunarathne [mailto:csethil@gmail.com<ma...@gmail.com>]
Sent: Wednesday, 13 August 2008 1:35 AM
To: axis-user@ws.apache.org<ma...@ws.apache.org>
Subject: Re: mtom file size



I would say it's possible..

thanks,
Thilina

On Tue, Aug 12, 2008 at 6:01 AM, Samisa Abeysinghe <sa...@gmail.com>> wrote:

Thilina Gunarathne wrote:

I'm not sure whether Axis2 MTOM policy implementation supports such a scenerio.. Other than that, I cannot think of any..



Does this mean that someone can send several large attachments concurrently and take down the server by making it go out of resources?

Thanks,
Samisa...

thanks,
Thilina


On Mon, Aug 11, 2008 at 5:38 PM, Shehan Simen <ss...@itree.com.au> <ma...@itree.com.au>>> wrote:

   Hi,

   I want to specify the maximum file size when using MTOM.

   The client should not send to the service files bigger than 5mb
   and I am using MTOM with axis2 1.4 (deployed in tomcat)

   How to restrict the file size?


   Please let me know.


   Thanks.






--
Thilina Gunarathne - http://thilinag.blogspot.com


--
Samisa Abeysinghe

http://people.apache.org/~samisa/<http://people.apache.org/%7Esamisa/>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org<ma...@ws.apache.org>
For additional commands, e-mail: axis-user-help@ws.apache.org<ma...@ws.apache.org>



--
Thilina Gunarathne - http://thilinag.blogspot.com



________________________________

Get Windows Live and get whatever you need, wherever you are. Start here.<http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008>



--
Thilina Gunarathne - http://thilinag.blogspot.com

Re: mtom file size

Posted by Thilina Gunarathne <cs...@gmail.com>.
Hi,

> There is a similar parameter setting in the tomcat service.xml as
> maxPostSize="<in bytes>" , this will restrict the size of incoming POST
> request. But this does not work for axis web service requests, but that
> configuration is quite easier and no need to waste time on clustering and
> stuff.
>
Restricting the message size using the app server (eg: tomcat) would be the
approach most of the users might be using... I'm surprised to hear that
Tomcat does not restrict the incoming POST request size for Axis2 web
service requests.. For tomcat, it would be just another request..  Does this
happen only with a particular scenerio (eg: with http chunking? ).

thanks,
Thilina

>
>
> Hope in future, we will be able to get such configurable solution.
>
>
>
> Thank you.
>
> Regards,
>
> Simen
>
>
>
> *From:* Martin Gainty [mailto:mgainty@hotmail.com]
> *Sent:* Wednesday, 13 August 2008 12:03 PM
> *To:* axis-user@ws.apache.org
> *Subject:* RE: mtom file size
>
>
>
> your SOAP response can be a URL to the file ..and hand the URL to FTP
> server for bulk of the heavy lifting
> another idea is to compress the file which will conserve bandwidth
>
> the question is which server has the necessary bandwidth to handle the
> transmission?
> if you're bogging down your webapp server you might want consider
> clustering
> http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
>
> Most prod servers run with 4GB RAM
> so you'll want to increment your stack and heap params to accomodate more
> RAM
>
> http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=/com.ibm.java.doc.diagnostics.60/diag/appendixes/defaults.html
>
> heavy resource-intensive operations should be handled by threads to prevent
> bogging down the JVM proc
>
> you may also want to consider Chunked-encoding ..
>
> Anyone else?
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>  ------------------------------
>
> From: ssimen@itree.com.au
> To: axis-user@ws.apache.org
> Date: Wed, 13 Aug 2008 09:12:40 +1000
> Subject: RE: mtom file size
>
> Hi Thilina,
>
> It is a big threat to the web service. L
>
> I don't want to crash my web server by receiving large files.
>
> We cannot request from the clients to send small files and people are
> always willing to blame us by crashing the web server.
>
> There may be some settings in the tomcat configurations to limit the size
> of incoming request. Any suggestions?
>
>
>
> Thank you.
>
>
>
> Regards,
>
> simen
>
>
>
> *From:* Thilina Gunarathne [mailto:csethil@gmail.com]
> *Sent:* Wednesday, 13 August 2008 1:35 AM
> *To:* axis-user@ws.apache.org
> *Subject:* Re: mtom file size
>
>
>
> I would say it's possible..
>
> thanks,
> Thilina
>
> On Tue, Aug 12, 2008 at 6:01 AM, Samisa Abeysinghe <
> samisa.abeysinghe@gmail.com> wrote:
>
> Thilina Gunarathne wrote:
>
> I'm not sure whether Axis2 MTOM policy implementation supports such a
> scenerio.. Other than that, I cannot think of any..
>
>
>
> Does this mean that someone can send several large attachments concurrently
> and take down the server by making it go out of resources?
>
> Thanks,
> Samisa...
>
>
> thanks,
> Thilina
>
>
>
> On Mon, Aug 11, 2008 at 5:38 PM, Shehan Simen <ssimen@itree.com.au<mailto:
> ssimen@itree.com.au>> wrote:
>
>    Hi,
>
>    I want to specify the maximum file size when using MTOM.
>
>    The client should not send to the service files bigger than 5mb
>    and I am using MTOM with axis2 1.4 (deployed in tomcat)
>
>    How to restrict the file size?
>
>
>    Please let me know.
>
>
>    Thanks.
>
>
>
>
>
>
> --
> Thilina Gunarathne - http://thilinag.blogspot.com
>
>
>
> --
> Samisa Abeysinghe
>
> http://people.apache.org/~samisa/ <http://people.apache.org/%7Esamisa/>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
> --
> Thilina Gunarathne - http://thilinag.blogspot.com
>
>
>  ------------------------------
>
> Get Windows Live and get whatever you need, wherever you are. Start here.<http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008>
>



-- 
Thilina Gunarathne - http://thilinag.blogspot.com

RE: mtom file size

Posted by Shehan Simen <ss...@itree.com.au>.
Hi Martin,
Thanks for your ideas.
But this is making life more complex.
The web service client(the real users of the web service) can directly send large files to the web server. I have no control over that. I cannot ask them to send zip files or whatever. But from server side, I should restrict the size of the file to be 5mb.

I thought this is just a parameter setting in the axis2.xml
There is a similar parameter setting in the tomcat service.xml as maxPostSize="<in bytes>" , this will restrict the size of incoming POST request. But this does not work for axis web service requests, but that configuration is quite easier and no need to waste time on clustering and stuff.

Hope in future, we will be able to get such configurable solution.

Thank you.
Regards,
Simen

From: Martin Gainty [mailto:mgainty@hotmail.com]
Sent: Wednesday, 13 August 2008 12:03 PM
To: axis-user@ws.apache.org
Subject: RE: mtom file size

your SOAP response can be a URL to the file ..and hand the URL to FTP server for bulk of the heavy lifting
another idea is to compress the file which will conserve bandwidth

the question is which server has the necessary bandwidth to handle the transmission?
if you're bogging down your webapp server you might want consider clustering
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html

Most prod servers run with 4GB RAM
so you'll want to increment your stack and heap params to accomodate more RAM
http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=/com.ibm.java.doc.diagnostics.60/diag/appendixes/defaults.html

heavy resource-intensive operations should be handled by threads to prevent bogging down the JVM proc

you may also want to consider Chunked-encoding ..

Anyone else?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.

________________________________
From: ssimen@itree.com.au
To: axis-user@ws.apache.org
Date: Wed, 13 Aug 2008 09:12:40 +1000
Subject: RE: mtom file size
Hi Thilina,
It is a big threat to the web service. :(
I don't want to crash my web server by receiving large files.
We cannot request from the clients to send small files and people are always willing to blame us by crashing the web server.
There may be some settings in the tomcat configurations to limit the size of incoming request. Any suggestions?

Thank you.

Regards,
simen

From: Thilina Gunarathne [mailto:csethil@gmail.com]
Sent: Wednesday, 13 August 2008 1:35 AM
To: axis-user@ws.apache.org
Subject: Re: mtom file size

I would say it's possible..

thanks,
Thilina
On Tue, Aug 12, 2008 at 6:01 AM, Samisa Abeysinghe <sa...@gmail.com>> wrote:
Thilina Gunarathne wrote:
I'm not sure whether Axis2 MTOM policy implementation supports such a scenerio.. Other than that, I cannot think of any..

Does this mean that someone can send several large attachments concurrently and take down the server by making it go out of resources?

Thanks,
Samisa...

thanks,
Thilina


On Mon, Aug 11, 2008 at 5:38 PM, Shehan Simen <ss...@itree.com.au> <ma...@itree.com.au>>> wrote:

   Hi,

   I want to specify the maximum file size when using MTOM.

   The client should not send to the service files bigger than 5mb
   and I am using MTOM with axis2 1.4 (deployed in tomcat)

   How to restrict the file size?


   Please let me know.


   Thanks.






--
Thilina Gunarathne - http://thilinag.blogspot.com


--
Samisa Abeysinghe

http://people.apache.org/~samisa/<http://people.apache.org/%7Esamisa/>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org<ma...@ws.apache.org>
For additional commands, e-mail: axis-user-help@ws.apache.org<ma...@ws.apache.org>



--
Thilina Gunarathne - http://thilinag.blogspot.com

________________________________
Get Windows Live and get whatever you need, wherever you are. Start here.<http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008>

Axis2 client with Oracle Wallet

Posted by SG...@intellicare.com.
We have an Axis2 1.3 web service that is secured using Rampart 1.3 for
signing and encryption. A customer wants to access this from Oracle
Application Server and their sys admins insist that they use an Oracle
Wallet rather than a Java keystore to store the relevant certificates.

Does anyone out there have experience with this??

I'm not sure it's even possible - it seems like at the least the Rampart
configuration would need to be different than any I've seen.

I tried the Rampart list and haven't gotten any replies so I'm trying the
Axis2 list. Any suggestions or information would be very appreciated!

- Steve

______________________________________________
Steve Gruverman, Programmer
IntelliCare, Inc. | A Medco Health Solutions Company
500 Southborough Drive | South Portland ME 04106





---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: mtom file size

Posted by Martin Gainty <mg...@hotmail.com>.
your SOAP response can be a URL to the file ..and hand the URL to FTP server for bulk of the heavy lifting
another idea is to compress the file which will conserve bandwidth

the question is which server has the necessary bandwidth to handle the transmission?
if you're bogging down your webapp server you might want consider clustering
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html

Most prod servers run with 4GB RAM
so you'll want to increment your stack and heap params to accomodate more RAM
http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=/com.ibm.java.doc.diagnostics.60/diag/appendixes/defaults.html

heavy resource-intensive operations should be handled by threads to prevent bogging down the JVM proc

you may also want to consider Chunked-encoding ..

Anyone else?
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 


From: ssimen@itree.com.au
To: axis-user@ws.apache.org
Date: Wed, 13 Aug 2008 09:12:40 +1000
Subject: RE: mtom file size
















Hi Thilina,

It is a big threat to the web service. L

I don’t want to crash my web server by receiving large
files.

We cannot request from the clients to send small files and
people are always willing to blame us by crashing the web server.

There may be some settings in the tomcat configurations to limit
the size of incoming request. Any suggestions?

 

Thank you.

 

Regards,

simen

 



From: Thilina Gunarathne
[mailto:csethil@gmail.com] 

Sent: Wednesday, 13 August 2008 1:35 AM

To: axis-user@ws.apache.org

Subject: Re: mtom file size



 



I would say it's possible..



thanks,

Thilina



On Tue, Aug 12, 2008 at 6:01 AM, Samisa Abeysinghe <sa...@gmail.com>
wrote:



Thilina Gunarathne wrote:

I'm not sure whether Axis2 MTOM policy implementation
supports such a scenerio.. Other than that, I cannot think of any..

 



Does this mean that someone can
send several large attachments concurrently and take down the server by making
it go out of resources?



Thanks,

Samisa...



thanks,

Thilina







On Mon, Aug 11, 2008 at 5:38 PM, Shehan Simen <ssimen@itree.com.au
<ma...@itree.com.au>>
wrote:



   Hi,



   I want to specify the maximum file size when using MTOM.



   The client should not send to the service files bigger than 5mb

   and I am using MTOM with axis2 1.4 (deployed in tomcat)



   How to restrict the file size?



    

   Please let me know.



    

   Thanks.



    

    







-- 

Thilina Gunarathne - http://thilinag.blogspot.com







-- 

Samisa Abeysinghe



http://people.apache.org/~samisa/





---------------------------------------------------------------------

To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org

For additional commands, e-mail: axis-user-help@ws.apache.org








-- 

Thilina Gunarathne - http://thilinag.blogspot.com









_________________________________________________________________
Get Windows Live and get whatever you need, wherever you are.  Start here.
http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008

RE: mtom file size

Posted by Shehan Simen <ss...@itree.com.au>.
Hi Thilina,
It is a big threat to the web service. :(
I don't want to crash my web server by receiving large files.
We cannot request from the clients to send small files and people are always willing to blame us by crashing the web server.
There may be some settings in the tomcat configurations to limit the size of incoming request. Any suggestions?

Thank you.

Regards,
simen

From: Thilina Gunarathne [mailto:csethil@gmail.com]
Sent: Wednesday, 13 August 2008 1:35 AM
To: axis-user@ws.apache.org
Subject: Re: mtom file size

I would say it's possible..

thanks,
Thilina
On Tue, Aug 12, 2008 at 6:01 AM, Samisa Abeysinghe <sa...@gmail.com>> wrote:
Thilina Gunarathne wrote:
I'm not sure whether Axis2 MTOM policy implementation supports such a scenerio.. Other than that, I cannot think of any..

Does this mean that someone can send several large attachments concurrently and take down the server by making it go out of resources?

Thanks,
Samisa...

thanks,
Thilina


On Mon, Aug 11, 2008 at 5:38 PM, Shehan Simen <ss...@itree.com.au> <ma...@itree.com.au>>> wrote:

   Hi,

   I want to specify the maximum file size when using MTOM.

   The client should not send to the service files bigger than 5mb
   and I am using MTOM with axis2 1.4 (deployed in tomcat)

   How to restrict the file size?


   Please let me know.


   Thanks.






--
Thilina Gunarathne - http://thilinag.blogspot.com


--
Samisa Abeysinghe

http://people.apache.org/~samisa/<http://people.apache.org/%7Esamisa/>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org<ma...@ws.apache.org>
For additional commands, e-mail: axis-user-help@ws.apache.org<ma...@ws.apache.org>



--
Thilina Gunarathne - http://thilinag.blogspot.com

Re: mtom file size

Posted by Thilina Gunarathne <cs...@gmail.com>.
I would say it's possible..

thanks,
Thilina

On Tue, Aug 12, 2008 at 6:01 AM, Samisa Abeysinghe <
samisa.abeysinghe@gmail.com> wrote:

> Thilina Gunarathne wrote:
>
>> I'm not sure whether Axis2 MTOM policy implementation supports such a
>> scenerio.. Other than that, I cannot think of any..
>>
>
> Does this mean that someone can send several large attachments concurrently
> and take down the server by making it go out of resources?
>
> Thanks,
> Samisa...
>
>
>> thanks,
>> Thilina
>>
>> On Mon, Aug 11, 2008 at 5:38 PM, Shehan Simen <ssimen@itree.com.au<mailto:
>> ssimen@itree.com.au>> wrote:
>>
>>    Hi,
>>
>>    I want to specify the maximum file size when using MTOM.
>>
>>    The client should not send to the service files bigger than 5mb
>>    and I am using MTOM with axis2 1.4 (deployed in tomcat)
>>
>>    How to restrict the file size?
>>
>>
>>    Please let me know.
>>
>>
>>    Thanks.
>>
>>
>>
>>
>>
>>
>> --
>> Thilina Gunarathne - http://thilinag.blogspot.com
>>
>
>
> --
> Samisa Abeysinghe
>
> http://people.apache.org/~samisa/ <http://people.apache.org/%7Esamisa/>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Thilina Gunarathne - http://thilinag.blogspot.com

Re: mtom file size

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Thilina Gunarathne wrote:
> I'm not sure whether Axis2 MTOM policy implementation supports such a 
> scenerio.. Other than that, I cannot think of any..

Does this mean that someone can send several large attachments 
concurrently and take down the server by making it go out of resources?

Thanks,
Samisa...

>
> thanks,
> Thilina
>
> On Mon, Aug 11, 2008 at 5:38 PM, Shehan Simen <ssimen@itree.com.au 
> <ma...@itree.com.au>> wrote:
>
>     Hi,
>
>     I want to specify the maximum file size when using MTOM.
>
>     The client should not send to the service files bigger than 5mb
>     and I am using MTOM with axis2 1.4 (deployed in tomcat)
>
>     How to restrict the file size?
>
>      
>
>     Please let me know.
>
>      
>
>     Thanks.
>
>      
>
>      
>
>
>
>
> -- 
> Thilina Gunarathne - http://thilinag.blogspot.com


-- 
Samisa Abeysinghe

http://people.apache.org/~samisa/


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: mtom file size

Posted by Thilina Gunarathne <cs...@gmail.com>.
I'm not sure whether Axis2 MTOM policy implementation supports such a
scenerio.. Other than that, I cannot think of any..

thanks,
Thilina

On Mon, Aug 11, 2008 at 5:38 PM, Shehan Simen <ss...@itree.com.au> wrote:

>  Hi,
>
> I want to specify the maximum file size when using MTOM.
>
> The client should not send to the service files bigger than 5mb and I am
> using MTOM with axis2 1.4 (deployed in tomcat)
>
> How to restrict the file size?
>
>
>
> Please let me know.
>
>
>
> Thanks.
>
>
>
>
>



-- 
Thilina Gunarathne - http://thilinag.blogspot.com