I believe that I had a similar problem when setting
up Cocoon with Tomcat. For whatever reason the
xerces jar has to be found before some other jars.
To deal with this I modified my tomcat.bat file
(Windows 98) (in the bin directory) to expilictly
load this jar first. See the portion of tomcat.bat
that is included below. Hope this helps. SB

:gotLibJars
echo Including all jars in %TOMCAT_HOME%\lib in your CLASSPATH.
rem Note: _LIBJARS already contains a leading semicolon

rem set CP=%CP%%_LIBJARS%

if exist "%TOMCAT_HOME%\lib\xerces_1_2.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\xerces_1_2.jar
set CP=%CP%;%TOMCAT_HOME%\classes
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\fop_0_15_0.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\fop_0_15_0.jar
if exist "%TOMCAT_HOME%\lib\cocoon.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\cocoon.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\sax-bugfix.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\sax-bugfix.jar
if exist "%TOMCAT_HOME%\lib\turbine-pool.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\turbine-pool.jar
if exist "%TOMCAT_HOME%\lib\w3c.jar" set CP=%CP%;%TOMCAT_HOME%\lib\w3c.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
goto chkClasspath


On Wed, 25 Jul 2001, Olga Agady wrote:

> If there is a parser.jar file in the /lib directory,
> you should rename this file. Someting like zzz.jar to
> move it to the end of the file list. The exception
> "noSuchMethod' is caused by using a wrong parser
> instead of the Cocoon's parser. The Cocoon's parser
> should be in front of all the other parsers. This is
> described in FAQ for Cocoon installation on Cocoon's
> web site.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to