• 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 is not running.. pls help

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've downloaded Tomcat4.0 and installed it in c:\program files\Jakarta Tomcat4.0.. Now when i click on "Start Tomcat" the command prompt comes and goes off with blank.. And when i double click on startup.bat the error comes as follows:
cannot find the file 'c:\jdk1.2.1\bin;c:\jdk1.2.1\bin\java.exe;bin\java'(or one of its components). Make sure the path and filename are correct and that all required libraries are available..
My autoexac.bat is as follows:
set classpath = c:\JSDK2.0\lib;
set classpath = %CLASSPATH%;c:\JSDK2.0\lib\jsdk.jar;
set path = c:\jdk1.2.1\bin;c:\jdk1.2.1\lib;
set JAVA_HOME = c:\jdk1.2.1\bin;c:\jdk1.2.1\bin\java.exe;
set TOMCAT_HOME = c:\Program Files\Jakarta Tomcat 4.0;
Now what's wrong here and what next i need to do to run this..
pls help..
Thanks in advance..
Pranit..
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are on Win98, look at the memory part of the properties of your bat file. The memory settings are usually set to auto. Play around with them by increasing them untill your startserver will run without automatically closing.
I cant remember the best settings as I am at work. Play around with it...
 
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, just to eliminate the obvious, make sure that your JDK really is in that directory and that bin and java.exe are there too and not spelled wrong or corrupt.
Dave
 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dave,
First of all thanks for ur reply.. everything is ok there in the .bat still not running.. pls help..
Pranit

Originally posted by Dave Vick:
Also, just to eliminate the obvious, make sure that your JDK really is in that directory and that bin and java.exe are there too and not spelled wrong or corrupt.
Dave


 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have the classpath and path set as follows on my computer.
PATH D:\JDK1.3.1\BINset
CLASSPATH=.\;D:\JDK1.3.1\LIB\TOOLS.JAR\;
set JAVA_HOME = d:\jdk1.3.1
SET TOMCAT_HOME = D:\TOMCAT
see if that helps especially the \.Also on my computer(Win 98) I have to restart my computer for classpath to take effect.
also I dont remember exactly but I also had to start and save the .bat files in a standard dos editor.That really got my tomcat working.Also i have version 3.1 .
i hope this helps.Frankly speaking I am also in the learning stages
[This message has been edited by rup desai (edited October 08, 2001).]
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
set the path like set java_home=d:\jdk1.3.0_02
d:\jakarta-tomcat\bin\startup
 
Thanks tiny ad, for helping me escape the terrible comfort of this chair.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic