I am getting java.lang.NoClassDefFoundError when I run some XSP sample on
Tomcat .
I am pasting here the content of my autoexec.bat and tomcat.bat in the
expectation that, this may help to discover the mistake.
Please whoever has been able to run XSP on Tomcat/Cocoon, compares your
settings to mine in order to help identify my mistake. I urgently need your
help.
I am using jdk1.3.0_02 ,Tomcat 3.2.1 ,Cocoon-1.8.2
=====
AUTOEXEC.BAT:
--------------------
SET JAVA_HOME=C:\JDK13~1.0_0
SET TOMCAT_HOME=C:\TOMCAT

SET
CLASSPATH=C:\COCOON~1.2\LIB\XERCES~1.JAR;C:\COCOON~1.2\LIB\TURBIN~1.JAR;C:\C
OCOON~1.2\LIB\XALAN_~1.JAR;C:\COCOON~1.2\LIB\FOP_0_1.JAR;C:\COCOON~1.2\LIB\W
3C.JAR;%CLASSPATH%
SET
CLASSPATH=C:\JDK13~1.0_0\LIB\TOOLS.JAR;C:\JDK13~1.0_0\LIB\DT.JAR;C:\SERVLE~1
;C:\TOMCAT\LIB\COCOONILS.JAR;C:\TOMCAT\LIB\WEBSERVER.JAR;C:\TOMCAT\LIB\JASPE
R.JAR;C:\TOMCAT\LIB\JAXP.JAR;C:\TOMCAT\LIB\PARSER.JAR;C:\TOMCAT\LIB\SERVLET.
JAR;C:\TOMCAT\LIB\MMMYSQ~1.JAR;%CLASSPATH%
======
TOMCAT.BAT:
----------------
: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\xalan.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\xalan.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_1_1.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\ant_1_1.jar
if exist "%TOMCAT_HOME%\lib\cocoonils.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\cocoonils.jar
if exist "%TOMCAT_HOME%\lib\fop_0_15_0.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\fop_0_15_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\turbine-pool.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\turbine-pool.jar


if exist "%JAVA_HOME%\lib\tools.jar" set
CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.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\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
if exist "%TOMCAT_HOME%\lib\mm.mysql-2.0.6.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\mm.mysql~1.jar
======
Bobo,

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to