Hi all, I want to run tomcat 3.2.3 on win98. the set environment as follows:
==C:\tomcat\bin>set TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM PATH=.;C:\JDK\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND CLASSOATH=.;c:\tomcat\lib\servlet.jar;c:\jdk\lib\tools.jar windir=C:\WINDOWS JAVA_HOME=c:\jdk TOMCAT_HOME=c:\tomcat == execute C:\tomcat\bin\startup.bat and report, == C:\tomcat\bin>startup Out of environment space Out of environment space Out of environment space Out of environment space Out of environment space Out of environment space Unable to set CLASSPATH dynamically. Note: To set the CLASSPATH dynamical only DOS 8.3 names may be used Setting your CLASSPATH statically. Out of environment space Out of environment space Out of environment space Out of environment space Out of environment space Out of environment space Out of environment space Using CLASSPATH: c:\tomcat\classes Out of environment space Starting Tomcat in new window C:\tomcat\bin> == I do not run any other program. what is the reason? thanks all. > On Fri, 5 Oct 2001, Firestar wrote: > > > Hi Dmitri, thanks for your quick reply. > > > > I have tried adding the classpath to my servlets to > > catalina.bat, but it throw a javax.http.servlet class > > not found exception. It will works OK if i do not add > > in the classpath. > > > > Regards, > > Firestar > > > > > > Is this possible in TC? I know in JRun it is > > > possible > > > > to do so by specifying the classpath to my > > > servlets in > > > > the configuration file. > > > Anything's possible.... the simplest way is to > > > change the catalina.sh to > > > include your classpath, but this is plain _wrong_, > > > what you would be > > > better off doing is changing your build/deploy > > > process so that you have a > > > properly structured webapp. > > > > > > for more info check out > > > http://java.sun.com/products/servlets > > > > > > cheers > > > dim > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. > > http://geocities.yahoo.com/ps/info1 > > >