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 Angel Todorov <at...@gmail.com> on 2007/06/23 22:30:56 UTC

[Axis2] Enabling MTOM globally on the server-side

Hi Thilina,

I have the following issue: When i enable MTOM globally in axis2.xml, on the
server-side, by default all my outgoing messages are sent as MIME
attachments (i.e Content-type: multipart/related) - as far as I can see in
the MTOM Guide, this is OK and a "feature". The problem is that my clients
always hang when such a message is received by the service client, and the
CPU goes to 100 %. I have traced the cause to reach the MIMEBuilder in
org.apache.axis2.builders.* , and after that it hangs. I also have to
mention that the clients don't send any MTOM optimized messages, but either
pure SOAP 1.1 (text+xml content type) , or SOAP 1.2 (application/soap+xml).

Has anyone else experienced such behaviour ? Is this normal ? Thanks.

P.S: My sources are from 30th of May's Snapshot.

Regards,
Angel

Re: [Axis2] Enabling MTOM globally on the server-side

Posted by Davanum Srinivas <da...@gmail.com>.
Angel,

this is *not* ok. please create a JIRA and upload your service and
client. I'll take a look.

thanks,
dims

On 6/23/07, Angel Todorov <at...@gmail.com> wrote:
> Hi Thilina,
>
> I have the following issue: When i enable MTOM globally in axis2.xml, on the
> server-side, by default all my outgoing messages are sent as MIME
> attachments (i.e Content-type: multipart/related) - as far as I can see in
> the MTOM Guide, this is OK and a "feature". The problem is that my clients
> always hang when such a message is received by the service client, and the
> CPU goes to 100 %. I have traced the cause to reach the MIMEBuilder in
> org.apache.axis2.builders.* , and after that it hangs. I also have to
> mention that the clients don't send any MTOM optimized messages, but either
> pure SOAP 1.1 (text+xml content type) , or SOAP 1.2 (application/soap+xml).
>
> Has anyone else experienced such behaviour ? Is this normal ? Thanks.
>
> P.S: My sources are from 30th of May's Snapshot.
>
> Regards,
> Angel
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

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