You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Vaskin Kissoyan <vk...@lokion.com> on 2002/08/19 21:19:53 UTC

clearing all caches

I'm sometime seeing changes and sometimes not, how do I make sure 
everything is be reflected properly? Is there a way to clear Cocoon's 
cache directly, as I'm pretty sure its not in my browser cache or 
anywhere else that I can tell, and restargint Tomcat doesn't seem to do 
it either.

Tomcat 4.04
Cocoon 2.0.3
Mozilla very recent Nightly

Working on bonebreaker.zip from cocooncenter.de 's "Creating a 
navigation Menu"

When I try to add new sections I have issues where I cannot see the new 
sections, I have edited and created new home.xml pages and everything.

any help would be appreciated.


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: clearing all caches

Posted by Lajos Moczar <lm...@galatea.com>.
Delete Tomcat's work directory for your webapp 
($CATALINA_HOME/work/Standalone/localhost ...)

Lajos


Vaskin Kissoyan wrote:

> I'm sometime seeing changes and sometimes not, how do I make sure 
> everything is be reflected properly? Is there a way to clear Cocoon's 
> cache directly, as I'm pretty sure its not in my browser cache or 
> anywhere else that I can tell, and restargint Tomcat doesn't seem to do 
> it either.
> 
> Tomcat 4.04
> Cocoon 2.0.3
> Mozilla very recent Nightly
> 
> Working on bonebreaker.zip from cocooncenter.de 's "Creating a 
> navigation Menu"
> 
> When I try to add new sections I have issues where I cannot see the new 
> sections, I have edited and created new home.xml pages and everything.
> 
> any help would be appreciated.
> 
> 
> ---------------------------------------------------------------------
> 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:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
> 
> 


-- 
galatea.com
Cocoon training, consulting & support



---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: clearing all caches

Posted by yuryx <yu...@mobicomk.donpac.ru>.
Try using  "TreeProcessor" instead "synchron" method .
In the cocoon.xconf:
<sitemap 
class="org.apache.cocoon.components.treeprocessor.TreeProcessor" 
logger="sitemap"/>

I'm using this configuration...
And so ok for me :)

Yury.

Antonio Gallardo Rivera wrote:

>Hi Vaskin:
>
>To resolve your problem you must tell Cocoon to check for change in a synchron 
>form. To do this:
>
>In the file cocoon.xconf
>
>search for:
>
><sitemap file="sitemap.xmap" reload-method="asynchron" check-reload="yes" 
>logger="sitemap"/>
>
>then change the attribute reload-method to synchron:
>
><sitemap file="sitemap.xmap" reload-method="synchron" check-reload="yes" 
>logger="sitemap"/>
>
>Antonio Gallardo
>
>El Lunes, 19 de Agosto de 2002 13:19, Vaskin Kissoyan escribió:
>  
>
>>I'm sometime seeing changes and sometimes not, how do I make sure
>>everything is be reflected properly? Is there a way to clear Cocoon's
>>cache directly, as I'm pretty sure its not in my browser cache or
>>anywhere else that I can tell, and restargint Tomcat doesn't seem to do
>>it either.
>>
>>Tomcat 4.04
>>Cocoon 2.0.3
>>Mozilla very recent Nightly
>>
>>Working on bonebreaker.zip from cocooncenter.de 's "Creating a
>>navigation Menu"
>>
>>When I try to add new sections I have issues where I cannot see the new
>>sections, I have edited and created new home.xml pages and everything.
>>
>>any help would be appreciated.
>>
>>
>>---------------------------------------------------------------------
>>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:     <co...@xml.apache.org>
>>For additional commands, e-mail:   <co...@xml.apache.org>
>>    
>>
>
>---------------------------------------------------------------------
>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:     <co...@xml.apache.org>
>For additional commands, e-mail:   <co...@xml.apache.org>
>
>  
>


-- 

Best regards,
Yury.
--
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"




---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: clearing all caches

Posted by Vaskin Kissoyan <vk...@lokion.com>.

Lajos Moczar wrote:

 > Delete Tomcat's work directory for your webapp 
($CATALINA_HOME/work/Standalone/localhost ...)

I did tried this it did not work. My new toc information is not there, 
funny thing was that I was seeing immediate changes for a while there...

Antonio Gallardo Rivera wrote:

>Hi Vaskin:
>
>To resolve your problem you must tell Cocoon to check for change in a synchron 
>form. To do this:
>
>In the file cocoon.xconf
>
>search for:
>
><sitemap file="sitemap.xmap" reload-method="asynchron" check-reload="yes" 
>logger="sitemap"/>
>
>then change the attribute reload-method to synchron:
>
><sitemap file="sitemap.xmap" reload-method="synchron" check-reload="yes" 
>logger="sitemap"/>
>

I found the following:
    For development environment, set the check-reload to yes.
    For production environment, it is advisable to set the check-reload 
to no.
  -->
  <sitemap check-reload="yes" 
class="org.apache.cocoon.sitemap.SitemapManager" file="sitemap.xmap" 
logger="sitemap" reload-method="synchron"/>


It looks like mine is correctly set for development, but I still am not 
seeing any of my changes.

ARG now it looks like some pages are returning completely empty with no 
errors! <body></body>




---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: clearing all caches

Posted by Antonio Gallardo Rivera <ag...@agsoftware.dnsalias.com>.
Hi Vaskin:

To resolve your problem you must tell Cocoon to check for change in a synchron 
form. To do this:

In the file cocoon.xconf

search for:

<sitemap file="sitemap.xmap" reload-method="asynchron" check-reload="yes" 
logger="sitemap"/>

then change the attribute reload-method to synchron:

<sitemap file="sitemap.xmap" reload-method="synchron" check-reload="yes" 
logger="sitemap"/>

Antonio Gallardo

El Lunes, 19 de Agosto de 2002 13:19, Vaskin Kissoyan escribió:
> I'm sometime seeing changes and sometimes not, how do I make sure
> everything is be reflected properly? Is there a way to clear Cocoon's
> cache directly, as I'm pretty sure its not in my browser cache or
> anywhere else that I can tell, and restargint Tomcat doesn't seem to do
> it either.
>
> Tomcat 4.04
> Cocoon 2.0.3
> Mozilla very recent Nightly
>
> Working on bonebreaker.zip from cocooncenter.de 's "Creating a
> navigation Menu"
>
> When I try to add new sections I have issues where I cannot see the new
> sections, I have edited and created new home.xml pages and everything.
>
> any help would be appreciated.
>
>
> ---------------------------------------------------------------------
> 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:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>

---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


A master-detail example

Posted by Antonio Gallardo Rivera <ag...@agsoftware.dnsalias.com>.
Hi everyone.

I am looking for a master-detail form example. Where Can I find this type of 
form example using ESQL?. Lets say a invoice or something like that to try to 
follow how can I do in this situation.

I thinked this can be done using session attributes. am I right?

Regards,

Antonio Gallardo

---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>