Grzegorz Kossakowski wrote:
Mansour pisze:
I am getting an error:
No default type exists for 'pipeline' at
file:/opt/tomcat/webapps/mysite/sitemap.xmap:5:17
Now, what is this ?? Here's the contents of my sitemap:
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 3 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
4 <map:pipelines>
5 <map:pipeline>
Have you tried to use:
<map:pipeline type="noncaching">
or
<map:pipeline type="caching"> instead?
I believe this will move you forward.
I am getting a different error now.
Message: null
Description: No details available.
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
Request URI
index.html
cause
Type 'caching' is not defined for 'pipeline' at
file:/opt/tomcat/webapps/mysite/sitemap.xmap:5:32
request-uri
/mysite/index.html
=========================
Here's my sitemap:
3 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
4 <map:pipelines>
5 <map:pipeline type="caching">
6 <!-- respond to *.html requests with our
docs processed by doc2html.xsl -->
7 <map:match pattern="*.html">
8 <map:generate
src="documents/index.xml" />
9 <map:transform
src="stylesheets/doc2html.xsl" />
10 <map:serialize type="html" />
11 </map:match>
12
13 </map:pipeline>
14 </map:pipelines>
15 </map:sitemap>
I tried both options you gave me. Here's the directory structure of my
root folder:
[EMAIL PROTECTED] mysite]$ tree
.
|-- WEB-INF
| |-- cocoon.xconf
| |-- lib
| | |-- avalon-framework-api-4.3.jar
| | |-- avalon-framework-impl-4.3.jar
| | |-- avalon-logkit-2.1.jar
| | |-- cocoon-2.1.10-deprecated.jar
| | |-- cocoon-2.1.10.jar
| | |-- cocoon-testcase.jar
| | |-- commons-beanutils-core-1.7.0.jar
| | |-- commons-cli-1.0.jar
| | |-- commons-collections-3.2.jar
| | |-- commons-httpclient-2.0.2.jar
| | |-- commons-io-1.2.jar
| | |-- commons-jexl-1.0.jar
| | |-- commons-jxpath-1.2.jar
| | |-- commons-lang-2.2.jar
| | |-- commons-logging-1.0.4.jar
| | |-- concurrent-1.3.4.jar
| | |-- ehcache-1.2.2.jar
| | |-- excalibur-component-2.1.jar
| | |-- excalibur-i18n-1.1.jar
| | |-- excalibur-instrument-api-2.1.jar
| | |-- excalibur-instrument-mgr-api-2.1.jar
| | |-- excalibur-instrument-mgr-http-2.1.jar
| | |-- excalibur-instrument-mgr-impl-2.1.jar
| | |-- excalibur-logger-2.1.jar
| | |-- excalibur-naming-1.0.jar
| | |-- excalibur-pool-api-2.1.jar
| | |-- excalibur-pool-impl-2.1.jar
| | |-- excalibur-pool-instrumented-2.1.jar
| | |-- excalibur-sourceresolve-2.1.jar
| | |-- excalibur-store-2.1.jar
| | |-- excalibur-xmlutil-2.1.jar
| | |-- jakarta-bcel-20040329.jar
| | |-- jakarta-regexp-1.4.jar
| | |-- javacApi-0.9.jar
| | |-- javacImpl-0.9.jar
| | |-- jcs-1.2.5-dev-20050313.jar
| | |-- jdtcore-3.0.2.jar
| | |-- js-1.6R5.jar
| | |-- log4j-1.2.13.jar
| | |-- xalan-2.7.0.jar
| | |-- xercesImpl-2.9.0.jar
| | |-- xml-apis-1.3.04.jar
| | `-- xml-commons-resolver-1.1.jar
| |-- log4j.xml
| |-- logkit.xconf
| `-- web.xml
|-- documents
| `-- index.xml
|-- sitemap.xmap
`-- stylesheets
`-- doc2html.xsl
4 directories, 50 files
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]