Title: RE: problems with tomcat.sh (3.2) ?

Perhaps there is a ^M at the end of the line which is preventing it from completing.  Just a thought.  Otherwise, try setting the TOMCAT_HOME env variable before running the script.

-John

-----Original Message-----
From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 27, 2000 12:20 PM
To: [EMAIL PROTECTED]
Subject: RE: problems with tomcat.sh (3.2) ?


>Hi, everyone.
>
> I'm getting errors when running the tomcat.sh shell script to start
>up Tomcat 3.2 on RedHat Linux 6.2.
>
>: command not found
>: command not found
>: command not found
>: command not found
>'ash: syntax error near unexpected token `do
>'ash: tomcat.sh: line 93: `for i in ${TOMCAT_HOME}/lib/* ; do
>
>Has anyone run into this before or can tell me what is going
>on?  The weird
>thing is that this very same line that seems to be causing the
>problems is in
>the tomcat.sh script for Tomcat 3.1, which has been working
>fine for me.  Any
>help you can offer would be much appreciated.

You'd better use bash instead of ash.
Also you could take a look at my RPM at http://rpmized.free.fr/
which use a modified shell script...

Reply via email to