wood burning stoves 2.0*
The moose likes Servlets and the fly likes Tomcat Installation on NT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat Installation on NT" Watch "Tomcat Installation on NT" New topic
Author

Tomcat Installation on NT

Waliullah Memon
Greenhorn

Joined: Sep 21, 2000
Posts: 8
Hi,
I am trying to install Tomcat 3.1 on windows NT as follows .I made a folder Tomcat and unzipped the Tomcat inside it.
In the System--->Environment I set variables as follows

TOMCAT_HOME=d:\tomcat
JAVA_HOME =d:\jdk1.3
PATH
;d:\Tomcat\jakarta-tomcat\bin
CLASSPATH
;d:\jdk1.3\lib\tools.jar
Now when I Click on the startup.bat or go to dos and type startup.bat , a dos window just appers for a while and then disapperas...Am I missing anything...
Your Help will be greatly appreciated
Thanks in advance
Wali
[This message has been edited by Waliullah Memon (edited November 04, 2000).]
P SOLAIAPPAN
Ranch Hand

Joined: Oct 20, 2000
Posts: 68
Hi,
I thing you have to modify a little bit.
TOMCAT_HOME=d:\tomcat\jakarta-tomcat
JAVA_HOME =d:\jdk1.3
ANT_HOME=d:\tomcat\jakarta-tomcat
Then goto "d:\Tomcat\jakarta-tomcat\bin"
click startup.bat then tomcat will start running. Minimize the dos window and in your webbrowser Enter as
http//localhost:8080/
Then you will see that TOMCAT in your browser window.
solaiappan
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

I would expect your PATH and CLASSPATH variables
to look like this:
set PATH=%PATH%;;d:\tomcat\jakarta-tomcat\bin
set CLASSPATH=%CLASSPATH%;d:\jdk1.3\lib\tools.jar
and hopefully your previous line which set the
PATH and CLASSPATH DONOT have a semi-colon ;
at the end.
Regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Prasad Charasala
Ranch Hand

Joined: Nov 02, 2000
Posts: 67
Hi,
You don't need a semicolon at the end or at the begining. It is just seperator between two folder paths.
------------------
Prasad


<B>Prasad</B>
Cynthia Yao
Ranch Hand

Joined: Nov 06, 2000
Posts: 92
I just want to add more questions to u all.
If I am running win2000 in a network, I was not able to modify the default environment variables. Is it a way to modify the bat file so that tomcat can run by itself? Where should I add the definition of the CLASSPATH, PATH and so on. Originally, I have JBuilder linked with tomcat.
Thanks in advance
 
wood burning stoves
 
subject: Tomcat Installation on NT