Mr.Ben
i am trying to make the
tomcat installation on windows98 operating system(63mb ram).
while tomcat installation:the path it has taken is(by default)
C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin
the path of jvm installed on my system is
C:\Program Files\JavaSoft\JRE\1.2
when i open the server by clicking, startup.bat
in
c:\prgram files\apache software foundation\tomcat 5.0\bin
the error i am facing is:
The catalina_home environment variable is not defined correctly
This environment variable is needed to run this program
so i had to install the server to a folder in C drive& the name of it is tomcat5.0
i created a cpath.bat in C:\Tomcat5.0\bin.
The file(cpath.bat) contains
set CATALINA_HOME=C:\Tomcat5.0
set classpath=C:\ProgramFiles\Java\j2re1.4.1\lib;D:\%CATALINA_HOME%\common\lib\servlet-api.jar;d:\%
and in the command window i did.......
C:\Tomcat5.0\bin>cpath
i was shown:
C:\Tomcat5.0\bin>set CATALINA_HOME=C:\Tomcat5.0
C:\Tomcat5.0\bin>set classpath=C:\ProgramFiles\Java\j2re1.4.1\lib;D:\C:\Tomcat5.0\common\lib\servlet-api.jar;d:\
C:\Tomcat5.0\bin>
to start the server i did:
C:\Tomcat5.0\bin>startup
then the error i am facing was:
The JAVA_HOME environment variable is not defined
This environment variable is needed to run this program
Invalid switch
Using CATALINA_BASE: C:\Tomcat5.0
Using CATALINA_HOME: C:\Tomcat5.0
Using CATALINA_TMPDIR: C:\Tomcat5.0\temp
Using JAVA_HOME:
Invalid switch - -DJAVA.ENDORSED.DIRS=
i thought there cud be some installation problem so i reinstalledtomcat5.0 in C drive and also i've installed j2sdk1.4.1 also in c drive. and i've copied the cpath.bat file to tomcat5.0/bin in c drive,which contains
set CATALINA_HOME=C:\Tomcat5.0
set classpath=C:\j2sdk1.4.1\jre\lib;D:\%CATALINA_HOME%\common\lib\servlet-api.jar;d:\%
and in the command window i performed:
C:\Tomcat5.0>cd bin
C:\Tomcat5.0\bin>cpath
and it has shown
C:\Tomcat5.0\bin>set CATALINA_HOME=C:\Tomcat5.0
C:\Tomcat5.0\bin>set classpath=C:\j2sdk1.4.1\jre\lib;D:\%CATALINA_HOME%\common\lib\servlet-api.jar;d:\%
C:\Tomcat5.0\bin>
and then i started
C:\Tomcat5.0\bin>startup
and i got this error:
Out of environment space
Cannot find
This file is needed to run this program
sir,if there are any errors in these steps performed by me.....then plzzzzz reply so that i could install the apache tomcat server at the earliest.
waiting for a reply.if u could find some time to tell me the installation right from the beginning then it would be of great help.