RE: StoreJanitor

2007-04-03 Thread Ard Schrijvers
> > Reinhard Poetz wrote: > > > P.S. Ard, answering to your mails is very difficult because > there are no I am very sorry...I hardly dare saying i am using outlook :-) I'll try to find a way in the stupid program for linebreaks or make the switch to Thunderbird. Ard > > line breaks.

Re: Continuation looks for wrong interpreter when using servlet protocol

2007-04-03 Thread Reinhard Poetz
Rice Yeh wrote: Hi, Here is another problem when using servlet protocol. A servlet S1 extends another servlet S2. A web continuation k is generated in S2. When k returns back, k is matched in S1 with match pattern "*.continue" which exists in S2 also. Then comes an error with message like "k

Continuation looks for wrong interpreter when using servlet protocol

2007-04-03 Thread Rice Yeh
Hi, Here is another problem when using servlet protocol. A servlet S1 extends another servlet S2. A web continuation k is generated in S2. When k returns back, k is matched in S1 with match pattern "*.continue" which exists in S2 also. Then comes an error with message like "k bound to S2, but loo

[jira] Commented: (COCOON-1425) Sessions that use Flowscript are not serializable

2007-04-03 Thread Reinhard Poetz (JIRA)
[ https://issues.apache.org/jira/browse/COCOON-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486579 ] Reinhard Poetz commented on COCOON-1425: Does session replication work for you as expected? Have you been ab

Re: Circular deps in servlet connections (was Re: Servlet Services + Shielding)

2007-04-03 Thread Rice Yeh
On 4/4/07, Grzegorz Kossakowski <[EMAIL PROTECTED]> wrote: Alexander Klimetschek napisał(a): > Grzegorz Kossakowski schrieb: > > We do need the circular dependency: the basic principle is a super > block that runs cforms that are mainly defined in a child block - the > model lies in the child bl

[jira] Commented: (COCOON-1425) Sessions that use Flowscript are not serializable

2007-04-03 Thread Michael Mest (JIRA)
[ https://issues.apache.org/jira/browse/COCOON-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486576 ] Michael Mest commented on COCOON-1425: -- I think, that's the same Problem I had since I have enabled "distributa

Re: Circular deps in servlet connections (was Re: Servlet Services + Shielding)

2007-04-03 Thread Grzegorz Kossakowski
Alexander Klimetschek napisał(a): Grzegorz Kossakowski schrieb: We do need the circular dependency: the basic principle is a super block that runs cforms that are mainly defined in a child block - the model lies in the child block and it contains a selection-list whose source is block:child:/

Re: StoreJanitor

2007-04-03 Thread Reinhard Poetz
Reinhard Poetz wrote: P.S. Ard, answering to your mails is very difficult because there are no line breaks. Is anybody else experiencing the same problem or is it only me? Jörg pointed me to the "rewrap" function of Thunderbird. Using it fixes all my problems with never ending lines. Thanks

Re: [release] Prepare RC1 from trunk (core + many blocks + achetypes + rcl-maven-plugin)

2007-04-03 Thread Jorg Heymans
Reinhard Poetz wrote: The limiting factor is that nobody has done it yet. It would be great if you create the artifact and put it into the Apache snapshot repo. Then we have some time to test it and if everything works fine, Marc will I've created a 1.3-SNAPSHOT off [1] and put it in m1-s

Re: StoreJanitor

2007-04-03 Thread Reinhard Poetz
Ard Schrijvers wrote: > Before I say things that are wrong, please consider that the StoreJanitor was invented long before I looked into the cocoon code, so probably a lot of discussion and good ideas has been around which I am not aware of. But still, my ideas about the StoreJanitor (and sorry

Re: Circular deps in servlet connections (was Re: Servlet Services + Shielding)

2007-04-03 Thread Alexander Klimetschek
Grzegorz Kossakowski schrieb: My opinion is that circular dependencies should not be allowed and I agree that more meaningful exception is needed here. We do need the circular dependency: the basic principle is a super block that runs cforms that are mainly defined in a child block - the model

[jira] Created: (COCOON-2036) Handle circular dependencies in servlet connections

2007-04-03 Thread Alexander Klimetschek (JIRA)
Handle circular dependencies in servlet connections --- Key: COCOON-2036 URL: https://issues.apache.org/jira/browse/COCOON-2036 Project: Cocoon Issue Type: Bug Components: - Servlet s

Re: Circular deps in servlet connections (was Re: Servlet Services + Shielding)

2007-04-03 Thread Grzegorz Kossakowski
Alexander Klimetschek napisał(a): Oh, I got it: there was a circular dependency in the servlet connections (A using B, B using A as super). It did work with the old block servlets, but now you get the very unhelpful exception. I don't think we actually need this circular connection in particula

Circular deps in servlet connections (was Re: Servlet Services + Shielding)

2007-04-03 Thread Alexander Klimetschek
Oh, I got it: there was a circular dependency in the servlet connections (A using B, B using A as super). It did work with the old block servlets, but now you get the very unhelpful exception. I don't think we actually need this circular connection in particular. But generally, two solutions are

Re: Servlet Services + Shielding

2007-04-03 Thread Alexander Klimetschek
Further debugging shows that the method ServletFactoryBean.getObject() is called by Spring (DefaultListableBeanFactory.getObjectFromFactoryBean(...)) *before* the embeddedServlet or any other property was set. So embeddedServlet is null, which makes the code inside getObject() fail: public

RE: StoreJanitor (was: Re: Moving reduced version of CachingSource to core | Configuration issues)

2007-04-03 Thread Ard Schrijvers
?? my mail got sended by accident :Sfinishing it now > be implemented quite easily, but might take long start up times) > 6) JCSCache has a complex configuration IMO. Therefor, I > added default configurations to choose from, for example: where size might be small, medium,

RE: StoreJanitor (was: Re: Moving reduced version of CachingSource to core | Configuration issues)

2007-04-03 Thread Ard Schrijvers
Hello, > > Ard Schrijvers wrote: > > i would be glad to share the code and my ideas, for example > about this whole > StoreJanitor idea :-) ) > > Just curious, what did you mean by "this whole StoreJanitor idea"? Before I say things that are wrong, please consider that the StoreJanitor was i

Servlet Services + Shielding

2007-04-03 Thread Alexander Klimetschek
Hi Servlet Hackers, I am switching from our old block servlet config to the current servlet services in trunk and have problems with the configuration. I have two problems: 1) I changed the spring configuration to look like the following snippet, but I get an exception (see below). Debugging

Re: [result][vote] Move CachingSource to cocoon-core

2007-04-03 Thread Reinhard Poetz
Reinhard Poetz wrote: Reinhard Poetz wrote: Because of dependencies on the event-cache block, the caching source was added to the repository block when it moved out from scratchpad. After some refactorings I should be able now to move it to cocoon-core without having to add any new depenende

Re: Parameters in request get lost when using servlet: protocol

2007-04-03 Thread Alexander Klimetschek
Rice Yeh schrieb: Thank you for your solution. But I still feel weird for a brand new request being created for a called block (servlet), at least for a super block (servlet). Having a look at the source code, each new brand request and response are supposed to be stored in its call frame (actual