Originally posted by nana: hi all ,, im lerning servlets by my self, i cant run the program i think the problem on tomcat installation. i try to download Tomcat server and i will write the steps which i did:
but the tomcat did not start and this what happened:
You need to set TOMCAT and JAVA Home for each window. When you open new window to run Tomact it wont recognise the other values you set in other window. You can put this values in enviroment vairables or copy this settings in .bat file and run each time when you open DOS prompt.
Hope it will helpful to you.
Joined: May 18, 2005
"You need to set TOMCAT and JAVA Home for each window" what you mean??
"You can put this values in enviroment vairables or copy this settings in .bat file and run each time when you open DOS prompt." and how could i do this plz tell me in detils if u can
start->run->sysedit PATH=%PATH%;.;C:\jdk1.3.1\bin set classpath=C:\jdk1.3.1\lib\tools.jar;.;c:\jakarta-tomcat-3.2.3\lib\servlet.jar set TOMCAT_HOME=C:\jakarta-tomcat-3.2.3 set JAVA_HOME=C:\jdk1.3.1
Use the graphical workbench to sent your environment variables instead, using right mouse button and "properties" settings. You should define "JAVA_HOME=C:\jdk1.3.1" and "JAKARTA_HOME=C:\jakarta-tomcat-3.2.3" as system environment variables, I insist, not as USER environment variables but as SYSTEM environment variables. You shouldn't have to reboot your machine, but close command line interfaces if you tried to launch Tomcat this way, and open new ones so that environment variables are taken into account.
Out of environment space messages indicate you are stuck with Win98 or ME - systems that do not provide enough memory for the extensive environment variable manipulation that Tomcat startup uses. I found this discussion via google. This problem has been discussed MANY times in this and other forums. Bill