Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-854

Mail proxy sample broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • NIGHTLY
    • None
    • Transports
    • None

    Description

      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

      Attachments

        1. FixForIssue854.patch
          1 kB
          Chanaka Fernando

        Activity

          People

            isudana Isuru Udana
            sagara Sagara Gunathunga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: