Actually I'm wring - that EH cache message does not occur at the same time as the file upload problem. I'm trying to do a File Upload, e.g. a .jpg from Firefox 16.0.1 on Windows 7 64 bit, and I get a pink error box at the top that simply says "Upload failed for [filename.jpg]".
I'm tailing the roller log and don't get any error messages. In the GF server.log I don't get anything other than the warning below, which I get all the time anyway: [#|2012-10-23T09:58:54.692+0100|WARNING|glassfish3.1|org.apache.catalina.connector.Request|_ThreadID=28;_ThreadName=Thread-1;|PWC4011: Unable to set request character encoding to UTF-8 from t /roller, because request parameters have already been read, or ServletRequest.getReader() has already been called|#] I tried it with roller debug logging but that didn't seem to show any more, i.e. I'm not getting an error anywhere. I don't get this problem on my test system (which I populated with data from my live blog). Therefore re-installing everything might make the problem go away but it would of course be better if I could work out what's failing in case it happens again. Any ideas as to how I find the error? Simon ________________________________ From: Simon Haslam To: "[email protected]" <[email protected]> Sent: Monday, 22 October 2012, 11:22 Subject: File upload error - ehcache (Roller 4.1, GF 3.1) Hi Has anyone seen this error before: ERROR 2012-10-22 09:28:56,566 DiskStore:get - userCacheCache: Could not read disk store element for key <my-user-id> net.sf.ehcache.CacheException: userCache Cache: The Disk store is not active. at net.sf.ehcache.store.DiskStore.checkActive(DiskStore.java:207) ... I get it consistently when I'm trying to upload a file (e.g. image) to my blog. Could it be a file permissions problem - it broke a while back but I'm not sure what changed. I don't know if it's related but I've got this file in /tmp: -rw-r--r-- 1 oracle oinstall 0 Oct 22 11:02 userCache.data (it was owned by root so I deleted it and then GF restart recreated it) This is Roller 4.1 running on GF 3.1 on 32 bit Oracle Linux and with an XE 11.2 database at the backend (yep, I guess I may be the only one running this other than you-know-who). My roller-custom.properties contains: openjpa.jdbc.DBDictionary=oracle hibernate.dialect=org.hibernate.dialect.OracleDialect # http://web.archiveorange.com/archive/v/PxZtPqJeegB3jnL5hp8o openjpa.QueryCompilationCache=false TIA! Simon PS. And yes, I do want to upgrade to Roller 5.0.1 but last time I tried a year or so ago I found several bugs in the Oracle-specific parts of the upgrade and still couldn't get it to work. It is on my To Do list to fix though and I'll post details here.
