Win a copy of Terraform in Action this week in the Cloud forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Hello Mac!

 
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Sheriff
Posts: 67602
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hehe that would be awesome!
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 2205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, I just followed the instructions
here
and installed it in /usr/local.
 
Michael Brewer
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 67602
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 2205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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. =)
 
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Bear Bibeault
Sheriff
Posts: 67602
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Micros~1


ROFL

Then symlink--not a OS X Alias--


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