DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23585>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23585 Localton of ev_cache.ser file in DefaultEventRegistryImpl class Summary: Localton of ev_cache.ser file in DefaultEventRegistryImpl class Product: Cocoon 2 Version: 2.1.2 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: general components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Location of ev_cache.ser is "hard coded" in WEB-INF. I think that sucha files should be stored in servlet container work dir not in WEB-INF. Correct method "contextualize" should looks like: public void contextualize(Context context) throws ContextException { org.apache.cocoon.environment.Context ctx = (org.apache.cocoon.environment.Context) context.get( Constants.CONTEXT_ENVIRONMENT_CONTEXT); // set up file m_persistentFile = new File((File)context.get(Constants. CONTEXT_WORK_DIR), DefaultEventRegistryImpl.PERSISTENT_FILE); if (m_persistentFile == null) { throw new ContextException("Could not obtain persistent file. " + "The cache event registry cannot be " + "used inside an unexpanded WAR file."); } }
