You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Francis Upton <fr...@ieee.org> on 2001/01/29 09:39:17 UTC

cocoon/tomcat 3.2.1/win32 installation issue

This should be added to 
http://xml.apache.org/cocoon/faqs.html#faq-normalize and also to the 
cocoon/tomcat installation instructions.

This relates to the problem of having the tomcat level 1 DOM parser 
included ahead of the cocoon level 2 parser.

On win32 systems (unlike unix systems), the lexical order of the files in a 
directory is not necessarily the order in which they appear in the 
classpath, since the win32 command processor does not guarantee these files 
are in order.  To work around this problem, you can modify tomcat.bat to 
add the cocoon JAR files first (and you also don't need to copy them to the 
tomcat/lib directory), like this:

for %%i in (%COCOON_HOME%\cocoon\lib\*.jar %TOMCAT_HOME%\lib\*.jar) do call 
%TOMCAT_HOME%\bin\cpappend.bat %%i

Francis