Hey I just installed Tomcat 4.1.24 on OS X 10.2.6. It was actually pretty easy. At even better, it's working too. I'm getting into Servlets/JSP now, but I really want to use my Mac so this is a good first step. Yay me!
Rob
SCJP 1.4
Bear Bibeault
Author and opinionated walrus
Marshal
Hey Rob, I've been doing all my web development (using Tomcat and Apache) on OS X since the beginning of 2002, and was also astounded by how easy things were to set up. Apache, Tomcat, CVS and the host of other tools I needed were a snap. Maybe we could star in one of the "switch" commercials "Our names are Bear and Rob... and we're Java Web Developers". cheers! bear
Where are you guys putting Tomcat? I know there is an Extensions folder somewhere on the disk (/Library/Java/Extensions maybe?) and that is where I was planning to put it when I get around to it sometime this week. Did you put it there? Somewhere else? Reasons?
Rob Ross
Bartender
Joined: Jan 07, 2002
Posts: 2205
posted
0
Actually, I just followed the instructions here and installed it in /usr/local.
Michael Brewer
Ranch Hand
Joined: Jun 27, 2002
Posts: 54
posted
0
Apple just publishes those articles, they aren't written by Apple employees AFAIK. So, I'm not going to consider that gospel and seeing as he didn't provide any reason for installing to /usr/local, I'm still going to question it. I'd like to be able to navigate to my Tomcat folder through Finder to make it easier to edit the various configuration files. That's why I was thinking /Library/Java/Extensions would be a good spot. [ June 03, 2003: Message edited by: Michael Brewer ]
Bear Bibeault
Author and opinionated walrus
Marshal
That's why I was thinking /Library/Java/Extensions would be a good spot.
I disagree. That folder has a specific purpose, one of which is not installing applications.
he didn't provide any reason for installing to /usr/local
Conventions. That's where packages like Tomcat are customarilly installed on most Unix-based operating systems.
I'd like to be able to navigate to my Tomcat folder through Finder
You can make the /usr folder visible in Finder, but if you'd rather not then I'd suggest one of /Applications or /Library as a better place to install Tomcat. (As in setting up /Library/Tomcat4 or some such as CATALINA_HOME). hth, bear [ June 03, 2003: Message edited by: Bear Bibeault ]
Rob Ross
Bartender
Joined: Jan 07, 2002
Posts: 2205
posted
0
What we have here is a clash of programming conventions, one from the Mac OS world, one from the Unix/open-source world. I think you'll be in a lot better shape in terms of getting support and "fitting in" with the majority of open-source applications and developers if you use the Unix conventions wherever possible. Besides, since OS X is BSD-based, you're really following OS X conventions anyway. =)
Pauline McNamara
Sheriff
Joined: Jan 19, 2001
Posts: 4011
posted
0
mac folks I did a few servlets using orion on OS X, but will probably install Tomcat in the near future, just to get a feel for it. It's probably time to update to 10.2 too... Glad to know there's more of you out there. Cheers, Pauline
Timothy Stone
Ranch Hand
Joined: Aug 01, 2001
Posts: 70
posted
0
Kudos! I've been doing the same thing since 10.0.1. Love being able to ditch my Micros~1 dev environment at work and come home to my UNIX desktop courtesy Apple. If your curious, one can run a full blown J2EE development and production environment on the client OS X. I'm currently doing a lot of Tomcat work, but in the past I have had Sun's Reference Server, WebLogic, JBoss, Orion and Resin running on Mac OS X. I code in Netbeans (considering a move to Eclipse). For my two cents on placement of Tomcat in the heirarchary of the OS, UNIX conventions aside (/usr/local works): "Install" (untar) into it's default folder under /Applications. Then symlink--not a OS X Alias-- This will allow you to install multiple versions. When you need to develop to a older version, just recreate the symlink! I love Mac OS X and its UNIX heritage. Again KUDOS! And maybe the group of us should write a "Switch" letter to Apple!
Timothy Stone, MIT, SCJP
http://www.petmystone.com/
"This Satan's drink [coffee] is so delicious, we shall cheat Satan and baptize it." --Pope Clement the VIII (1592-1605)
Bear Bibeault
Author and opinionated walrus
Marshal
I like it! That way you can have it 'installed' in both /Applications (Finder friendly) and /usr/local (conventions friendly), or whatever other arrangement you want.
maybe the group of us should write a "Switch" letter to Apple!
They haven't done an uber-geek Switch commercial yet; it's high time! (Actually, I think that campaign is over, drat!) cheers! bear