Hi Nelson,

The problem is that if I increase the JVM memory, if the request length increases too, 
i will have the same problem.

I can't control the request size because "my client" makes it, not me.

:S  I saw this solution, but it's more like a temporal dirty patch than a nice 
solution.

Thank you for your help :D



-----Mensaje original-----
De: Nelson Minar [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 14 de mayo de 2004 0:08
Para: [EMAIL PROTECTED]
Asunto: RE: SOAP message size limit with Axis


>When the request comes into the Handler (i'm using the axis stable
>version 1.1), when i try to do an Long length =
>message.getContentLength(), my Tomcat3 server prints out a nice
>OutOfMemoryException, so i can't discard the long messages.

Do you know about the -Xmx flag to the JVM to increase the amount of
memory it is allowed to access? This is not specific to Tomcat or
Axis, but more a general Java thing.


---------------------------------------------------------------------------
Este mensaje se dirige exclusivamente a su destinatario y puede contener
informacion privilegiada o confidencial. Si no es vd. el destinatario 
indicado, queda notificado de que la utilizacion, divulgacion y/o copia sin 
autorizacion esta prohibida en virtud de la legislacion vigente. Si ha
recibido este mensaje por error, le rogamos que nos lo comunique. 
 
This message is intended exclusively for its addressee and may contain 
information that is CONFIDENTIAL and protected by professional privilege.
If you are not the intended recipient you are hereby notified that any
dissemination, copy or disclosure of this communication is strictly
prohibited by law. If this message has been received in error, please
immediately notify us via e-mail and delete it. 
---------------------------------------------------------------------------

Reply via email to