It's possible this is a bug in FCRepo- I'd need to see more of the
stacktrace, but we've seen issues like this before (
https://jira.duraspace.org/browse/FCREPO-704). You should also check the
limits on the maxPostSize in your tomcat configuration, though I would
expect a different error if that was the problem.


On Wed, Jun 12, 2013 at 2:43 PM, Jeff Minelli <[email protected]> wrote:

> I have a version of  fedora 3.5 running that errors with
>
> javax.ws.rs.WebApplicationException:
> org.fcrepo.server.errors.StreamWriteException: Error writing temp stream
>        at
> org.fcrepo.server.rest.BaseRestResource.handleException(BaseRestResource.java:172)
>        at
> org.fcrepo.server.rest.DatastreamResource.addOrUpdateDatastream(DatastreamResource.java:583)
>         …
>
> when I write a file 2GB in size (1024*1024*2048) via the API:
>         curl -H "Content-type:application/octet-stream" -X POST -u
> "name:pass" --upload-file 3g.data \
>
> http://host:8080/fedora/objects/scholarsphere:5425k9692/datastreams/blah?controlGroup=M
>
> But when I write a 2GB-1MB file (1024*1024*2047) via the API, it works
> without issue.
>
> Any ideas?
>
> Thanks,
>
> -jeff
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to