Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

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