Root Cause:
java.lang.NoSuchMethodError
at org.apache.log.output.io.StreamTarget.(StreamTarget.java:34)
at org.apache.log.output.io.FileTarget.(FileTarget.java:40)

Hello,

I am trying to run a development version of Cocoon2 with Tomcat 4.0
nightly build of Aug. 14th.

Tomcat installs and runs fine.

I executed:

[anjul@anjul xml-cocoon2]$ ./build.sh  -Dinclude.webapp.libs=yes
-Dinstall.war=/usr/local/jakarta-tomcat-4.0/webapps install

to install Cocoon 2

But I get the following error when attempting to access the Cocoon page:

java.lang.NoSuchMethodError
at org.apache.log.output.io.StreamTarget.(StreamTarget.java:34)
at org.apache.log.output.io.FileTarget.(FileTarget.java:40)

I changed the following files in my cvs snapshot:

cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic diff xml-cocoon2
? xml-cocoon2/work
cvs server: Diffing xml-cocoon2
Index: xml-cocoon2/build.xml
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/build.xml,v
retrieving revision 1.8.2.28
diff -r1.8.2.28 build.xml
215c215
<     <property name="tools.jar" value="${java.home}/lib/tools.jar"/>
---
>     <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>

cvs server: Diffing xml-cocoon2/webapp/WEB-INF
Index: xml-cocoon2/webapp/WEB-INF/web.xml
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/webapp/WEB-INF/web.xml,v
retrieving revision 1.1.1.1.2.6
diff -r1.1.1.1.2.6 web.xml
168a169
>     -->
172c173
<
<param-value>WEB-INF/extra-classes1:/[YOU-ABSOLUTE-PATH-TO]/own.jar</param-value>
---
>
<param-value>/usr/local/jakarta-tomcat-4.0/common/lib/servlet.jar</param-value>
174d174
<     -->

Please help if you can!

Thanks,
Anjul.


---------------------------------------------------------------------
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