Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

China Diapers

macrumors newbie
Original poster
Feb 26, 2011
4
0
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?
 
are you comfortable with terminal? you can rename the files with the mv command
 
just use macports to install it.

Then you can start in stop it in terminal with a simple command like

/opt/local/share/java/tomcat6/bin startup.sh

and...

/opt/local/share/java/tomcat6/bin shutdown.sh


macports will also take care of all the dependencies and updates.
 
are you comfortable with terminal? you can rename the files with the mv command

I've taught myself everything I know about it today.

I used pico text editor to recreate the files but still no joy.
 

Attachments

  • Screen shot 2011-02-26 at 16.22.16.png
    Screen shot 2011-02-26 at 16.22.16.png
    10.5 KB · Views: 59
  • Screen shot 2011-02-26 at 16.22.50.png
    Screen shot 2011-02-26 at 16.22.50.png
    12.7 KB · Views: 48
  • Screen shot 2011-02-26 at 16.23.40.png
    Screen shot 2011-02-26 at 16.23.40.png
    28.2 KB · Views: 68
  • Screen shot 2011-02-26 at 16.24.09.png
    Screen shot 2011-02-26 at 16.24.09.png
    30.1 KB · Views: 72
just use macports to install it.

Then you can start in stop it in terminal with a simple command like

/opt/local/share/java/tomcat6/bin startup.sh

and...

/opt/local/share/java/tomcat6/bin shutdown.sh


macports will also take care of all the dependencies and updates.

Will give that a try, thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.