That works perfectly, these directions should go to the documentation! Thank you Reinhard! Thanks to anyone involved for the profiling implementation, it's really usefull.
Michael -----Ursprüngliche Nachricht----- Von: Reinhard Poetz [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 10. Juli 2002 14:22 An: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: [Summary] Profiling with Cocoon 2.1 Hi Michael, I use Cocoon2.1dev (I checked it out last week). As it works successfully for me I wrote a summary using my notes I was taking during activating profiling - please try it. If you have problems please respond to [EMAIL PROTECTED] too) - o - Summary: Profiling with Cocoon 2.1 ---------------------------------- - make sure you use a current Cocoon 2.1 (CVS or nightly build) - uncommented <profiler/> (cocoon.xconf) - add the necessary pipeline *components* (sitemap.xmap) <map:pipelines default="caching"> <map:pipeline name="caching" src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipelin e"/> <map:pipeline name="noncaching" src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipe line "/> <map:pipeline name="profile-caching" src="org.apache.cocoon.components.profiler.ProfilingCachingProcessingPip elin e"/> <map:pipeline name="profile-noncaching" src="org.apache.cocoon.components.profiler.ProfilingNonCachingProcessing Pipe line"/> </map:pipelines> (the last two pipline-elements activate profiling) - set the right type at the pipline you want to watch (sitemap.xmap) e.g. <map:pipeline type="profile-caching"> - add the profiler generator (sitemap.xmap) <map:generator name="profiler" src="org.apache.cocoon.components.profiler.ProfilerGenerator"/> - sitemap.xmap (add a pipeline using the ProfilerGenerator) <map:match pattern="profiler"> <map:generate type="profiler"/> <map:serialize type="xml"/> </map:match> - call http://<your-servlet-container>:<your-port>/<path-to-profiler>/profiler Regards, Reinhard > -----Original Message----- > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 6:08 AM > To: [EMAIL PROTECTED] > Subject: RE: Profiling > > > > From: Michael Zehrer [mailto:[EMAIL PROTECTED]] > > > > Hi Vadim, > > > > It's 2.1, I configured cocoon.xconf (ucommented <profiler/>) and > > activated the Profiling pipelines in sitemap.xmap. > > > > Then I constructed a generator that should show me the results, but > all > > I get is: > > > > <?xml version="1.0" encoding="UTF-8" ?> > > <profilerinfo xmlns="http://apache.org/cocoon/profiler/1.0" > > date="04.07.2002 15:24:51" /> > > > > I think there's something wrong with my generator/pipeline for > > profiling, can you give me an example? > > No, I can't. I don't work with 2.1 ATM. > > Vadim > > > > > > > Thanks, Michael > > > > -----Ursprüngliche Nachricht----- > > Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > > Gesendet: Mittwoch, 3. Juli 2002 18:08 > > An: [EMAIL PROTECTED] > > Betreff: RE: Profiling > > > > > > > From: Michael Zehrer [mailto:[EMAIL PROTECTED]] > > > > > > Hi list, > > > > > > what do I have to do to turn on profiling in the actual cvs version? > > How > > > > 2.1 or 2.0.3? 2.1 has one component less configured in the > cocoon.xconf. > > > > > > > ist profiling implemented in general? > > > > Read cocoon.xconf first, it outlines components used. Then modify > > sitemap.xmap to include pipeline which will render results of > profiling. > > > > > > Regards, > > Vadim > > > > > > > Cheers, Michael > > > > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.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/faq/index.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/faq/index.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/faq/index.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/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>