Re: [fcrepo-user] REST export API negative array index exception

2011-05-19 Thread Scott Prater
>> From: Steve Bayliss [mailto:stephen.bayl...@acuityunlimited.net] >> Sent: 19 May 2011 17:37 >> To: 'Support and info exchange list for Fedora users.' >> Subject: Re: [fcrepo-user] REST export API negative array index exception >> >> Hi Ben >>

Re: [fcrepo-user] REST export API negative array index exception

2011-05-19 Thread Benjamin Armintor
gt; ext 4082 > new email address peri.stracch...@york.ac.uk > > > -Original Message- > From: Steve Bayliss [mailto:stephen.bayl...@acuityunlimited.net] > Sent: 19 May 2011 17:37 > To: 'Support and info exchange list for Fedora users.' > Subject: Re: [fcre

Re: [fcrepo-user] REST export API negative array index exception

2011-05-19 Thread ps552
d.net] Sent: 19 May 2011 17:37 To: 'Support and info exchange list for Fedora users.' Subject: Re: [fcrepo-user] REST export API negative array index exception Hi Ben That sounds entirely sensible! Steve > -Original Message- > From: Benjamin Armintor [mailto:armin...@

Re: [fcrepo-user] REST export API negative array index exception

2011-05-19 Thread Steve Bayliss
Hi Ben That sounds entirely sensible! Steve > -Original Message- > From: Benjamin Armintor [mailto:armin...@gmail.com] > Sent: 19 May 2011 15:04 > To: Support and info exchange list for Fedora users. > Subject: Re: [fcrepo-user] REST export API negative array index excep

Re: [fcrepo-user] REST export API negative array index exception

2011-05-19 Thread Scott Hammel
ative such as >> http://commons.apache.org/codec/apidocs/org/apache/commons/codec/binary/Base64InputStream.html >> which >> >> does streaming encoding (unlimited size). >> >> >> >> >> >> Steve >> >> >> >> >> >> >

Re: [fcrepo-user] REST export API negative array index exception

2011-05-19 Thread Benjamin Armintor
t; On 05/18/2011 11:53 AM, Stephen Bayliss wrote: >>>> Hi Scott >>>> >>>> Thanks for that feedback. >>>> >>>> It would be interesting to find out if you get the same problem >>>> using the >>>>

Re: [fcrepo-user] REST export API negative array index exception

2011-05-19 Thread Scott Prater
). > > > > > > Steve > > > > > > > > -Original Message- > From: Scott Hammel > > [mailto:sc...@clemson.edu] > Sent: 18 May 2011 21:43 > To: > > Support and info exchange list for Fedora users. > Subject: R

Re: [fcrepo-user] REST export API negative array index exception

2011-05-18 Thread Stephen Bayliss
...@clemson.edu] Sent: 18 May 2011 21:43 To: Support and info exchange list for Fedora users. Subject: Re: [fcrepo-user] REST export API negative array index exception One last thing then I'll quit gabbing so this list doesn't stay as busy as the Solr user's list :-) just to summarize: I

Re: [fcrepo-user] REST export API negative array index exception

2011-05-18 Thread Scott Hammel
mZip export format (info:fedora/fedora-system:ATOMZip-1.1) > > Steve > >> -Original Message- >> From: Scott Hammel [mailto:sc...@clemson.edu] >> Sent: 18 May 2011 16:16 >> To: Support and info exchange list for Fedora users. >> Subject: Re: [fcrepo-user] REST ex

Re: [fcrepo-user] REST export API negative array index exception

2011-05-18 Thread Stephen Bayliss
To: Support and info exchange list for Fedora users. > Subject: Re: [fcrepo-user] REST export API negative array > index exception > > > Scott, Steve, > > REST export in archive format still blows up with Fedora > 3.4.2. Actually > is crashing on a datastream < 3

Re: [fcrepo-user] REST export API negative array index exception

2011-05-18 Thread Scott Hammel
xport base64-encoding the content. > >> -Original Message- >> From: Scott Prater [mailto:pra...@wisc.edu] >> Sent: 17 May 2011 18:33 >> To: Support and info exchange list for Fedora users. >> Subject: Re: [fcrepo-user] REST export API negative array >> in

Re: [fcrepo-user] REST export API negative array index exception

2011-05-17 Thread Stephen Bayliss
archive export base64-encoding the content. > -Original Message- > From: Scott Prater [mailto:pra...@wisc.edu] > Sent: 17 May 2011 18:33 > To: Support and info exchange list for Fedora users. > Subject: Re: [fcrepo-user] REST export API negative array > index exception &

Re: [fcrepo-user] REST export API negative array index exception

2011-05-17 Thread Scott Prater
Yes, trying with the latest stable version (3.4.2) would be useful, if you don't mind. There were some lowlevel garbage collection problems that were fixed in the 3.4.2 release; these problems manifested themselves in a variety of ways. I'm not saying this is the issue, but it wouldn't hurt t

Re: [fcrepo-user] REST export API negative array index exception

2011-05-17 Thread Scott Hammel
I'm pretty sure it is 3.4.0 (from files on the server it looks like an August 2010 build. The server is in a totally isolated network with nothing with GUI support that can hit the admin tools). Tomcat is the version bundled with the Fedora installer. Would you like me to be sure I'm running at

Re: [fcrepo-user] REST export API negative array index exception

2011-05-17 Thread Scott Prater
Thanks, Scott. I'll try to reproduce the problem in my environment, Fedora 3.4.2. Can you tell me what version of Fedora and Tomcat (or other webapp server) you're using? -- Scott On 05/17/2011 11:08 AM, Scott Hammel wrote: > Hey, Scott, > > Thanks for responding. I'm more a C/C++ programmer

Re: [fcrepo-user] REST export API negative array index exception

2011-05-17 Thread Scott Hammel
Hey, Scott, Thanks for responding. I'm more a C/C++ programmer and not a Java programmer (though I sometimes play one on the Internet), so I'm just guessing on the array bounds -- feels like something incrementing an int into the sign bit, though I'd think Java would throw some array bounds ex

Re: [fcrepo-user] REST export API negative array index exception

2011-05-17 Thread Scott Prater
Scott, Can you come up with a test case that confirms this limitation? If you can provide one, I'll open up a JIRA ticket for the issue. thanks, -- Scott On 05/16/2011 10:45 AM, Scott Hammel wrote: > Oh, I think I see: last line of the serializer's serialize function does > this: > bytes.toBy

Re: [fcrepo-user] REST export API negative array index exception

2011-05-16 Thread Scott Hammel
Ooops, I mean the last line of the reader's Export method. On 05/16/2011 11:45 AM, Scott Hammel wrote: > Oh, I think I see: last line of the serializer's serialize function > does this: > bytes.toByteArray() > where bytes is a ByteArrayOutputStream > > I *think* the max size of an array index in

Re: [fcrepo-user] REST export API negative array index exception

2011-05-16 Thread Scott Hammel
Oh, I think I see: last line of the serializer's serialize function does this: bytes.toByteArray() where bytes is a ByteArrayOutputStream I *think* the max size of an array index in Java (32-bit) is 2,147,483,647 (i.e., 2^31 - 1, max value of a java int). So, this function will throw an excepti

[fcrepo-user] REST export API negative array index exception

2011-05-16 Thread Scott Hammel
Hi, Running some export tests using Fedora's REST export API, I get a negative array index Java exception when doing an "archive" export of an object at around 400 MB (>320 MB, < 450 MB). Fedora is version 3.4 something; running on 32-bit CentOS 5.5, Sun Java 1.6, 21 Is it just me or has anyo