Hi Stefan, I will be looking into this matter and will get back to you in the shortest time frame possible.
Regards, Dinuka stlecho wrote: > Hi, > > I'm finalizing a POC and would like to know if someone is treating this > issue :o). > > Regards, Stefan. > > stlecho wrote: > >> Hi, >> >> I've create a Proxy that is connected to a specific mailbox. When sending >> a text message to the mailbox, the ESB generates a "Could not completely >> read the stream to conver to a byte[]" error. >> >> Stacktrace >> S: +OK message follows >> Delivered-To: [EMAIL PROTECTED] >> Received: by 10.187.157.13 with SMTP id j13cs4211fao; >> Thu, 28 Aug 2008 00:30:23 -0700 (PDT) >> Received: by 10.86.94.11 with SMTP id r11mr809357fgb.0.1219908623158; >> Thu, 28 Aug 2008 00:30:23 -0700 (PDT) >> Return-Path: <[EMAIL PROTECTED]> >> Received: from relay.belnot.home >> (178.31-246-81.adsl-static.isp.belgacom.be [81.246.31.178]) >> by mx.google.com with ESMTP id >> 12si686813fgg.0.2008.08.28.00.30.22; >> Thu, 28 Aug 2008 00:30:23 -0700 (PDT) >> Received-SPF: neutral (google.com: 81.246.31.178 is neither permitted nor >> denied by best guess record for domain of [EMAIL PROTECTED]) >> client-ip=81.246.31.178; >> Authentication-Results: mx.google.com; spf=neutral (google.com: >> 81.246.31.178 is neither permitted nor denied by best guess record for >> domain of [EMAIL PROTECTED]) [EMAIL PROTECTED] >> Received: from sanmail.fednot.be (unknown [192.168.17.7]) >> by relay.belnot.home (Postfix) with ESMTP id AEABA1D42E64 >> for <[EMAIL PROTECTED]>; Thu, 28 Aug 2008 09:30:22 +0200 (CEST) >> Content-class: urn:content-classes:message >> MIME-Version: 1.0 >> Content-Type: multipart/alternative; >> boundary="----_=_NextPart_001_01C908DF.EE56DAD3" >> X-MimeOLE: Produced By Microsoft Exchange V6.5 >> Subject: Test >> Date: Thu, 28 Aug 2008 09:30:22 +0200 >> Message-ID: <[EMAIL PROTECTED]> >> X-MS-Has-Attach: >> X-MS-TNEF-Correlator: >> Thread-Topic: Test >> Thread-Index: AckI3+4P1j15g/K6RnqzRh1KI6giYw== >> From: "Stefan Lecho" <[EMAIL PROTECTED]> >> To: <[EMAIL PROTECTED]> >> >> This is a multi-part message in MIME format. >> >> ------_=_NextPart_001_01C908DF.EE56DAD3 >> Content-Type: text/plain; >> charset="us-ascii" >> Content-Transfer-Encoding: quoted-printable >> >> Test for WSO2ESB >> =20 >> ___________ >> Stefan Lecho >> =20 >> >> ------_=_NextPart_001_01C908DF.EE56DAD3 >> Content-Type: text/html; >> charset="us-ascii" >> Content-Transfer-Encoding: quoted-printable >> >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >> <HTML><HEAD> >> <META http-equiv=3DContent-Type content=3D"text/html; = >> charset=3Dus-ascii"> >> <META content=3D"MSHTML 6.00.6000.16705" name=3DGENERATOR></HEAD> >> <BODY> >> <DIV>Test = >> for=20 >> WSO2ESB</DIV> >> <DIV> </DIV> >> <DIV>___________</DIV> >> <DIV>Stefan Lecho</DIV> >> <DIV> </DIV></BODY></HTML> >> >> ------_=_NextPart_001_01C908DF.EE56DAD3-- >> . >> 2008-08-28 09:30:37,058 [-] [mailto-Worker-2] DEBUG MailTransportListener >> Processing message as Content-Type : multipart/alternative; >> boundary="----_=_NextPart_001_01C908DF.EE56DAD3" >> 2008-08-28 09:30:37,104 [-] [mailto-Worker-2] DEBUG BaseUtils Non SOAP/XML >> message received >> 2008-08-28 09:30:37,104 [-] [mailto-Worker-2] ERROR BaseUtils Could not >> completely read the stream to conver to a byte[] >> 2008-08-28 09:30:37,120 [-] [mailto-Worker-2] DEBUG MailUtils Error >> reading message payload as text for : 1 >> org.apache.synapse.transport.base.BaseTransportException: Could not >> completely read the stream to conver to a byte[] >> at >> org.apache.synapse.transport.base.BaseUtils.handleException(BaseUtils.java:376) >> at >> org.apache.synapse.transport.mail.MailUtils.getBytesFromInputStream(MailUtils.java:144) >> at >> org.apache.synapse.transport.mail.MailUtils.getMessageTextPayload(MailUtils.java:108) >> at >> org.apache.synapse.transport.base.BaseUtils.handleLegacyMessage(BaseUtils.java:307) >> at >> org.apache.synapse.transport.base.BaseUtils.setSOAPEnvelope(BaseUtils.java:259) >> at >> org.apache.synapse.transport.mail.MailTransportListener.processMail(MailTransportListener.java:372) >> at >> org.apache.synapse.transport.mail.MailTransportListener.checkMail(MailTransportListener.java:199) >> at >> org.apache.synapse.transport.mail.MailTransportListener.onPoll(MailTransportListener.java:90) >> at >> org.apache.synapse.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:94) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) >> at java.lang.Thread.run(Thread.java:595) >> 2008-08-28 09:30:37,136 [-] [mailto-Worker-2] ERROR BaseUtils Could not >> completely read the stream to conver to a byte[] >> 2008-08-28 09:30:37,136 [-] [mailto-Worker-2] ERROR BaseUtils Error >> reading message payload as a byte[] for : 1 >> org.apache.synapse.transport.base.BaseTransportException: Could not >> completely read the stream to conver to a byte[] >> at >> org.apache.synapse.transport.base.BaseUtils.handleException(BaseUtils.java:376) >> at >> org.apache.synapse.transport.mail.MailUtils.getBytesFromInputStream(MailUtils.java:144) >> at >> org.apache.synapse.transport.mail.MailUtils.getMessageBinaryPayload(MailUtils.java:122) >> at >> org.apache.synapse.transport.base.BaseUtils.handleLegacyMessage(BaseUtils.java:318) >> at >> org.apache.synapse.transport.base.BaseUtils.setSOAPEnvelope(BaseUtils.java:259) >> at >> org.apache.synapse.transport.mail.MailTransportListener.processMail(MailTransportListener.java:372) >> at >> org.apache.synapse.transport.mail.MailTransportListener.checkMail(MailTransportListener.java:199) >> at >> org.apache.synapse.transport.mail.MailTransportListener.onPoll(MailTransportListener.java:90) >> at >> org.apache.synapse.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:94) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) >> at java.lang.Thread.run(Thread.java:595) >> 2008-08-28 09:30:37,136 [-] [mailto-Worker-2] DEBUG MailTransportListener >> Deleting email :1 >> >> >> >> > > _______________________________________________ Esb-java-user mailing list [email protected] http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
