Re: Running Tomcat from jsvc

2004-10-27 Thread [EMAIL PROTECTED]
Kevin Offet wrote: Hi, to help cut through the apparent confusion, all you need to do is: 1) change ownership (recursively) of your tomcat install dir to ( if your user account that will run tomcat is called for example tomrunner ) tomrunner.tomrunner. 2) change to that user and decompress and

Running Tomcat from jsvc

2004-10-26 Thread [EMAIL PROTECTED]
Hi Folks, I'm having problems starting Tomcat 5.0.28 using jsvc. My system is SuSE Linux 9.1 with j2sdk1.4.2_05. When I start Tomcat using $CATALINA_HOME/bin/startup.sh everything works fine. But now I want to run Tomcat as a daemon under a non-root user. I followed the instructions on[1] for

RE: Running Tomcat from jsvc

2004-10-26 Thread Shapira, Yoav
] Subject: Running Tomcat from jsvc Hi Folks, I'm having problems starting Tomcat 5.0.28 using jsvc. My system is SuSE Linux 9.1 with j2sdk1.4.2_05. When I start Tomcat using $CATALINA_HOME/bin/startup.sh everything works fine. But now I want to run Tomcat as a daemon under a non-root user. I followed

Re: Running Tomcat from jsvc

2004-10-26 Thread [EMAIL PROTECTED]
Shapira, Yoav wrote: Hi, You have to start the jsvc as root, then it changes the effective user ID to non-root. Hi, That's exactly what I did, and according to the log (line 1, line 685), the user has been changed. Did I misunderstand something? Of course, before that, I had tried to start that

Re: Running Tomcat from jsvc

2004-10-26 Thread Wolfgang Hackl
[EMAIL PROTECTED] wrote: When I start Tomcat using $CATALINA_HOME/bin/startup.sh everything works fine. But now I want to run Tomcat as a daemon under a non-root user. [...] The log (line 626)[3] is telling me that server.xml couldn't be loaded, but it didn't tell why. Hi Volkmar, did you check

Re: Running Tomcat from jsvc

2004-10-26 Thread [EMAIL PROTECTED]
Wolfgang Hackl wrote: Hi Volkmar, did you check the file system permissions of your $CATALINA_HOME directory? As I can see from my installations, server.xml has read and write permissions exclusively for its owner. My conclusion is that the directory must belong to the user, will run the

Re: Running Tomcat from jsvc

2004-10-26 Thread Kevin Offet
Hi, to help cut through the apparent confusion, all you need to do is: 1) change ownership (recursively) of your tomcat install dir to ( if your user account that will run tomcat is called for example tomrunner ) tomrunner.tomrunner. 2) change to that user and decompress and build jsvc (in the

Re: running Tomcat from jsvc daemon under Linux as user tomcat

2004-05-26 Thread Bob White
I have still not succeeded in getting jsvc daemon to run under Linux as user tomcat. All files under CATALINA_HOME are owned by the user tomcat. All files have been tried with 750 and 777 permissions. This does not solve the problem. I have noticed that jsvc looks up a JRE JVM rather than the

Re: running Tomcat from jsvc daemon under Linux as user tomcat

2004-05-21 Thread Bob White
Subject: running Tomcat from jsvc daemon under Linux as user tomcat I am running Tomcat (under Linux) from jsvc daemon as user tomcat. When I do this, Tomcat fails to run JSPs because Tomcat cannot create java files in the work directories and subsequently cannot compile them (cuz

Re: running Tomcat from jsvc daemon under Linux as user tomcat

2004-05-21 Thread Parsons Technical Services
denied. Just thinking of all possibilities. I think I did a chmod -R 750 tomcat5 on my main tomcat directory. Doug - Original Message - From: Bob White [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 21, 2004 5:45 AM Subject: Re: running Tomcat from jsvc

running Tomcat from jsvc daemon under Linux as user tomcat

2004-05-20 Thread Bob White
I am running Tomcat (under Linux) from jsvc daemon as user tomcat. When I do this, Tomcat fails to run JSPs because Tomcat cannot create java files in the work directories and subsequently cannot compile them (cuz they're not there). When I run Tomcat using startup.sh as user root I have no

Re: running Tomcat from jsvc daemon under Linux as user tomcat

2004-05-20 Thread Parsons Technical Services
] To: [EMAIL PROTECTED] Sent: Thursday, May 20, 2004 2:08 AM Subject: running Tomcat from jsvc daemon under Linux as user tomcat I am running Tomcat (under Linux) from jsvc daemon as user tomcat. When I do this, Tomcat fails to run JSPs because Tomcat cannot create java files in the work