Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

asjaswal

Posts

3

Joined

Sat Oct 09, 2010 9:42 am

Error - The message store has reached EOF

by asjaswal » Sat Oct 09, 2010 9:54 am

We have a Java Process that periodically polls a certain Remote Windows Server looking for new files and then copies them over for processing. We use edtFTPj/PRO to connect to the server and copy files using SSHFTPClient.
Occasionally we are seeing the error

com.enterprisedt.net.j2ssh.transport.MessageStoreEOFException: The message store has reached EOF

There is no pattern to it, just happens few times daily. If someone can give us a direction it will be very helpful. The full stack trace is -

com.enterprisedt.net.j2ssh.authentication.AuthenticationProtocolException: Failed to read messages
at com.enterprisedt.net.j2ssh.authentication.AuthenticationProtocolClient.A(Unknown Source)
at com.enterprisedt.net.j2ssh.authentication.AuthenticationProtocolClient.readMessage(Unknown Source)
at com.enterprisedt.net.j2ssh.authentication.PasswordAuthenticationClient.authenticate(Unknown Source)
at com.enterprisedt.net.j2ssh.authentication.AuthenticationProtocolClient.authenticate(Unknown Source)
at com.enterprisedt.net.j2ssh.SshClient.authenticate(Unknown Source)
at com.enterprisedt.net.ftp.ssh.SCPClient.connectSSH(Unknown Source)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.connect(Unknown Source)
at com.maximus.federal.partc.SFTP.SFTPClient.checkConnection(SFTPClient.java:60)
at com.maximus.federal.partc.SFTP.IBMLServerSFTPClient.processImagingTask(IBMLServerSFTPClient.java:72)
at com.maximus.federal.partc.image.ImportScanImageServiceImp.importImage(ImportScanImageServiceImp.java:21)
at com.maximus.federal.partc.image.ImportScannedImageTask.execute(ImportScannedImageTask.java:39)
at com.maximus.federal.stateappeals.scheduler.Task.run(Task.java:28)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: com.enterprisedt.net.j2ssh.transport.MessageStoreEOFException: The message store has reached EOF
at com.enterprisedt.net.j2ssh.transport.SshMessageStore.getMessage(Unknown Source)
at com.enterprisedt.net.j2ssh.transport.SshMessageStore.getMessage(Unknown Source)
... 14 more
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Error - The message store has reached EOF

by support2 » Mon Oct 11, 2010 9:29 pm

Please enable logging at the ALL level and email us the zipped log file (showing the error). support at enterprisedt dot com.
no avatar
User

asjaswal

Posts

3

Joined

Sat Oct 09, 2010 9:42 am

Re: Error - The message store has reached EOF

by asjaswal » Fri Oct 15, 2010 5:21 am

Can you please advise if the proprietary logging in the edtFTPj/PRO has ways in which the logging to a file appender can be rolled based on the file size?
After enabling log, the file size is increasing very much. We had to remove it from Production.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Error - The message store has reached EOF

by support2 » Fri Oct 15, 2010 4:17 pm

In that case setting to DEBUG will result in a much smaller log but still provide us with hopefully enough detail.

The next release of edtFTPj/PRO will include a RollingFileAppender. If you'd like a build with this included, please email us and we'll send it to you.

The other alternative is to use the log4j integration.

Who is online

Users browsing this forum: No registered users and 18 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign