Re: Very strange behaviour -- caching bug?
On pon, mar 03, 2003 at 11:27:10 -0800, Alex Romayev wrote: > Do you know the syntax for making a pipeline > noncaching? first see if your main sitemap.xmap contains different pipeline implementation (grep for "caching", "noncaching") use it like this: or set it do default at your main sitemap: ++ here ++ On ouzo -- __ | / \ |Leszek Gawron// \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(600)341118 / // \\ \ \\ // recursive: adj; see recursive | \__/ | - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Very strange behaviour -- caching bug?
Do you know the syntax for making a pipeline noncaching? --- Leszek Gawron <[EMAIL PROTECTED]> wrote: > On pon, mar 03, 2003 at 10:01:03 -0800, Alex Romayev > wrote: > > Hi Mark, > > > > Thanks for your help. I like your test case -- it > > simpler and cleaner. Do you (or anyone else) know > how > > to submit this as a bug to make sure the > developers > > know about it? > > I have encountered the same bug (I think) or very > similar while working with > aggregation (XSP + ESQL and static xml files. See my > bug description at > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16958 > > I have reported it long time ago but no action was > taken. > > ouzo > > PS. a very temporary solution is to set your > pipeline type to noncaching. > Doesn't solve the problem but allows you to work > further. > > -- > __ > | / \ |Leszek Gawron// > \\ > \_\\ //_/ [EMAIL PROTECTED] > _\\()//_ > .'/()\'. Phone: +48(600)341118 / // > \\ \ > \\ // recursive: adj; see recursive | > \__/ | > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Very strange behaviour -- caching bug?
On pon, mar 03, 2003 at 10:01:03 -0800, Alex Romayev wrote: > Hi Mark, > > Thanks for your help. I like your test case -- it > simpler and cleaner. Do you (or anyone else) know how > to submit this as a bug to make sure the developers > know about it? I have encountered the same bug (I think) or very similar while working with aggregation (XSP + ESQL and static xml files. See my bug description at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16958 I have reported it long time ago but no action was taken. ouzo PS. a very temporary solution is to set your pipeline type to noncaching. Doesn't solve the problem but allows you to work further. -- __ | / \ |Leszek Gawron// \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(600)341118 / // \\ \ \\ // recursive: adj; see recursive | \__/ | - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Very strange behaviour -- caching bug?
>Do you (or anyone else) know how >to submit this as a bug to make sure the developers >know about it? http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Cocoon%202 Never done it myself though. -Original Message- From: Alex Romayev [mailto:[EMAIL PROTECTED] Sent: 03 March 2003 06:01PM To: [EMAIL PROTECTED] Subject: RE: Very strange behaviour -- caching bug? Hi Mark, Thanks for your help. I like your test case -- it simpler and cleaner. Do you (or anyone else) know how to submit this as a bug to make sure the developers know about it? Cheers, -Alex --- Mark H <[EMAIL PROTECTED]> wrote: > I tried out a simpler form: (don't have the source > code for your > actions/stylesheets) > > > >src="org.apache.cocoon.acting.RequestParamAction"/> > > > > > > > > > > > > > > > > > > > > > > > and got the same caching problem you got, can > anybody try the above in > v2.0.4 to see if it is a 2.1 bug? > > when I did the following it worked ok: > > > > > > > > > > > > It seems to be caching cocoon:/a.resource. I can't > see exactly what it's > doing because it's not generating any logs (it > should log caching in > sitemap.log). I'm also having problems with the > latest CVS it seems to be in > a state of flux. The only way to fix these problems > is to go deep into the > Cocoon's/Avalon/Excalibur source code and debug. > > -Original Message- > From: Alex Romayev [mailto:[EMAIL PROTECTED] > Sent: 03 March 2003 02:57PM > To: [EMAIL PROTECTED] > Subject: Very strange behaviour -- caching bug? > > > Hello, > > There is a very strange behaviour that my site > exibits > ever since I've upgraded my 2.1 dev code from what > it > was in Nov-Dec last year to the most current version > (less than a week old). > > Here is what's going on. There is a portlet which > is > generated by calling another pipeline fragment > matching "a.resource". It looks like a.resource > behaves correctly, however it seems that a.portlet, > which uses a.resource as its input does not realize > when a.resource's output changes and keeps working > with the incorrect cached version. > > The following works correctly: > http://localhost:8080/cocoon/a.resource?locale=en > - displays output in English > http://localhost:8080/cocoon/a.resource?locale=ru > - displays output in Russian > > Still fine: > http://localhost:8080/cocoon/a.portlet?locale=en > - displays output in English > > PROBLEM: > http://localhost:8080/cocoon/a.portlet?locale=ru > - displays output in ENGLISH! > > If I "touch" a.xsl in the following pipeline, and > hence, force the reload, everything works fine, > however when I change locale, it's back to the > behaviour I've just described. > > The following is a simplified pipeline: > > > > > > > > > > > > > > > > > >value="{locale}"/> > > > > > > > > Cheers, > -Alex > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Very strange behaviour -- caching bug?
Hi Mark, Thanks for your help. I like your test case -- it simpler and cleaner. Do you (or anyone else) know how to submit this as a bug to make sure the developers know about it? Cheers, -Alex --- Mark H <[EMAIL PROTECTED]> wrote: > I tried out a simpler form: (don't have the source > code for your > actions/stylesheets) > > > >src="org.apache.cocoon.acting.RequestParamAction"/> > > > > > > > > > > > > > > > > > > > > > > > and got the same caching problem you got, can > anybody try the above in > v2.0.4 to see if it is a 2.1 bug? > > when I did the following it worked ok: > > > > > > > > > > > > It seems to be caching cocoon:/a.resource. I can't > see exactly what it's > doing because it's not generating any logs (it > should log caching in > sitemap.log). I'm also having problems with the > latest CVS it seems to be in > a state of flux. The only way to fix these problems > is to go deep into the > Cocoon's/Avalon/Excalibur source code and debug. > > -Original Message- > From: Alex Romayev [mailto:[EMAIL PROTECTED] > Sent: 03 March 2003 02:57PM > To: [EMAIL PROTECTED] > Subject: Very strange behaviour -- caching bug? > > > Hello, > > There is a very strange behaviour that my site > exibits > ever since I've upgraded my 2.1 dev code from what > it > was in Nov-Dec last year to the most current version > (less than a week old). > > Here is what's going on. There is a portlet which > is > generated by calling another pipeline fragment > matching "a.resource". It looks like a.resource > behaves correctly, however it seems that a.portlet, > which uses a.resource as its input does not realize > when a.resource's output changes and keeps working > with the incorrect cached version. > > The following works correctly: > http://localhost:8080/cocoon/a.resource?locale=en > - displays output in English > http://localhost:8080/cocoon/a.resource?locale=ru > - displays output in Russian > > Still fine: > http://localhost:8080/cocoon/a.portlet?locale=en > - displays output in English > > PROBLEM: > http://localhost:8080/cocoon/a.portlet?locale=ru > - displays output in ENGLISH! > > If I "touch" a.xsl in the following pipeline, and > hence, force the reload, everything works fine, > however when I change locale, it's back to the > behaviour I've just described. > > The following is a simplified pipeline: > > > > > > > > > > > > > > > > > >value="{locale}"/> > > > > > > > > Cheers, > -Alex > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Very strange behaviour -- caching bug?
I tried out a simpler form: (don't have the source code for your actions/stylesheets) and got the same caching problem you got, can anybody try the above in v2.0.4 to see if it is a 2.1 bug? when I did the following it worked ok: It seems to be caching cocoon:/a.resource. I can't see exactly what it's doing because it's not generating any logs (it should log caching in sitemap.log). I'm also having problems with the latest CVS it seems to be in a state of flux. The only way to fix these problems is to go deep into the Cocoon's/Avalon/Excalibur source code and debug. -Original Message- From: Alex Romayev [mailto:[EMAIL PROTECTED] Sent: 03 March 2003 02:57PM To: [EMAIL PROTECTED] Subject: Very strange behaviour -- caching bug? Hello, There is a very strange behaviour that my site exibits ever since I've upgraded my 2.1 dev code from what it was in Nov-Dec last year to the most current version (less than a week old). Here is what's going on. There is a portlet which is generated by calling another pipeline fragment matching "a.resource". It looks like a.resource behaves correctly, however it seems that a.portlet, which uses a.resource as its input does not realize when a.resource's output changes and keeps working with the incorrect cached version. The following works correctly: http://localhost:8080/cocoon/a.resource?locale=en - displays output in English http://localhost:8080/cocoon/a.resource?locale=ru - displays output in Russian Still fine: http://localhost:8080/cocoon/a.portlet?locale=en - displays output in English PROBLEM: http://localhost:8080/cocoon/a.portlet?locale=ru - displays output in ENGLISH! If I "touch" a.xsl in the following pipeline, and hence, force the reload, everything works fine, however when I change locale, it's back to the behaviour I've just described. The following is a simplified pipeline: Cheers, -Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Very strange behaviour -- caching bug?
Hello, There is a very strange behaviour that my site exibits ever since I've upgraded my 2.1 dev code from what it was in Nov-Dec last year to the most current version (less than a week old). Here is what's going on. There is a portlet which is generated by calling another pipeline fragment matching "a.resource". It looks like a.resource behaves correctly, however it seems that a.portlet, which uses a.resource as its input does not realize when a.resource's output changes and keeps working with the incorrect cached version. The following works correctly: http://localhost:8080/cocoon/a.resource?locale=en - displays output in English http://localhost:8080/cocoon/a.resource?locale=ru - displays output in Russian Still fine: http://localhost:8080/cocoon/a.portlet?locale=en - displays output in English PROBLEM: http://localhost:8080/cocoon/a.portlet?locale=ru - displays output in ENGLISH! If I "touch" a.xsl in the following pipeline, and hence, force the reload, everything works fine, however when I change locale, it's back to the behaviour I've just described. The following is a simplified pipeline: Cheers, -Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]