cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Heiden" <patrickhei...@gmx.de>
Subject still exception
Date Mon, 10 Mar 2008 09:10:19 GMT
Hello togehter!

Firs I want to spend a big thank you again, for all the help during the last week to get me
started with 2.2!
I've tried to give a little bit back and corrected one tutorial in conjunction with controlflow
(see comment 2 at http://cocoon.zones.apache.org/daisy/cdocs/g1/g2/g5/g1/1241.html?branch=1&language=1).

But I have some issue with the tutorial "Deploying a Cocoon application" at http://cocoon.apache.org/2.2/1362_1_1.html.

I've mentioned that within another thread before (Re: 2.2 tutorials help), but I am not sure
if anyone follows after certain thread-depth. No offence, but I really need to get further!
Here is what I've mentioned there:

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

-- 
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 
http://games.entertainment.gmx.net/de/entertainment/games/free

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


Mime
View raw message