Re: Start Tomcat as a Linux daemon

2005-12-07 Thread Warren Pace
Mario, Have you recently installed ver 5.5.12 and created symlinks to "jakarta-tomcat"? If not your script needs to be edited to reflect the new directory structure - CATALINA_HOME=/usr/local/apache-tomcat-5.5.12 DAEMON_HOME=/usr/local/apache-tomcat-5.5.12/bin Otherwise, just strip the /bin o

Re: Start Tomcat as a Linux daemon

2005-12-07 Thread Warren Pace
Which tomcat version? On Wed, 2005-12-07 at 12:35 +, Mário Gamito wrote: > Hi, > > I'm trying to start Tomcat as a linux daemon at server boot, but i don't > have jsvc (although i've installed package admin), like explained in > Tomcat's page. > > An year ago or so, i had this ctl script tha

RE: Start Tomcat as a Linux daemon

2005-12-07 Thread Richard Mixon
Mario, Your CATALINA_HOME and DAEMON_HOME should be pointing to /usr/local/jakarta-tomcat not the bin subdirectory. That should help - Richard -Original Message- From: Mário Gamito [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 5:36 AM To: users@tomcat.apache.org Subject:

Re: Start Tomcat as a Linux daemon

2005-12-07 Thread Mirek Kopriva
You could send your tomcat init script, it would give me more info about what could be wrong. It looks like something is missing on the classpath. One thing you could try. Don't copy jsvc and use it directly from where it was build. We had errors when running it by using a symlink to the original

Re: Start Tomcat as a Linux daemon

2005-12-07 Thread Mário Gamito
Hi, Ok, jsvc is in $CATALINA_HOME/bin Now, i run the ctl and get this error: --- [EMAIL PROTECTED] init.d]# ./tomcat start Unable to redirect to /usr/local/apache-tomcat-5.5.12/bin/logs/catalina.out [EMAIL PROTECTED] init.d]# 07/12/2005 13:20:58 6860 jsvc.exec

Re: Start Tomcat as a Linux daemon

2005-12-07 Thread Mirek Kopriva
Hi, It's in $CATALINA_HOME/bin/jsvc-src.tar.gz you need to unpack it and compile it yourself. See the tomcat/startup documentation for more details. Regards, Mirek On 12/7/05, Mário Gamito <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to start Tomcat as a linux daemon at server boot, but i don't