Hi Ali,
Please check out the installation documentation. It says there that you
must rename jakarta-tomcat to Tomcat (e.g. foo:\Tomcat\bin NOT
foo:\Tomcat\tomcat-jakarta\bin).
Based on your env. variables you are using WIN 9X/NT, if you are using
9X, maybe it has something to do with environment space. Try this:
1) right click on foo:\tomcat\bin\startup.bat
2) select properties
3) Set initial environment space to 32000
4) This will create a dos-command(sort of a shortcut), Click this and
hopefully everything will be fine.
Goodluck!
--
On Thu, 1 Mar 2001 11:08:39
Ali Asgher Y. Sunelwala wrote:
>I have set the environment variables as follows:
>
>(in the startup.bat file)
>set TOMCAT_HOME=3DD:\Tomcat\jakarta-tomcat
>
>(in the tomcat.bat file)
>set JAVA_HOME=3DC:\JDK1.3
>
>(1) When i use the startup.bat file i get the message:
>
>Using CLASSPATH:
>D:\Tomcat\jakarta-tomcat\classes;C:\JDK1.3\lib\tools.jar
>Starting Tomcat in new window
>
>But tomcat doesnt starts
>
>(2) When i use the "tomcat run" command i get the message:
>
>"Using CLASSPATH:
>D:\Tomcat\jakarta-tomcat\classes;C:\JDK1.3\lib\tools.jar
>Exception in thread "main" java.lang.NoClassDefFoundError:
>org/apache/tomcat/startup/Tomcat"
>
>and tomcat still doesnt run...
>
>What should i do to resolve this problem??
>
>Moreover is it correct if i run my jsp files from the same computer
>using internet explorer with the following command:
>
>http://127.0.0.1:8080/AliAsgher/hello.jsp
>
>(where the directory "AliAsgher" has the path
>D:\Tomcat\jakarta-tomcat\AliAsgher)
>
>Regards
>
>Ali Asgher Y. Sunelwala