avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hammant <Paul_Hamm...@yahoo.com>
Subject masterstore.AbstractFileRepository - File name too long bug
Date Tue, 04 Sep 2001 11:22:22 GMT
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: 

(Filename too long)


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: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org

View raw message