Re: I can't run cocoon2
Iker Ametzaga wrote: Hello, I've been using cocoon 2.0.2 with tomcat 3.3.1 correctly, but now I can't run it. The tomcat shows this error on startup: 2002-11-07 13:11:24 - /cocoon: Exception in R( /cocoon + / + null) - java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger This class is in the cocoon-2.0.2/lib/core/avalon-framework-4.1.2.jar perhaps you to put this jar somewhere where Tomcat can find it. Iris - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
encoding match problem
Hello, I have a little problem with encoding: I have data encoded in ISO-8859-1 that I try to serialize in XLS. On linux (debian) I have no problem but on NT I have an error like: org.apache.cocoon.ProcessingException: Failed to execute pipeline: org.xml.sax.SaxParseException: The declared encoding ISO-8859-1 doesn't match with the actual encoding UTF-8 This might not be an error. (it's not the exact error because it's done in french in my browser) So I tried with the sitemap: ?xml version=1.0 encoding=iso-8859-1? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; map:components map:generators default=file/ map:readers default=resource/ map:serializers default=html map:serializer name=xls src=org.apache.cocoon.serialization.HSSFSerializer mime-type=application/vnd.ms-excel locale=us/ /map:serializers map:selectors default=browser/ map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcherFactory/ /map:matchers map:transformers default=xslt/ map:actions map:action name=request src=org.apache.cocoon.acting.RequestParamAction/ /map:actions /map:components map:pipelines map:pipeline map:match pattern=listing.xls* map:act type=request map:parameter name=parameters value=true/ map:generate src=http://localhost:8080/listingwebui/jsp-xml/listing.jsp?begindate={begindate}amp;enddate={enddate}amp;administratorid={administratorid}; encodingISO-8859-1/encoding /map:generate map:transform src=http://localhost:8080/listingwebui/xslt/listing2xls.xsl; type=xslt encodingISO-8859-1/encoding /map:transform map:serialize type=xls/ encodingISO-8859-1/encoding /map:transform /map:act /map:match /map:pipeline /map:pipelines /map:sitemap And all my xml files have encoding=iso-8859-1 But this does the same result. Any idea ? Does Cocoon search for a default encoding on the host ? What is exactly the actual encoding ? Iris - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]