cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: [C2] Generator Already Set
Date Mon, 23 Oct 2000 14:27:15 GMT
Berin,

What did you try to modify? Did you try to change the XSL for the error page? Any way send
me the
changes, i will take a look.

Thanks,
dims

--- Berin Loritsch <bloritsch@infoplanning.com> wrote:
> Has anyone looked into this?  It is frustrating when everything looks OK, but
> you *have* to use the included Cocoon error page just to make things work.
> 
> My sitemap doesn't explicitly look like it is setting the Generator for error
> pages at all.  Any help on this front would be appreciated.
> 
> ----- Original Message -----
> From: "Berin Loritsch" <bloritsch@infoplanning.com>
> To: <cocoon-dev@xml.apache.org>
> Sent: Friday, October 20, 2000 2:47 PM
> Subject: [C2] Generator Already Set
> 
> 
> > I decided to do a quick port of our company's web site to
> > Cocoon2 to see just how easy it was.  Since we only had
> > one XSP page, it was cake.  However, when I wanted to
> > play with changing the style of the error page to match
> > the rest of the site, I got the following error and
> > nothing renders any more:
> >
> >
>
----------------------------------------------------------------------------------------------------
> > :Error creating the resource
> >
> > Generator already set. You can only select one Generator (generator:file)
> >
> > from
> >
> > source
> >
> > org.apache.cocoon.ProcessingException
> >
> > description
> >
> > org.apache.cocoon.ProcessingException: Generator already set. You can only select
one
> Generator (generator:file)
> >
> > extra info
> >
> > org.apache.cocoon.ProcessingException: Generator already set. You can only select
one
> Generator (generator:file) at
> > org.apache.cocoon.sitemap.ResourcePipeline.setGenerator(ResourcePipeline.java:78)
at
> > _D_._jakarta_tomcat_4_0_m3._webapps._ROOT._sitemap_xmap.process(_sitemap_xmap.java:1137)
at
> > org.apache.cocoon.sitemap.Handler.process(Handler.java:132) at
> org.apache.cocoon.sitemap.Manager.invoke(Manager.java:87) at
> > org.apache.cocoon.Cocoon.process(Cocoon.java:226) at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:166) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> > org.apache.catalina.core.ApplicationFilterWrapper.doFilter(ApplicationFilterWrapper.java:159)
> at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:265)
at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977) at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:165)
at
> > org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) at
> > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:174)
at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975) at
> > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:1785) at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) at
> > org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:343) at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975) at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977) at
> > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:785)
at
> > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:902) at
> java.lang.Thread.run(Thread.java:484)
> >
> > Error creating the resourceorg.apache.cocoon.ProcessingExceptionGenerator already
set. You can
> only select one Generator
> > (generator:file)org.apache.cocoon.ProcessingException: Generator already set. You
can only
> select one Generator
> > (generator:file)org.apache.cocoon.ProcessingException: Generator already set. You
can only
> select one Generator (generator:file)
> at
> > org.apache.cocoon.sitemap.ResourcePipeline.setGenerator(ResourcePipeline.java:78)
at
> > _D_._jakarta_tomcat_4_0_m3._webapps._ROOT._sitemap_xmap.process(_sitemap_xmap.java:1137)
at
> > org.apache.cocoon.sitemap.Handler.process(Handler.java:132) at
> org.apache.cocoon.sitemap.Manager.invoke(Manager.java:87) at
> > org.apache.cocoon.Cocoon.process(Cocoon.java:226) at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:166) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> > org.apache.catalina.core.ApplicationFilterWrapper.doFilter(ApplicationFilterWrapper.java:159)
> at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:265)
at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977) at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:165)
at
> > org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) at
> > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:174)
at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975) at
> > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:1785) at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) at
> > org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:343) at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975) at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977) at
> > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:785)
at
> > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:902) at
> java.lang.Thread.run(Thread.java:484)
> >
> > ---------------------------------------
> > If you lust for Ham and Eggs, you have
> > committed breakfast in your heart
> > already.   -- C. S. Lewis
> 


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

Mime
View raw message