RE: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread tomcatastrophe
e- >>> From: tomcatastrophe >>> Sent: Thursday, June 25, 2009 9:47 >>> Subject: Tomcat startup as service on CentOS 5.3 >>> >>> >>> I have found and tried some startup scripts online and added >>> them to /etc/init.d as tomcat, so /

RE: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread tomcatastrophe
#x27;m not sure how to accomplish that with this script. I'm a little stuck. Jason Pyeron wrote: > > >> -Original Message- >> From: tomcatastrophe >> Sent: Thursday, June 25, 2009 9:47 >> Subject: Tomcat startup as service on CentOS 5.3 >> >&

Re: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread Markus Schönhaber
tomcatastrophe: > I was using root just trying to get it to work. I'm not sure what you mean > about line endings here... I don't have any \n in my file... or do you mean > the character return ? I'm a little confused. I'm talking about the character(s) that denotes a line ending, "return" in a m

RE: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread tomcatastrophe
Sure enough, this did it! VERY helpful. Jason Pyeron wrote: > > >> -Original Message- >> From: tomcatastrophe >> Sent: Thursday, June 25, 2009 9:47 >> Subject: Tomcat startup as service on CentOS 5.3 >> >> >> I have found and tried s

Re: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread tomcatastrophe
-- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Tomcat-

Re: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread Markus Schönhaber
tomcatastrophe: > When I try to run /etc/init.d/tomcat restart or /sbin/service tomcat restart > (or stop or start) I get this error: > > -bash: /etc/init.d/tomcat: /bin/bash^M: bad interpreter: No such file or > directory When you create script files for Linux on a Windows box, make sure you sa

RE: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread Jason Pyeron
> -Original Message- > From: tomcatastrophe > Sent: Thursday, June 25, 2009 9:47 > Subject: Tomcat startup as service on CentOS 5.3 > > > I have found and tried some startup scripts online and added > them to /etc/init.d as tomcat, so /etc/init.d/tomcat >

Tomcat startup as service on CentOS 5.3

2009-06-25 Thread tomcatastrophe
quot; in start) start ;; stop) stop ;; restart) stop sleep 10 #echo "Hard killing any remaining threads.." #kill -9 `cat $CATALINA_HOME/work/catalina.pid` start ;; *) echo "Usage: $0 {