• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
 
reply
    Bookmark Topic Watch Topic
  • New Topic