Hello Jayan,
I'd look for bouncycastle jars in your lib directory, if they are
absent, you'll need to get them, you might just download dspace 1.4.2
and copy them out of there.
-Mark
On Dec 13, 2007, at 10:31 PM, Jayan Chirayath Kurian wrote:
Hi!
Issuing MediaFilterManager command on protected (i.e. text can’t be
copied from PDF files) PDF documents gives out the following
message. Using the http://shareme.com/details/pdf-password-cracker-
pro.html program one of the protected files was decrypted and
MediaFilterManager command went through. Is there any way to
overcome this in dspace 1.4.1 making use of default *.jar files in
dspace\lib folder. I tried copying PDFBOX jar file into lib folder
but was not successful. Please suggest.
Thanks,
Jayan
C:\DSpace\bin>dsrun org.dspace.app.mediafilter.MediaFilterManager
Using DSpace installation in: C:\DSpace
Exception in thread "main" java.lang.NoClassDefFoundError: org/
bouncycastle/jce/
provider/BouncyCastleProvider
at org.pdfbox.pdmodel.PDDocument.openProtection
(PDDocument.java:905)
at org.pdfbox.pdmodel.PDDocument.decrypt(PDDocument.java:489)
at org.pdfbox.util.PDFTextStripper.writeText
(PDFTextStripper.java:204)
at org.pdfbox.util.PDFTextStripper.getText
(PDFTextStripper.java:149)
at org.dspace.app.mediafilter.PDFFilter.getDestinationStream
(PDFFilter.j
ava:110)
at org.dspace.app.mediafilter.MediaFilter.processBitstream
(MediaFilter.j
ava:155)
at
org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFi
lterManager.java:327)
at org.dspace.app.mediafilter.MediaFilterManager.filterItem
(MediaFilterM
anager.java:296)
at
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaF
ilterManager.java:266)
at
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(Me
diaFilterManager.java:234)
at org.dspace.app.mediafilter.MediaFilterManager.main
(MediaFilterManager
.java:185)
----------------------------------------------------------------------
---
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/
marketplace_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech