cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Ramsey" <>
Subject Re: cocoon2 installation
Date Fri, 11 Aug 2000 19:59:35 GMT
Hmmm, the UNIX shell scripts also loops to add anything in $TOMCAT_HOME/lib
to the classpath as well which was where I was picking up jaxp.jar.

You do have the current directory (list as .) at the beginning of the
classpath. Is there anything there (where you start cocoon) or are there any
change dir commands in your .bat file? Any duplicate class files in the
classes directory?

I had this same problem on Linux and it was the jaxp.jar in the
$TOMCAT_HOME/lib directory that was the source of my difficulties.

Try running the jar command with -t option to list the contents of the
various jars and see if you can find the offending class duplicates.

 "Always listen to experts. They'll tell you what can't be
 done, and why. Then do it."
 -- Lazarus Long, in Robert Heinlein's Time Enough for Love

-----Original Message-----
From: Joel Bethea <>
To: <>
Date: Friday, August 11, 2000 1:17 PM
Subject: RE: cocoon2 installation

>jaxp.jar wasn't included in the first place so I don't think that was the
>problem.  Here is the classpath section from my tomcat.bat:
>rem Set up the CLASSPATH that we need
>set cp=%CLASSPATH%
>set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xerces_1_1_2.jar
>set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xalan_1_0_1.jar
>set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\fop_0_13_0.jar
>set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\svgv_0_8.jar
>set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\AvalonAware.jar
>set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jakarta-regexp-1.1.jar
>set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\webserver.jar
>set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\servlet.jar
>set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
>I think I've checked all these for conflicting Node classes, and concluded
>that only the xml and xerces jars contain versions of it.  as you can see,
>xml was listed after xerces...
>anything else?  :)
>> -----Original Message-----
>> From: David Ramsey []
>> Sent: Friday, August 11, 2000 2:09 PM
>> To:
>> Subject: Re: cocoon2 installation
>> Remove the jaxp.jar or move it to the end of the classpath.
>> There are three
>> different jars each with differing versions of the
>> org.w3c.node stuff in
>> them. I'm not sure which is the preferred solution but I
>> simply removed
>> jaxp.jar myself. Also make sure tha xml.jar is after
>> xerces.jar as it also
>> has an implementation of the node class.
>> ==============================================================
>>  "Always listen to experts. They'll tell you what can't be
>>  done, and why. Then do it."
>>  -- Lazarus Long, in Robert Heinlein's Time Enough for Love
>> ==============================================================
>To unsubscribe, e-mail:
>For additional commands, e-mail:

View raw message