cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Viana <rvi...@agency.com>
Subject Can't see/run any XSP on WIN NT 4.0, Why?
Date Tue, 05 Dec 2000 15:58:58 GMT
I have installed Apache 1.3, Tomcat 3.2 and Cocoon 1.8 on a NT 4.0 machine
with service pack 6.0, as plugin for Apache > Tomcat Im using the mod_jk.dll
module.
 
The problem is simple, Im able to run all the samples in cocoon with the
exception of the XSP samples. In the FAQ they mention a couple of possible
solutions, but I have try these without any success.
 
I tryed all these:
 
- rename the xml.jar to z_xml.jar
- rename the parser.jar to z_parser.jar
- remove all the org.w3c.dom classes from the parser.jar
- include the tools.jar inside your lib folder, where all the other jar
files reside
 
 
Please feel free to send me any ideas or possible solutions for this issue,
Thanks a lot.
 
 
PS: I couldn't find any error in the log files.
 
This is a piece of source of the tomcat.bat where the jar's are specified:
 
rem ----- Set Up The Runtime Classpath
--------------------------------------

:setClasspath

set CP=%TOMCAT_HOME%\classes

rem Try to determine if TOMCAT_HOME contains spaces

if exist %TOMCAT_HOME%\lib\servlet.jar goto dynClasspath

echo Your TOMCAT_HOME appears to contain spaces.

echo Unable to set CLASSPATH dynamically.

goto staticClasspath

: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\xerces_1_2.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\xerces_1_2.jar

if exist "%TOMCAT_HOME%\lib\turbine-pool.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\turbine-pool.jar

if exist "%TOMCAT_HOME%\lib\xalan_1_2_D02.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\xalan_1_2_D02.jar

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\z_parser.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\z_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

if exist "%TOMCAT_HOME%\lib\cocoon.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\cocoon.jar

if exist "%TOMCAT_HOME%\lib\ant_1_1.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\ant_1_1.jar

if exist "%TOMCAT_HOME%\lib\bsf.jar" set CP=%CP%;%TOMCAT_HOME%\lib\bsf.jar

if exist "%TOMCAT_HOME%\lib\bsfengines.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\bsfengines.jar

if exist "%TOMCAT_HOME%\lib\fop_0_13_0.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\fop_0_13_0.jar

if exist "%TOMCAT_HOME%\lib\servlet_2_2.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\servlet_2_2.jar

if exist "%TOMCAT_HOME%\lib\stylebook-1.0-b2.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\stylebook-1.0-b2.jar

if exist "%TOMCAT_HOME%\lib\z_xml.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\z_xml.jar

if exist "%TOMCAT_HOME%\lib\tools.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\tools.jar

:chkClasspath

if "%CLASSPATH%" == "" goto noClasspath

set CP=%CP%;%CLASSPATH%

:noClasspath

if not exist "%JAVA_HOME%\lib\tools.jar" goto installClasspath

set CP=%CP%;%JAVA_HOME%\lib\tools.jar

:installClasspath

echo.

echo Using CLASSPATH: %CP%

echo.

set CLASSPATH=%CP%

 
================================================ 

AGENCY.COM : Amsterdam
Eekholt 40, 112 XH Diemen
Postbus 23447
1100 DX  Amsterdam Z.O. The Netherlands
T +31 (0) 20 7994000
F +31 (0) 20 7994001
M +31(0) 6 20443141
@ mailto:rviana@agency.com <mailto:rviana@agency.com> 
http://www.agency.com <http://www.agency.com/> 
ICQ# 47478252

=============================================== 
 

Mime
View raw message