cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "u15603" <u15...@hs-harz.de>
Subject Re: RE: Handler information not found
Date Fri, 30 Aug 2002 13:29:56 GMT
Am 30.08.2002 15:14:46, schrieb "Koen Pellegrims" <koen.pellegrims@pandora.be>:

>AFAIK cocoon:// goes back to the higher-level sitemap; have you tried
>"cocoon:/" ? (only one slash)

Yes we have tested it but it does not work. 

Dirk


>
>> -----Oorspronkelijk bericht-----
>> Van: u15603 [mailto:u15603@hs-harz.de]
>> Verzonden: vrijdag 30 augustus 2002 15:02
>> Aan: cocoon-users@xml.apache.org
>> Onderwerp: Handler information not found
>>
>>
>> Hi all,
>>
>> I've some problems with the attached sitemap-fragment. I want to
>> match 'home' and built
>> a XML-document with the help of the aggregation! But when the
>> pipeline calls the src
>> cocoon://navigation there is an exception. The Handler
>> information is not found. Has
>> someone an idea why and maybe a solution for my problem?
>>
>> Thx in advance
>>
>> Dirk
>>
>>
>>
>> Sitemap:
>>
>> 		<map:match pattern="home">
>> 			<map:aggregate element="document">
>> 				<map:part src="cocoon://header"/>
>> 				<map:part src="cocoon://navigation">
>> 					<map:parameter
>> name="use-reguest-parameters" value="true"/>
>> 				</map:part>
>> 				<map:part src="cocoon://content"/>
>> 			</map:aggregate>
>> 			<map:transform type="encodeURL"/>
>> 			<map:serialize/>
>> 		</map:match>
>>
>> 		<map:match pattern="header">
>> 			<map:generate
>> src="portal/resources/free/header.xml"/>
>> 			<map:serialize/>
>> 		</map:match>
>>
>> 		<map:match pattern="navigation">
>> 			<map:act type="auth-loggedIn">
>> 				<map:parameter name="handler"
>> value="mobiharzhandler"/>
>> 				<map:act type="auth-protect">
>> 					<map:parameter
>> name="../handler" value="mobiharzhandler"/>
>> 					<map:aggregate element="navigation">
>> 						<map:part
>> src="portal/resources/toc.xml"/>
>> 						<map:part
>> src="portal/resources/auth/login.xml"/>
>> 					</map:aggregate>
>> 					<map:serialize type="xml"/>
>> 				</map:act>
>> 			</map:act>
>> 			<map:aggregate element="navigation">
>> 				<map:part src="portal/resources/toc.xml"/>
>> 				<map:part
>> src="portal/resources/free/login.xml"/>
>> 			</map:aggregate>
>> 			<map:serialize/>
>> 		</map:match>
>>
>> 		<map:match pattern="content">
>> 			<map:generate
>> src="portal/resources/free/header.xml"/>
>> 			<map:serialize/>
>> 		</map:match>
>>
>> Exception:
>>
>> ERROR   (2002-08-30) 14:22.10:600   [sitemap] (/mh-portal/home)
>> Thread-16/PipelineNode:
>> Error while processing pipeline at
>> jndi:/localhost/mh-portal/sitemap.xmap:350:16
>> org.apache.cocoon.ProcessingException: Handler information not found.
>> 	at
>> org.apache.cocoon.webapps.authentication.components.Authentication
>> Manager.checkAuthenti
>> cation(AuthenticationManager.java:651)
>> 	at org.apache.cocoon.webapps.authentication.acting.AuthAction.act
>> (AuthAction.java:119)
>> 	at
>> org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
>> (ActTypeNode.java:130)
>> 	at
>> org.apache.cocoon.components.treeprocessor.AbstractParentProcessin
>> gNode.invokeNodes
>> (AbstractParentProcessingNode.java:83)
>> 	at
>> org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
>> (ActTypeNode.java:155)
>> 	at
>> org.apache.cocoon.components.treeprocessor.AbstractParentProcessin
>> gNode.invokeNodes
>> (AbstractParentProcessingNode.java:83)
>> 	at
>> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatch
>> Node.invoke
>> (PreparableMatchNode.java:163)
>> 	at
>> org.apache.cocoon.components.treeprocessor.AbstractParentProcessin
>> gNode.invokeNodes
>> (AbstractParentProcessingNode.java:107)
>> 	at
>> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
>> (PipelineNode.java:157)
>> 	at
>> org.apache.cocoon.components.treeprocessor.AbstractParentProcessin
>> gNode.invokeNodes
>> (AbstractParentProcessingNode.java:107)
>> 	at
>> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
>> (PipelinesNode.java:155)
>> 	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
>> (TreeProcessor.java:327)
>> 	at
>> org.apache.cocoon.components.treeprocessor.TreeProcessor.processInternal
>> (TreeProcessor.java:347)
>> 	at
>> org.apache.cocoon.components.source.impl.SitemapSource.discardValidity
>> (SitemapSource.java:304)
>> 	at org.apache.cocoon.components.source.impl.SitemapSource.<init>
>> (SitemapSource.java:201)
>> 	at
>> org.apache.cocoon.components.source.impl.CocoonSourceFactory.getSource
>> (CocoonSourceFactory.java:99)
>> 	at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI
>> (SourceResolverImpl.java:263)
>> 	at org.apache.cocoon.components.CocoonComponentManager.resolveURI
>> (CocoonComponentManager.java:412)
>> 	at org.apache.cocoon.environment.AbstractEnvironment.resolveURI
>> (AbstractEnvironment.java:455)
>> 	at org.apache.cocoon.environment.AbstractEnvironment.resolveURI
>> (AbstractEnvironment.java:445)
>> 	at
>> org.apache.cocoon.sitemap.ContentAggregator.setup(ContentAggregato
>> r.java:317)
>> 	at
>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.s
>> etupPipeline
>> (AbstractProcessingPipeline.java:368)
>> 	at
>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
>> (AbstractProcessingPipeline.java:475)
>> 	at
>> org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke
>> (SerializeNode.java:142)
>> 	at
>> org.apache.cocoon.components.treeprocessor.AbstractParentProcessin
>> gNode.invokeNodes
>> (AbstractParentProcessingNode.java:83)
>> 	at
>> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatch
>> Node.invoke
>> (PreparableMatchNode.java:163)
>> 	at
>> org.apache.cocoon.components.treeprocessor.AbstractParentProcessin
>> gNode.invokeNodes
>> (AbstractParentProcessingNode.java:107)
>> 	at
>> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
>> (PipelineNode.java:157)
>> 	at
>> org.apache.cocoon.components.treeprocessor.AbstractParentProcessin
>> gNode.invokeNodes
>> (AbstractParentProcessingNode.java:107)
>> 	at
>> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
>> (PipelinesNode.java:155)
>> 	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
>> (TreeProcessor.java:327)
>> 	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
>> (TreeProcessor.java:309)
>> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:585)
>> 	at
>> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1000)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> (ApplicationFilterChain.java:247)
>> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter
>> (ApplicationFilterChain.java:193)
>> 	at org.apache.catalina.core.StandardWrapperValve.invoke
>> (StandardWrapperValve.java:260)
>> 	at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>> 	at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
>> java:480)
>> 	at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>> 	at org.apache.catalina.core.StandardContextValve.invoke
>> (StandardContextValve.java:191)
>> 	at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>> 	at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
>> java:480)
>> 	at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>> 	at
>> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350)
>> 	at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv
>> e.java:180)
>> 	at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>> 	at org.apache.catalina.valves.ErrorDispatcherValve.invoke
>> (ErrorDispatcherValve.java:170)
>> 	at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>> 	at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv
>> e.java:171)
>> 	at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>> 	at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
>> java:480)
>> 	at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>> 	at org.apache.catalina.core.StandardEngineValve.invoke
>> (StandardEngineValve.java:174)
>> 	at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>> 	at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
>> java:480)
>> 	at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>> 	at
>> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>> 	at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
>> 	at org.apache.coyote.http11.Http11Protocol
>> $Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
>> 	at
>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
>> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
>> (ThreadPool.java:533)
>> 	at java.lang.Thread.run(Thread.java:536)
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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:     <cocoon-users-unsubscribe@xml.apache.org>
>> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>>
>>
>
>
>---------------------------------------------------------------------
>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:     <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>




---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message