Re: Tomcat on Leopard

2008-03-17 Thread Steve Ochani
Date sent:  Mon, 17 Mar 2008 12:46:03 +
From:   Gareth Howells <[EMAIL PROTECTED]>
Subject:        Re: Tomcat on Leopard
To: Tomcat Users List 
Send reply to:  Tomcat Users List 

> > The OP should use either vi (if they're brave or have experience in
> > it)
> 
> nano is available on OS X too
> 


TextWrangler is a nice, free text editor for Mac that supports a few 
programming languages 
also.

http://www.barebones.com/products/textwrangler/



-Steve O.



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



Re: Tomcat on Leopard

2008-03-17 Thread Gareth Howells

The OP should use either vi (if they're brave or have experience in it)


nano is available on OS X too

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



Re: Tomcat on Leopard

2008-03-16 Thread jarrod



David Smith-2 wrote:
> 
> I can't speak for the OP, but as a long time Mac user, I know TextEdit's 
> default output is richtext.  It's a really annoying behavior of 
> TextEdit.  The OP should use either vi (if they're brave or have 
> experience in it) or a developer IDE like NetBeans or Eclipse to write 
> the initial file.  After that I believe TextEdit can be used and will 
> leave the file as text on future saves.
> 
> --David
> 

NetBeans and Eclipse are heavyweight IDEs and both require that you create a
project before you can edit any files. They aren't very convenient for just
editing random text files. If you're comfortable with the command line there
are vi, emacs, joe, nano, and others. If you're accustomed to graphical
tools, TextMate is good, but it's $60. There are probably free ones
available.

It's kind of weird that Macs don't come with a normal GUI text editor.

Ethan


-

ebdb
http://aeondust.com
-- 
View this message in context: 
http://www.nabble.com/Tomcat-on-Leopard-tp16075179p16086312.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: Tomcat on Leopard

2008-03-16 Thread David Smith
I can't speak for the OP, but as a long time Mac user, I know TextEdit's 
default output is richtext.  It's a really annoying behavior of 
TextEdit.  The OP should use either vi (if they're brave or have 
experience in it) or a developer IDE like NetBeans or Eclipse to write 
the initial file.  After that I believe TextEdit can be used and will 
leave the file as text on future saves.


--David

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.


Hope that helps



maxchoc wrote:
I'm trying to install Tomcat 6.0.16 on Leopard.  I'm following a 
tutorial on 
 



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]



Re: Tomcat on Leopard

2008-03-16 Thread Pid

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 
 



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]



Re: Tomcat on Leopard

2008-03-15 Thread Alan Chaney
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.


Hope that helps



maxchoc wrote:
I'm trying to install Tomcat 6.0.16 on Leopard.  I'm following a tutorial on 



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]



Re: Tomcat on Leopard

2008-03-15 Thread Hassan Schroeder
On Sat, Mar 15, 2008 at 8:08 PM, maxchoc <[EMAIL PROTECTED]> wrote:
>
>  I'm trying to install Tomcat 6.0.16 on Leopard.  I'm following a tutorial on
>  

Not sure why you'd use that instead of the real docs, and there's
no reason I can imagine to write a startup script to call an existing
startup script, but whatever...  :-)

>  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

Use a real text editor, or make sure you save your file as text, not
RTF or whatever the heck that is...

-- 
Hassan Schroeder  [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]