Surprisingly, Tomcat's script works around this.
Today () I disovered a somewhat different recipe to running Tomcat 5.5.16 on Mac OS X 10.4.6. With considerable help from Joachim, Tracy, Tom, Samuel and Jonel from the Apple Web and Java Developer mailing lists. If you click the Tomcat Administrator or Tomcat Manager links in the upper left hand of the default Tomcat page, you will be asked for a user name and password.Īs mentioned above, use tomcat for the user name, and tomcat for the password.
Step 5: Test installation Open a browser window, and enter - the default Tomcat page should open. After trying them all on five different computers - this is the simplest! There are some notes and a couple of Preference Panes for automating the starting and stopping of Tomcat. Using CATALINA_TMPDIR: /library/tomcat/temp
The default Tomcat installation only has the basic roles and users set up. Open the /Library/Tomcat/conf/tomcat-users.xml file with a plain text editor. I just named it Tomcat as it saves some typing in the Terminal If there is already a Tomcat folder (presumably from an out-of-date installation), delete all the files already in that folder.Ĭopy all the unstuffed files from the jakarta-tomcat-5.0.27.tar.gz download and put all the files into the Tomcat folder. If there is not already a folder in Macintosh HD > Library called Tomcat, then create one. Navigate (using the Finder) to Macintosh HD > Library. In my case I wanted to get rid of all the other Tomcat installations and start from scratch.ĭownload Jakarta Tomcat from the Tomcat home page, and get the binary version - I_downloaded jakarta-tomcat-5.0.27.tar.gz.Įxtract the files (unless your browser automatically extracts them).
Since I had already installed and played with a separate install of Tomcat (the version installed by Apple's XCode was out of date, as was the version I downloaded from another site), I was ready to give up!
I installed it the first time on a Windows XP Professional system, but my development machine is a Macintosh. I wanted to learn about Java Servlet Pages (JSP) on my Macintosh (with MacOS X). There is a link Current and CurrentVersion which matches up the current Java environment with the appropriate version. JAVA_HOME is at /Library/Java/Home, but this is a link into a directory /System/Frameworks/JavaJVM.Framework/Versions which is used to switch between versions easily. It is possible to run Java 1.4 on MacOS X Jaguar but it may interfere with operation of the standard environment. MacOS X 10.5 ( Snow Leopard) comes with Java 1.6. MacOS X 10.5 ( Leopard) comes with Java 1.5. MacOS X 10.4 ( Tiger) comes with Java 1.4.2 installed, but Java 1.5 can be downloaded. MacOS X 10.2 ( Jaguar) comes with Java 1.3 MacOS X 10.3 ( Panther) comes with Java 1.4. Java is installed by default on every MacOS X installation.
I hope these notes are of use to someone out there. These notes are the result of several weeks playing with different things and asking a LOT of questions on several mailing lists.
Unfortunately for Java, the second last thing the installer does (writing package receipt) needs to be done before you can launch the next Java Update - this saves rebooting, which isn't required for Java Updates.For an updated guide for installing Tomcat 5/6 on Mac OS X 10.6 using MacPorts check One trick that may be handy is that 10.4.x was the first OS to allow you to queue installs. You also need to re-check after it's installed.
Release 4 was available as separate PPC and Intel builds at 30-40MB each.Įxactly why there isn't a single Java Update for 10.4.11 that installs the latest revision in one step, only Apple knows.ĮDIT: General rule of thumb: If Software Update says you need it and ticks it automatically, you DO need it. The exception is release 8 which is a paltry 1.6MB. It does surprise me that each release since release 4 is around 80MB but these are Universal Binaries.
If you start with a late 10.4 from an Intel Mac, say 10.4.10 on a Mac mini (Mid 2007), then many of them are probably included on the original install. A real pain but I have these on a server at home. It might depend on the version of 10.4 you begin with.įor instance, when I install my iBook 10.4.3 and update to 10.4.11, Software update then wants Java release 4,5,6,7,8 & 9.