cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Holsclaw <holsc...@mac.com>
Subject Re: Please help! Question about request object in C2
Date Tue, 03 Apr 2001 15:17:20 GMT
Thanks again for the timely reply!

On Tuesday, April 3, 2001, at 09:50 AM, Berin Loritsch wrote:

> <xsp:logic>
>   String test = <xsp-request:get-parameter name="employee"/>;
> </xsp:logic>
>
>      - or -
>
> <xsp:logic>
>   String test = XSPRequestHelper.getParameter(this.objectModel, 
> "employee");
> </xsp:logic>
>
>      - or -
>
> <xsp:logic>
>   String test = request.getParameter("employee");
> </xsp:logic>

I have tried #1 and #3 many times in the last day and neither works for 
me. #2 looks like what is inserted in the generated java code but it 
doesn't work either. :o(

> I looked in the code.  The request object *should* work.  As the 
> migration
> was recent, you might want to clear your repository in 
> $TOMCAT_HOME/work/{cocoon repository}

This didn't seem to make any difference?

I guess I'll do a fresh pull from cvs and see if maybe the problem has 
been fixed. In case you are interested, the output I get when using any 
of the 3 options that you describe is attached below. Does this make any 
sense to you?

Thanks again.
---
David Holsclaw
holsclaw@mac.com



------------------------ Begin Output ----------------------------

sanserif" color="#ffffff">Failed to execute pipeline. details from 
sourceorg.apache.cocoon.ProcessingException 
descriptionorg.apache.cocoon.ProcessingException: Failed to execute 
pipeline.:org.apache.cocoon.ResourceNotFoundException: : 
CocoonComponentSelector could not access the Component for 
you:org.apache.avalon.ComponentManagerException: : 
CocoonComponentSelector could not access the Component for you extra info

org.apache.cocoon.ProcessingException: Failed to execute 
pipeline.:org.apache.cocoon.ResourceNotFoundException: : 
CocoonComponentSelector could not access the Component for 
you:org.apache.avalon.ComponentManagerException: : 
CocoonComponentSelector could not access the Component for you
	at 
org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:160)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2444)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:153)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:107)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:218)
	at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:403)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:246)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:191)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:254)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:213)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2175)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
162)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
827)
	at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:904)
	at java.lang.Thread.run(Thread.java:496)
org.apache.cocoon.ResourceNotFoundException: : CocoonComponentSelector 
could not access the Component for 
you:org.apache.avalon.ComponentManagerException: : 
CocoonComponentSelector could not access the Component for you
	at 
org.apache.cocoon.generation.ServerPagesGenerator.generate
(ServerPagesGenerator.java:143)
	at 
org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:158)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2444)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:153)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:107)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:218)
	at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:403)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:246)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:191)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:254)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:213)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2175)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
162)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
827)
	at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:904)
	at java.lang.Thread.run(Thread.java:496)
org.apache.avalon.ComponentManagerException: : CocoonComponentSelector 
could not access the Component for you
	at 
org.apache.cocoon.components.CocoonComponentSelector.select
(CocoonComponentSelector.java:143)
	at 
org.apache.cocoon.components.language.generator.GeneratorSelector.select
(GeneratorSelector.java:51)
	at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.select(
ProgramGeneratorImpl.java:263)
	at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(
ProgramGeneratorImpl.java:219)
	at 
org.apache.cocoon.generation.ServerPagesGenerator.generate
(ServerPagesGenerator.java:140)
	at 
org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:158)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2444)
	at
908
org.apache.cocoon.sitemap.Handler.process(Handler.java:153)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:107)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:218)
	at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:403)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:246)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:191)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:254)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:213)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2175)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
162)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
827)
	at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:904)
	at java.lang.Thread.run(Thread.java:496)

0

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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