This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Mac OS and the fly likes Problem running Tomcat 5.5.9 on OS X Tiger Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Problem running Tomcat 5.5.9 on OS X Tiger" Watch "Problem running Tomcat 5.5.9 on OS X Tiger" New topic

Problem running Tomcat 5.5.9 on OS X Tiger

Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
Hello again

I just downloaded Tomcat 5.5.9 onto my G4 PowerBook running OS X Tiger. I am using the JDK 1.5.0 as my JAVA_HOME.

This is what my .bash_profile looks like:

When I cd into the $CATALINA_HOME/bin directory and I receive the following error message:

Now when I do a ls -al, one can clearly see that this file exists:

What am I possibly doing wrong?

With thanks!
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63211


Don't run the script using sh. This launches a new process whose working directory is the home folder of the process owner.

Just execute the script directly:

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

and I think that you need to make all *.sh scripts executeble

try "chmod 755 *.sh" in a Terminal window in the bin folder and "./" to start tomcat


Regards, Rene Larsen
Dropbox Invite
Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
Bear & Rene,

Thanks guys! This actually worked... I posted a earlier post on the JSP forum that I was having difficulty compiling a JSP file with Subversion on my OS X Tiger. Well, I think that its because that the particular version (5.0.28) of Tomcat which I was using didn't support JDK 1.5 (it even says on the URL that Tomcat 5.5.9 is the one that is expected to be used for JDK 1.5) and also conflicted with a dynamic library in Subversion.

Well, now Subversion 1.2.0, JDK 1.5, and Tomcat 5.5.9 are fully operational on my PowerBook!

Also, for some odd reason, the sh does work! I can start or shutdown tomcat by using sh or ./

What's weird is that the war file from my project actually did work on my WinXP machine running JDK 1.5 and Tomcat 5.0.19.

Thanks for chmod advice...

With thanks!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Problem running Tomcat 5.5.9 on OS X Tiger
It's not a secret anymore!