As part of migration changes for Jesktop, I have come across a problem with the length of file names for Cornerstone's ObjectRepository :

java.lang.RuntimeException: Exception caught while storing an object: java.io.FileNotFoundException: C:\Apache-CVS-UPD\jakarta-avalon-phoenix\dist\apps\jesktop\Jesktop\PersistenceStore\574D2D6F72672E6170616368652E6176616C6F6E2E6A65736B746F702E77696E646F776D616E61676572732E77696E646F7A652E57696E646F7A6557696E646F774D616E6167657231626F756E6473.Repository0.FileObjectStore (Filename too long)
at org.apache.avalon.cornerstone.blocks.masterstore.File_Persistent_Object_Repository.put(Unknown Source)


I'm using Windows 2000 and that files 271 chars long. Just a guess, but 256 looks to be a limit.

I have fixed it by making shorter keys in Jesktop, but I feel it's only a short term solution. I wonder if the munged key should use a hashing function instead of it's currentl impl. That's probably bad thing in certain uses, but I am not sure which. Thoughts? Maybe none needed until a more pressing problem.

- Paul


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to