I am using c2 cvs from around the same time as urs..
  From the error portion u posted, i cannot really
tell anything as it wouldnt guarantee the problem to
be with this portion of sitemap..

If u can send the sitemap & log zipped up to my
mail...


  
 --- Philipp Schmidt <[EMAIL PROTECTED]> wrote: >
java guru wrote:
> 
> > Hi.,
> >   I have just used the following successfully..
> > ************************************************
> >    <map:match pattern="welcome2">
> >         <map:act type="session-isvalid">
> >                 <map:generate
> src="docs/samples/samples.xml"/>
> >                 <map:serialize/>
> >         </map:act>
> >                 <map:generate
> src="docs/samples/hello-page.xml"/>
> >                 <map:serialize/>
> >    </map:match>
> >
> > ****************************************
> > As u can see., i am using two generators...
> >
> 
> What version of cocoon are you using? My one is the
> CVS version from the 18 August 2001.
> 
> Sorry forget to add the stack trace (note:
> index.html is the file into which I aggregate
> navigation.xml)
> 
> WARN    (2001-08-23) 16:28.09:534   [cocoon  ]
> (/cocoon/index.html) Thread-10/sitemap_xmap: Error,
> try to process
> the error page
> org.apache.cocoon.ProcessingException: Generator
> already set. You can only select one Generator
> (file)
>  at
>
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setGenerator(AbstractEventPipeline.java:82)
>  at
>
org.apache.cocoon.components.pipeline.CachingEventPipeline.setGenerator(CachingEventPipeline.java:84)
>  at
>
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN3B0(sitemap_xmap.java:4154)
>  at
>
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1952)
>  at
>
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1734)
>  at
>
org.apache.cocoon.sitemap.Handler.process(Handler.java:174)
>  at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:121)
>  at
> org.apache.cocoon.Cocoon.process(Cocoon.java:435)
>  at
>
org.apache.cocoon.ProcessorWrapper.process(ProcessorWrapper.java:52)
>  at
>
org.apache.cocoon.components.source.SitemapSource.refresh(SitemapSource.java:243)
>  at
>
org.apache.cocoon.components.source.SitemapSource.<init>(SitemapSource.java:151)
>  at
>
org.apache.cocoon.components.source.CocoonSourceFactory.getSource(CocoonSourceFactory.java:53)
>  at
>
org.apache.cocoon.components.source.SourceHandlerImpl.getSource(SourceHandlerImpl.java:132)
>  at
>
org.apache.cocoon.environment.AbstractEnvironment.resolve(AbstractEnvironment.java:248)
>  at
>
org.apache.cocoon.sitemap.ContentAggregator.setup(ContentAggregator.java:284)
>  at
>
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:146)
>  at
>
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:248)
>  at
>
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:108)
>  at
>
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:281)
>  at
>
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN394(sitemap_xmap.java:4063)
>  at
>
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1947)
>  at
>
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1718)
>  at
>
org.apache.cocoon.sitemap.Handler.process(Handler.java:162)
>  at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:103)
>  at
> org.apache.cocoon.Cocoon.process(Cocoon.java:423)
>  at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:538)
>  at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>  at
>
org.apache.tomcat.core.Handler.service(Handler.java:286)
>  at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>  at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
>  at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>  at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
>  at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>  at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>  at java.lang.Thread.run(Thread.java:484)
> 
> 
> Thank's for you help
> 
> >
> >  --- Philipp Schmidt <[EMAIL PROTECTED]> wrote:
> > Hi
> >  all,
> > >
> > >  why does something like this
> > >
> > >  <map:match pattern="navigation.xml">
> > >   <map:act type="session-validator">
> > >     <map:parameter name="descriptor"
> > >
> value="context://auth//descriptors//params.xml"/>
> > >        <map:parameter name="validate"
> > > value="username"/>
> > >       <map:generate src="myNavigation.xml"/>
> > >       <map:transform src="myNavigation.xsl"/>
> > >    </map:act>
> > >        <map:generate
> src="anotherNavigation.xml"/>
> > >        <map:serialize/>
> > >    </map:match>
> > >
> > > generate a 
> "org.apache.cocoon.ProcessingException:
> > > Generator already
> > > set. You can only select one Generator (file)"
> > > error.
> > > I can't switch to  <map:redirect-to
> > > uri="anotherNavigation.xml"/>
> > > beacuse navigation.xml will be aggregated and
> this
> > > gives me no result .
> > > Any clues how to fix this or is there any reason
> why
> > > i can't do two
> > > <map:generate> ?
> > >
> > > Thanks advance
> > >
> > > Philipp
> > >
> > >
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > 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:
> > > <[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <[EMAIL PROTECTED]>
> > >
> >
> > =====
> > Thanks and have great day
> > srini
> >
> >
>
____________________________________________________________
> > Do You Yahoo!?
> > Send a newsletter, share photos & files, conduct
> polls, organize chat events. Visit http://in/
> groups.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > 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:
> <[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/faqs.html>
> 
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
> 
=== message truncated === 

=====
Thanks and have great day
srini

____________________________________________________________
Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in/ groups.yahoo.com

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to