Could it be different 'current' working directories? What happens if you hardcode the full path into the command and input/output files?
./convert.bin -> /Dev/Solr/bin/convert.bin, etc. Also, you may want to use some file system observation tools to figure out exactly what file is touched where. Look for dtrace on Unix-like systems and for SysInternals ProcMon on Windows. Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Wed, Aug 22, 2012 at 7:18 AM, 122jxgcn <ywpar...@gmail.com> wrote: > I have following code on my Apache Tika Maven project. > > This code works when I test locally, but fails when it's attached as > external jar in Apache Solr (container is Tomcat). > > String cmd; contains command string that will convert file with input as > > ./convert.bin input.custom output.xml