You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by speed <su...@gmail.com> on 2006/07/13 05:04:11 UTC
FTPPoller failing with return code:530
Can someone please help me out here. I can access ftp site without any
problem outside of servicemix but when FTPPoller is used it is constantly
giving me this error.
I have walked through the source code with Eclipse debugger (remote) and
checked that both userid and password being passed correctly. It fails when
password is sent with "PASS test123" command in the source code.
Here is the servicemix.xml snippet:
<sm:activationSpec componentName="ftpPoller" service="foo:ftpPoller"
destinationService="foo:xmltransformer">
<sm:component>
<bean class="org.apache.servicemix.components.net.FTPPoller">
<property name="clientPool">
<bean id="ftpClientPool"
class="org.apache.servicemix.components.net.FTPClientPool">
<property name="host" value="ftp.myhost.com"/>
<property name="username" value="test"/>
<property name="password" value="test123"/>
</bean>
</property>
<property name="marshaler" ref="marshaler"/>
<property name="path" value="./test/incoming/vendor"/>
<property name="period" value="6000000"/>
</bean>
</sm:component>
</sm:activationSpec>
Error msg:
javax.jbi.JBIException:
org.apache.servicemix.components.net.ConnectionRefusedException: Connection
refused with return code: 530
at
org.apache.servicemix.components.net.FTPPoller.borrowClient(FTPPoller.java:164)
at org.apache.servicemix.components.net.FTPPoller.poll(FTPPoller.java:58)
at
org.apache.servicemix.components.util.PollingComponentSupport.run(PollingComponentSupport.java:61)
at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.servicemix.components.net.ConnectionRefusedException:
Connection refused with return code: 530
at
org.apache.servicemix.components.net.FTPClientPool.connect(FTPClientPool.java:110)
at
org.apache.servicemix.components.net.SocketClientPoolSupport.makeObject(SocketClientPoolSupport.java:69)
at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771)
at
org.apache.servicemix.components.net.SocketClientPoolSupport.borrowClient(SocketClientPoolSupport.java:58)
at
org.apache.servicemix.components.net.FTPPoller.borrowClient(FTPPoller.java:161)
--
View this message in context: http://www.nabble.com/FTPPoller-failing-with-return-code%3A530-tf1934780.html#a5301257
Sent from the ServiceMix - User forum at Nabble.com.