Re: Log ownership when running Tomcat using jsvc

2011-08-04 Thread Mladen Turk
On 08/05/2011 04:46 AM, Jorge Medina wrote: Right, I can't understand why the JULI files are owned by root. any ideas? Hmm, seems like JULI creates log files before we call the org.apache.catalina.startup.Bootstrap On Solaris user is switched just before we call Bootstrap so any files created

Re: Log ownership when running Tomcat using jsvc

2011-08-04 Thread Rainer Jung
On 05.08.2011 04:46, Jorge Medina wrote: > Right, I can't understand why the JULI files are owned by root. > any ideas? > > If I remember correctly, Tomcat uses Java logging by default. I am > trying to remember why I switched to JULI (maybe to rotate the logs), > but I guess I can try to switch t

Re: Log ownership when running Tomcat using jsvc

2011-08-04 Thread Jorge Medina
Right, I can't understand why the JULI files are owned by root. any ideas? If I remember correctly, Tomcat uses Java logging by default. I am trying to remember why I switched to JULI (maybe to rotate the logs), but I guess I can try to switch to log4j and see if I get a different outcome. On

Re: Log ownership when running Tomcat using jsvc

2011-08-04 Thread Rainer Jung
On 04.08.2011 09:44, Mladen Turk wrote: > On 08/03/2011 10:11 PM, Jorge Medina wrote: >> I run Tomcat in a Solaris 10 SPARC machine using jsvc through a init >> script. >> >> jsvc is started by root, but I specify the "-user" option to change to >> the "application" user. >> I use the option "-outf

Re: Log ownership when running Tomcat using jsvc

2011-08-04 Thread Mladen Turk
On 08/03/2011 10:11 PM, Jorge Medina wrote: I run Tomcat in a Solaris 10 SPARC machine using jsvc through a init script. jsvc is started by root, but I specify the "-user" option to change to the "application" user. I use the option "-outfile" and "-errfile" to specify where to direct stdout an

Re: Log ownership when running Tomcat using jsvc

2011-08-03 Thread Jorge Medina
Just in case is needed I use Tomcat 6.0.32 and jsvc 1.0.5 running under Java 1.6.0_24 On Wed, Aug 3, 2011 at 4:11 PM, Jorge Medina wrote: > I run Tomcat in a Solaris 10 SPARC machine using jsvc through a init script. > > jsvc is started by root, but I specify the "-user" option to change to > t

Log ownership when running Tomcat using jsvc

2011-08-03 Thread Jorge Medina
I run Tomcat in a Solaris 10 SPARC machine using jsvc through a init script. jsvc is started by root, but I specify the "-user" option to change to the "application" user. I use the option "-outfile" and "-errfile" to specify where to direct stdout and stderr, "catalina.out" and "catalina.err" in