Files locked by JVM in pendingMDN folder - OpenAS2 v4.8.2 #528
Replies: 5 comments 8 replies
-
|
Nobody has reported an y issues like this. |
Beta Was this translation helpful? Give feedback.
-
|
One more thing - do the files that are getting stuck have ".object" extension or no extension? |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I am adding an item; this only happens in the event of a transmission error once all retry attempts have been exhausted.
|
Beta Was this translation helpful? Give feedback.
-
|
Does this happen with all files sent or only the ones that end up in the resender module (this particular example is a file that is being resent via the DirectoryResenderModule thread as indicated in the log message prefix)? The code that controls the creation of the pending file as well as the code that does the cleanup do not open a file handle directly on the cleanup files but instead uses the Apache Commons FileUtils commands. Apaches moveFile actuallly uses a copyfile then delete in your case. This is the Apache method: I have searched on this issue more generally and there do seem to be reported issues using Apache Commons FileUtils when the destination is a Windows network drive. Can you confirm that the file actually does exist in the target network file system: |
Beta Was this translation helpful? Give feedback.
-
|
Please can you confirm that the file actually existed on the file system: From my perspective, this log message is the key to what the real problem is: So in fact the file was not moved because it no longer existed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am reaching out because we are encountering a file-locking issue after upgrading our environment to OpenAS2 v4.8.2.
The Issue
Files are getting stuck in the pendingMDN directory. It appears that the JVM itself maintains an active lock on these files even after the initial processing attempt.
Environment
Has anyone else experienced this with version 4.8.2? Are there any new settings or known bugs regarding file handle management in this release?
Any suggestions or patches would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions