I tried xwiki.temp.dir=\tmp\xwiki
and restarted and got
[http-10.101.186.20-80-Processor25] ERROR bstractDiskPersistenceListener -
cache.path 'C:\WINDOWS\system32\ mpxwiki\xwiki.plugin.image' is not a
directory
2008-08-28 09:18:28,514
[
]
[http-10.101.186.20-80-Processor25] ERROR ase.AbstractCacheAdministrator -
Error instantiating class
'com.opensymphony.oscache.plugins.diskpersistence.DiskPersistenceListener'
java.lang.NullPointerException
at
MikeOliverAZ wrote:
We are using XE 1.5 on Tomcat 5.5 on Windows.
Tomcat is running as a service.
I have uncommented
xwiki.temp.dir in xwiki.cfg
I tried several different entries including
/tmp/xwiki
xwiki.temp.dir=D:\XwikiWorkspace80Port\temp\xwiki
xwiki.temp.dir=D:/XwikiWorkspace80Port/temp/xwiki
where D:\XwikiWorkspace80Port\temp\xwiki exists and is writable
and file uploads > 100k (i.e. not handled in memory) do not succeed and
time out on read with the following error in the logs, sorry for the
length.
com.xpn.xwiki.XWikiException: Error number 11008 in 11: Exception while
parsing uploaded file
Wrapped Exception: Processing of multipart/form-data request failed. Read
timed out
at
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.loadFileList(FileUploadPlugin.java:255)
at
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.loadFileList(FileUploadPlugin.java:193)
at com.xpn.xwiki.web.Utils.handleMultipart(Utils.java:494)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:162)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:747)
at
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777)
at
org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:115)
at
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:712)
at org.apache.coyote.Request.doRead(Request.java:427)
at
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283)
at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:379)
at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:298)
at
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:180)
at
org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:977)
at
org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:887)
at java.io.InputStream.read(InputStream.java:89)
at org.apache.commons.fileupload.util.Streams.copy(Streams.java:94)
at org.apache.commons.fileupload.util.Streams.copy(Streams.java:64)
at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:362)
at
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.loadFileList(FileUploadPlugin.java:244)
at
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.loadFileList(FileUploadPlugin.java:193)
at com.xpn.xwiki.web.Utils.handleMultipart(Utils.java:494)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:162)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
2008-08-28 08:15:36,342
[
http://xem.corenttechnology.net/xwiki/bin/upload/Main/WebHome]
[http-10.101.186.20-80-Processor24] ERROR lucene.IndexUpdater
- invalid parameters given to add: Main.WebHome, null,
{util=com.xpn.xwiki.util.Util@b8bda4,
vcontext=org.apache.velocity.VelocityContext@aa5e75, links=[Main.WebHome,
Main.AllDocs, Main.Dashboard, Blog.WebHome, Main.EventCalendar,
Photos.WebHome, Sandbox.WebHome, Main.Tags, XWiki.WebHome,
XAppManager.WebHome, WikiManager.WebHome],
grouplist={xwiki:XWiki.Admin=[xwiki:XWiki.XWikiAdminGroup,
xwiki:XWiki.XWikiAllGroup],
xwiki:xwiki:XWiki.Admin=[xwiki:XWiki.XWikiAdminGroup,
xwiki:XWiki.XWikiAllGroup]},
com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin=[],
msg=com.xpn.xwiki.web.XWikiMessageTool@11f5ff9, tdoc=Main.WebHome,
initdone=1, message=tempdirnotset,
org.xwiki.component.manager.ComponentManager=org.xwiki.plexus.manager.PlexusComponentManager@1a9ec16,
ajax=false, mainxwiki=xwiki, skin=XWiki.DefaultSkin, locale=en,
baseskin=toucan, com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin=[],
doc=Main.WebHome}