Re: Status of repository block and webdav question.

2004-05-19 Thread Rolf Kulemann
On Tue, 2004-05-18 at 14:33, Johann Romefort wrote: Hi, Could someone provide me with a quick note status about the repository block? IMHO, cocoon has no real repository integration. Is there something already useable in the CVS? Also I m wondering what are the pros and cons about using

Re: Status of repository block and webdav question.

2004-05-19 Thread Guido Casper
Johann Romefort wrote: Hi, Could someone provide me with a quick note status about the repository block? Is there something already useable in the CVS? Also I m wondering what are the pros and cons about using Slide block or WebDAV block. My take on this is: Consider using the Slide block for

Re: Status of repository block and webdav question.

2004-05-19 Thread Rolf Kulemann
On Wed, 2004-05-19 at 09:10, Guido Casper wrote: Rolf Kulemann wrote: What u mean with Repository block? IMHO there are currently two approaches hosted within the repository bloch, which should be divided normally. 1.) SourceRepository which acts on various interfaces like

Re: Status of repository block and webdav question.

2004-05-19 Thread Guido Casper
Rolf Kulemann wrote: What u mean with Repository block? IMHO there are currently two approaches hosted within the repository bloch, which should be divided normally. 1.) SourceRepository which acts on various interfaces like VersionableSource etc. 2.) Repository interface with a WEbDAV _only_

Re: Status of repository block and webdav question.

2004-05-19 Thread Rolf Kulemann
On Wed, 2004-05-19 at 09:10, Guido Casper wrote: Rolf Kulemann wrote: What u mean with Repository block? IMHO there are currently two approaches hosted within the repository bloch, which should be divided normally. 1.) SourceRepository which acts on various interfaces like

Re: Status of repository block and webdav question.

2004-05-19 Thread Rolf Kulemann
On Wed, 2004-05-19 at 08:58, Guido Casper wrote: Johann Romefort wrote: Hi, Could someone provide me with a quick note status about the repository block? Is there something already useable in the CVS? Also I m wondering what are the pros and cons about using Slide block or WebDAV

[IMP] Something is wrong with out stores

2004-05-19 Thread Carsten Ziegeler
The more I look into this store problem, the more I get confused. I think I understood from Sylvains explanation that the persistent store should only be used by our store as a back up. Looking through our code, I found out, that some components still use the persistent store: - StatusGenerator -

Re: [IMP] Something is wrong with out stores

2004-05-19 Thread Upayavira
Carsten Ziegeler wrote: The more I look into this store problem, the more I get confused. I think I understood from Sylvains explanation that the persistent store should only be used by our store as a back up. Looking through our code, I found out, that some components still use the persistent

RE: [IMP] Something is wrong with out stores

2004-05-19 Thread Carsten Ziegeler
Upayavira wrote: Carsten Ziegeler wrote: The more I look into this store problem, the more I get confused. I think I understood from Sylvains explanation that the persistent store should only be used by our store as a back up. Looking through our code, I found out, that some components

Persistent storing should work now

2004-05-19 Thread Carsten Ziegeler
Due to our change to JCS I found a serious bug in our own caching keys: the hash code wasn't always calculated properly :( This resulted in a) an unusable persistent store as after an application restart the keys didn't match anymore and b) other environments like CLI etc. couldn't use the

CInclude caching in pipelines

2004-05-19 Thread José Ignacio París Prieto
Hello, I,ve 2 questions about CInclude and caching: - it seems to implement the CacheableProcessingComponent interface, in order to support caching in a pipeline, but, looking through the code, the getKey method ALWAYS RETURN 1 for all instances of the component. It's supossed that the key

[VOTE] Release on monday

2004-05-19 Thread Carsten Ziegeler
I think we fixed the most serious problems for 2.1.5 now. If noone objects I will release the current state on monday, 24th of May. So the code freeze will continue until then. This gives us some more days to test and possibly fix bugs. Or is there anything serious that I did oversee? Carsten

RE: CInclude caching in pipelines

2004-05-19 Thread Carsten Ziegeler
José Ignacio París Prieto wrote: Hello, I,ve 2 questions about CInclude and caching: - it seems to implement the CacheableProcessingComponent interface, in order to support caching in a pipeline, but, looking through the code, the getKey method ALWAYS RETURN 1 for all instances of the

Re: [IMP] Something is wrong with out stores

2004-05-19 Thread Sylvain Wallez
Carsten Ziegeler wrote: The more I look into this store problem, the more I get confused. I think I understood from Sylvains explanation that the persistent store should only be used by our store as a back up. Looking through our code, I found out, that some components still use the persistent

Re: [VOTE] Release on monday

2004-05-19 Thread Ugo Cei
Carsten Ziegeler wrote: Or is there anything serious that I did oversee? Nothing, apart a few failing anteater tests. I think those are due to faulty testcases more than to faulty code. Or maybe it's just wishful thinking. Anyway, +1 for a release on Monday. Hopefully I'll find some time to

Re: [VOTE] Release on monday

2004-05-19 Thread Bertrand Delacretaz
Le 19 mai 04, à 10:49, Carsten Ziegeler a écrit : ...If noone objects I will release the current state on monday, 24th of May +1, but won't be able to help (once again), leaving for a holiday tomorrow till Sunday. -Bertrand

RE: [IMP] Something is wrong with out stores

2004-05-19 Thread Carsten Ziegeler
Sylvain Wallez wrote: StatusGenerator explicitely display information about the various stores, and as Upayavira said ClearPersistentStoreAction clears, well... the persistent store. :) So it can be considered legal for them to access the persistent store *if it exists*. We should

Re: CInclude caching in pipelines

2004-05-19 Thread José Ignacio París Prieto
Sorry for my misunderstanding :), but ... does it means that the CInclude transformer isn't aware of changes of the included sources, and, consecuently, it doesn't report those changes to the pipeline component, returning the cached contents despite they are obsolete? If it does so, it means that

Re: [VOTE] Release on monday

2004-05-19 Thread Joerg Heinicke
On 19.05.2004 10:49, Carsten Ziegeler wrote: I think we fixed the most serious problems for 2.1.5 now. Can you sum up the status of the store issues? There were hundreds of mail on it especially on Monday. Before this week we had a non-working persistent store, now we have no longer a

RE: [VOTE] Release on monday

2004-05-19 Thread Carsten Ziegeler
Joerg Heinicke wrote: On 19.05.2004 10:49, Carsten Ziegeler wrote: I think we fixed the most serious problems for 2.1.5 now. Can you sum up the status of the store issues? No, I lost track of it... There were hundreds of mail on it especially on Monday. Before this week we had a

Re: Persistent storing should work now

2004-05-19 Thread Upayavira
Carsten Ziegeler wrote: Due to our change to JCS I found a serious bug in our own caching keys: the hash code wasn't always calculated properly :( This resulted in a) an unusable persistent store as after an application restart the keys didn't match anymore and b) other environments like CLI

Re: [VOTE] Release on monday

2004-05-19 Thread Upayavira
Carsten Ziegeler wrote: I think we fixed the most serious problems for 2.1.5 now. If noone objects I will release the current state on monday, 24th of May. So the code freeze will continue until then. This gives us some more days to test and possibly fix bugs. Or is there anything serious that I

Re: [IMP] Something is wrong with out stores

2004-05-19 Thread Geoff Howard
Carsten Ziegeler wrote: The more I look into this store problem, the more I get confused. I think I understood from Sylvains explanation that the persistent store should only be used by our store as a back up. Looking through our code, I found out, that some components still use the persistent

Re: Status of repository block and webdav question.

2004-05-19 Thread Guido Casper
Rolf Kulemann wrote: On Wed, 2004-05-19 at 09:10, Guido Casper wrote: Rolf Kulemann wrote: What u mean with Repository block? IMHO there are currently two approaches hosted within the repository bloch, which should be divided normally. 1.) SourceRepository which acts on various interfaces like

RE: Persistent storing should work now

2004-05-19 Thread Carsten Ziegeler
Upayavira wrote: Carsten Ziegeler wrote: Due to our change to JCS I found a serious bug in our own caching keys: the hash code wasn't always calculated properly :( This resulted in a) an unusable persistent store as after an application restart the keys didn't match anymore and

RE: [VOTE] Release on monday

2004-05-19 Thread Carsten Ziegeler
Upayavira wrote: I need to remove the test-suite and use samples/test, and confirm that Ugo's fixes have made the CocoonBeanTestCase work, and then re-enable it. But, as that test is currently disabled, releasing with it in its current state is not a major problem. I'd just like to

Re: [VOTE] Release on monday

2004-05-19 Thread Joerg Heinicke
On 19.05.2004 13:02, Carsten Ziegeler wrote: Before this week we had a non-working persistent store, now we have no longer a persistent store, but a two-stage caching system with both JCS and EHCache? What about the Serializable issues? Ok, let me try it: - Between 2.1.4 and 2.1.5 we had the

Re: [VOTE] Release on monday

2004-05-19 Thread Sylvain Wallez
Joerg Heinicke wrote: On 19.05.2004 13:02, Carsten Ziegeler wrote: Before this week we had a non-working persistent store, now we have no longer a persistent store, but a two-stage caching system with both JCS and EHCache? What about the Serializable issues? Ok, let me try it: - Between 2.1.4

Re: Status of repository block and webdav question.

2004-05-19 Thread Rolf Kulemann
On Wed, 2004-05-19 at 13:28, Guido Casper wrote: Rolf Kulemann wrote: [...] Sorry, but they are different to me. Repository acts on String like paths and exposes services. The SourceRepository just acts on services exposed by the various *Source interfaces. That looks to me like two

Re: [VOTE] Release on monday

2004-05-19 Thread Ugo Cei
Upayavira wrote: I need to remove the test-suite and use samples/test, and confirm that Ugo's fixes have made the CocoonBeanTestCase work, and then re-enable it. A word of caution. My fixes add the blocks directory and block-provided jars to the classpath for tests and make the junit-tests

generator jars in other location than /lib /classes

2004-05-19 Thread Peter Lerche
Hi, I am going bonkers. After 2 weeks I have still not cracked how to change cocoon 2.1.5 to accept other locations for its sitemap elements than the /lib and /classes dir. The file exist-optional.jar contains a 3part sitemap generator. I am forced to have this file located in a different

Re: generator jars in other location than /lib /classes

2004-05-19 Thread Bertrand Delacretaz
Le 19 mai 04, à 14:43, Peter Lerche a écrit : ...After 2 weeks I have still not cracked how to change cocoon 2.1.5 to accept other locations for its sitemap elements than the /lib and /classes dir hmmm...I'm no expert on servlet containers, but isn't that a limitation (or rather a security

Re: generator jars in other location than /lib /classes

2004-05-19 Thread Vadim Gritsenko
Bertrand Delacretaz wrote: Le 19 mai 04, à 14:43, Peter Lerche a écrit : ...After 2 weeks I have still not cracked how to change cocoon 2.1.5 to accept other locations for its sitemap elements than the /lib and /classes dir See ParanoidCocoonServlet in paranoid block, should be possible to

Re: generator jars in other location than /lib /classes

2004-05-19 Thread Peter Lerche
Hi, I'm no expert either, but no there is no constraints. This is a JBoss setup and I am able to access any jar at any location using Jboss's urlclassloader or JBOSS_CLASSPATH. (I assume that this would also be the case in a non-jboss installation using CLASSPATH) Cocoon (Avalon ?) does not

Re: generator jars in other location than /lib /classes

2004-05-19 Thread Vadim Gritsenko
Peter Lerche wrote: Hi, I'm no expert either, but no there is no constraints. This is a JBoss setup and I am able to access any jar at any location using Jboss's urlclassloader or JBOSS_CLASSPATH. (I assume that this would also be the case in a non-jboss installation using CLASSPATH) Cocoon

Re: cvs commit: cocoon-2.1/src/documentation/xdocs/developing stores.xml book.xml

2004-05-19 Thread Vadim Gritsenko
[EMAIL PROTECTED] wrote: section titleThe Store (aka main Store)/title p The store (role emStore.ROLE/em) is used to store objects that are serializable. Ummm... Hate repeating [1] myself but this is not correct. See DefaultStore (which extends

RE: [VOTE] Release on monday

2004-05-19 Thread Carsten Ziegeler
Vadim Gritsenko wrote: Let's clarify something here about all those stores: Transient store: MUST hold NON Serializable objects, MUST NOT persist objects. Persistent store: MUST reject NON Serializable objects, MUST persist objects. Store: MUST hold NON Serializable

Re: [VOTE] Release on monday

2004-05-19 Thread leo leonid
On 19.05.2004, at 14:52, Vadim Gritsenko wrote: I'm +1 on release, if and only if, we note these above bugs in the known issues list. Vadim Please give me that list!!! I updated a server hosting a bunch of XSPs to current CVS. Using the default cocoon.xconf settings, first everything is fine,

AW: [VOTE] Release on monday

2004-05-19 Thread Marco Rolappe
just as a sidenote; I think the naming is somewhat wrong, it muddies the contracts. IMO there should be: - ObjectCache - responsibility: (temporarily) cache objects to increase performance - MIGHT persist these objects (if possible), but this is not guaranteed by the contract

Re: [VOTE] Release on monday

2004-05-19 Thread Tim Larson
On Wed, May 19, 2004 at 08:52:52AM -0400, Vadim Gritsenko wrote: snip/ For those who have not followed - this was the behavior of the stores in previous releases of Cocoon (before refactoring we had only two stores, IIRC, but same behavior). Given terminology above, we can have a working

Re: [VOTE] Release on monday

2004-05-19 Thread Antonio Gallardo
Carsten Ziegeler dijo: I think we fixed the most serious problems for 2.1.5 now. If noone objects I will release the current state on monday, 24th of May. So the code freeze will continue until then. This gives us some more days to test and possibly fix bugs. Or is there anything serious

DO NOT REPLY [Bug 29103] - load function in v3/Form.js fails

2004-05-19 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29103. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Custom Transformers

2004-05-19 Thread Tony Collen
Hey everybody, I'm about to dive in and finally write a custom transformer. My use case is this: I am going to look for a certain element in the stream with a specific namespace, and when I see it, I need to get all the character content (i.e. everything that characters() would return),

DO NOT REPLY [Bug 29103] New: - load function in v3/Form.js fails

2004-05-19 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29103. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

RE: [portal] Implementing Login coplet with CForms

2004-05-19 Thread Alex Romayev
--- Alex Romayev [EMAIL PROTECTED] wrote: Is there a way of making request parameters available to CForms? Adding the above configuration should actually do the trick. Hmm. Just to make sure: Does Cocoon receive the form values at all (which means is the form

AW: Custom Transformers

2004-05-19 Thread Marco Rolappe
hi tony, AFAIR all that recording functionality you need exists in AbstractSAXTransformer. so, slightly modified, that pseudocode should do it. -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Tony Collen Gesendet: Mittwoch, 19. Mai 2004 23:06

Re: AW: Custom Transformers

2004-05-19 Thread Tony Collen
Marco Rolappe wrote: hi tony, AFAIR all that recording functionality you need exists in AbstractSAXTransformer. so, slightly modified, that pseudocode should do it. Marco, Aha! Thanks for pointing me in the right direction. Tony