[ 
https://wso2.org/jira/browse/ESBJAVA-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Asankha Perera resolved ESBJAVA-577.
------------------------------------

         Assignee: Asankha Perera  (was: Ruwan Linton)
    Fix Version/s: 1.7
       Resolution: Not a bug

Ravi

This is not a defect. A Proxy service exposed over the mail transport requires 
a few additional parameters to correctly execute. See 
http://wso2.org/project/esb/java/1.7.1/docs/ESB_Samples.html#Sample256

To try sample #256, you could start the ESB as "wso2-esb.sh -sample 256" and 
this configuration would be pickedup and even displayed on the console when you 
login.

        <parameter name="transport.mail.Address">[EMAIL PROTECTED]</parameter>
        <parameter name="transport.mail.Protocol">pop3</parameter>
        <parameter name="transport.PollInterval">5</parameter>

The above three parameters are *required* and indicates the email address to be 
checked, the protocol and duration between polls in seconds

        <parameter name="mail.pop3.host">pop.gmail.com</parameter>
        <parameter name="mail.pop3.port">995</parameter>
        <parameter name="mail.pop3.user">synapse.demo.1</parameter>
        <parameter name="mail.pop3.password">mailpassword</parameter>

These define the mail server environment and credentials

        <parameter 
name="mail.pop3.socketFactory.class">javax.net.ssl.SSLSocketFactory</parameter>
        <parameter name="mail.pop3.socketFactory.fallback">false</parameter>
        <parameter name="mail.pop3.socketFactory.port">995</parameter>

The rest are typical Java mail properties, which may or may not be required, 
depending on your environment (i.e. mail server). For IMAP a corresponding set 
of Java mail properties exists

asankha

> Mail transport errors out when Axis2 is started
> -----------------------------------------------
>
>                 Key: ESBJAVA-577
>                 URL: https://wso2.org/jira/browse/ESBJAVA-577
>             Project: WSO2 ESB
>          Issue Type: Bug
>          Components: Core Engine
>    Affects Versions: 1.7.1
>         Environment: WinXP/ IE 7.0
>            Reporter: Ravi Banavara
>            Assignee: Asankha Perera
>             Fix For: 1.7
>
>
> When mail trnsport is enabled in Axis2.xml, and Axis2 is started, the error 
> recieved is:
> 2008-11-06 14:46:12,187 [-] [WrapperSimpleAppMain]  WARN 
> MailTransportListener Error configuring the Mail transport for Service : 
> SimpleStockQuoteService :: Cannot find parameter : transport.mail.Address for 
> service : SimpleStockQuoteService
> The same error is recieved when MAILTO is enabled for a proxy in the ESB 
> configuration page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to