Hi,
We are trying to add xmp data using below command:
exiftool -config XMP_METADATA.cfg -xmp-xmp:XMP_MC_PREFIX="TestValue" <inputImage>
Previously, above command is working fine in both Jboss (java program) and from console.
From last two days, command is not working from JBOSS and failing with below exception:
Exception in applyXMPMetadata: Cannot run program "exiftool": java.io.IOException: error=2, No such file or directory
Below is the exiftool installation location:
-bash-4.1$ which exiftool
/usr/local/bin/exiftool
Could anyone suggest what could be the possible cause?
Try running the exiftool command from the command line to see if that works. If it does, then likely your Java environment has changed so that it can no longer find exiftool.
- Phil
Thanks Phil.
From command line it's working.
OK then. Can you specify the full path to the exiftool executable in the Java code?
- Phil