Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

osxfactor

macrumors newbie
Feb 8, 2008
6
0
Tomcat

In the Tomcat directory, there is a bin folder. Inside that folder is a catalina.sh script. Open the terminal, and drag that script in (or navigate in the terminal to the folder that creates it).

You are going to call the script as so:

Type:

Code:
catalina.sh start

That will start Tomcat and after a few seconds, you will see in the terminal a msg that Tomcat has started. Open a browser window, and type:

Code:
localhost:8080

You should see the Tomcat splash screen.

well i'm still confused. i downloaded the zip, and unzipped it. now i have a folder with files in it, but nothing to launch/start tomcat (that i see).

i tried your command in terminal, but it said "setenv: command not found"

sorry i'm new to the command line
 

twoodcc

macrumors P6
Original poster
Feb 3, 2005
15,307
26
Right side of wrong
In the Tomcat directory, there is a bin folder. Inside that folder is a catalina.sh script. Open the terminal, and drag that script in (or navigate in the terminal to the folder that creates it).

You are going to call the script as so:

Type:

Code:
catalina.sh start

That will start Tomcat and after a few seconds, you will see in the terminal a msg that Tomcat has started. Open a browser window, and type:

Code:
localhost:8080

You should see the Tomcat splash screen.

ok, i see the files, but when i type in "catalina.sh start" i get an error saying command doesn't exist. what am i doing wrong?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.