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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat" Watch "Tomcat" New topic
Author

Tomcat

Tanveer Mehmood
Ranch Hand

Joined: Feb 23, 2001
Posts: 51
Hello buddies,
I'm an absolute beginner to servlets and trying to configure Tomcat. Following is my autoexec.bat...
set JAVA_HOME=C:\JDK1.3
set ANT_HOME=C:\program files\apache group\jakarta-tomcat
set TOMCAT_HOME=C:\program files\apache group\jakarta-tomcat
When I run this works good. But when I run "startup.bat" from bin of tomcat directory...its says...Bad Command or File...
Looking for an earliest reply...
Tanveer
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
The first thing to do is to move those Tomcat files out of directories that have spaces in the names. Those spaces completely mess up parsing of commands in the batch file.
Be sure to report the operating system you are using if/when you have further problems, and post a more complete report of any error message.
Bill

------------------
author of:
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat
 
Similar Threads
Cant read XML file
jdbc exception
Tomcat Error: JAVA_HOME must point...
Tomcat with MySql and JSP files
help in starting tomcat..