Hi, I am trying to run a .exe from the server side on GWT but it is giving me a access denied error.Exact error is :-
java.security.AccessControlException: access denied (java.io.FilePermission <> execute) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:166) at java.lang.SecurityManager.checkExec(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source)
and this is what is printed in error->"error===access denied (java.io.FilePermission "ALL FILES" execute)"
I even tried to change the security permissions of the file by changing the java.policy file(Here) but it still gives the same error.I added these lines -
grant { permission java.io.FilePermission "C:\Documents and Settings\User\Desktop\ABCD.exe", "execute"; };
I have
also tried to place it under /war/WEB-INF but in vain.Some searching on the net led me to the fact that google app engine might be the cause for this .
Can someone help me with this?
p.s. I saw a similar post (Here )which mentions that something like this should be possible on the server side.