PDA

View Full Version : Tomcat on Mac


China Diapers
26-02-2011, 15:41
Hi,

Apologies in advance for the frivolous questions, and for being so thick, I have honestly spent all night trying to get this to work.

I am trying to get Tomcat working on my Macbook with OS 10.6.4 using the instructions found at the below location without success:

Java and Tomcat on Mac OS X, Part I

I have got as far as creating the start_tomcat and stop_tomcat files and making these executable, but when I try point my browser to http://localhost:8080/ I get the below error:

"Oops! Google Chrome could not connect to localhost:8080"

I think maybe were I am going wrong is I used text edit to create the start and stop files, and instead of start_tomcat and stop_tomcat, I have start_tomcat.rtf and stop_tomcat.rtf, but I don't know how to create a file with no file extension. Anybody able to help, you'd really be making my week if I could get this work.

Also...what are Unix line ending?

Kees de Kooter
27-02-2011, 20:53
Did you actually execute the start_tomcat file? And if so did you get error messages?

China Diapers
27-02-2011, 22:50
I got it working, came down to access rights, how embarrassing

kjkoster
28-02-2011, 09:13
Dear China Diapers,

Don't worry, we all start somewhere.

Oh, and for your other question: http://en.wikipedia.org/wiki/Newline

Kees Jan