Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 898623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:04:33+00:00 2026-05-15T15:04:33+00:00

I am trying to run a .exe from the server side on GWT but

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T15:04:34+00:00Added an answer on May 15, 2026 at 3:04 pm

    Your issue is not with GWT but the app engine development environment. Google App Engine Environment is designed keeping in mind scalability, hence the application is totally abstracted from everything ranging from the server hardware to the operating system.

    In short what you are trying is not achievable on GAE.

    If this question is anyway related to this, and if your objective is a quick and dirty GWT prototype with no intention to deploy on appspot.com then you may try a plain GWT project without GAE. Runtime.exec command should execute normally on jetty without any tweaking (provided you create the web application project with just GWT and no GAE support).

    That said if your objective is to run on App Engine, then you are totally headed in the wrong direction. What you are trying to achieve is impossible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to run the VS 2008 SP1 installer , but it says
I'm trying to run a batch file, as another user, from my web app.
I'm trying to run SQuirreL SQL. I've downloaded it and installed it, but when
I'm trying to run a batch file on a server via an ASP.Net page,
I trying to run a silverlight app. I have a server with a knowed
I'm trying to run some queries to get rid of XSS in our database
I'm trying to run a LINQ to SQL query that returns a result in
I'm trying to run a process and do stuff with its input, output and
I'm trying to run the Tomcat with JBoss Embedded jpa booking example. I run
I am trying to run xcopy that copies files excluding .obj, etc. What I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.