Re: AW: testing cache - issues with "*" in the source path

2003-12-19 Thread Sarah Haff
Hi Marco,

No, I mean something like this:



Note there is a "*" in the path . Seems like "*" is
causing the content to be NOT cached.

If there is not "*" in the path, then the caching
seems to work. strange.

They way our application is designed, we need to have
a "*" in some path names.

Thanks.
Sarah
--- Marco Rolappe <[EMAIL PROTECTED]> wrote:
> hi sarah,
> 
> I don't know exactly what you mean with source path.
> if you mean the
>  note that the '*' is a
> wildcard, like it is in
> shells. you are using '*' in file names?
> 
> > -Ursprungliche Nachricht-
> > Von:
>
[EMAIL PROTECTED]
> >
>
[mailto:[EMAIL PROTECTED]
> Auftrag
> > von Sarah Haff
> > Gesendet: Samstag, 20. Dezember 2003 01:18
> > An: [EMAIL PROTECTED]
> > Betreff: Re: AW: testing cache - issues with "*"
> in the source path
> >
> >
> > Hello Marco,
> >
> > Thanks for testing the sitemap.xmap. It helped me
> a
> > lot.
> >
> > I think I have figured why the caching is not
> working
> > on some of my content.
> >
> > Some of the source paths that I am using have
> > non-alpha-numeric (i.e. NON [a-z][0-9])
> characters.
> >
> > e.g. if the source path contain a * then the
> caching
> > doesn't work. If I use a path that doesn't have a
> *,
> > then caching works.
> >
> > Any ideas why this might be happening?
> >
> > I will have to test a little more, before I call
> it a
> > bug.
> >
> > Thanks
> > Sarah
> >
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: testing cache - issues with "*" in the source path

2003-12-19 Thread Marco Rolappe
hi sarah,

I don't know exactly what you mean with source path. if you mean the
 note that the '*' is a wildcard, like it is in
shells. you are using '*' in file names?

> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Sarah Haff
> Gesendet: Samstag, 20. Dezember 2003 01:18
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: testing cache - issues with "*" in the source path
>
>
> Hello Marco,
>
> Thanks for testing the sitemap.xmap. It helped me a
> lot.
>
> I think I have figured why the caching is not working
> on some of my content.
>
> Some of the source paths that I am using have
> non-alpha-numeric (i.e. NON [a-z][0-9]) characters.
>
> e.g. if the source path contain a * then the caching
> doesn't work. If I use a path that doesn't have a *,
> then caching works.
>
> Any ideas why this might be happening?
>
> I will have to test a little more, before I call it a
> bug.
>
> Thanks
> Sarah
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: testing cache - issues with "*" in the source path

2003-12-19 Thread Sarah Haff
Hello Marco,

Thanks for testing the sitemap.xmap. It helped me a
lot.

I think I have figured why the caching is not working
on some of my content.

Some of the source paths that I am using have
non-alpha-numeric (i.e. NON [a-z][0-9]) characters.

e.g. if the source path contain a * then the caching
doesn't work. If I use a path that doesn't have a *,
then caching works.

Any ideas why this might be happening?

I will have to test a little more, before I call it a
bug.

Thanks
Sarah


--- Marco Rolappe <[EMAIL PROTECTED]> wrote:
> sarah,
> 
> I did a quick test with your sitemap. I had to
> comment out the transformer
> step as I don't have your stylesheet.
> 
> a request to the index.html yields following lines
> (among others):
> 
> ...
> DEBUG   (2003-12-20) 00:39.51:561   [sitemap]
> (/cocoon/tmp/index.html)
>
http8080-Processor4/AbstractCachingProcessingPipeline:
> Found cached response
> for 'index.html' using key:
>
PK_G-file-file:/g:/dev/cvs/cocoon-2.1-HEAD/build/webapp/tmp/index.xml_S-html
> -1
> DEBUG   (2003-12-20) 00:39.51:561   [sitemap]
> (/cocoon/tmp/index.html)
>
http8080-Processor4/AbstractCachingProcessingPipeline:
> validatePipeline:
> using valid cached content for 'index.html'.
> ...
> 
> one thing I noted was that you used 'type="xalan"'
> in the transformer step.
> this one isn't defined in the sitemap, at least not
> in the sitemap you
> attached, so I assume you have defined it in the
> parent sitemap. otherwise
> you should get an error message.
> 
> > -Ursprungliche Nachricht-
> > Von:
>
[EMAIL PROTECTED]
> >
>
[mailto:[EMAIL PROTECTED]
> Auftrag
> > von Sarah Haff
> > Gesendet: Freitag, 19. Dezember 2003 23:46
> > An: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Betreff: Re: AW: testing cache
> >
> >
> > Marco,
> >
> > Here is the sitemap.xmap (i have also attached it
> with
> > this email.
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: testing cache

2003-12-19 Thread Marco Rolappe
sarah,

I did a quick test with your sitemap. I had to comment out the transformer
step as I don't have your stylesheet.

a request to the index.html yields following lines (among others):

...
DEBUG   (2003-12-20) 00:39.51:561   [sitemap] (/cocoon/tmp/index.html)
http8080-Processor4/AbstractCachingProcessingPipeline: Found cached response
for 'index.html' using key:
PK_G-file-file:/g:/dev/cvs/cocoon-2.1-HEAD/build/webapp/tmp/index.xml_S-html
-1
DEBUG   (2003-12-20) 00:39.51:561   [sitemap] (/cocoon/tmp/index.html)
http8080-Processor4/AbstractCachingProcessingPipeline: validatePipeline:
using valid cached content for 'index.html'.
...

one thing I noted was that you used 'type="xalan"' in the transformer step.
this one isn't defined in the sitemap, at least not in the sitemap you
attached, so I assume you have defined it in the parent sitemap. otherwise
you should get an error message.

> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Sarah Haff
> Gesendet: Freitag, 19. Dezember 2003 23:46
> An: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Betreff: Re: AW: testing cache
>
>
> Marco,
>
> Here is the sitemap.xmap (i have also attached it with
> this email.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: testing cache

2003-12-19 Thread Sarah Haff
Marco,

Here is the sitemap.xmap (i have also attached it with
this email.


http://apache.org/cocoon/sitemap/1.0";>



 




 

 
 


false

false

 

 


false

false

 
org.apache.cocoon.components.xslt.XSLTProcessor/Saxon 
 
 

 

 



  


  
iso-8859-1
false
  
   
  
   


  
 

   filename

 
  
  
 






 
  


  









   


   


   


   
  


---


--- Marco Rolappe <[EMAIL PROTECTED]> wrote:
> hi sarah,
> 
> it doesn't to be exactly the line I mentioned, just
> something similar. but I
> if you don't get something like 'using valid cached
> content', then there's
> probably nothing cached.
> 
> whether something gets cached depends on the
> components used. e.g. if you
> generate from XSPs (and don't prepare them for being
> cacheable), the first
> step in your pipeline and thus the whole pipeline
> won't be cacheable.
> 
> you could create a test pipeline, with a 'file'
> generator and an 'xml'
> serializer. that whole pipeline is cacheable and
> that should be reflected in
> the logs.
> 
> you might want to provide a bit of info about the
> components used in your
> pipeline to see why it's not caching.
> 
> > -Ursprungliche Nachricht-
> > Von:
>
[EMAIL PROTECTED]
> >
>
[mailto:[EMAIL PROTECTED]
> Auftrag
> > von Sarah Haff
> > Gesendet: Freitag, 19. Dezember 2003 22:40
> > An: [EMAIL PROTECTED]
> > Betreff: Re: AW: testing cache
> >
> >
> > > > first ensure that the debug level for category
> > > > 'sitemap' is set to DEBUG.
> >
> > ok I figured this out (in WEB-INF/logkit.xconf) .
> But
> > I still dont see the :
> > ---
> > validatePipeline:
> > using valid cached content for 
> > ---
> >
> > Does that mean the caching is not working? I am
> using
> > Cocoon 2.1.3
> >
> > Thanks.
> > Sarah
> >
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

sitemap.xmap
Description: sitemap.xmap
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

AW: testing cache

2003-12-19 Thread Marco Rolappe
hi sarah,

it doesn't to be exactly the line I mentioned, just something similar. but I
if you don't get something like 'using valid cached content', then there's
probably nothing cached.

whether something gets cached depends on the components used. e.g. if you
generate from XSPs (and don't prepare them for being cacheable), the first
step in your pipeline and thus the whole pipeline won't be cacheable.

you could create a test pipeline, with a 'file' generator and an 'xml'
serializer. that whole pipeline is cacheable and that should be reflected in
the logs.

you might want to provide a bit of info about the components used in your
pipeline to see why it's not caching.

> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Sarah Haff
> Gesendet: Freitag, 19. Dezember 2003 22:40
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: testing cache
>
>
> > > first ensure that the debug level for category
> > > 'sitemap' is set to DEBUG.
>
> ok I figured this out (in WEB-INF/logkit.xconf) . But
> I still dont see the :
> ---
> validatePipeline:
> using valid cached content for 
> ---
>
> Does that mean the caching is not working? I am using
> Cocoon 2.1.3
>
> Thanks.
> Sarah
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: testing cache

2003-12-19 Thread Sarah Haff
> > first ensure that the debug level for category
> > 'sitemap' is set to DEBUG.

ok I figured this out (in WEB-INF/logkit.xconf) . But
I still dont see the :
---
validatePipeline:
using valid cached content for 
---

Does that mean the caching is not working? I am using
Cocoon 2.1.3

Thanks.
Sarah


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: testing cache

2003-12-19 Thread Sarah Haff
Thanks for the response Marco:

> first ensure that the debug level for category
> 'sitemap' is set to DEBUG.

how can I set this??? Thanks.

Sarah

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: testing cache

2003-12-19 Thread Marco Rolappe
hi sarah,

first ensure that the debug level for category 'sitemap' is set to DEBUG.

then, after accessing cached pipelines have look into sitemap.log and look
for lines like:

...
DEBUG   (2003-12-19) 21:40.14:193   [sitemap] (/emotion/index)
http8080-Processor2/AbstractCachingProcessingPipeline: validatePipeline:
using valid cached content for 'index'.
...

> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Sarah Haff
> Gesendet: Freitag, 19. Dezember 2003 20:26
> An: [EMAIL PROTECTED]
> Betreff: testing cache
>
>
> Hi,
>
> I have enabled cache on my cocoon server by using the
>  
>
> Is there a way I can check/test if the caching is
> functioning properly or not?
>
> Thanks.
> Sarah
>
> __
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
>
> -
> 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]