apache coccoon - Problem deploying Cocoon within Tomcat -
i trying deploy cocoon (2.1.11) in tomcat (7.0.12) (i know can run cocoon standalone , have done successfully, trying better understand whole web application environment) have built cocoon.war file, copied tomcat/webapps directory , started tomcat.
all web pages have consulted explicitly required. can see .war file unpacked cocoon subdirectory, , cocoon shows 1 of applications. when browse url:
http://localhost:8080/cocoon
i java traceback:
org.apache.cocoon.resourcenotfoundexception: no pipeline matched request: index.html @ org.apache.cocoon.components.treeprocessor.sitemap.pipelinenode.invoke(pipelinenode.java:149) @ org.apache.cocoon.components.treeprocessor.abstractparentprocessingnode.invokenodes(abstractparentprocessingnode.java:69) @ org.apache.cocoon.components.treeprocessor.sitemap.pipelinesnode.invoke(pipelinesnode.java:93) @ org.apache.cocoon.components.treeprocessor.concretetreeprocessor.process(concretetreeprocessor.java:235) @ org.apache.cocoon.components.treeprocessor.concretetreeprocessor.process(concretetreeprocessor.java:177) @ org.apache.cocoon.components.treeprocessor.treeprocessor.process(treeprocessor.java:254) @ org.apache.cocoon.cocoon.process(cocoon.java:699) @ org.apache.cocoon.servlet.cocoonservlet.service(cocoonservlet.java:1154) @ javax.servlet.http.httpservlet.service(httpservlet.java:722) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:304) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:240) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:164) @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:462) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:164) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:100) @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:562) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:118) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:395) @ org.apache.coyote.http11.http11processor.process(http11processor.java:250) @ org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:188) @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:302) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1110) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:603) @ java.lang.thread.run(thread.java:636)
can me understand why?
i know years old, used http://www.xml.com/lpt/a/1178 cocoon-soap.war on tomcat 7.0.29 deployment , needed modify sitemap.xmap include a
<map:match pattern="index.html">
as following:
<map:match pattern=""> <map:generate src="index.html"/> <map:serialize/> </map:match>
Comments
Post a Comment