You might be experiencing the same issues I just had with FTP sockets-- make sure your windows firewall is disabled.
--- David Teran <[EMAIL PROTECTED]> wrote: > Hi, > > i am trying to call a native application from a > servlet application > (specifically an webservice based on axis 1.3) with > the following code: > > Process p = > Runtime.getRuntime().exec(args); > StreamReader isr = new > StreamReader(p.getInputStream()); // > just uses separate thread to read from the process > StreamReader esr = new > StreamReader(p.getErrorStream()); // > just uses separate thread to read from the process > try { > p.waitFor(); > } catch (InterruptedException e) {} > Result r = new Result(isr.getResult(), > esr.getResult()); > > the problem is that the application which is called > with the exec > command, a realbasic app which uses OLE to print out > documents with > PowerPoint does not work if this code is called > inside the tomcat > JVM. If i copy paste the code to a simple class, > compile the class > and use the same arguments for the exec, everything > works fine. > > I am quite new to windows, just have a lot of UNIX > experience and i > am lost here. > > regards, David > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]