cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Seth Bunke <sbun9...@miller.cs.uwm.edu>
Subject Re: Installing Cocoon on Tomcat
Date Thu, 26 Jul 2001 06:57:43 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message