• Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling a UNIX Script on an RMI Server

 
Phil Cornthwaite
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have set up a client and server using RMI and am currently trying to call a script on the server (running AIX) from the client (NT4). To run the script I am using the Runtime.exec()method which works fine if I set up the server on another NT box and run caclulator for example. The problem is that the server returns a 0 code saying the script has run OK, but it has not run because the output file is not produced..Any ideas anyone?!
Cheers,
Phil.
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the server-side run with the permissions needed to create/append to the file?
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!