I run tomcat with IIS5 on W2K Advanced Server. The isapi_redirector.dll
picks the .jars for the classpath from the wrapper.properties file. When
standalone it gets it from the tomcat.bat
see:
:dynClasspath
set _LIBJARS=
for %%i in (%TOMCAT_HOME%\lib\*.jar) do call %TOMCAT_HOME%\bin\cpappend.bat
%%i
if not "%_LIBJARS%" == "" goto gotLibJars
echo Unable to set CLASSPATH dynamically.
if "%OS%" == "Windows_NT" goto staticClasspath
echo Note: To set the CLASSPATH dynamically on Win9x systems
echo only DOS 8.3 names may be used in TOMCAT_HOME!
goto staticClasspath
:gotLibJars
echo Including all jars in %TOMCAT_HOME%\lib in your CLASSPATH.
rem Note: _LIBJARS already contains a leading semicolon
set CP=%CP%%_LIBJARS%
goto chkClasspath
:staticClasspath
echo Setting your CLASSPATH statically.
if exist "%TOMCAT_HOME%\lib\ant.jar" set CP=%CP%;%TOMCAT_HOME%\lib\ant.jar
if exist "%TOMCAT_HOME%\lib\jasper.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\jasper.jar
if exist "%TOMCAT_HOME%\lib\jaxp.jar" set CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar
if exist "%TOMCAT_HOME%\lib\parser.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\parser.jar
if exist "%TOMCAT_HOME%\lib\servlet.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\servlet.jar
if exist "%TOMCAT_HOME%\lib\webserver.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\webserver.jar
Keith
-----Original Message-----
From: brian luk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 3:58 PM
To: [EMAIL PROTECTED]
Subject: RE: tomcat classpath -- \tomcat\lib
I run tomcat standalone ( not NT service ). is it
matter to the classpath? and what's wrapper.properties
use for?
thanks
--- "Dalia, Keith A - TOS-DITT1" <[EMAIL PROTECTED]>
wrote:
> Are you running tomcat as a service/daemon with
> Apache or IIS or from the
> startup.bat
>
> You might want to look at the wrapper.properties
> file.
>
>
>
>
> -----Original Message-----
> From: brian luk [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 3:35 PM
> To: [EMAIL PROTECTED]
> Subject: tomcat classpath -- \tomcat\lib
>
>
> Hi all,
> tomcat documentation told me to put all my JAR files
> in
> c:\tomcat\lib\. but when i put my JAR files
> there, the classpath semes didn't find the JARs in
> c:\tomcat\lib dir.
>
> It works on unix but not WIN32. and i was forced to
> put my JAR files inside JDK/JRE's lib\ext directory.
>
> Anyone has problems when put JARs in tomcat\lib\?
>
> thanks.
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/?.refer=text
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text