synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuwan Dias <nuw...@wso2.com>
Subject Re: [jira] [Created] (SYNAPSE-854) Mail proxcy sample broken
Date Fri, 16 Mar 2012 08:38:26 GMT
Hi,

I have been looking into this and it seems like the issue is with
the com.sun.mail.pop3.POP3Message class. The transport headers in the *
POP3Message* class are not being set for some reason (*headers* contain a
list of *javax.mail.internet.InternetHeaders* whose value attributes are
all *null*). This causes the failure in the MailTransportSender since it
cannot find the 'To' address.

Any ideas as to why this could be happening?

Thanks,
NuwanD.

On Thu, Mar 15, 2012 at 11:33 AM, Sagara Gunathunga (Created) (JIRA) <
jira@apache.org> wrote:

> Mail proxcy sample broken
> --------------------------
>
>                 Key: SYNAPSE-854
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-854
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: NIGHTLY
>            Reporter: Sagara Gunathunga
>            Priority: Critical
>
>
> Getting following exception when running sample256 with latest snapshot
> version of Synapse.. Please note that I have tested same mail transport
> component used in here with Axis2 without any issue also this sample worked
> fine with a WSO2 ESB 4.0.2 that also based on Synapse.
>
> 012-03-14 11:56:02,401 [-] [mailto-Worker-4] ERROR AxisEngine The
> endpoint reference (EPR) for the Operation not found is  and the WSA
> Action = null. If this EPR was previously reachable, please contact
> the server administrator.
> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the
> Operation not found is  and the WSA Action = null. If this EPR was
> previously reachable, please contact the server administrator.
>       at
> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:117)
>       at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
>       at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>       at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>       at
> org.apache.axis2.transport.base.AbstractTransportListener.handleIncomingMessage(AbstractTransportListener.java:328)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.processMail(MailTransportListener.java:524)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.access$000(MailTransportListener.java:61)
>       at
> org.apache.axis2.transport.mail.MailTransportListener$MailProcessor.run(MailTransportListener.java:331)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.processMail(MailTransportListener.java:295)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.checkMail(MailTransportListener.java:199)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.poll(MailTransportListener.java:80)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.poll(MailTransportListener.java:61)
>       at
> org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:67)
>       at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173)
>       at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:662)
> 2012-03-14 11:56:02,403 [-] [mailto-Worker-4] ERROR
> MailTransportSender To address for outgoing message cannot be
> determined
> 2012-03-14 11:56:02,404 [-] [mailto-Worker-4] ERROR
> MailTransportSender Error generating mail message
> org.apache.axis2.AxisFault: To address for outgoing message cannot be
> determined
>       at
> org.apache.axis2.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:231)
>       at
> org.apache.axis2.transport.mail.MailTransportSender.sendMail(MailTransportSender.java:314)
>       at
> org.apache.axis2.transport.mail.MailTransportSender.sendMessage(MailTransportSender.java:175)
>       at
> org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:119)
>       at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:526)
>       at
> org.apache.axis2.transport.base.AbstractTransportListener.handleIncomingMessage(AbstractTransportListener.java:336)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.processMail(MailTransportListener.java:524)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.access$000(MailTransportListener.java:61)
>       at
> org.apache.axis2.transport.mail.MailTransportListener$MailProcessor.run(MailTransportListener.java:331)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.processMail(MailTransportListener.java:295)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.checkMail(MailTransportListener.java:199)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.poll(MailTransportListener.java:80)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.poll(MailTransportListener.java:61)
>       at
> org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:67)
>       at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173)
>       at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:662)
> 2012-03-14 11:56:02,405 [-] [mailto-Worker-4] ERROR
> MailTransportListener Failed to process message
> org.apache.axis2.AxisFault: Error generating mail message
>       at
> org.apache.axis2.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:226)
>       at
> org.apache.axis2.transport.mail.MailTransportSender.sendMessage(MailTransportSender.java:184)
>       at
> org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:119)
>       at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:526)
>       at
> org.apache.axis2.transport.base.AbstractTransportListener.handleIncomingMessage(AbstractTransportListener.java:336)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.processMail(MailTransportListener.java:524)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.access$000(MailTransportListener.java:61)
>       at
> org.apache.axis2.transport.mail.MailTransportListener$MailProcessor.run(MailTransportListener.java:331)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.processMail(MailTransportListener.java:295)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.checkMail(MailTransportListener.java:199)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.poll(MailTransportListener.java:80)
>       at
> org.apache.axis2.transport.mail.MailTransportListener.poll(MailTransportListener.java:61)
>       at
> org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:67)
>       at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173)
>       at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.axis2.AxisFault: To address for outgoing message
> cannot be determined
>       at
> org.apache.axis2.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:231)
>       at
> org.apache.axis2.transport.mail.MailTransportSender.sendMail(MailTransportSender.java:314)
>       at
> org.apache.axis2.transport.mail.MailTransportSender.sendMessage(MailTransportSender.java:175)
>       ... 15 more
>
>
>
>
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>


-- 
Nuwan Dias

Software Engineer - WSO2, Inc.
Integration Technologies Team
email : nuwand@wso2.com
Phone : +94 777 775 729

Mime
View raw message