[ 
https://wso2.org/jira/browse/ESBJAVA-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16842#action_16842
 ] 

Ruwan Linton commented on ESBJAVA-432:
--------------------------------------

I think this was caused by the SYNAPSE-322, and that is fixed now.

> ConcurrentModificationException thrown when saving a Proxy service with mail 
> transport properties
> -------------------------------------------------------------------------------------------------
>
>                 Key: ESBJAVA-432
>                 URL: https://wso2.org/jira/browse/ESBJAVA-432
>             Project: WSO2 ESB
>          Issue Type: Bug
>          Components: Administration Console
>    Affects Versions: 1.6
>         Environment: Ubuntu7.04, JDK1.5.0_12
>            Reporter: Evanthika Amarasiri
>            Assignee: Ruwan Linton
>             Fix For: 1.7
>
>
> Created the proxy sercvice as follows (sample 256)
> <definitions xmlns="http://ws.apache.org/ns/synapse";>
>     <proxy name="StockQuoteProxy" transports="mailto">
>         <parameter name="transport.mail.Address">[EMAIL PROTECTED]</parameter>
>         <parameter name="transport.mail.Protocol">pop3</parameter>
>         <parameter name="transport.PollInterval">5</parameter>
>         <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>
>         <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>
>         <target>
>             <inSequence>
>                 <property name="senderAddress" 
> expression="get-property('transport', 'From')"/>
>                 <log level="full">
>                     <property name="Sender Address" 
> expression="get-property('senderAddress')"/>
>                 </log>
>                 <send>
>                     <endpoint>
>                         <address 
> uri="http://localhost:9000/soap/SimpleStockQuoteService"/>
>                     </endpoint>
>                 </send>
>             </inSequence>
>             <outSequence>
>                 <property name="Subject" value="Custom Subject for Response" 
> scope="transport"/>
>                 <header name="To" expression="fn:concat('mailto:', 
> get-property('senderAddress'))"/>
>                 <log level="full">
>                     <property name="message" value="Response message"/>
>                     <property name="Sender Address" 
> expression="get-property('senderAddress')"/>
>                 </log>
>                 <send/>
>             </outSequence>
>         </target>
>         <publishWSDL 
> uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/>
>     </proxy>
> </definitions> 
> Tried to make some changes and save the proxy service.
> Received the following exception on the ESB console
> Exception in thread "mailto-Worker-3" 
> java.util.ConcurrentModificationException
>         at 
> java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
>         at java.util.AbstractList$Itr.next(AbstractList.java:420)
>         at 
> org.apache.synapse.transport.mail.MailTransportListener.onPoll(MailTransportListener.java:80)
>         at 
> org.apache.synapse.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:77)
>         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)

-- 
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://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to