Hi Freeman,

                We are facing some weird issue with
servicemix-cxf-bc-2010.01-installer.zip.
Issue is, we have servicemix bean components for polling FTP as well as SFTP
directories {java code for polling ftp and sftp}. By default
servicemix-cxf-bc-2008.01-installer.zip is there under hotDeploy dir., it’s
working fine. But recently we implemented few more components under cxf
binding component. For that we added servicemix-cxf-bc-2010.01-installer.zip
and removed 2008 installer file. When we added 2010 installer , we are
facing issues while connecting with SFTP from bean component.

We tried to replicate with 2008 installer. But it’s working fine. When we
tried with 2010 installer again we are getting the below exception.
Please suggest us….

Could not connect to SFTP server at "sftp://USER:pwd@host/";.
org.apache.commons.vfs.FileSystemException: Could not connect to SFTP server
at "sftp://USER:pwd@host/";.
        at
org.apache.commons.vfs.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:99)
        at
org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:81)
        at
org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:62)
        at
org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:641)
        at
org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:582)
        at
com.jui.sioprofile.sync.FilePollerBean.runJob(FilePollerBean.java:298)
        at
com.jui.sioprofile.sync.FilePollerBean.onMessageExchange(FilePollerBean.java:88)
        at
org.apache.servicemix.bean.BeanEndpoint.onProviderExchange(BeanEndpoint.java:226)
        at
org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:212)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
        at
org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        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)
Caused by: org.apache.commons.vfs.FileSystemException: Could not connect to
SFTP server at "host".
        at
org.apache.commons.vfs.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:214)
        at
org.apache.commons.vfs.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:90)
        ... 19 more
Caused by: com.jcraft.jsch.JSchException: Session.connect:
java.io.IOException: MAC Error
        at com.jcraft.jsch.Session.connect(Session.java:475)
        at com.jcraft.jsch.Session.connect(Session.java:142)
        at
org.apache.commons.vfs.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:210)
        ... 20 more


--
View this message in context: 
http://servicemix.396122.n5.nabble.com/issue-with-servicemix-cxf-bc-2010-01-installer-zip-while-connectingSFTP-server-tp5165928p5165928.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to