aspose file tools*
The moose likes Servlets and the fly likes Tomcat is not running.. pls help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat is not running.. pls help" Watch "Tomcat is not running.. pls help" New topic
Author

Tomcat is not running.. pls help

Pranit Saha
Ranch Hand

Joined: Sep 09, 2001
Posts: 130
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..
Jared Krull
Ranch Hand

Joined: Sep 28, 2001
Posts: 32
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...


C programmer gone astray
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
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


Dave
Pranit Saha
Ranch Hand

Joined: Sep 09, 2001
Posts: 130
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

Rupali Desai
Ranch Hand

Joined: May 29, 2001
Posts: 42
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).]
Palani Raman
Greenhorn

Joined: Oct 09, 2001
Posts: 4
set the path like set java_home=d:\jdk1.3.0_02
d:\jakarta-tomcat\bin\startup
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat is not running.. pls help