I have a little bit more info. I have a file that consistently fails. It is an mp4 file about 1G. If I turn the virus scanner off, it uploads. If I turn the virus scanner on and change the timeout period to 1msec it fails right away. If I set it to 5min it fails about 3 minutes into it. Can the virus scan not handle a file that big? I will try a larger timeout period, and see what happens.
On Wed, Jan 16, 2013 at 1:37 PM, Jose Blanco <[email protected]> wrote: > In UploadStep.java there is this code: > > Curator curator = new Curator(); > curator.addTask("vscan").curate(item); > int status = curator.getStatus("vscan"); > if (status == Curator.CURATE_ERROR) > { > backoutBitstream(subInfo, b, item); > return STATUS_VIRUS_CHECKER_UNAVAILABLE; > } > else if (status == Curator.CURATE_FAIL) > { > backoutBitstream(subInfo, b, item); > return STATUS_CONTAINS_VIRUS; > } > > What seems to be happening sometimes, is this line gets executed: > > return STATUS_VIRUS_CHECKER_UNAVAILABLE; > > The problem in debugging this is that it's not all the time. > > > > On Wed, Jan 16, 2013 at 10:17 AM, helix84 <[email protected]> wrote: > >> Also, try looking here, seems there are some options in how the >> communication with clamav can be configured. I never tried it myself, >> though. >> >> http://dspace.2283337.n4.nabble.com/ClamScan-curation-task-td4660181.html >> >> >> Regards, >> ~~helix84 >> >> Compulsory reading: DSpace Mailing List Etiquette >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >> >> >> ------------------------------------------------------------------------------ >> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery >> and much more. Keep your Java skills current with LearnJavaNow - >> 200+ hours of step-by-step video tutorials by Java experts. >> SALE $49.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122612 >> _______________________________________________ >> DSpace-tech mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> List Etiquette: >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >> > >
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

