Last month this thread went on for a bit and then died out. I wondering if there was a fix to the solution, e.g. using the auth-protect action I've protected a set of pages. When the user is not logged in, the login page correctly shows up, and then the authentication resource is called. After looking within the sitemap.log, I can see that the authentication resource worked correctly as a map is returned (albeit empty, but better than null).
At this point my problems occur, e.g. the handler information not found exception is thrown. In looking at the stack trace, it appears as though the issue is within the auth-protect action where the protected resource is being checked again (presumably it should work this time as we've successfully logged in). The auth-protect action then calls the authentication manager where the exception is thrown. It appears as though its looking for some values found within the request object??? Anyway each of the authentication actions login, loggedIn, logout and auth-protect all have a handler parameter and successfully worked to get the login page up so I don't think this is the problem, e.g. poor sitemap configuration. Basically I can login but I cannot get to a protected page without this exception occuring. Any clues. Also cocoon:/ vs cocoon:// I don't think has anything to do with this. I use cocoon:/ Furthermore I'm unable to not use cocoon:/ as the cocoon can't resolve the URI without it (I get separate issues with that). My build is from a week or so ago, e.g. development snapshot. thanks, MD Am 30.08.2002 15:14:46, schrieb "Koen Pellegrims" <[EMAIL PROTECTED]>: >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:[EMAIL PROTECTED]] >> Verzonden: vrijdag 30 augustus 2002 15:02 >> Aan: [EMAIL PROTECTED] >> 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: <[EMAIL PROTECTED]> >> For additional commands, e-mail: <[EMAIL PROTECTED]> >> >> > > >--------------------------------------------------------------------- >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: <[EMAIL PROTECTED]> >For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>