File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes How tu run tomcat command in windows ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How tu run tomcat command in windows ?" Watch "How tu run tomcat command in windows ?" New topic
Author

How tu run tomcat command in windows ?

Ahmad Kamal Ramli
Greenhorn

Joined: Jul 12, 2001
Posts: 6
right now i'm already download tomcat,jdk1.2 for windows. when i run startup at c:\tomcat\jakarta-tomcat\startup.bat ..
the message will popup --> bad command or file name
how i need to congigure tomcat for windows98
or this tomcat only support windows NT.

regards
KAMAL
jon boydell
Greenhorn

Joined: Jul 04, 2001
Posts: 15
it should work on any machine that can run a java vm. make sure that you've set the "JAVA_HOME" and "TOMCAT_HOME" environment variables.... set "JAVA_HOME" to the jvm directory (e.g. c:\jdk.1.3.1) and "TOMCAT_HOME" to the tomcat dir (e.g. c:\jakarta-tomcat)....
j
Ahmad Kamal Ramli
Greenhorn

Joined: Jul 12, 2001
Posts: 6
i alredy follow instructions given by someone else. i already did all the instructions..
1)After you download tomcat from the net,U will get a zip file.
2)Extract that zip file to your drive eg D drive.U just need to right click the zip file and select the drive to extract it to.
3)Automatically a folder called jakarta-tomcat will be created in that specific drive.
4)Rename the folder to tomcat.
5)There will be a folder called webapps inside tomcat containing 4 war files.
6) Open up winzip and in this go to first war file and select extract to the same folder ie suppose the first war file is admin.war.create a new folder admin in webapps and extract contents of admin.war to it.similarily for all the other three files.
7)Go to environment variables in NT and 2000.set path as==>
TOMCAT_HOME with value Drivename:\tomcat
8)similarily set JAVA_HOME with value Drivename:\jdkx.x
here x.x being the version.
IF it is a 95 system set the above paths in autoexec.bat.
Now go to bin and run startup.
U will hopefully see a window popping up from which a new one will pop up.
Now u are up and running

Send a reply if u have nay queries.
///////exctracted from someone else///////
problem that i have right now is ... i cannot access http://localhost:8080 .. error page..
what should i do
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How tu run tomcat command in windows ?