Question
writeResultPage throws error : Can't create directory
We haven't change changed Pega in a long time. We are running 6.3 sp1 on WebSphere 8.5.
Lately, we started to have this error from users trying to "check in" a rule:
ERROR __________ - Unable to write LookupList file java.lang.Exception: Can't create directory file://llc:/LLC/Link-Project/pxLinkedRefTo_RULE-OBJ-ACTIVITY ING-PL-INSURANCERISK BCP-MANAGEBASEPREMIUMRISKRESFIRE #20180103T201453.085 GMT for LookupList cache.
This is written to the log by the function "writeResultPage"
Has anyone seen this error before ? Any idea how to resolve this ?
What is this path ? file://llc:/LLC/Link-Project
Thank you.
Here is the Java code generating the error:
if (cacheDir.exists() == false) {
if (cacheDir.mkdirs() == false) {
// In case another thread created it right before we tried to...
if (cacheDir.exists() == false) {
throw new Exception("Can't create directory " + strDirectory + " for LookupList cache.");
}
}
}
You could be having space issues. Go to SMA and cleanup your lookupList cache.
This should help in this regards - Its for 5.x but should be the same.
https://pdn.pega.com/delete-lookuplist-cache-refresh-lookuplist-features