commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Gomez Navarrete (JIRA)" <>
Subject [jira] [Created] (JCS-95) FileNotFound Exception if region name contains slash
Date Thu, 07 Jun 2012 10:36:22 GMT
Nicolas Gomez Navarrete created JCS-95:

             Summary: FileNotFound Exception if region name contains slash
                 Key: JCS-95
             Project: Commons JCS
          Issue Type: Bug
          Components: Indexed Disk Cache
    Affects Versions: jcs-1.3
         Environment: Java - Tomcat 7 - Hibernate 1
            Reporter: Nicolas Gomez Navarrete

If region name conatins slashes (this occurs in collection mapping with hibernate 1)
<set role="sgtProgramaIdioma"   lazy="false" readonly="true" cascade="all">
     	<jcs-cache  usage="read-write"  />
region name = SgtPrograma/sgtProgramaIdioma

Indexed (and Block) cache fails tWork ao initialize, they do a File.mkdirs() on root dir but
doesn't check for File.canWrite() or additionall subdirs.

If nothing can be be done we're extend BlockDiskCacheFactory, BlockDiskCacheManager and BlockDiskCache
to create subfolders if needed ....


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message