cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <>
Subject Re: install cocoon 2.1-m2 on tomcat 4.1.24
Date Fri, 27 Jun 2003 13:09:30 GMT
Yes, I think that other jar is the problem.  If it's not needed for
other webapps, remove it and try again.  If it is needed, use the
Paranoid servlet described at


At 10:17 AM 6/26/2003, you wrote:
>I am attempting to install cocoon 2.1-m2 in tomcat 4.1.24 under windows
>I first install tomcat specialised for JDK 1.4 jakarta-tomcat-4.1.24-LE-jdk14.
>I am running JDK 1.4.1_01 from SUN.  I install into c:\Tomcat41 because
>of a suggestion on the mailing list that spaces in the install path can
>be problematic.
>I can access http://localhost:8080/index.jsp fine.
>I then execute the following commands in the cocoon-2.1m2 directory.
>   > set JAVA_HOME=c:\j2sdk1.4.1_01
>   > build war
>   > cd build\cocoon-2.1m2\
>   > copy cocoon.war c:\Tomcat41\webapps
>   > cd ..\..\lib\endorsed
>   > copy *.jar c:\Tomcat41\common\endorsed
>I then start Tomcat. I can access http://localhost:8080/index.jsp fine,
>but however http://localhost:8080/cocoon/ just gives a blank page and
>the following error.  Note that it cocoon runs fine when I run it from
>----- Root Cause -----
>java.lang.IllegalAccessError: class 
>org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$AncestorIterator cannot access its 
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(
>         at 
>         at
>         at$100(
>         at$
>         at Method)
>         at
>which is mentioned in the mailing list archive message
>suggests that the problem is to do with which jars are in
>common/endorsed.  The only ones that are there are those from
>cocoon-2.1m2/lib/endorsed directory (xalan-20030506.jar,
>xercesImpl-2.4.0.jar and xml-apis.jar).
>However the user who followed these steps mention that they also have
>xmlParserAPIs.jar in the common/endorsed directory.  This jar doesn't
>seem to exist on my system?  Is this the problem?
>Any other suggestions would be greatly appreciated.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message