Thamks Bodie ,
1) What windows version are you running?
I am using win98
2) Are you attempting to run Tomcat as a service or as a console app?
I have tried both way.
3) If console, then are you starting it with a mouse-click in the Tomcat program group on "Start Tomcat" or are you executing the batch file from the command prompt?
If I go through (clicking)Start(Menu)>Programs>Apache Tomcat 4.0>Start Tomcat, I got the following message
---
Starting service Tomcat-Standalone
Apache Tomcat/4.0.3
Starting service Tomcat-Apache
Apache Tomcat/4.0.3
---
but when I try to verify it by typing
http://localhost:8080/ , I got the message Page cannot be displayed in my browser window.
2nd method
(I have already changed the setting inside the autoexec.bat by adding the following lines, c:\autoexec.bat now looks like this
--
@ECHO OFF
SET BLASTER=A220 I7 D1 T2
SET SNDSCAPE=C:\WINDOWS
REM [Header]
REM [CD-ROM Drive]
REM C:\WINDOWS\COMMAND\MSCDEX /D:MSCD001
REM [Miscellaneous]
REM [Display]
@SET CLASSPATH=C:\PROGRA~1\PHOTOD~1.1\ADOBEC~1
PATH c:\j2sdk1.4.0\bin;%path%;
SET CLASSPATH=%CLASSPATH%;.;c:\j2sdk1.4.0\lib\tools.jar
SET path="C:\Program Files\Oracle\jre\1.1.7\bin";"%path%";
SET path="C:\Program Files\Oracle\jre\1.1.8\bin";"%path%";
SET Path=c:\Oracle\Ora81\bin;"%Path%"
SET JAVA_HOME=C:\J2SDK1.4.0
SET CATALINA_HOME=C:\Tomcat4
--
I have also changed the environmental memory to 4096 and now there are two shortcuts in the folder c:Tomcat4\bin, and when click on the startup (shortcut or startup.bat) I got the following message
---
Using CATALINA_BASE: C:\Tomcat4
Using CATALINA_HOME: C:\Tomcat4
Using CATALINA_TMPDIR: C:\Tomcat4\temp
Using JAVA_HOME: C:\J2SDK1.4.0
Bad command or file name
---
3rd Method
On MS-DOS Command Prompt I have get the following response
---
C:\Tomcat4\bin>set JAVA_HOME=C:\J2SDK1.4.0
C:\Tomcat4\bin>set CATALINA_HOME=C:\TOMCAT4
C:\Tomcat4\bin>STARTUP
Out of environment space
Cannot find
This file is needed to run this program
C:\Tomcat4\bin>
---
Bodie, can ypu please help me where I am wrong and what else should I do, before installing Tomcat I had also installed Apache web server and then Tomcat, but then unistall both and then install Tomcat4.x only.
Thanks and best regards,
[ April 25, 2002: Message edited by: Muhammad Farooq ]