[
https://issues.apache.org/jira/browse/CMIS-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Müller resolved CMIS-514.
---------------------------------
Resolution: Fixed
Fix Version/s: OpenCMIS 0.7.0
CmisServiceFactory got two new methods that define the temp directory and the
memory threshold.
AbstractServiceFactory implements these methods and returns the previously
hardcoded values. Server implementations don't have to be changed.
In order to make the Web Services binding use these values, the servlet class
name has to be changed in the web.xml.
Exchange "com.sun.xml.ws.transport.http.servlet.WSServlet" with
"org.apache.chemistry.opencmis.server.impl.webservices.CmisWebServicesServlet".
The old servlet configuration still works but uses the hardcoded values.
I will update the documentation after the 0.7.0 release.
> OpenCMIS Server: Add ability to define the memory threshold and the folder
> for temporary files
> ----------------------------------------------------------------------------------------------
>
> Key: CMIS-514
> URL: https://issues.apache.org/jira/browse/CMIS-514
> Project: Chemistry
> Issue Type: Improvement
> Components: opencmis-server
> Affects Versions: OpenCMIS 0.6.0
> Reporter: Florian Müller
> Assignee: Florian Müller
> Fix For: OpenCMIS 0.7.0
>
>
> Uploaded content that is smaller than the memory threshold is hold in main
> memory. Bigger content is temporarily stored on disk.
> At the moment the memory threshold is hard coded to 4 MiB and the folder for
> the temporary files is the Java temp directory.
> In some server setups it would be useful to change these values. OpenCMIS
> should provide a way to configure the threshold and the directory.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira