I'm not sure what the problem was but I rebooted the Centos
machine (/proc/meminfo showed only 1 00M of memory out of 12G's
available) and everything works as expected. I have another question
though. I'm getting some errors from the JPEGFilter trying to create
thumbnails for some GeoTiffs bitstreams.
java.lang.ArrayIndexOutOfBoundsException: -655284480
java.lang.ArrayIndexOutOfBoundsException: -655284480
at
java.awt.image.ComponentColorModel.getRGBComponent(ComponentColorModel.java:886)
at java.awt.image.ComponentColorModel.getRed(ComponentColorModel.java:927)
at java.awt.image.ComponentColorModel.getRGB(ComponentColorModel.java:1118)
Is there any other filter that I can use to create thumbnails for geotiffs
that won't give me errors.
John
On Tue, Jul 24, 2012 at 3:06 PM, John Preston <[email protected]> wrote:
> I am trying to configure 1.8.2 to use xpdf to generate thumbnails. I build
> with
>
> mvn -Pxpdf-mediafilter-support package
>
> and then copy the copy the target lib files and xmlui/WEB-INF/lib files to
> my existing dspace instance. Then I update the dspace.cfg file as follows:
>
> ################################
> filter.plugins = \
> PDF Text Extractor, \
> PDF Thumbnail, \
> HTML Text Extractor, \
> PowerPoint Text Extractor, \
> Word Text Extractor, \
> JPEG Thumbnail, \
> Branded Preview JPEG
> # [To enable Branded Preview]: remove last line above, and uncomment 2
> lines below
> # Word Text Extractor, JPEG Thumbnail, \
> # Branded Preview JPEG
>
> #Assign 'human-understandable' names to each filter
> plugin.named.org.dspace.app.mediafilter.FormatFilter = \
> # org.dspace.app.mediafilter.PDFFilter = PDF Text Extractor, \
> org.dspace.app.mediafilter.XPDF2Text = PDF Text Extractor, \
> org.dspace.app.mediafilter.XPDF2Thumbnail = PDF Thumbnail, \
> org.dspace.app.mediafilter.HTMLFilter = HTML Text Extractor, \
> org.dspace.app.mediafilter.WordFilter = Word Text Extractor, \
> org.dspace.app.mediafilter.PowerPointFilter = PowerPoint Text Extractor,
> \
> org.dspace.app.mediafilter.JPEGFilter = JPEG Thumbnail, \
> org.dspace.app.mediafilter.BrandedPreviewJPEGFilter = Branded Preview
> JPEG
>
> #Configure each filter's input format(s)
> #filter.org.dspace.app.mediafilter.PDFFilter.inputFormats = Adobe PDF
> filter.org.dspace.app.mediafilter.HTMLFilter.inputFormats = HTML, Text
> filter.org.dspace.app.mediafilter.WordFilter.inputFormats = Microsoft Word
> filter.org.dspace.app.mediafilter.PowerPointFilter.inputFormats =
> Microsoft Powerpoint, Microsoft Powerpoint XML
> filter.org.dspace.app.mediafilter.JPEGFilter.inputFormats = BMP, GIF,
> JPEG, image/png, image/tiff, TIFF
> filter.org.dspace.app.mediafilter.BrandedPreviewJPEGFilter.inputFormats =
> BMP, GIF, JPEG, image/png, image/tiff, TIFF
> filter.org.dspace.app.mediafilter.XPDF2Thumbnail.inputFormats = Adobe
> filter.org.dspace.app.mediafilter.XPDF2Text.inputFormats = Adobe PDF
>
> # XPDF stuff
> xpdf.path.pdftotext = /usr/bin/pdftotext
> xpdf.path.pdftoppm = /usr/bin/pdftoppm
> xpdf.path.pdfinfo = /usr/bin/pdfinfo
> ################################
>
> Now when I restart tomcat and run filter-media it returns with no errors
> or messages. I tried enabling logging by editing the
> /dspace/config/log4j.properties file and changing INFO to DEBUG as follows:
>
> log4j.rootCategory=DEBUG A1
> # This line sets the logging level for DSpace code. Set this to DEBUG to
> see
> # extra detailed logging for DSpace code.
> log4j.logger.org.dspace=DEBUG, A1
> #
>
> But this does not give any more messages in /dspace/log/dspace.log.
>
> Can anyone say what I'm missing.
>
> John
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech