Carsten Ziegeler wrote:

> > -----Ursprungliche Nachricht-----
> > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im
> > Auftrag von Marks local account
> > Gesendet: Dienstag, 17. Juli 2001 15:25
> > An: [EMAIL PROTECTED]
> > Betreff: Sitemaps not recompiling
> >
> >
> >
> > Using Cocoon 2.0 in Tomcat 3.2.2 without apache on Linux 7.1
> >
> What exact version of Cocoon 2 do you use? The beta 1 or some
> version from the cvs?

The beta 1. What is the recomendation here. I am evaluating cocoon for use,
and I quite like it, will I be happier if I get the nightly builds from CVS
or should I just test the beta and complain?

Thanks

Mark Miller
Web Architect
Logica


>
>
> > When I make changes to the sitemap (sub map) for my application I have
> > to stop tomcat, delete the java files in the work directory and restart.
> >
> > I am using the following in the main cocoon sitemap.xmap:
> >
> >   <map:pipeline>
> >    <map:match pattern="mmsc/**">
> >     <map:mount uri-prefix="mmsc" src="mmsc/sitemap.xmap"
> > check-reload="yes"/>
> >    </map:match>
> >   </map:pipeline>
> >
> > but I also tried :
> >
> >   <map:pipeline>
> >    <map:match pattern="mmsc/**">
> >     <map:mount uri-prefix="mmsc" src="mmsc/" check-reload="yes"/>
> >    </map:match>
> >   </map:pipeline>
> >
> This is equivalent with the first statement as cocoon automatically
> adds "sitemap.xmap" if src specifies a directory.
>
> The compilation of the sitemap and the subsitemaps take some time
> depending on the server hardware. So you could also specify
> the "reload-method" attribute with the value "synchron" on the map:mount
> element:
>
>   <map:mount uri-prefix="mmsc" src="mmsc/sitemap.xmap"
>   check-reload="yes" reload-method="synchron"/>
>
> This forces cocoon to wait for the compilation and then serves your
> request. The default reload method is asynchron. So when a new
> request after a sitemap change arrives at cocoon the sitemap is
> compiled in the background and the requests are served with the old
> sitemap until the compilation is finished.
>
> HTH
>
> Carsten
>
> Open Source Group                        sunShine - b:Integrated
> ================================================================
> Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> www.sundn.de                          mailto: [EMAIL PROTECTED]
> ================================================================
>
> > Changes to the main cocoon sitemap.xmap also require deletion of the
> > java files in work, and a restart of tomcat.
> > Changes to .xsl or .xsp files are spotted and the files are regenerated
> > as required.
> > Why don't the sitemaps recompile?
> >
> > Mark Miller
> > Web Architect
> > Logica
> >
> >
> > ---------------------------------------------------------------------
> > 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]>


---------------------------------------------------------------------
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