Tomcat server

Discussion in 'macOS' started by China Diapers, Feb 26, 2011.

  1. China Diapers macrumors newbie

    Feb 26, 2011

    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?
  2. j00d macrumors member

    Jul 27, 2007
    are you comfortable with terminal? you can rename the files with the mv command
  3. mshepherd macrumors regular

    Feb 29, 2004
    just use macports to install it.

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




    macports will also take care of all the dependencies and updates.
  4. China Diapers thread starter macrumors newbie

    Feb 26, 2011
    I've taught myself everything I know about it today.

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

    Attached Files:

  5. China Diapers thread starter macrumors newbie

    Feb 26, 2011
    Will give that a try, thanks

Share This Page