I am traying to fetch file from an sftp-server using vsf:poller. Here is the
config:
<vfs:poller service="proj:filePoller" endpoint="poller"
path="sftp://user:[email protected]/HOME/OUT"
targetService="proj:fileSender" period="10000"
deleteFile="true" recursive="false">
<property name="marshaler">
<bean
class="org.apache.servicemix.components.util.BinaryFileMarshaler"
/>
</property>
</vfs:poller>
However when the poller is running i get the following exception:
java.io.IOException: Failed to initialize file system manager:
org.apache.commons.vfs.FileSystemException: Badly formed URI
"sftp://user:[email protected]/HOME/OUT".
My first guess was that the jsch bundle is missing so i added and activated
the bundle org.apache.servicemix.bundles.jsch (Version 0.1.42.1) but this
did not help either. Still keep gettins this exception.
Any help is welcome!
Martin
--
View this message in context:
http://old.nabble.com/Exception-when-using-vsf%3Apoller-with-sftp-%28ServiceMix-4.2%29-tp28700187p28700187.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.