Sorry, I had a type in the previous post. The actual command is:

cd $CATALINA_HOME
sudo ./bin/jsvc -Djava.endorsed.dirs=./common/endorsed -cp
./bin/bootstrap.jar         -outfile ./logs/catalina.out -errfile
./logs/catalina.err -user myusername
org.apache.catalina.startup.Bootstrap


On Sat, 19 Feb 2005 02:17:25 +0330, Behrang Saeedzadeh
<[EMAIL PROTECTED]> wrote:
> Hi
> 
> I solved the problem by using the -user option. Actually, I've to run
> the jsvc by calling sudo ... cause this is how the security model of
> Ubuntu Linux, based on Debian, is:
> 
> cd $CATALINA_HOME
> ./bin/jsvc -Djava.endorsed.dirs=./common/endorsed -cp
> ./bin/bootstrap.jar         -outfile ./logs/catalina.out -errfile
> ./logs/catalina.err -user myusername
> org.apache.catalina.startup.Bootstrap
> 
> Is this acceptabe? Or It's better to create a Tomcat user and run
> Tomcat by specifying "user Tomcat"?
> 
> Regards,
> Behrang S.
> 
> 
> On Fri, 18 Feb 2005 22:14:12 +0330, Behrang Saeedzadeh
> <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > I get the following error message in the error log when I start the
> > Tomcat as a daemon via the provided jsvc tool:
> >
> >    Feb 18, 2005 10:09:12 PM org.apache.catalina.startup.Catalina load
> >    WARNING: Can't load server.xml
> >
> > After this, I can verify that Tomcat is not run by hitting
> > http://localhost:8080 at the address bar of my browser. Tomcat runs
> > fine if I run it via the startup.sh script.
> >
> > Any ideas?
> >
> > Thanks in advance,
> > --
> >
> > Behrang Saeedzadeh
> > http://www.jroller.com/page/behrangsa
> >
> 
> --
> 
> Behrang Saeedzadeh
> http://www.jroller.com/page/behrangsa
> 


-- 

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa

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

Reply via email to