- Posted by: sundar varadarajan
- Posted on: February 11 2001 12:23 EST
I have downloaded tomcat3.2 from jakarta site. I extracted into a folder c:\tomcat3.2. When i go to Dos prompt and invoked tomcatenv.bat from there. But i m getting
the following error "Bad command or file name". I am using windows 98.
Expecting ur reply
- tomcat3.2 installation problem by blah blah on February 11 2001 14:49 EST
- tomcat3.2 installation problem by blah blah on February 11 2001 14:59 EST
- tomcat3.2 installation problem by sundar varadarajan on February 12 2001 07:11 EST
1. make sure you have JAVA_HOME envoromental variable pointing to your JDK wherever is installed
1. make sure you have JAVA_HOME envoromental variable pointing to your JDK wherever it is installed, exp.
2. now you need enviromental variable TOMCAT_HOME that points to point to the root directory of your Tomcat hierarchy, in your case C:\Tomcat3.2.
Once you have that setup, from the command prompt execute startup.bat. If setup was successeful in your tomcat\webapps directory you should see four folders ROOT, Admin, examples and one more. If you have that you are all set. Next thing you have to do is type http://localhost:8080
and it will bring you to the tomcat's welcome page.
Now, since you arerunning w98, you will have to modify autoexec.bat (this is where you will put your enviromental variables JAVA_HOME & TOMCAT_HOME), and probably need to restart your PC.
I have tomcat configured on w2000, hope this will work for you.
thanx for ur reply. I had setup my autoexec.bat based on your instructions. But i m getting the same error.
Try these links
Also change the enviornmental problem by changin the memory of the offending dos window of tomcat from auto to 4096 bytes.
this is required for tomcat to work.
try this, when you're in DOS prompt, assuming you have installed tomcat in c:\tomcat, go to c:\tomcat\bin, then
type: tomcat run
this should start the server, i was getting all kinds of errors before i did this, but this seems to work.
to stop the server: open another DOS window and
type: tomcat stop
--once the server has started correctly you should be able to access the default(ROOT) context, by typing
http://localhost:8080 in your browser