cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Heiden" <patrickhei...@gmx.de>
Subject Re: 2.2 tutorials help
Date Sun, 09 Mar 2008 12:05:58 GMT
Hello togehter!

I have some other issues related to the tutorials. I am now within the last tut (Deploying
a Cocoon app) and first I want to say, that there ist no file myBlock/src/main/resources/META-INF/cocoon/spring/block.xml.
Is this the old way to mount blocks at root level, because I changed the mount-path within
the servlet-service.xml and things work fine! If this is the way to go, then updating the
tutorial would be very nice!

But my main problem so far is, that after creating webapp-archetype and starting mvn package:jetty
run I am not able to get 'callingTransformationService'. I will paste the stacktrace at the
end of this message! Every other block-call (e.g. http://localhost:8888/callingBlock2) works
totally fine and before adding the webapp-archetype I was able to 'callingTransformationService'
nicely from myBlock1 (mvn jetty:run   http://localhost:8888/myBlock1/callingTransformationService).
I am confused about this one... 

Greetings Patrick

now here is the stack trace:

Description: javax.servlet.ServletException: org.apache.cocoon.ProcessingException: Failed
to process pipeline at <map:serialize type="xml"> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:122:34
at <map:transform type="servletService"> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:119:44
at <map:generate> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:118:45
at <map:match> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:117:56

Sender: org.apache.cocoon.servlet.multipart.MultipartFilter

Source: Cocoon Servlet

cause

org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: myXsltTransformation-service

request-uri

/callingTransformationService

full exception chain stacktrace

javax.servlet.ServletException: org.apache.cocoon.ProcessingException: Failed to process pipeline
	at <map:serialize type="xml"> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:122:34
	at <map:transform type="servletService"> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:119:44
	at <map:generate> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:118:45
	at <map:match> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:117:56
	at org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:232)
	at org.apache.cocoon.sitemap.SitemapServlet.service(SitemapServlet.java:64)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:567)
	at org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:544)
	at org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.invoke(ServletFactoryBean.java:230)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at $Proxy5.service(Unknown Source)
	at org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:102)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098)
	at org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilter.java:119)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:285)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: org.apache.cocoon.ProcessingException: Failed to process pipeline
	at <map:serialize type="xml"> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:122:34
	at <map:transform type="servletService"> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:119:44
	at <map:generate> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:118:45
	at <map:match> - file:///home/pepemuck/_opt/devel/isacWebApp/target/work/blocks/isac/sitemap.xmap:117:56
	at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:143)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:921)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:382)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:437)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:72)
	at $Proxy8.process(Unknown Source)
	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:151)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:240)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:171)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:251)
	at org.apache.cocoon.servlet.RequestProcessor.process(RequestProcessor.java:357)
	at org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:171)
	... 30 more
Caused by: org.apache.cocoon.CascadingIOException: org.apache.cocoon.ResourceNotFoundException:
No pipeline matched request: myXsltTransformation-service: javax.servlet.ServletException:
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: myXsltTransformation-service
	at org.apache.cocoon.servletservice.components.ServletSource.getInputStream(ServletSource.java:96)
	at org.apache.cocoon.components.source.util.SourceUtil.getInputSource(SourceUtil.java:395)
	at org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.java:264)
	at org.apache.cocoon.servletservice.postable.components.ServletServiceTransformer.endDocument(ServletServiceTransformer.java:89)
	at org.apache.cocoon.components.sax.XMLTeePipe.endDocument(XMLTeePipe.java:71)
	at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
	at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
	at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown
Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at org.apache.cocoon.core.xml.impl.JaxpSAXParser.parse(JaxpSAXParser.java:196)
	at org.apache.cocoon.core.xml.impl.JaxpSAXParser.parse(JaxpSAXParser.java:204)
	at org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.java:264)
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:144)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:363)
	... 49 more
Caused by: javax.servlet.ServletException: org.apache.cocoon.ResourceNotFoundException: No
pipeline matched request: myXsltTransformation-service
	at org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:199)
	at org.apache.cocoon.sitemap.SitemapServlet.service(SitemapServlet.java:64)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:567)
	at org.apache.cocoon.servletservice.ServletServiceContext$NamedDispatcher.forward(ServletServiceContext.java:503)
	at org.apache.cocoon.servletservice.ServletConnection.connect(ServletConnection.java:130)
	at org.apache.cocoon.servletservice.components.ServletSource.connect(ServletSource.java:167)
	at org.apache.cocoon.servletservice.components.ServletSource.getInputStream(ServletSource.java:78)
	... 70 more
Caused by: org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: myXsltTransformation-service
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:157)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:240)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:171)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:251)
	at org.apache.cocoon.servlet.RequestProcessor.process(RequestProcessor.java:357)
	at org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:171)
	... 77 more

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message