tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Novak <>
Subject start external win32 process
Date Fri, 31 May 2002 10:16:36 GMT
Dear list,

I'm using tomcat on a win32 machine and need to start an external process from 
a servlet ( batch file transfer from an IBM Mainframe ).
The code snippet which should do the work looks like:

Runtime runtime = System.getRuntime();
Process clientAccessBatch = runtime.exec(<command>);

(I've already used this kind of code from a signed applet )
Although I get no exception, the command specified is never executed. Are 
there any security issues, I've forgotten or do I have to take care of 
special tomcat stuff?

Thanks in advance
Andreas Novak
D.O.M. Datenverarbeitung GmbH
Bahnhofstr. 41, 90402 N├╝rnberg
Tel.:     +49(0)911-99462-0
Fax:      +49(0)911-99462-11

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message