• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Install Tomcat 6?

 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed tomcat 4 several years ago, with a variant approach to the article on developer.apple.com. Was kind of a pain then. I can't remember how I did it.

I like on windows how you can use the installer to run a net service. Then make batch files "net start tomcat" and "net stop tomcat" and put those on the taskbar, then add respective start/stop icons w/them. click the icon to start or stop tomcat. Simple and easy to set up and use,

I reread the article on Developer.apple.com but want tomcat visible in the finder, not hidden. I can't seem to get it right. I checked the permissions and the ownership but it doesn't work. tomcat 5 does not appear to start, tomcat 6 fails with "permission denied" in Terminal.

I searched for, but did not find an installer for os x. It is really taking too much time to get this done; should be a 15 min job (that's how long it takes on Windows) but I've spent over half a day and can't figure it out.

I love how simple and easy to use macs are...

Is there an installer with instructions for OS X?
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just like for you, Tomcat 4 was the first one I installed on OS X, and while it was a pain to get it right the first time, the later installations of newer versions went quite well. I went by this article which provides all the details.

You don't have to run Tomcat under its own user account, but to mirror a proper production environment, I do. Just remember that everything in the TOMCAT_HOME directory needs to be owned and have the proper permissions accordingly.
 
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To install tomcat just unpack the file copy to /usr/local/tomcat6 or

chmod -R 777 tomcat6 or whatever the permissons. Start tomcat , done
 
Garrett Smith
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lets see. that was about 3 weeks ago. I got it up and running, eventually.

It is much easier to do on windows, though.
 
He baked a muffin that stole my car! And this tiny ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!