[jira] Closed: (COCOON-2154) Servlet:/ protocol: Support absolute URIs

2008-03-11 Thread Reinhard Poetz (JIRA)
[ https://issues.apache.org/jira/browse/COCOON-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Reinhard Poetz closed COCOON-2154. -- Resolution: Fixed Fix version (Component): Parent values: Servlet Service

[jira] Closed: (COCOON-1831) Passing parameters to sub calls

2008-03-11 Thread Reinhard Poetz (JIRA)
[ https://issues.apache.org/jira/browse/COCOON-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Reinhard Poetz closed COCOON-1831. -- Resolution: Fixed patch applied. req params attrs and session are passed/shared. Passing

[jira] Updated: (COCOON-1964) Redirects inside a block called via the servlet protocol fail

2008-03-11 Thread Reinhard Poetz (JIRA)
[ https://issues.apache.org/jira/browse/COCOON-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Reinhard Poetz updated COCOON-1964: --- Summary: Redirects inside a block called via the servlet protocol fail (was: Redirects

Re: [#COCOON-2168] ResourceReader produces Java Heap Overflow when reading a huge resource - ASF JIRA

2008-03-11 Thread Carsten Ziegeler
Joerg Heinicke wrote: On 05.03.2008 23:06, Joerg Heinicke wrote: We could argue about another default value than -1 though. Something like 1024^2. What do others think? Shall we change the default value from buffer everything (which lead to the OutOfMemoryError [1]) to something more

Re: [#COCOON-2168] ResourceReader produces Java Heap Overflow when reading a huge resource - ASF JIRA

2008-03-11 Thread Carsten Ziegeler
Felix Knecht schrieb: Carsten Ziegeler schrieb: Joerg Heinicke wrote: On 05.03.2008 23:06, Joerg Heinicke wrote: We could argue about another default value than -1 though. Something like 1024^2. What do others think? Shall we change the default value from buffer everything (which lead to

Re: [#COCOON-2168] ResourceReader produces Java Heap Overflow when reading a huge resource - ASF JIRA

2008-03-11 Thread Carsten Ziegeler
Felix Knecht wrote: You need to turn off the buffering of the pipeline as well. I don't have the parameter name at hand, I assume it's buffer-size as well but could be different: map:pipeline id=test-nocache type=noncaching map:parameter name=buffer-size value=0 / map:match

Re: [#COCOON-2168] ResourceReader produces Java Heap Overflow when reading a huge resource - ASF JIRA

2008-03-11 Thread Felix Knecht
You need to turn off the buffering of the pipeline as well. I don't have the parameter name at hand, I assume it's buffer-size as well but could be different: map:pipeline id=test-nocache type=noncaching map:parameter name=buffer-size value=0 / map:match pattern=nocache

Re: [#COCOON-2168] ResourceReader produces Java Heap Overflow when reading a huge resource - ASF JIRA

2008-03-11 Thread Felix Knecht
Carsten Ziegeler schrieb: Joerg Heinicke wrote: On 05.03.2008 23:06, Joerg Heinicke wrote: We could argue about another default value than -1 though. Something like 1024^2. What do others think? Shall we change the default value from buffer everything (which lead to the OutOfMemoryError

[jira] Commented: (COCOON-2168) ResourceReader produces Java Heap Overflow when reading a huge resource

2008-03-11 Thread Felix Knecht (JIRA)
[ https://issues.apache.org/jira/browse/COCOON-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12577373#action_12577373 ] Felix Knecht commented on COCOON-2168: -- After all it turned out that it's a problem

[jira] Closed: (COCOON-2168) ResourceReader produces Java Heap Overflow when reading a huge resource

2008-03-11 Thread Felix Knecht (JIRA)
[ https://issues.apache.org/jira/browse/COCOON-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Knecht closed COCOON-2168. Resolution: Fixed It's a configuration problem. ResourceReader produces Java Heap Overflow when

Re: [#COCOON-2168] ResourceReader produces Java Heap Overflow when reading a huge resource - ASF JIRA

2008-03-11 Thread Joerg Heinicke
On 11.03.2008 04:48, Carsten Ziegeler wrote: We could argue about another default value than -1 though. Something like 1024^2. What do others think? Shall we change the default value from buffer everything (which lead to the OutOfMemoryError [1]) to something more secure in the sense of

Re: [#COCOON-2168] ResourceReader produces Java Heap Overflow when reading a huge resource - ASF JIRA

2008-03-11 Thread Carsten Ziegeler
Joerg Heinicke wrote: On 11.03.2008 04:48, Carsten Ziegeler wrote: We could argue about another default value than -1 though. Something like 1024^2. What do others think? Shall we change the default value from buffer everything (which lead to the OutOfMemoryError [1]) to something more

Re: svn commit: r635881 - /cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/spring/ServletFactoryBean.java

2008-03-11 Thread Grzegorz Kossakowski
[EMAIL PROTECTED] pisze: Author: reinhard Date: Tue Mar 11 03:58:38 2008 New Revision: 635881 URL: http://svn.apache.org/viewvc?rev=635881view=rev Log: the context attribute might not exist [...] +if(contextPath != null) { +int tmp = contextPath.indexOf(':'); +

Re: [#COCOON-2168] ResourceReader produces Java Heap Overflow when reading a huge resource - ASF JIRA

2008-03-11 Thread Antonio Gallardo
Carsten Ziegeler escribió: Hmm, ok, we could change this in the main sitemap as a default configuration while leaving it in the java code untouched. However, I still think that this is not needed, if people want to stream huge responses, they should think about what they are doing and