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

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

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 service

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]
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 s

RE: Running Tomcat from jsvc

2004-10-26 Thread Shapira, Yoav
Hi, You have to start the jsvc as root, then it changes the effective user ID to non-root. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: news [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] >Sent: Tuesday, October 26, 2004 11:07 AM >To: [EMAIL PROTECTED] >S

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 d

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

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

2004-05-21 Thread Bob White
I have set everything in the entire $CATALINA_HOME directory tree to be owned by user tomcat, group tomcat. I even tried setting them to user.root and put tomcat in the root group. Still, Tomcat cannot write to the work dir. When I try to run jsvc as user root, I get a java.lang.reflect.Invocati

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

2004-05-20 Thread Parsons Technical Services
Bob, It sounds like a permissions problem. Check the settings in the context for "workdir=..." If you have set this, then you must ensure that your tomcat user has rights to that directory also. Read through the following to see if you missed anything in your setup: http://marc.theaimsgroup.c