I have this weird problem that it is driving me crazy.
For a few months now I have installed OpenKM 5.1.9 (build 7447) with Community Extension 5.1 on a Windows 2003 Standard Edition (64bit) and everything worked perfectly. I created the taxonomy, uploaded files etc. At some point I wanted to upload some large files (always less than 2GB) so I tried to change the max.file.size parameter to 0 so as to disable file size check. Then, I started getting errors, like the one below. I changed the max.file.size to 100000000, then to -1, then to max integer value (2^31-1) always getting errors similar to the one below: On the server, the errors issued where like this (with different max file sizes each time, depending on the setting of the parameter):
My current settings are as below: The problem at this moment is that I cannot upload any files now, no matter how large or small they are! Any help will be greatly appreciated. Thanks in advance.
For a few months now I have installed OpenKM 5.1.9 (build 7447) with Community Extension 5.1 on a Windows 2003 Standard Edition (64bit) and everything worked perfectly. I created the taxonomy, uploaded files etc. At some point I wanted to upload some large files (always less than 2GB) so I tried to change the max.file.size parameter to 0 so as to disable file size check. Then, I started getting errors, like the one below. I changed the max.file.size to 100000000, then to -1, then to max integer value (2^31-1) always getting errors similar to the one below: On the server, the errors issued where like this (with different max file sizes each time, depending on the setting of the parameter):
Code: Select all
Please note that whenever I changed the max file size, I stopped Openkm, then I emptied the cache folder at HOME\server\default\work, then restarted OpenKM. 15:37:13,225 ERROR [DirectDocumentModule] Uploaded file size: 5,8 KB (5975), Max
file size: -335544320 B (-335544320) 15:37:13,225 WARN [FileUploadServlet] 5975 com.openkm.core.FileSizeExceededException: 5975
at com.openkm.module.direct.DirectDocumentModule.create(DirectDocumentModule.java:122)
at com.openkm.module.direct.DirectDocumentModule.create(DirectDocumentModule.java:98)
at com.openkm.api.OKMDocument.create(OKMDocument.java:71)
at com.openkm.servlet.frontend.FileUploadServlet.doPost(FileUploadServlet.java:225)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Unknown Source)
My current settings are as below: The problem at this moment is that I cannot upload any files now, no matter how large or small they are! Any help will be greatly appreciated. Thanks in advance.
