2011/4/2 Robert P. J. Day <rpj...@crashcourse.ca>:
>
>  i just noticed that users on a linux/unix system that unload tomcat7
> from the zip file are going to have trouble running it since the bin/
> scripts are not marked executable in the zip file.
>
>  if tomcat7 is unloaded from the tar ball, then everything will work
> fine since the scripts are executable.  but from the zip file, they
> aren't, which means someone who runs "sh bin/startup.sh" will get:
>
>  Cannot find bin/catalina.sh
>  This file is needed to run this program
>
> and that's because of this test in startup.sh:
>
>  if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
>    echo "Cannot find $PRGDIR/$EXECUTABLE"
>    echo "This file is needed to run this program"
>    exit 1
>  fi
>
> the catalina.sh script is there, of course, it's just not executable
> so startup.sh (misleadingly) claims it doesn't exist.
>
>  experienced linux users will probably notice what's going on
> immediately, but others might be thoroughly confused.
>

I amended the message. Will be in 7.0.13,
http://svn.apache.org/viewvc?rev=1088179&view=rev

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to