Newsletter sign-up
View all newsletters

Sign up for our technology specific newsletters.

Enterprise Java
Email Address:
JavaWorld Daily Brew

Executing native process inside WEB-INF


Grettings, all.

I am running Apache Tomcat 5 under Red Hat Linux.

Generally, I deploy web applications using Tomcat's "Manager" application, which allows one to upload a WAR file over the network and have it automatically deployed.

The specific webapp that I am trying to deploy includes some native executable programs inside its WEB-INF directory which are to be executed via system calls from a java servlet.

However, when the Tomcat Manager uploads and deploys my WAR file, it creates the native programs without assigning execute permissions to the tomcat user.

Do I have any control over this?

Any tips will be much appreciated.

Thanks,

-mac01021

Your rating: None

Since JDK 1.6, setExecutable

Since JDK 1.6, setExecutable is available on File

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br /> <br> <strike>
  • Lines and paragraphs break automatically.
  • Use <!--pagebreak--> to create page breaks.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
Just checking to see if you're an actual person rather than a spammer. Sorry for the inconvenience.