File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes how to run server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to run server" Watch "how to run server" New topic

how to run server

Ash sav
Ranch Hand

Joined: Apr 14, 2001
Posts: 55
I have downloaded Tomcat 4.0 but I am little confuse how to start the server. Documentation says following.
"There are two techniques by which Tomcat 4.0 can be started:
* Via an environment variable:
- Set an environment variable CATALINA_HOME to the path of the directory
into which you have installed Tomcat 4.0."
So how do I have to set env variable? Can somebody tell me?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

What OS are you using?
Ash sav
Ranch Hand

Joined: Apr 14, 2001
Posts: 55
I am using windows 98.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
just type: set CATALINA_HOME=c:\jakarta-tomcat-4.0.1
or you can add the set command to your autoexec.bat
then run startup.bat from the tomcat bin directory.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
I agree. Here's the link:
subject: how to run server
It's not a secret anymore!