hi, 

   i am using appfuse 1.9.4 for building my web app. my java class executes
a shell script that creates an image file to the destination path. But when
run the application the shell script is not getting executed. My code to
call the shell script is given below

     Runtime runtime = Runtime.getRuntime();
runtime.exec("/opt/gsscript/gs.sh").waitFor(); 

If i execute the shell script from the terminal the image is getting
generated.

I am using websphere 1.1 application server for deployment. Can any one
suggest the solution for this problem. My application is having root
privileges.

Thanks,
Jithesh PM



-- 
View this message in context: 
http://www.nabble.com/invoking-shell-script-from-java-tf4766516s2369.html#a13633096
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to