cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beyaNet Consultancy <beya...@ntlworld.com>
Subject ClassCastException
Date Wed, 04 Feb 2004 23:01:31 GMT
I am getting the above mentioned error from my Authentication Framework:

<handler name="beyarecords">
	<redirect-to uri="cocoon:/mySite"/>
	<authentication authenticator="test.GetUserDetail2"/>
</handler>


Here is the stack trace:


Original Exception: java.lang.ClassCastException
         at  
org.apache.cocoon.webapps.authentication.components.DefaultAuthenticatio 
nManager.lookupAuthenticator(DefaultAuthenticationManager.java:330)
         at  
org.apache.cocoon.webapps.authentication.components.DefaultAuthenticatio 
nManager.login(DefaultAuthenticationManager.java:241)
         at  
org.apache.cocoon.webapps.authentication.acting.LoginAction.act(LoginAct 
ion.java:117)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(Ac 
tTypeNode.java:152)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:84)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i 
nvoke(PreparableMatchNode.java:164)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:108)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P 
ipelineNode.java:163)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:108)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke( 
PipelinesNode.java:152)
         at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro 
cessor.java:354)
         at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro 
cessor.java:307)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Moun 
tNode.java:133)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:84)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i 
nvoke(PreparableMatchNode.java:164)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:108)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P 
ipelineNode.java:163)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:108)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke( 
PipelinesNode.java:152)
         at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro 
cessor.java:354)
         at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro 
cessor.java:307)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
         at  
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java: 
1112)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica 
tionFilterChain.java:284)
         at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt 
erChain.java:204)
         at  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv 
e.java:257)
         at  
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo 
ntext.java:151)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
564)
         at  
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon 
textValve.java:245)
         at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv 
e.java:199)
         at  
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo 
ntext.java:151)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
564)
         at  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java 
:195)
         at  
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo 
ntext.java:151)
         at  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java 
:164)
         at  
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo 
ntext.java:149)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
564)
         at  
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. 
java:156)
         at  
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo 
ntext.java:151)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
564)
         at  
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
         at  
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
         at  
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:324)
         at  
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
         at  
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
         at  
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java: 
615)
         at  
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
         at  
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool 
.java:683)
         at java.lang.Thread.run(Thread.java:554)




Mime
View raw message