[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1282) Spurious log WARN about filesystem path lenght
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Feb 1 20:23:03 EST 2008
Spurious log WARN about filesystem path lenght
----------------------------------------------
Key: JBCACHE-1282
URL: http://jira.jboss.com/jira/browse/JBCACHE-1282
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Cache loaders
Affects Versions: 2.1.0.CR3
Reporter: Brian Stansberry
Assigned To: Manik Surtani
Priority: Minor
FileCacheLoader has a isLengthPortablePath() method that logs tons of WARN messages if the path to store a node is > 255 chars. This seems unnecessary in JBC 2.x, since
1) The path size limit is removed in the NT and NTFS filesystems. I don't think Window 9x has significant JBC 2.x usage. ;)
2) The JDK issue that prevented java.io from properly dealing with long windows paths is fixed in JDK 5 (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4403166)
Users can avoid the logging by setting "checkCharacterPortability=false" to false in their FileCacheLoader configuration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list