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:\%
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 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.
First, you'll need a full Java Software developement kit (JDK) to do any JSP development with Tomcat 5.0x.
I don't know if the EXE version of Tomcat runs on win98. If it does, you should only need to run the installer and make sure that it's looking at the right version of Java.
You may also need to increase the amount of ram available to your application. Google will help you there.
PS: It's not a good idea to put people's names in the subject of your thread. The whole point of a public forum is to get your question out to as many qualified people as possible. If you address the thread to one person, someone else who knows the answer may skip by the thread altogether, thinking that it's a personal message or a question aimed at only one person. [ June 20, 2005: Message edited by: Ben Souther ]
Win98 has the notorious problem of allowing too little space for environment variables. Since Tomcat uses a LOT of environment variable space to manipulate things like CATALINA_HOME, you MUST increase the environment space. Unfortunately I have forgotten the details but they have been discussed in this forum before so search for Win98 Bill
knowledge is the difference between drudgery and strategic action -- tiny ad