Re: [C2.1] You can only select one Generator (file)

2001-08-23 Thread java guru

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..
> > 
> >
> > 
> >  src="docs/samples/samples.xml"/>
> > 
> > 
> >  src="docs/samples/hello-page.xml"/>
> > 
> >
> >
> > 
> > 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.(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
> > >
> > >  
> > >   
> > >  > >
> value="context://auth//descriptors//params.xml"/>
> > > > > value="username"/>
> > >   
> > >   
> > >
> > > src="anotherNavigation.xml"/>
> > >
> > >
> > >
> > > generate a 
> "org.apache.cocoon.ProcessingException:
> > > Generator already
> > > set. You can only select one Generator (file)"
> > > error.
> > > I can't switch 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
> > >  ?
> > >
> > > Thanks advance

Re: [C2.1] You can only select one Generator (file)

2001-08-23 Thread java guru

Hi.,
  Sorry if i gave the impression that i AM  using two
generators..
  The orginal author of this problem seems to have
problem with coding two generators inside a
map:match..

You are right in the sense that logically only one
generator is used..

 --- Berin Loritsch <[EMAIL PROTECTED]> wrote: >
java guru wrote:
> > 
> > Hi.,
> >   I have just used the following successfully..
> > 
> >
> > 
> >  src="docs/samples/samples.xml"/>
> > 
> > 
> >  src="docs/samples/hello-page.xml"/>
> > 
> >
> > 
> > 
> > As u can see., i am using two generators...
> 
> 
> Actually, The sitemap only uses the first one set. 
> What will happen
> with this construct is this:
> 
> If the Action returns null, the second
> generate/serialize pair will
> be executed.
> 
> If the Action returns a Map, the first
> generate/serialize pair will
> be executed.
> 
> 
> As u can see, You are really only using 1 (one)
> generator...
> 
> > 
> >  --- Philipp Schmidt <[EMAIL PROTECTED]> wrote:
> > Hi
> >  all,
> > >
> > >  why does something like this
> > >
> > >  
> > >   
> > >  > >
> value="context://auth//descriptors//params.xml"/>
> > > > > value="username"/>
> > >   
> > >   
> > >
> > > src="anotherNavigation.xml"/>
> > >
> > >
> > >
> > > generate a 
> "org.apache.cocoon.ProcessingException:
> > > Generator already
> > > set. You can only select one Generator (file)"
> > > error.
> > > I can't switch 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
> > >  ?
> > >
> > > Thanks advance
> > >
> > > Philipp
> > >
> > >
> > >
> > >
> >
>
-
> > > Please check that your question has not already
> been
> > > answered in the
> > > FAQ before posting.
> > > 
> > >
> > > 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.
> 
> > 
> > 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.
> 
> 
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: [C2.1] You can only select one Generator (file)

2001-08-23 Thread Philipp Schmidt

java guru wrote:

> Hi.,
>   I have just used the following successfully..
> 
>
> 
> 
> 
> 
> 
> 
>
>
> 
> 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.(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
> >
> >  
> >   
> >  > value="context://auth//descriptors//params.xml"/>
> > > value="username"/>
> >   
> >   
> >
> >
> >
> >
> >
> > generate a  "org.apache.cocoon.ProcessingException:
> > Generator already
> > set. You can only select one Generator (file)"
> > error.
> > I can't switch 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
> >  ?
> >
> > Thanks advance
> >
> > Philipp
> >
> >
> >
> >
> -
> > Please check that your question has not already been
> > answered in the
> > FAQ before posting.
> > 
> >
> > 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
>
> --

Re: [C2.1] You can only select one Generator (file)

2001-08-23 Thread Berin Loritsch

java guru wrote:
> 
> Hi.,
>   I have just used the following successfully..
> 
>
> 
> 
> 
> 
> 
> 
>
> 
> 
> As u can see., i am using two generators...


Actually, The sitemap only uses the first one set.  What will happen
with this construct is this:

If the Action returns null, the second generate/serialize pair will
be executed.

If the Action returns a Map, the first generate/serialize pair will
be executed.


As u can see, You are really only using 1 (one) generator...

> 
>  --- Philipp Schmidt <[EMAIL PROTECTED]> wrote: > Hi
>  all,
> >
> >  why does something like this
> >
> >  
> >   
> >  > value="context://auth//descriptors//params.xml"/>
> > > value="username"/>
> >   
> >   
> >
> >
> >
> >
> >
> > generate a  "org.apache.cocoon.ProcessingException:
> > Generator already
> > set. You can only select one Generator (file)"
> > error.
> > I can't switch 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
> >  ?
> >
> > Thanks advance
> >
> > Philipp
> >
> >
> >
> >
> -
> > Please check that your question has not already been
> > answered in the
> > FAQ before posting.
> > 
> >
> > 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. 
> 
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: [C2.1] You can only select one Generator (file)

2001-08-23 Thread java guru

Hi.,
  I have just used the following successfully..

   






   


As u can see., i am using two generators...

 --- Philipp Schmidt <[EMAIL PROTECTED]> wrote: > Hi
 all,
> 
>  why does something like this
> 
>  
>   
>  value="context://auth//descriptors//params.xml"/>
> value="username"/>
>   
>   
>
>
>
>
> 
> generate a  "org.apache.cocoon.ProcessingException:
> Generator already
> set. You can only select one Generator (file)"
> error.
> I can't switch 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
>  ?
> 
> Thanks advance
> 
> Philipp
> 
> 
> 
>
-
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> 
> 
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




[C2.1] You can only select one Generator (file)

2001-08-23 Thread Philipp Schmidt

Hi  all,

 why does something like this

 
  

   
  
  
   
   
   
   

generate a  "org.apache.cocoon.ProcessingException: Generator already
set. You can only select one Generator (file)" error.
I can't switch to  
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
 ?

Thanks advance

Philipp



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>