• 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic