Re: Avoiding OutOfMemory Errors by limiting data in pipeline

2008-06-10 Thread Bruce Atherton
Thanks for the effort, Joerg. I appreciate it. (And that of all the other developers for all the hard work). Joerg Heinicke wrote: Joerg Heinicke gmx.de> writes: 2. Does the full amount of the buffer automatically get allocated for each request, or does it grow gradually based on the xml

Re: [ANN] Apache Cocoon 2.2.0 Released

2008-05-21 Thread Bruce Atherton
Remember that Cocoon is created and maintained by volunteers. People just like you who had an itch to scratch, and so are devoting some of their spare time to making Cocoon better. So what you can do is start creating documentation for 2.2, since it sounds like that is where your itch is. :-)

Re: Avoiding OutOfMemory Errors by limiting data in pipeline

2008-04-24 Thread Bruce Atherton
cessor. Perhaps things were different in the 2.1.9 release? Regarding when this problem occurs, it only happens after the system has been under heavy load for many days. Joerg Heinicke wrote: On 23.04.2008 20:56, Bruce Atherton wrote: Here are some specifics, in case they are relevant. On

Avoiding OutOfMemory Errors by limiting data in pipeline

2008-04-23 Thread Bruce Atherton
I have been running into a real problem with OutOfMemory errors on Cocoon 2.1.9. The trouble seems to be that occasionally users request settings for some reports that end up killing the server with an OutOfMemory error. This also leaves us open to denial of service attacks. My question is whe

Re: Applet & Cocoon

2007-09-14 Thread Bruce Atherton
This is exactly the problem. Harald, your matcher is for the class file, not the signed JAR file. Since the class file cannot be signed by itself, no security permissions are available. I am guessing that your cocoon-generated HTML that references the applet or object tag does not have an "a

Re: Deploying Cocoon as a Portlet into Jetspeed 2

2007-06-27 Thread Bruce Atherton
Portlet and wrap the processAction() and render() methods with the equivalent Hibernate Session creation and destruction that OpenSessionInView does. But that solution seems rather clunky to me. Does anyone have any suggestions? Bruce Atherton wrote: Continuing my saga of trying to get a Cocoon

Re: Deploying Cocoon as a Portlet into Jetspeed 2

2007-06-26 Thread Bruce Atherton
yportlet". Has anyone got any suggestions as to why that is occurring and how to get around it? Could it have anything to do with the issues raised in this blog entry? http://bluxte.net/blog/2006-03/29-40-33.html Again, any help appreciated. Bruce Atherton wrote: I am trying to take

Re: Deploying Cocoon as a Portlet into Jetspeed 2

2007-06-26 Thread Bruce Atherton
Thanks for the reminder, Ard. I had intended to summarize those instructions once I had my system working and was able to describe the steps more generically. Thanks also for posting the link to the other conversation. To summarize the instructions from that email thread, particularly the ins

Deploying Cocoon as a Portlet into Jetspeed 2

2007-06-19 Thread Bruce Atherton
I am trying to take an existing application running under Cocoon 2.1.9 and deploy it as a set of portlets. Before I get that far, though, I want to make sure I understand how to deploy Cocoon as a JSR-168 portlet. To that end, I went through the following steps of trying to get Cocoon to work as a

Deploying coplets into other portlet containers

2007-05-10 Thread Bruce Atherton
Does anyone have any documentation, tutorials, examples, or what have you to show how to go about deploying a Cocoon application as a set of coplets into a JSR168 portlet container that is not Cocoon? I have a large application that uses Cocoon with a sitemap pipeline, flowscript, CForms, Hand

Composition in CForms

2006-12-21 Thread Bruce Atherton
I would like to use composition to build CForms. In other words, I would like to define smaller collections of widgets that define part of a form and aggregate them together into bigger collections that give larger portions of a form, and so on until eventually they find their way into a full f

Field that is either required or output

2006-10-27 Thread Bruce Atherton
I have a problem with form fields that are editable for some people and just displayed to others. When they are editable, they are required. When they are not editable, they have data already and just need to be displayed (and must not be required since no data will be submitted for them). Thes

Re: [poll] Java 5 as minimum requirement for Cocoon 2.2

2006-08-18 Thread Bruce Atherton
Reinhard Poetz wrote: Many thanks to everybody, who has participated so far, for your feedback. On [EMAIL PROTECTED] we voted about it and the voting proposal was rejected. The main reason is that large organizations (e.g. banks) are years behind in their usage of new JDK releases and that we

Re: [poll] Java 5 as minimum requirement for Cocoon 2.2

2006-08-14 Thread Bruce Atherton
Count this as a big +1 from me. We only run cocoon in a Java 5 VM anyway. The Concurrency package alone is a big reason to adopt Java 5. The speed of many algorithms can be vastly improved, as well as being made more thread-safe. Then there is the enhanced type safety you get with generics. Y

Re: Integer formatting

2005-11-09 Thread Bruce Atherton
Bruno Dumon wrote: the variant attribute here has no purpose, the plain convertor does not need any further configuration. The variant attribute is specific to the formatting convertor. Again, does no harm if it is there (but can confuse). I suspected it didn't, but those snippets

Integer formatting

2005-11-07 Thread Bruce Atherton
I have what I consider very odd behaviour in my forms. Specifically, javascript variables are being rendered as floats rather than integers in the HTML, but only if I tell the forms to render them as plain integers. So if I have the following flowscript: formData.queueList = [ {value:

Re: Accessing repeaterLoop variable from Cocoon Forms

2005-10-22 Thread Bruce Atherton
Sylvain Wallez wrote: Bruce Atherton wrote: I am trying to use repeaters in my application. I have a "More" and "Less" button to add and remove rows, and a hidden boolean widget to indicate the last row. For this purpose, I am trying to set the value using "repea

Accessing repeaterLoop variable from Cocoon Forms

2005-10-21 Thread Bruce Atherton
I am trying to use repeaters in my application. I have a "More" and "Less" button to add and remove rows, and a hidden boolean widget to indicate the last row. For this purpose, I am trying to set the value using "repeaterLoop.last". Trouble is, that value was never set to anything. So then I s

Getting a comma in my numbers

2005-06-01 Thread Bruce Atherton
I'm using Cocoon forms, and every time I have a number in a field it is coming back formatted with commas embedded in the number. This also means that the numbers are being truncated, since I have a maximum length on them. So I have a year field that I fill in with "2005", and when I get it out