These errors imply that the JVM cannot access the executable file. Since the file exists, make sure the user under whose UID the JVM is running has read and execute access to the file /usr/bin/pdftoppm (as well as the /usr and /usr/bin directories, although those are usually world-rx). Better yet, use "su" or "sudo" to assume the UID under which the JVM is running and make sure you can actually run that command.

Java IOExceptions have a way of conflating all file-access errors to "no such file or directory", even when there's e.g. a permission problem, which makes it more of a challenge to discover what is really wrong.

  -- Larry

On Oct 20, 2009, at 4:54 PM, Kurzenberger, Eric wrote:

Error:

ERROR filtering, skipping bitstream:

  Item Handle: 10538/148
  Bundle Name: ORIGINAL
  File Size: 6898424
  Checksum: 4637dd47354393dc87f3d2b881ec311d (MD5)
  Asset Store: 0
java.io.IOException: Cannot run program "/usr/bin/pdftoppm ":
java.io.IOException: error=2, No such file or directory
java.io.IOException: Cannot run program "/usr/bin/pdftoppm ":
java.io.IOException: error=2, No such file or directory
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
  at java.lang.Runtime.exec(Runtime.java:593)
  at java.lang.Runtime.exec(Runtime.java:466)
  at org.dspace.app.mediafilter.XPDF2Thumbnail.getDestinationStream

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  • [Dspac... Kurzenberger, Eric
    • R... Kurzenberger, Eric
      • ... Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
      • ... Stuart Lewis
        • ... Kurzenberger, Eric
          • ... Stuart Lewis
            • ... Kurzenberger, Eric
              • ... Van Ly
                • ... Kurzenberger, Eric
          • ... Larry Stone

Reply via email to