Do you want to run Tomcat as root or a specific user? You can do it either way, here's how. I am assuming you have root access to this box. Add this to the end of you /etc/rc.local file
This will issue <command> as <user>. Since rc.local is run by root you don't need to enter a password to su to another user. If you want just run it just as root you can just enter the command to start the server at the end of the file. You might have to redirect the output to /dev/null if you are using Tomcat 3, I know it likes to dump everything to STDOUT I am not completely sure how that would be handled.Code:su <user> -c <command>
Let me know if that works for you.