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 /
#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
>>
>&
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
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
--
> 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-
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
> -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
>
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 {