DO NOT REPLY [PATCH QUEUE] Summary January 20 2004

2004-01-19 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to th

RE: No memory leak because of Recyclable!

2004-01-19 Thread Ralph Goers
Did you ever complete your performance metrics? Ralph -Original Message- From: Rottmann, Lars To: '[EMAIL PROTECTED]' Sent: 1/19/2004 5:01 AM Subject: AW: No memory leak because of Recyclable! > Carsten Ziegeler wrote: >>Volker Schmitt wrote: >> Hm we don't have this effect on our mach

Re: Cookie wrapper for continuation handling

2004-01-19 Thread Torsten Curdt
Hunsberger, Peter wrote: To follow up with an old post about handling continuation ids as request parameters and how that could cause caching problems: I wrote a quick set of changes to add the continuation id as a cookie in the setup method of one of my generators as follows: ...wait a minute! C

RE: [cforms] Forwarding: Explanation of "dynamic stuff in form mo del"

2004-01-19 Thread H . vanderLinden
Guys, I've tried to follow this discussion as much as I can. I thought it might help to introduce a "real world" example. Working on a medical application I'm running into HL7 V3 and CEN/TC251 13606 which are going to be the new standard definitions for storing and exchanging medical data. If thi

Cookie wrapper for continuation handling

2004-01-19 Thread Hunsberger, Peter
To follow up with an old post about handling continuation ids as request parameters and how that could cause caching problems: I wrote a quick set of changes to add the continuation id as a cookie in the setup method of one of my generators as follows: WebContinuation m_kont = Flo

RE: Please help - NullPointerException in flowscript that worked in 2 .1.3

2004-01-19 Thread H . vanderLinden
Hi, > I were also on the search for a NPE today. The reason was a missing > widget in the definition for the id in combination with a > repeater. What > does the stacktrace say? org.apache.avalon.framework.CascadingRuntimeException: "resource://org/apache/cocoon/woody/flow/javascript/woody2.j

Re: Flow or actions?

2004-01-19 Thread Joerg Heinicke
On 19.01.2004 22:16, Reinhard Poetz wrote: PS: It's Monday and we still don't know what's up! http://www.betaversion.org/~stefano/linotype/news/36/ Wow, [EMAIL PROTECTED] Congratulations. Joerg

Re: Please help - NullPointerException in flowscript that worked in 2 .1.3

2004-01-19 Thread Joerg Heinicke
On 19.01.2004 23:30, [EMAIL PROTECTED] wrote: Hi, I need some Woody features that are only available in 2.1.4 so I'm migrating from 2.1.3 to 2.1.4. Under 2.1.3 my flowscript.js (a modified copy of the form2_xml_bind example) worked, but failed due to a missing element in my data.xml file (for whi

Please help - NullPointerException in flowscript that worked in 2 .1.3

2004-01-19 Thread H . vanderLinden
Hi, I need some Woody features that are only available in 2.1.4 so I'm migrating from 2.1.3 to 2.1.4. Under 2.1.3 my flowscript.js (a modified copy of the form2_xml_bind example) worked, but failed due to a missing element in my data.xml file (for which I need "lenient"). The same script generates

RE: Flow or actions?

2004-01-19 Thread Reinhard Poetz
From: Joerg Heinicke > > PS: It's Monday and we still don't know what's up! http://www.betaversion.org/~stefano/linotype/news/36/ Congratulations and all the best Stefano! Cheers, Reinhard

Re: [Woody] observations, issues, questions, best practices

2004-01-19 Thread Christopher Oliver
Joerg Heinicke wrote: Hello, at work I may convert a Struts application into a Woody one. I played around with the Woody samples and created a form handling prototype for my application. But I came across some problems and made some observations I want to point out here. On the other hand the

Re: JX and nodes with appostrophes

2004-01-19 Thread Joerg Heinicke
On 19.01.2004 21:36, Christopher Oliver wrote: It appears that your DOM object contains multiple text nodes under the title element. How was it created? Can't you just use #{./title} or #{string(./title)}? But even with mixed content text() should return all text nodes. And how is it related to

Re: JX and nodes with appostrophes

2004-01-19 Thread Christopher Oliver
Joerg Heinicke wrote: On 16.01.2004 17:28, Christopher Oliver wrote: It appears that your DOM object contains multiple text nodes under the title element. How was it created? Can't you just use #{./title} or #{string(./title)}? But even with mixed content text() should return all text nodes.

Re: Flow or actions?

2004-01-19 Thread Joerg Heinicke
On 16.01.2004 11:07, Stefano Mazzocchi wrote: BTW, what about my suggested FlowScriptSelector? http://marc.theaimsgroup.com/?t=10686444852&r=1&w=2 The man on the whiteboard got stuck in the middle of a big thing that he will announce on monday, hopefully. The answer of the men on the whitebo

Re: JX and nodes with appostrophes

2004-01-19 Thread Joerg Heinicke
On 16.01.2004 17:28, Christopher Oliver wrote: It appears that your DOM object contains multiple text nodes under the title element. How was it created? Can't you just use #{./title} or #{string(./title)}? But even with mixed content text() should return all text nodes. And how is it related to

Re: [Woody] observations, issues, questions, best practices

2004-01-19 Thread Joerg Heinicke
On 19.01.2004 18:14, Marc Portier wrote: I ended up switching easily by not passing the DOM directly into the binding, but rather the root-node. I tried ownerDocument() and get following exception: "uncaught JavaScript exception: TypeError: [#document: null] is not a function." isn't the full n

Re: Pipleline Execution Stack Trace (was Cocoon Stack Traces)

2004-01-19 Thread Christopher Oliver
Vadim Gritsenko wrote: Christopher Oliver wrote: So I would propose something like the following: 1) Have the TreeProcessor pass the sitemap source location in setGenerator(), addTransformer(), and setSerializer() to the ProcessingPipeline. 2) In "Debug" mode instrument the PipelineProcessor t

Re: [Woody] observations, issues, questions, best practices

2004-01-19 Thread Marc Portier
Joerg Heinicke wrote: Joerg Heinicke gmx.de> writes: 4. The switching of binding to XML or beans costs to much effort. Binding file, JXTemplate (for the result), flow script. Maybe I did something the wrong way, but the XML needs at least a root element, why this would be annoying for the b

Re: Pipleline Execution Stack Trace (was Cocoon Stack Traces)

2004-01-19 Thread Vadim Gritsenko
Christopher Oliver wrote: So I would propose something like the following: 1) Have the TreeProcessor pass the sitemap source location in setGenerator(), addTransformer(), and setSerializer() to the ProcessingPipeline. 2) In "Debug" mode instrument the PipelineProcessor to write the output of e

Re: [CVS] - Flow broken?

2004-01-19 Thread Christopher Oliver
OK, thanks. Sylvain Wallez wrote: Christopher Oliver wrote: If you don't mind, can you explain how it fixes the problems reported by Unico and Antonio? What was happening before your fix and what will happen now when you have Sorry, I'm quite busy and didn't took the time for the minimal ex

Re: [CVS] - Flow broken?

2004-01-19 Thread Christopher Oliver
Sorry, my bad. Thanks for fixing. The System.err message occurs because FOM_Cocoon was not designed to be reentrant. I didn't consider the case of recursive calls to sendPage(), e.g. aggregation. I'll look into fixing this. Unico Hommes wrote: Christopher Oliver wrote: I've reverted the cha

RE: help - error when starting Tomcat with Cocoon 2.1.4-dev

2004-01-19 Thread H . vanderLinden
Aaarghh. Sorry for the noise. Bye, Helma > -Original Message- > From: Upayavira [mailto:[EMAIL PROTECTED] > Sent: Monday, 19 January 2004 16:59 > To: [EMAIL PROTECTED] > Subject: Re: help - error when starting Tomcat with Cocoon 2.1.4-dev > > > It is trying to bind to a port that is al

Re: help - error when starting Tomcat with Cocoon 2.1.4-dev

2004-01-19 Thread Upayavira
It is trying to bind to a port that is already bound. If you look, you'll see reference to HSQLDB. So, you've got two copies of Cocoon running, the second can't bind HSQLDB to the port it wants to, as the other has already claimed that port. Only matters if you actually use HSQLDB. Hope that h

Re: help - error when starting Tomcat with Cocoon 2.1.4-dev

2004-01-19 Thread Sylvain Wallez
[EMAIL PROTECTED] wrote: Hi, I've simply copied a freshly built Cocoon 2.1.4-dev webapp into the Tomcat webapps dir and every time I (re)start Tomcat I see the following error: Jan 19, 2004 4:38:56 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/16 config=D:\jakarta-tomcat-4.1.2

help - error when starting Tomcat with Cocoon 2.1.4-dev

2004-01-19 Thread H . vanderLinden
Hi, I've simply copied a freshly built Cocoon 2.1.4-dev webapp into the Tomcat webapps dir and every time I (re)start Tomcat I see the following error: Jan 19, 2004 4:38:56 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/16 config=D:\jakarta-tomcat-4.1.29\bin\..\conf\jk2.propert

Re: CLI-style publishing from webapp

2004-01-19 Thread Upayavira
Hmmph. Oh well. Means I have to engage with the real issue. In CocoonComponentManager.java, we have: public static void checkEnvironment(Logger logger) throws Exception { // TODO (CZ): This is only for testing - remove it later on final EnvironmentStack stack = (EnvironmentSt

Re: CLI-style publishing from webapp

2004-01-19 Thread Patrick Hess
Upayavira wrote: Scheduler = Quarz?? Already tried on friday to remove it from cocoon.xconf - without any luck. I compiled another web application this morning excluding all samples, doc and all optional blocks. Still the same stuff::-( All blocks are optional. Exclude all except the ones y

Re: CLI-style publishing from webapp

2004-01-19 Thread Upayavira
Patrick Hess wrote: Upayavira wrote: Looks to me like you've got a problem with the scheduler not being able to handle being run within in an outer and inner Cocoon. Try rebuilding your Cocoon without it. If you need it, then maybe you should try having the inner cocoon use a different webapp

RE: HELP - 2.1.4-dev cannot access internal pipelines!!!

2004-01-19 Thread H . vanderLinden
Confirmed, works here too. Thanks. Bye, Helma > -Original Message- > From: Antonio Gallardo [mailto:[EMAIL PROTECTED] > Sent: Monday, 19 January 2004 14:11 > To: [EMAIL PROTECTED] > Subject: RE: HELP - 2.1.4-dev cannot access internal pipelines!!! > > > Unico Hommes dijo: > > I just ch

Re: No memory leak because of Recyclable!

2004-01-19 Thread Sylvain Wallez
Carsten Ziegeler wrote: Sylvain Wallez wrote: I haven't followed all the discussion, but why is toString() used to identify components? I have asked the same question :) And didn't get any answer :( Wouldn't it be better to use a Map keyed by the identy of the object like java.util.Ide

Re: HELP - 2.1.4-dev cannot access internal pipelines!!!

2004-01-19 Thread Sylvain Wallez
Antonio Gallardo wrote: Unico Hommes dijo: I just checked in a fix that works for me. Can you try updating and test it? Yep. It works now. Thanks! :-D Collaborative debugging at work. Thanks to all! Sylvain -- Sylvain Wallez Anyware Technologies http:/

Re: CLI-style publishing from webapp

2004-01-19 Thread Patrick Hess
Upayavira wrote: Looks to me like you've got a problem with the scheduler not being able to handle being run within in an outer and inner Cocoon. Try rebuilding your Cocoon without it. If you need it, then maybe you should try having the inner cocoon use a different webapp that has been built

RE: No memory leak because of Recyclable!

2004-01-19 Thread Carsten Ziegeler
Sylvain Wallez wrote: > > I haven't followed all the discussion, but why is toString() used to > identify components? I have asked the same question :) And didn't get any answer :( > Wouldn't it be better to use a Map keyed by the > identy of the object like java.util.IdentityHashMap()? That way,

Re: No memory leak because of Recyclable!

2004-01-19 Thread Sylvain Wallez
Carsten Ziegeler wrote: Volker Schmitt wrote: Carsten Ziegeler wrote: Lars Rottmann wrote: Lars Rottmann wrote: Replacing the BucketMap with another Map implementation solves the problem of Cocoon failing at high load (where the ECM fails to look up a Selector, not

Re: REMINDER: javadocs errors in portlet and woody

2004-01-19 Thread Jorg Heymans
Now don't be shy here to provide a patch :-) [EMAIL PROTECTED] wrote: Hi, just want to remind you of the fact that commandline building of 2.1.4-dev generates a lot of errors in the portlet and woody files. I know it's not vital, but it would be helpful if they were solved one time or other. Bye

REMINDER: javadocs errors in portlet and woody

2004-01-19 Thread H . vanderLinden
Hi, just want to remind you of the fact that commandline building of 2.1.4-dev generates a lot of errors in the portlet and woody files. I know it's not vital, but it would be helpful if they were solved one time or other. Bye, Helma van der Linden Medical Informatics University Maastricht POBO

RE: HELP - 2.1.4-dev cannot access internal pipelines!!!

2004-01-19 Thread Antonio Gallardo
Unico Hommes dijo: > I just checked in a fix that works for me. Can you try updating and test > it? Yep. It works now. Thanks! :-D Best Regards, Antonio Gallardo

AW: No memory leak because of Recyclable!

2004-01-19 Thread Rottmann, Lars
> Carsten Ziegeler wrote: >>Volker Schmitt wrote: >> Hm we don't have this effect on our machine and we have a lot of >> traffic. The only difference in our ECM Implementation is, that I have >> changed ExcaliburComponentSelector to use the component as the key and >> not component.toString().

RE: HELP - 2.1.4-dev cannot access internal pipelines!!!

2004-01-19 Thread Unico Hommes
[EMAIL PROTECTED] wrote: > > Hi, > > I just did a checkout of cocoon 2.1.4-dev and did a full > build on the command line. After that I copied my webapp > (works on 2.1.3) into the build/webapp dir. After starting it > I got an error stating pipeline internal/login could not be found. > Ass

Re: HELP - 2.1.4-dev cannot access internal pipelines!!!

2004-01-19 Thread Antonio Gallardo
[EMAIL PROTECTED] dijo: > Hi, > > I just did a checkout of cocoon 2.1.4-dev and did a full build on the > command line. After that I copied my webapp (works on 2.1.3) into the > build/webapp dir. After starting it I got an error stating pipeline > internal/login could not be found. > Assuming I did

HELP - 2.1.4-dev cannot access internal pipelines!!!

2004-01-19 Thread H . vanderLinden
Hi, I just did a checkout of cocoon 2.1.4-dev and did a full build on the command line. After that I copied my webapp (works on 2.1.3) into the build/webapp dir. After starting it I got an error stating pipeline internal/login could not be found. Assuming I did something wrong I copied the entire

Re: [CVS] - Flow broken?

2004-01-19 Thread Antonio Gallardo
Hi: I updated from the CVS 5 minuts ago and the problem is still there.:-( The authentication-fw using flow worked fine before the changes that Unico pointed out, now it fails: org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: entrada-form at org.apache.cocoon.components.

Re: [Woody] observations, issues, questions, best practices

2004-01-19 Thread Joerg Heinicke
Joerg Heinicke gmx.de> writes: > 4. The switching of binding to XML or beans costs to much effort. > Binding file, JXTemplate (for the result), flow script. Maybe I did > something the wrong way, but the XML needs at least a root element, > why this would be annoying for th

RE: [CVS] - Flow broken?

2004-01-19 Thread Unico Hommes
Christopher Oliver wrote: > > I've reverted the change to the flow to support Sylvain's > fix. Can you test this? > It's not working. I think sendpage is not resolving to the correct uri: Doing a request to /samples/slide/content/ where the context prefix is /samples/slide/ sendpage('screens/

Re: cvs commit: cocoon-2.1/src/java/org/apache/cocoon/environment ForwardRedirector.java

2004-01-19 Thread Sylvain Wallez
Christopher Oliver wrote: This seems to have broken the build: compile-core: Copying 40 files to C:\cocoon5\build\cocoon-2.1.4-dev\classes Copied 70 empty directories to 38 empty directories under C:\cocoon5\build\cocoo n-2.1.4-dev\classes Created dir: C:\cocoon5\build\cocoon-2.1.4-dev\mocks Com

Re: [CVS] - Flow broken?

2004-01-19 Thread Sylvain Wallez
Christopher Oliver wrote: If you don't mind, can you explain how it fixes the problems reported by Unico and Antonio? What was happening before your fix and what will happen now when you have Sorry, I'm quite busy and didn't took the time for the minimal explanations. The important difference

Re: Submitting form in onchange event

2004-01-19 Thread Upayavira
Found this one in unsent messages too... Sylvain Wallez wrote: Upayavira wrote: Joerg Heinicke wrote: On 15.01.2004 23:34, Upayavira wrote: I'd like to have an on-change event actually submit the form, rather than just execute the javascript code. How can I do this? Otherwise, the on-value

Re: JX and nodes with appostrophes

2004-01-19 Thread Upayavira
Oops. Just found this in my unsent messages... Christopher Oliver wrote: It appears that your DOM object contains multiple text nodes under the title element. How was it created? Read from a XIndice database. Can't you just use #{./title} or #{string(./title)}? Yup, guess I could. #{./title} re