> From: Interactive Network [mailto:[EMAIL PROTECTED]]
> 
> Hello,
> 
> I'm a newbie on Cocoon.

If you are a newbie, then try Tomcat 4.0.1 or 4.0.4

Vadim

> I've problem to install it
> 
> my Configuration :
> Win XP
> jdk1.3.1_03
> APACHE
> TOMCAT 4.0.3 are running correctly
> 
> I've put cocoon.war in WEBAPPS directory of TOMCAT
> 
> I've unpacked it when i called the url : http://127.0.0.1:8080/cocoon
> 
> I've made (as mentionned after) the specific actions for Cocoon
installation
> on TOMCAT release 4.0.3
> "From cocoon documentation : "If you have to use Tomcat 4.0.3, you
have to
> replace its XML parser with the one shipped with Cocoon.
> Remove tomcat/common/lib/xerces.jar file.
> Copy following libraries from the cocoon/lib/core directory to the
> tomcat/common/lib directory:
> xalan-XXX.jar
> xercesImpl-XXX.jar
> xml-apis.jar
> Copy cocoon/lib/core/batik-libs-XXX.jar to the tomcat/common/lib
directory.
> Edit extra-classpath parameter in the
cocoon/src/webapp/WEB-INF/web.xml
> file:
> ----
> I made a test after calling http://127.0.0.1:8080/cocoon and i got
these
> errors :
> 
> "
> type fatal
> message SAX2 driver class org.apache.xerces.parsers.SAXParser does not
> implement XMLReader
> description java.lang.ClassCastException:
> org.apache.xerces.parsers.StandardParserConfiguration....
> source Cocoon servlet
> stack-trace
> java.lang.ClassCastException:
> org.apache.xerces.parsers.StandardParserConfiguration
>  at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown
Source)
>  at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown
Source)
>  at
>
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.gene
rate
> Code(AbstractMarkupLanguage.java:377)
>  at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
erat
> eResource(ProgramGeneratorImpl.java:365)
>  at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateR
> esource(ProgramGeneratorImpl.java:328)
>  at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(Pr
> ogramGeneratorImpl.java:291)
>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
>  at java.lang.Thread.run(Thread.java:479)
> 
> request-uri
> /cocoon/
> path-info
> "
> It's maybe because I'm not able to make these other actions mentionned
in
> the documentation :
> 
> "Clean Cocoon build directory: build clean
> Build Cocoon webapp: build -Dinclude.webapp.libs=yes webapp
> Remove xalan-XXX.jar, xercesImpl-XXX.jar, batik-libs-XXX.jar, and
> xml-apis.jar from the cocoon.war archive.
> Copy cocoon/build/cocoon/cocoon.war into tomcat/webapps directory.
> Start Tomcat: Go to the tomcat/bin directory, and run the startup
script.
> Open the Cocoon welcome page: http://localhost:8080/cocoon/
> Congratulations! You should see the Cocoon welcome page.
> I don't know how to "build clean", "build -Dinclude.webapp.lmibs..."
and so
> on...
> 
> 
> How can i concretly do this?
> What i've done concerning this :
> - I've downloaded "ant-build"
> - I've created the path "ANT_HOME": C:\ant-build\jakarta-ant-1.4.1\bin
> - Under the Dos i typed in my TOMCAT directory : .\build clean.. But
the
> command is not recognized...
> 
> 
> Sorry for these long explanations of my problem.
> 
> I thank a lot your for your help.
> 
> A last question : at which adress can i find the archives ot the list?
> 
> Cathy (from France. Sorry for my english ;-))
> 
> 
> ---------------------------------------------------------------------
> 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]>


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