linux下sftp上传报java.io.IOException: Pipe closed
异常信息:2017-01-18 11:33:58,313 [default task-84] [cn.chinaunicom.sdsi.mtypt.common.util.SFtpTranferUtil] [INFO] - 创建session连接..................
2017-01-18 11:33:58,553 [default task-84] [cn.chinaunicom.sdsi.mtypt.common.util.SFtpTranferUtil] [INFO] - session连接..................
2017-01-18 11:33:58,553 [default task-84] [cn.chinaunicom.sdsi.mtypt.common.util.SFtpTranferUtil] [INFO] - 打开Channel..................
2017-01-18 11:33:58,632 [default task-84] [cn.chinaunicom.sdsi.mtypt.common.util.SFtpTranferUtil] [DEBUG] - 异常信息:java.io.IOException: Pipe closed
2017-01-18 11:33:58,633 [default task-84] [stderr] [ERROR] - com.jcraft.jsch.JSchException: java.io.IOException: Pipe closed
2017-01-18 11:33:58,635 [default task-84] [stderr] [ERROR] - at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:315)
2017-01-18 11:33:58,635 [default task-84] [stderr] [ERROR] - at com.jcraft.jsch.Channel.connect(Channel.java:152)
2017-01-18 11:33:58,635 [default task-84] [stderr] [ERROR] - at com.jcraft.jsch.Channel.connect(Channel.java:145)
2017-01-18 11:33:58,636 [default task-84] [stderr] [ERROR] - at cn.chinaunicom.sdsi.mtypt.common.util.SFtpTranferUtil.connect(SFtpTranferUtil.java:73)
2017-01-18 11:33:58,636 [default task-84] [stderr] [ERROR] - at cn.chinaunicom.sdsi.mtypt.common.util.SFtpTranferUtil.upload(SFtpTranferUtil.java:89)
2017-01-18 11:33:58,636 [default task-84] [stderr] [ERROR] - at cn.chinaunicom.sdsi.mtypt.document.service.impl.DocumentTrainingServiceImpl.updateUploadFile(DocumentTrainingServiceImpl.java:98)
2017-01-18 11:33:58,637 [default task-84] [stderr] [ERROR] - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2017-01-18 11:33:58,638 [default task-84] [stderr] [ERROR] - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2017-01-18 11:33:58,638 [default task-84] [stderr] [ERROR] - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-01-18 11:33:58,638 [default task-84] [stderr] [ERROR] - at java.lang.reflect.Method.invoke(Method.java:498)
2017-01-18 11:33:58,638 [default task-84] [stderr] [ERROR] - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
2017-01-18 11:33:58,639 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
2017-01-18 11:33:58,639 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
2017-01-18 11:33:58,641 [default task-84] [stderr] [ERROR] - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
2017-01-18 11:33:58,643 [default task-84] [stderr] [ERROR] - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
2017-01-18 11:33:58,643 [default task-84] [stderr] [ERROR] - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
2017-01-18 11:33:58,644 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-01-18 11:33:58,644 [default task-84] [stderr] [ERROR] - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
2017-01-18 11:33:58,644 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-01-18 11:33:58,645 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
2017-01-18 11:33:58,645 [default task-84] [stderr] [ERROR] - at com.sun.proxy.$Proxy152.updateUploadFile(Unknown Source)
2017-01-18 11:33:58,645 [default task-84] [stderr] [ERROR] - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2017-01-18 11:33:58,646 [default task-84] [stderr] [ERROR] - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2017-01-18 11:33:58,646 [default task-84] [stderr] [ERROR] - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-01-18 11:33:58,647 [default task-84] [stderr] [ERROR] - at java.lang.reflect.Method.invoke(Method.java:498)
2017-01-18 11:33:58,647 [default task-84] [stderr] [ERROR] - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
2017-01-18 11:33:58,647 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
2017-01-18 11:33:58,648 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
2017-01-18 11:33:58,648 [default task-84] [stderr] [ERROR] - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
2017-01-18 11:33:58,649 [default task-84] [stderr] [ERROR] - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
2017-01-18 11:33:58,649 [default task-84] [stderr] [ERROR] - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
2017-01-18 11:33:58,649 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-01-18 11:33:58,650 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
2017-01-18 11:33:58,650 [default task-84] [stderr] [ERROR] - at com.sun.proxy.$Proxy152.updateUploadFile(Unknown Source)
2017-01-18 11:33:58,650 [default task-84] [stderr] [ERROR] - at cn.chinaunicom.sdsi.mtypt.document.controller.DocumentTrainingController.uploadFile(DocumentTrainingController.java:301)
2017-01-18 11:33:58,651 [default task-84] [stderr] [ERROR] - at cn.chinaunicom.sdsi.mtypt.document.controller.DocumentTrainingController$$FastClassBySpringCGLIB$$ed4e2786.invoke(<generated>)
2017-01-18 11:33:58,651 [default task-84] [stderr] [ERROR] - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
2017-01-18 11:33:58,652 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717)
2017-01-18 11:33:58,652 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
2017-01-18 11:33:58,652 [default task-84] [stderr] [ERROR] - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
2017-01-18 11:33:58,653 [default task-84] [stderr] [ERROR] - at cn.chinaunicom.sdsi.frm.spring.OperationLog.doOperationLog(OperationLog.java:70)
2017-01-18 11:33:58,653 [default task-84] [stderr] [ERROR] - at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
2017-01-18 11:33:58,653 [default task-84] [stderr] [ERROR] - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-01-18 11:33:58,654 [default task-84] [stderr] [ERROR] - at java.lang.reflect.Method.invoke(Method.java:498)
2017-01-18 11:33:58,654 [default task-84] [stderr] [ERROR] - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
2017-01-18 11:33:58,655 [default task-84] [stderr] [ERROR] - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
2017-01-18 11:33:58,655 [default task-84] [stderr] [ERROR] - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68)
2017-01-18 11:33:58,656 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-01-18 11:33:58,656 [default task-84] [stderr] [ERROR] - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
2017-01-18 11:33:58,656 [default task-84] [stderr] [ERROR] - at cn.chinaunicom.sdsi.mtypt.document.controller.DocumentTrainingController$$EnhancerBySpringCGLIB$$74c5ad2a.uploadFile(<generated>)
2017-01-18 11:33:58,657 [default task-84] [stderr] [ERROR] - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)