Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The best way is to use jsvc, available as part of the commons-daemon project.

Is there a way to allow normal user(non-root) to start/stop the tomcat server. Tried assigning permission, did not work. Read thru some articles, stated that only root has permission to port below 1025. How can i allow a non-root user to do so ? thks in adv. (smile)

  • malathi ranjit singh

...

One way is to put Apache httpd with mod_jk before your Tomcat servers, and use ports >=1024 in the Tomcat(s). Since we do it that way, it's the only way I know.BTW, you should read the 1st howto. (wink)However, if httpd is not needed for some other reason, this is the most inefficient approach.

...

Another method is to use SetUID scripts (assuming you have the capability) to do this. Here's how I do it.

...