A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Engineering
»
Mac OS
Author
Need help with Tomcat on OSX...
Unnsse Khan
Ranch Hand
Joined: Nov 12, 2001
Posts: 511
posted
Oct 25, 2004 19:05:00
0
Hello there,
I am trying to set up
Tomcat
on my MacOSX PowerBook....
I created a .bash_profile file under ~/ its contents are:
JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home";
CATALINA_HOME="/Developer/jakarta-tomcat-5.0.28";
PATH=$PATH:$JAVA_HOME/bin;
export JAVA_HOME CATALINA_HOME
Now, when I did this:
$ cd $CATALINA_HOME/bin
$ sh startup.sh
I got this error message:
Cannot find ./catalina.sh
This file is needed to run this program
If anyone can help, I'd be very appreciative......
All the best,
Venkatraman Kandaswamy
Ranch Hand
Joined: Jul 07, 2004
Posts: 120
posted
Oct 25, 2004 19:30:00
0
Did you check if startup.sh is executable?
chmod +x startup.sh
./startup.sh
Also for setting class path use this tool. It is easy to set classpath with this.
http://www.rubicode.com/Software/RCEnvironment/
[ October 25, 2004: Message edited by: venkat raman ]
--Venkatraman<br />SCJP 1.4<br /><a href="http://kvrlogs.blogspot.com" target="_blank" rel="nofollow">blog</a>
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56232
13
I like...
posted
Oct 25, 2004 19:38:00
0
sh startup.sh
Don't start it up in its own shell (the result of using the sh command). When you do that the spawned process does not have its working directory correctly set.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Need help with Tomcat on OSX...
Similar Threads
TomCat 4.1.18 Installation
Tomcat Installation
Problem in starting Tomcat.
configuring tomcat in win98
please help with tomcat
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter