Z
zamba
Hi. i'm running under solaris 10 ... and i have this problem:
running an external aplication from command line in s.o works fine and
no cpu consume.
running from java with runtime.exec the same sh it eats my 85% of cpu
Runtime rt = Runtime.getRuntime();
try {
Process proc = rt.exec("/opt/ANTHaxfov42/bin/XSLCmd -i /opt/
ANTHaxfov42/etc/XfoSettings.xml -d "+ full_xml_file + " -s " +
full_xsl_file + " -o " + full_pdf_file + " -silent");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
any ideas ?
tks !!!!!
running an external aplication from command line in s.o works fine and
no cpu consume.
running from java with runtime.exec the same sh it eats my 85% of cpu
Runtime rt = Runtime.getRuntime();
try {
Process proc = rt.exec("/opt/ANTHaxfov42/bin/XSLCmd -i /opt/
ANTHaxfov42/etc/XfoSettings.xml -d "+ full_xml_file + " -s " +
full_xsl_file + " -o " + full_pdf_file + " -silent");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
any ideas ?
tks !!!!!