2

我们正在使用石英调度程序在我们的mediation server项目中运行多个作业,spring 3.0 框架,hibernate,Apache tomcat。加载 tomcat 容器时,调度程序作业开始启动。一个作业在特定时间执行(假设第一个作业需要 1 分钟,第二个作业需要 3 分钟)从 ftp 获取最新的 cdr 文件(使用 commons-net 2.2 jar 和 filezilla 3.5.3)复制到本地系统. 我们得到

Unable to determine system type response: 331  Please specify the password.
Unable to determine system type response: 530

两个作业同时执行时的问题。

java.net.SocketException: Socket is not connected 

这里有什么问题?

4

1 回答 1

2

如果您在 Google 上搜索“331 请指定密码”。,您会看到这是一个 FTP 错误,表明您没有提供密码。

这是FTP 错误代码列表,指定331为:

331     User name okay, need password.
于 2012-02-06T11:40:32.057 回答