求助!附件上传FTP问题!

栏目:eas cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

求助!附件上传FTP问题!

如题,FTP参数已配置,测试连接成功。
在开发环境内,用BOS启动客户端上传附件,可正常上传到FTP目录。
但是如果单独运行EAS客户端,上传文件就失败,有人遇到类似的情况吗?
[code]
014-11-21 10:50:54 INFO [con.out] [2014-11-21 10:50:54,734 FATAL RPC-2]MDLoader loadMD pk2=[com.kingdee.eas.base.attachment.client.AttachmentByBoListUI!baqu] error.
Can't create info instance for type[baqu]
2014-11-21 10:51:03 INFO [con.out] [2014-11-21 10:51:03,953 ERROR RPC-9]sun.io.MalformedInputException
2014-11-21 10:51:03 ERROR [apusic.ejb.EAS.Tx_Broker_EJB] java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean.
java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean.
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:152)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy233.upload(Unknown Source)
at com.kingdee.eas.base.attachment.FtpHandleFacade.upload(FtpHandleFacade.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy232.upload(Unknown Source)
at com.kingdee.eas.base.attachment.app.AttachmentFtpHandleFacadeControllerBean._upload(AttachmentFtpHandleFacadeControllerBean.java:49)
at com.kingdee.eas.base.attachment.app.AbstractAttachmentFtpHandleFacadeControllerBean.upload(AbstractAttachmentFtpHandleFacadeControllerBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy229.upload(Unknown Source)
at com.kingdee.eas.base.attachment.AttachmentFtpHandleFacade.upload(AttachmentFtpHandleFacade.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy228.upload(Unknown Source)
at com.kingdee.eas.base.attachment.app.AttachmentControllerBean.addnew(AttachmentControllerBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy224.addnew(Unknown Source)
at com.kingdee.eas.base.attachment.Attachment.addnew(Attachment.java:97)
at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_attachment_1_IAttachment.pi3(Unknown Source)
at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_attachment_1_IAttachment.processInvoke(Unknown Source)
at com.kingdee.bos.rpc.impl.ObjectProxy.processInvoke(ObjectProxy.java:177)
at com.kingdee.bos.rpc.impl.RPCService.serviceInvoke(RPCService.java:773)
at com.kingdee.bos.rpc.impl.RPCService.service(RPCService.java:138)
at com.kingdee.bos.rpc.impl.ServiceDispatcher.run(ServiceDispatcher.java:153)
at com.kingdee.bos.rpc.impl.ThreadJob.run(ThreadJob.java:27)
at com.kingdee.bos.rpc.impl.ThreadPool2$Worker.run(ThreadPool2.java:131)
Caused by: java.lang.NullPointerException
at com.kingdee.eas.base.attachment.app.FtpHandleFacadeControllerBean.exceptionProcess(FtpHandleFacadeControllerBean.java:81)
at com.kingdee.eas.base.attachment.app.FtpHandleFacadeControllerBean._upload(FtpHandleFacadeControllerBean.java:75)
at com.kingdee.eas.base.attachment.app.AbstractFtpHandleFacadeControllerBean.upload(AbstractFtpHandleFacadeControllerBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
... 51 more
2014-11-21 10:51:03 INFO [con.out] [2014-11-21 10:51:03,953 ERROR RPC-9]Met a NonApplicationException, Maybe throw by EJBSTUB. Exception Type is [javax.ejb.TransactionRolledbackLocalException]
javax.ejb.TransactionRolledbackLocalException: Unexpected system failure, see server log for details.; nested exception is: java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean.
java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean.
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:152)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy233.upload(Unknown Source)
at com.kingdee.eas.base.attachment.FtpHandleFacade.upload(FtpHandleFacade.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy232.upload(Unknown Source)
at com.kingdee.eas.base.attachment.app.AttachmentFtpHandleFacadeControllerBean._upload(AttachmentFtpHandleFacadeControllerBean.java:49)
at com.kingdee.eas.base.attachment.app.AbstractAttachmentFtpHandleFacadeControllerBean.upload(AbstractAttachmentFtpHandleFacadeControllerBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy229.upload(Unknown Source)
at com.kingdee.eas.base.attachment.AttachmentFtpHandleFacade.upload(AttachmentFtpHandleFacade.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy228.upload(Unknown Source)
at com.kingdee.eas.base.attachment.app.AttachmentControllerBean.addnew(AttachmentControllerBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy224.addnew(Unknown Source)
at com.kingdee.eas.base.attachment.Attachment.addnew(Attachment.java:97)
at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_attachment_1_IAttachment.pi3(Unknown Source)
at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_attachment_1_IAttachment.processInvoke(Unknown Source)
at com.kingdee.bos.rpc.impl.ObjectProxy.processInvoke(ObjectProxy.java:177)
at com.kingdee.bos.rpc.impl.RPCService.serviceInvoke(RPCService.java:773)
at com.kingdee.bos.rpc.impl.RPCService.service(RPCService.java:138)
at com.kingdee.bos.rpc.impl.ServiceDispatcher.run(ServiceDispatcher.java:153)
at com.kingdee.bos.rpc.impl.ThreadJob.run(ThreadJob.java:27)
at com.kingdee.bos.rpc.impl.ThreadPool2$Worker.run(ThreadPool2.java:131)
Caused by: java.lang.NullPointerException
at com.kingdee.eas.base.attachment.app.FtpHandleFacadeControllerBean.exceptionProcess(FtpHandleFacadeControllerBean.java:81)
at com.kingdee.eas.base.attachment.app.FtpHandleFacadeControllerBean._upload(FtpHandleFacadeControllerBean.java:75)
at com.kingdee.eas.base.attachment.app.AbstractFtpHandleFacadeControllerBean.upload(AbstractFtpHandleFacadeControllerBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
... 51 more
javax.ejb.TransactionRolledbackLocalException: Unexpected system failure, see server log for details.; nested exception is: java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean.
at com.apusic.ejb.container.Container.postInvokeTx(Unknown Source)
at com.apusic.ejb.container.Component.postInvoke(Unknown Source)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy233.upload(Unknown Source)
at com.kingdee.eas.base.attachment.FtpHandleFacade.upload(FtpHandleFacade.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy232.upload(Unknown Source)
at com.kingdee.eas.base.attachment.app.AttachmentFtpHandleFacadeControllerBean._upload(AttachmentFtpHandleFacadeControllerBean.java:49)
at com.kingdee.eas.base.attachment.app.AbstractAttachmentFtpHandleFacadeControllerBean.upload(AbstractAttachmentFtpHandleFacadeControllerBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy229.upload(Unknown Source)
at com.kingdee.eas.base.attachment.AttachmentFtpHandleFacade.upload(AttachmentFtpHandleFacade.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at s
2014-11-21 10:51:03 INFO [con.out] un.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy228.upload(Unknown Source)
at com.kingdee.eas.base.attachment.app.AttachmentControllerBean.addnew(AttachmentControllerBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy224.addnew(Unknown Source)
at com.kingdee.eas.base.attachment.Attachment.addnew(Attachment.java:97)
at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_attachment_1_IAttachment.pi3(Unknown Source)
at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_attachment_1_IAttachment.processInvoke(Unknown Source)
at com.kingdee.bos.rpc.impl.ObjectProxy.processInvoke(ObjectProxy.java:177)
at com.kingdee.bos.rpc.impl.RPCService.serviceInvoke(RPCService.java:773)
at com.kingdee.bos.rpc.impl.RPCService.service(RPCService.java:138)
at com.kingdee.bos.rpc.impl.ServiceDispatcher.run(ServiceDispatcher.java:153)
at com.kingdee.bos.rpc.impl.ThreadJob.run(ThreadJob.java:27)
at com.kingdee.bos.rpc.impl.ThreadPool2$Worker.run(ThreadPool2.java:131)[/code]


要基础的同学看看

求助!附件上传FTP问题!

如题,FTP参数已配置,测试连接成功。在开发环境内,用BOS启动客户端上传附件,可正常上传到FTP目录。但是如果单独运行EAS客户端,上传文件...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息