This problem can be caused by the port <= 1024 problem under unix/linux. If so, take a look at the commons-daemon project on the jakarta site.

Also be sure your config, log, webapp (optional), work, and temp directories are owned by the tomcat user. They should be writeable by tomcat at least and I've seen cases in my system where ownership was necessary. Don't ask me why -- I have yet to explain it myself.

LastIy, check catalina.out for errors. The logs are invaluable in finding problems.

--David


dummy wrote:

Then how to start automatically at boot time ?


-----Original Message-----
From: Luis DurĂ¡n [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 9:33 AM
To: Tomcat Users List
Subject: Re: can't start tomcat as user

dummy wrote:
Hi,

Got problem starting Tomcat as user tomcat. No problem starting it under
root. Any idea why ?


On Linux, only root can open ports below 1024 (included). You must
compile the jsvc program and setup a tomcat user and it will start
tomcat as root and then change the effective user before receiving
requests. I hope this help. (jsvc is in the bin folder, i think is
originally compressed)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to