• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Need help with Tomcat on OSX...

 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Sheriff
Posts: 67537
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

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.
 
Every snowflake is perfect and unique. And every snowflake contains a very tiny ad.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic