Using the old FileCacheStore, if the cache name contained File.separator, then the location of the file cache store included corresponding subdirectories.
If my cache name is "myhost/mydeployment.war", then the file cache store includes a subdirectory "myhost".
In the new SingleFileCacheStore implementation, however, start() fails because only the directories contained within the location are created. When the File object is constructed using the cache name, if the cache name contains a File.separator, those subdirectories are not created, and start() fails with the following message:
"Directory ... does not exist and cannot be created!"
As I see it, this can be fixed in 1 of 2 ways:
1. Escape any file separators in the cache name when constructing the file name
2. Create the necessary subdirectories on the File object created using the cache name
WFLY-1777 Upgrade Wildfly to Infinispan 6