Lars Thanks a lot for your hint. Sadly the trailing slahs did not help, still getting the same exception:
java.io.IOException: Failed to initialize file system manager: org.apache.commons.vfs.FileSystemException: Badly formed URI "sftp://user:[email protected]/HOME/OUT/". at org.apache.servicemix.vfs.FileObjectResolver.resolveToFileObject(FileObjectResolver.java:66) at org.apache.servicemix.vfs.VFSPollingEndpoint.poll(VFSPollingEndpoint.java:229) at org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run(PollingEndpoint.java:202) 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:619) I checked the version of commons-vfs used in ServiceMix. I think it is version 1.0 because this is the only one released from commons ;-) Looking at their documentation it seems my URL is correct: ----- SFTP Provides access to the files on an SFTP server (that is, an SSH or SCP server). URI Format sftp://[ username [: password ]...@] hostname [: port ][ absolute-path ] Examples * sftp://myusername:mypassw...@somehost/pub/downloads/somefile.tgz ----- If you have more ideas please let me know. Regards Martin -- View this message in context: http://old.nabble.com/Exception-when-using-vsf%3Apoller-with-sftp-%28ServiceMix-4.2%29-tp28700187p28703576.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
