Alan Chaney wrote:
I'd guess that you copied the text in the tutorial using an editor which converted it to an RTF
(Rich Text Format). The text you show in your email  is rtf markup.

The startup_tomcat file is a shell script which is setting the following environment variables

JAVA_HOME   - where you have installed our java sdk
JRE_HOME - the java runtime
CATALINA_HOME - the location of your tomcat files

You can set these 'by hand' by typing the lines in at the command line. Its better to set them in the .bashrc file.

Or you could just try starting the script from the tomcat install dir:

 tar -zxvf tomcat-n.m.tar.gz
 cd tomcat-n.m
 sh bin/startup.sh

worked for me, on Tiger and Leopard, with no extra effort.

if you need to customise the startup environment, add a script called "setenv.sh" to the bin dir and add your environment variables in that, (as the startup scripts check for it), rather than elsewhere.


p




Hope that helps



maxchoc wrote:
I'm trying to install Tomcat 6.0.16 on Leopard. I'm following a tutorial on <http://swetnam.wordpress.com/2007/12/15/installing-apache-tomcat-6-on-os-x/>

I've gotten to the point of trying to start tomcat on my mac but when in the
Terminal, I get the following

sh-3.2# ./start_tomcat
./start_tomcat: line 1: {rtf1ansiansicpg1252cocoartf949cocoasubrtf270:
command not found
./start_tomcat: line 2: syntax error near unexpected token `}'
./start_tomcat: line 2: `{\fonttbl\f0\fswiss\fcharset0 Helvetica;}'

What am I missing?

Thanks

marlene



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to