Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(1) Upgrade to Mac OS X 10.4.6

  • I do not know if this 10.4.6 is required, but it sure made an easy Tomcat install.

...

  • Drag and drop the entire Tomcat folder onto the BatChmod icon.
  • Check *all* the checkboxes.

...

  • Navigate to the Tomcat folder (apache-tomcat-5.5.16):
    No Format
    
      cd ~/apache-tomcat-5.5.16
    
  • Run the startup script:
    No Format
    
      ./bin/startup.sh
    
  • You should see something like this:
    No Format
    Using CATALINA_BASE:   /Users/basilbourque/apache-tomcat-5.5.16
    Using CATALINA_HOME:   /Users/basilbourque/apache-tomcat-5.5.16
    Using CATALINA_TMPDIR: /Users/basilbourque/apache-tomcat-5.5.16/temp
    Using JRE_HOME:       /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
    

...

  • Add a rule to do port-forwarding from port 80 to Tomcat's default port 8080. Type this in the Terminal:
    No Format
    
    sudo ipfw add 100 fwd 127.0.0.1,8080 tcp from any to any 80 in
    
    Or use this nifty program, another GUI wrapper around the ipfw command line, Simple Port Forwarder: http://www.4dresources.com/files/

The Sharing SysPref will get cranky when you add an ipfw rule behind its back; it disables its user interface. To use the Sharing SysPref again you'll have to clear that rule, the one we added and numbered 100. To delete a rule, either read the ipfw man page, or use Simple Port Forwarder again. Quit the System Preferences program, and re-launch it to re-enable its Firewall panel.

...