Hi Ben,

With Cocoon 2.2 (which DSpace uses), it is no longer recommended to use 
those old ".xconf" config files.  Instead, Cocoon is configured via 
properties files & Spring.

In DSpace 1.8.2, the DSpace Cocoon properties file is at:
[src]/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/WEB-INF/cocoon/properties/core.properties

Link: 
https://svn.duraspace.org/dspace/dspace/tags/dspace-1.8.2/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/WEB-INF/cocoon/properties/core.properties

I did some searching around on Google to see how you can enable that 
flowscript debugger (described in 
http://wiki.apache.org/cocoon/DebugFlowScripts) in a Cocoon properties 
file.  Here's what seems to be the magic setting:
http://code.google.com/p/tizzit/source/browse/patches/cocoon/cocoon-flowscript-impl/tags/cocoon-flowscript-impl-1.0.1/src/main/resources/META-INF/cocoon/properties/debug/cocoon-flowscript-impl.properties?r=793

So, you could try setting 
"org.apache.cocoon.flowscript.debugger=enabled", and see if it will work 
to enable the flowscript debugger (I've never tried it myself to be 
honest). If it does work, let us know -- this might be worth documenting 
somewhere on our DSpace wiki:

Good luck,

- Tim


On 11/11/2012 7:36 AM, Benjamin Ryan wrote:
> Hi Helix,
>       I tried the patches but no joy.
>       I placed the cocoon.xconf in WEB-INF and WEB-INF/cocoon .
>       I also created an error in the cocoon.xconf to make the XML invalid to 
> see if this would throw and error but got nothing.
>
> Regards,
>       Ben
>
> ------------------------------------------------------------------
> Dr Ben Ryan
> Jorum Technical Manager
>
> 5.12 Roscoe Building
> The University of Manchester
> Oxford Road
> Manchester
> M13 9PL
> Tel: 0160 275 6039
> E-mail: [email protected]
> ------------------------------------------------------------------
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of helix84
> Sent: 11 November 2012 12:36
> To: Benjamin Ryan
> Cc: [email protected]
> Subject: Re: [Dspace-tech] Debugging FlowScipt
>
> This is probably necessary, too:
>
> http://code.google.com/p/dspace-gsoc/source/browse/dspace/trunk/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/WEB-INF/web.xml#123
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to