Jeff-

  Are you doing a multipart upload? If yes, can you try posting the file as
the body of the request? I know that's not ideal, but it will test my
hypothesis.


On Thu, Jun 13, 2013 at 9:11 AM, Jeff Minelli <[email protected]> wrote:

> Attached are two files, the curl with errors, and the relevant part of
> fedora.log.
>
> Being desperate, I even tried to blame tomcat myself. :) I've toyed with
> maxPostSize, both using 0 and 4294967296. I even tried the web.xml config
> offered in
> http://tomcat.markmail.org/thread/6jxxcfg2s6rigl6w#query:+page:1+mid:e2l7wd7xhqiwwlpn+state:resultsto
>  no success.
>
> -jeff
>
> On Jun 13, 2013, at 8:45 AM, Benjamin Armintor <[email protected]> wrote:
>
> > 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