• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Has anyone gotten Tomcat 5.5.X to work on OS X?

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Has anyone gotten Tomcat 5.5.X to work on OS X? I have installed it, chmod'd the files, and set the environment variables. When I start Tomcat, it lists the environment variables and does not give any error messages. However, when I try to view http://localhost:8080 from my web browser, It can not find the host. When I shutdown Tomcat, I receive a message stating that Tomcat 5 is designed for J2SE 5.0 and I need to install it or a compatability pack from the Tomcat site. Is this why Tomcat is not working?
Can anyone tell me how to install j2se 5.0 on OS X? I thought this won't come out until tiger is released? Or, does anyone have a link to and instructions on how to install this 'compatability pack'?
I am studying the Head First JSP book and would like to use Tomcat 5 if possible.
Thanks in advance!
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tomcat 5.5 requires j2se 5.0. The newer version of j2se is not yet available for os x. I tried tomcat 5.5 on j2se 1.4.2, it did'nt work. I am not sure when its going to come out.I have'nt came across any problem running example in HFS book on os x so far.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am running Tomcat 5.5.7 on Mac OS X 10.3.8 as I type this so it will work. You must make sure you download and install the compatability patch for Java 1.4.2.

latest version: jakarta-tomcat-5.5.7-compat.zip

Next, you must make sure the shell scripts in the bin directory are executable.
cd $CATALINA_HOME/bin; chmod ug+x *.sh

After that it should work fine.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic