Forums Register Login

again problem in tomcat installation

+Pie Number of slices to send: Send
hi!
well now i have the tomcat in c:\Tomcat4.1
and the autoexec is
set JAVA_HOME= C:\jdk1.3.0_02
set TOMCAT_HOME= C:\Tomcat4.1
set CLASSPATH=C:\jdk1.3.0_02\bin;C:\jdk1.3.0_02\lib;C:\jdk1.3.0_02\jre\lib
PATH= C:\orawin95\bin;c:\jdk1.3.0_02\bin

the DOs window now says

The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: C:\jdk1.3.0_02
Invalid switch - -DJAVA.ENDORSED.DIRS=
please help
madhur
+Pie Number of slices to send: Send
When we say installed Tomcat, actually we have just unzipped the tomcat download. I have unzipped the Tomcat to "C:\jakarta-tomcat-4.1.10". So my "startup" file is in "C:\jakarta-tomcat-4.1.10\bin".
If you have Windows-NT or Windows-2000, right click on the "My Computer" icon on your desktop and select "properties". Then you can set the Environment variables as:
CATALINA_HOME=c:\jakarta-tomcat-4.1.10
JAVA_HOME=c:\jdk1.3.1_02
path=c:\jdk1.3.1_02\bin;
classpath=.;C:\jakarta-tomcat-4.1.10\common\lib\servlet.jar;
Please replace with relevant version names.
+Pie Number of slices to send: Send
You have to increase environmenr variable for startup.bat and shutdown.bat . Open the property page and select Memory tab, change the init environment to minimum 2048 byte.
Hope it will help you...
+Pie Number of slices to send: Send
Remove the whitespace after the "=" sign in your declaration of variables:
set JAVA_HOME= C:\jdk1.3.0_02
set TOMCAT_HOME= C:\Tomcat4.1
set CLASSPATH=C:\jdk1.3.0_02\bin;C:\jdk1.3.0_02\lib;C:\jdk1.3.0_02\jre\lib
PATH= C:\orawin95\bin;c:\jdk1.3.0_02\bin

should be:
set JAVA_HOME=C:\jdk1.3.0_02
set TOMCAT_HOME=C:\Tomcat4.1
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar
set PATH=%PATH%;C:\orawin95\bin;%JAVA_HOME%\bin
Hope this helps!
Look! It's Leonardo da Vinci! And he brought a tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 907 times.
Similar Threads
Error starting Tomcat
installing Tomcat
500 internal server error
again problem in tomcat installation
tomcat 4.1.12
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 05:06:22.