servlet permission issue on SB computer running tomcat container
Hello,
I wrote a servlet in java for controlling hardware remotely.
The servlet resides in a tomcat server running on a embedded linux board.
In this servlet I'm importing a class library that needs to make some system calls.
When I test my servlet I get a "permission denied" error regarding those calls.
How can I run my servlet with root permission or is there a better/safer way to handle this?
Bard
|