RE: can't start tomcat as user

2005-07-21 Thread Dale, Matt

That is operating system dependent. On linux you will have to write a script 
and put it in /etc/rc.d/init.d then symlink it from the relevant run level 
directories.

Ta
Matt

-Original Message-
From: dummy [mailto:[EMAIL PROTECTED]
Sent: 21 July 2005 04:09
To: Tomcat Users List
Subject: RE: can't start tomcat as user


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)

-- 

Luis Edgardo Durán Lebis
Soporte Técnico y Sistemas
http://mipagina.cantv.net/elebis
[EMAIL PROTECTED]
0416-7580991


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

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



Re: can't start tomcat as user

2005-07-21 Thread David Smith
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]



Re: can't start tomcat as user

2005-07-20 Thread Luis Durán
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)

-- 

Luis Edgardo Durán Lebis
Soporte Técnico y Sistemas
http://mipagina.cantv.net/elebis
[EMAIL PROTECTED]
0416-7580991


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



RE: can't start tomcat as user

2005-07-20 Thread dummy
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)

-- 

Luis Edgardo Durán Lebis
Soporte Técnico y Sistemas
http://mipagina.cantv.net/elebis
[EMAIL PROTECTED]
0416-7580991


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