This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring Boot in Practice and have Somnath Musib on-line!
See this thread for details.
Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Please Help----very urgent

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My Autoexec.bat file is as follows , I am using windows 95..I am trying very hard but unable to start tomcat , I am getting the message "bad command or file name " .for tomcate I made a directory called tomcat and unzipped it in that directory.Everything was ok before , I downloaded orion server and tried to set the path..now I don't know how I messed up my path.I am using Tomcat 3.1.please help.
Aamir

@echo off
set PATH=C:\WINDOWS;C:\;C:\WINDOWS\COMMAND
path= %path%;C:\JDK1.2.2;C:\JDK1.2.2\BIN
path = %path%;C:\Perl\bin
CLASSPATH=%CLASSPATH%;C:\JDK1.2.2
SET JAVA_HOME=C:\jdk1.2.2
SET TOMCAT_HOME=C:\tomcat
SET PATH=%PATH%; c:\jakarta-tomcat\bin
SET CLASSPATH=%CLASSPATH%;C:\jdk1.2.2\lib\tools.jar
doskey

[This message has been edited by Aamir Khan (edited November 03, 2000).]
[This message has been edited by Aamir Khan (edited November 03, 2000).]
 
Aamir Khan
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone please give some advice
Thanks in Advance
Aamir
 
Aamir Khan
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can any one please help..need it urgently
Aamir
 
Ranch Hand
Posts: 126
Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I don't know what is the actual problem. But you generally get this message when your OS could not locate the .exe or .com file or .bat file in current directory or in the path.
Include tomcat's bin folder in the path
add => path=%path%;c:\tomcat\bin;
in your autoexec.bat
hope this could solve the problem..
bye
nitin
 
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Amir,
What did you type at the DOS command prompt? We should type 'startup [ENTER]' at the DOS prompt. In other words there will be a 'startup.bat' file in your 'c:\tomcat\bin' dir.
Just do this and see what happens. If the server is started, then this means your path is not set to include the c:\tomcat\bin dir. So include this as nitin said in above post.
regds
maha anna

 
Aamir Khan
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My autoexec.bat file is as follows and I am trying to start Tomcat either by double clicking on Startup.bat or by going in the dos window and
C:\Tomcat\jakarta-tomcat\bin>startup.bat
Bad command or file name
Please Help me
Thanks in advance......
@echo off
set PATH=C:\WINDOWS;C:\;C:\WINDOWS\COMMAND
path= %path%;C:\JDK1.2.2;C:\JDK1.2.2\BIN
path = %path%;C:\Perl\bin
CLASSPATH=%CLASSPATH%;C:\JDK1.2.2
SET JAVA_HOME=C:\jdk1.2.2
SET TOMCAT_HOME=C:\TOMCAT
PATH=%PATH%;C:\Tomcat\jakarta-tomcat\bin;.
SET CLASSPATH=%CLASSPATH%;C:\jdk1.2.2\lib\tools.jar
doskey

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic