The exec() method should be OK then. Try doing things through a batch file - this often overcomes a number of windows niggles. Also, have a look at the source for the CGI servlet - this is essentially running a app on the server but doing some other things as well.
Mark > -----Original Message----- > From: Andrea Powles [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 20, 2004 10:32 AM > To: Tomcat Users List > Subject: RE: security permissions > > The program is called WEKA its a Java application that runs > data through machine learning algorithms I am trying to write > the otput of that program into a file. > > The OS I am running is XP Professional. > > Thanks in advance > Andrea Powles > > Mark Thomas <[EMAIL PROTECTED]> wrote: > > OK. Next set of questions: > > > > - which program? > > - what is the server OS? > > > > From: Andrea Powles [mailto:[EMAIL PROTECTED] > > > Im wanting to run the program on the server. > > > > > > When I startup Tomcat with the -security option Tomcat > > > doesn't start up? This is the case even when I take out my > > > modifications to the policy file. When I don't use the > > > -security option Tomcat runs fine but I am unable to execute > > > another program from my webapp. Anyone have an idea as wo why not? > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
