Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Help & Support (https://www.gnutellaforums.com/help-support/)
-   -   Phex on OpenVMS (https://www.gnutellaforums.com/help-support/87908-phex-openvms.html)

t.uso September 30th, 2008 10:12 AM

Phex on OpenVMS
 
Hi,

I am trying to use Phex 3.2.6-106 on an Itanium server with OpenVMS 8.3-1H1 and Java 1.5.

The download of a file into the INCOMPLETE directory is ok but the transfert of the complete file from the INCOMPLETE directory into the DOWNLOAD directory fails.

I suspect a problem related to the OpenVMS filesystem which has some special features. What is the java source file where the transfert from the INCOMPLETE to DOWNLOAD directory is coded ?

Thanks for your help.

GregorK October 1st, 2008 12:22 AM

The rename/copy operation is triggered in that order from top to bottom:

phex/download/MemoryFile.writeBuffersToDisk()
phex/download/swarming/SWDownloadFile.moveToDestinationFile()
phex/common/file/ManagedFile.renameFile( File )
phex/utils/FileUtils.renameFileMultiFallback()

Our observation shows that apparently sometimes there is a file system locking problem which seems to prevent the file operation, specially common on Windows. Or during other times, strange concurrency bugs which cause MemoryFile not detect correctly that the file has finished. Usually these problems only occur rarely. We are not sure why some people have permanent problems.


All times are GMT -7. The time now is 05:57 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.