Hi Freeman,
Can u please have u look into this.. I reaised request on
servicemix.396122.n5.nabble.com, below is the url
http://servicemix.396122.n5.nabble.com/issue-with-servicemix-cxf-bc-2010-01-installer-zip-while-connectingSFTP-server-td5165928.html
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
Confidential: This electronic message and all contents contain information from
Syntel, Inc. which may be privileged, confidential or otherwise protected from
disclosure. The information is intended to be for the addressee only. If you
are not the addressee, any disclosure, copy, distribution or use of the
contents of this message is prohibited. If you have received this electronic
message in error, please notify the sender immediately and destroy the original
message and all copies.
--
View this message in context:
http://servicemix.396122.n5.nabble.com/issue-with-servicemix-cxf-bc-2010-01-installer-zip-while-connecting-SFTP-server-tp5165944p5165944.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.