DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37379>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37379 Summary: FileResourceManager fails on Xids because of toString() usage for directory names Product: Commons Version: 1.1 Final Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Transaction AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] As mentioned at http://marc.theaimsgroup.com/?l=jakarta-commons-dev&m=113101671215483&w=4 the FileResourceManager has a limitation due to the usage of toString() on the transaction IDs used for the directories: String baseDir = workDir + "/" + txId; String changeDir = baseDir + "/" + WORK_CHANGE_DIR; new File(changeDir).mkdirs(); In some environments you don't have influence on the created IDs like in JTA. The FileResourceManager fails on the then wrongly named directories. Therefore I introduced a getTransactionBaseDir(txId). The algorithm for it is quite easy and more or less copied from generatedUniqueTxId(). Don't know if it is good or if it works in every case, maybe a more solid algorithm might be needed. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]