Re: Runtime.exec() not working on Tomcat

2012-08-22 Thread Alexandre Rafalovitch
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.

Runtime.exec() not working on Tomcat

2012-08-22 Thread 122jxgcn
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 I checked