Re: Please test catalog entity resolver (mac osx passes)

2003-03-20 Thread Bertrand Delacretaz
Le Jeudi, 20 mars 2003, à 08:51 Europe/Zurich, David Crossley a écrit : ...By the way, how is your new Mac going (says me jealously)? Just great - a mobile unix-based system combined with the cool desktop and media tools is a developer's dream come true IMHO. -Bertrand

Re: Java PetStore sample - alternative view

2003-03-20 Thread leo leonid
On Donnerstag, März 20, 2003, at 07:42 Uhr, Christopher Oliver wrote: Thank you very much, Leo. I've committed your changes and I made some modifications so that you can dynamically select the view from the webapp: either Velocity or Xsp. cool! only, since index.do has to be called to execute

setupPipeline() in AbstractCachingProcessingPipeline

2003-03-20 Thread Stephan Michels
Hi Carsten, can I move the part where you generate the validity objects into a separate method, like generateValidities() ? I whould like to enhance the profiler components to measure the setup() time. Thanks. BTW, can you add a check for null in AbstractAggregatedValidity.add(). I got

RE: setupPipeline() in AbstractCachingProcessingPipeline

2003-03-20 Thread Carsten Ziegeler
Hi Stephan, you don't have to ask for changes (if they make sense). I don't own the code :) So, making the code more understandable is good. From: Stephan Michels [mailto:[EMAIL PROTECTED] can I move the part where you generate the validity objects into a separate method, like

RE: setupPipeline() in AbstractCachingProcessingPipeline

2003-03-20 Thread Stephan Michels
On Thu, 20 Mar 2003, Carsten Ziegeler wrote: Hi Stephan, you don't have to ask for changes (if they make sense). I don't own the code :) I want to be sure ;-) So, making the code more understandable is good. From: Stephan Michels [mailto:[EMAIL PROTECTED] can I move the part where

RE: setupPipeline() in AbstractCachingProcessingPipeline

2003-03-20 Thread Carsten Ziegeler
Stephan Michels wrote: Hmm, I'll think that I'm not the only one, who went into the trap. You're right returning a null validity hurts the contract, this will cause an exception. But a NPE in isValid() doesn't help searching the problem. Yes, but adding it in add(). Carsten

Re: [RT] Flow as a block

2003-03-20 Thread Stefano Mazzocchi
Carsten Ziegeler wrote: Stefano Mazzocchi wrote: Why can't se simply postpone module-creation this after 2.1? I don't think it's worth delaying further for a simple 50kb less of cocoon.jar I agreed that we move this issue into 2.2 or whatever and that this should not delay 2.1 - so for me,

Re: Please test catalog entity resolver (mac osx passes)

2003-03-20 Thread Stefano Mazzocchi
Bertrand Delacretaz wrote: Le Jeudi, 20 mars 2003, à 08:51 Europe/Zurich, David Crossley a écrit : ...By the way, how is your new Mac going (says me jealously)? Just great - a mobile unix-based system combined with the cool desktop and media tools is a developer's dream come true IMHO. Amen,

RE: setupPipeline() in AbstractCachingProcessingPipeline

2003-03-20 Thread Stephan Michels
On Thu, 20 Mar 2003, Carsten Ziegeler wrote: Stephan Michels wrote: Hmm, I'll think that I'm not the only one, who went into the trap. You're right returning a null validity hurts the contract, this will cause an exception. But a NPE in isValid() doesn't help searching the problem.

Re: [RT] Flow as a block

2003-03-20 Thread Nicola Ken Barozzi
Stefano Mazzocchi wrote, On 20/03/2003 12.23: Carsten Ziegeler wrote: Stefano Mazzocchi wrote: Why can't se simply postpone module-creation this after 2.1? I don't think it's worth delaying further for a simple 50kb less of cocoon.jar I agreed that we move this issue into 2.2 or whatever and

Re: thanks for fixing build test

2003-03-20 Thread Vadim Gritsenko
David Crossley wrote: Hi Vadim, many thanks to you for fixing the build test. anteater ain't fixed yet: don't know how to make it work for *nix and win with same command Vadim

warning for users of httpclient / HttpProxyGenerator

2003-03-20 Thread Bruno Dumon
On a default Cocoon installation on JDK 1.4, the commons-httpclient used by HttpProxyGenerator will use Java 1.4 Logging unless otherwise configured (or unless log4j is present). The implementation of the Jdk14Logger in commons logging is however extremely slow, due to the fact it will each time

Re: thanks for fixing build test

2003-03-20 Thread Jeff Turner
On Thu, Mar 20, 2003 at 08:12:08AM -0500, Vadim Gritsenko wrote: David Crossley wrote: Hi Vadim, many thanks to you for fixing the build test. anteater ain't fixed yet: don't know how to make it work for *nix and win with same command I have a reworked set of Anteater tests on my

Re: Planning 2.1B1

2003-03-20 Thread Upayavira
Carsten Ziegeler wrote: Could please everyone add (his) open issues for a 2.1b1 release to the todo.docs? So, we have one single source of information. There are two things I would like to see in 2.1beta: * the CLI working within the binary distribution * the CocoonBean (and hence CLI) using

IDL docs

2003-03-20 Thread Christopher Oliver
Pier, Can you fix the IDL docs to show sendPageAndWait() returns a WebContinuation and takes a timeToLive parameter, unless/until we come up with an alternative interface that supports this functionality: WebContinuation sendPageAndWait(in string url, in Object bean,

Re: Planning 2.1B1

2003-03-20 Thread Nicola Ken Barozzi
Upayavira wrote, On 20/03/2003 15.15: Carsten Ziegeler wrote: Could please everyone add (his) open issues for a 2.1b1 release to the todo.docs? So, we have one single source of information. There are two things I would like to see in 2.1beta: * the CLI working within the binary distribution * the

Tornados

2003-03-20 Thread Stefano Mazzocchi
I usually don't read weblogs. But today I found this http://radio.weblogs.com/0107211/2003/03/19.html#a98 since radio doesn't have semantic URIs, I can contextualize it saying this is Carsten's weblog. Here is the interesting part: quote One committer wrote in a private email to me: My

Re: [RT] Flow as a block

2003-03-20 Thread Stefano Mazzocchi
Nicola Ken Barozzi wrote: Stefano Mazzocchi wrote, On 20/03/2003 12.23: Carsten Ziegeler wrote: Stefano Mazzocchi wrote: Why can't se simply postpone module-creation this after 2.1? I don't think it's worth delaying further for a simple 50kb less of cocoon.jar I agreed that we move this issue

Flow Examples

2003-03-20 Thread Geoff Howard
Is it just me or is flow not working? I see there is still a redirect issue outstanding, and the errors I'm getting may be related to redirect. I don't have it installed here, but IIRC the preferences sample throws something like null is not an object when trying to log in with a made up name

Re: IDL docs

2003-03-20 Thread Pier Fumagalli
Christopher Oliver [EMAIL PROTECTED] wrote: Pier, Can you fix the IDL docs to show sendPageAndWait() returns a WebContinuation and takes a timeToLive parameter, unless/until we come up with an alternative interface that supports this functionality: WebContinuation sendPageAndWait(in

Re: Planning 2.1B1

2003-03-20 Thread Upayavira
On 20 Mar 2003 at 17:28, Nicola Ken Barozzi wrote: What about working to fix the errors I get in the faster CLI... I have every intention of checking that out, just haven't had a chance yet. I'm prepared to work on both, and have ideas... We know you do, your contributions are always very

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Christopher Oliver
Marcus Crafter wrote: On Wed, Mar 19, 2003 at 11:44:07PM -0500, Vadim Gritsenko wrote: I would suggest behaviour similar to the rest of sitemap components: flows defined in parent sitemap should be available in the subsitemaps. Is it possible from JavaScript POV - hierarchical organization of

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Marcus Crafter
On Thu, Mar 20, 2003 at 09:43:06AM -0800, Christopher Oliver wrote: Marcus Crafter wrote: On Wed, Mar 19, 2003 at 11:44:07PM -0500, Vadim Gritsenko wrote: I would suggest behaviour similar to the rest of sitemap components: flows defined in parent sitemap should be available in the

[HELP] determining possible leak

2003-03-20 Thread Marco Rolappe
hi group, there's a problem I currently have with a webapp, that makes me go crazy. the webapp has been live for about two months now, and I think the problem didn't exist in the beginning. the problem itself seems to be some leak. config: - linux box (dual processor) - tomcat 4.1.18 -

Re: [HELP] determining possible leak

2003-03-20 Thread Berin Loritsch
Marco Rolappe wrote: hi group, there's a problem I currently have with a webapp, that makes me go crazy. the webapp has been live for about two months now, and I think the problem didn't exist in the beginning. the problem itself seems to be some leak. Which JVM are you using? Some people have

Re: [HELP] determining possible leak

2003-03-20 Thread Gianugo Rabellino
Marco Rolappe wrote: hi group, there's a problem I currently have with a webapp, that makes me go crazy. the webapp has been live for about two months now, and I think the problem didn't exist in the beginning. Using JDK 1.4.1? If so, look for the profiling Cocoon recent threads: there is a bug

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Vadim Gritsenko
Marcus Crafter wrote: snip/ For systems where a subsitemap represents a new application, behaviour would be configured to be as it currently is. Why not: for systems where a subsitemap represents a new app, dont declare anything in the parent sitemap you don't want to expose to

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Marcus Crafter
On Thu, Mar 20, 2003 at 01:30:42PM -0500, Vadim Gritsenko wrote: Marcus Crafter wrote: snip/ For systems where a subsitemap represents a new application, behaviour would be configured to be as it currently is. Why not: for systems where a subsitemap represents a new app, dont

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Pier Fumagalli
Vadim Gritsenko [EMAIL PROTECTED] wrote: Marcus Crafter wrote: snip/ For systems where a subsitemap represents a new application, behaviour would be configured to be as it currently is. Why not: for systems where a subsitemap represents a new app, dont declare anything in the parent

Re: Flow Examples

2003-03-20 Thread Vadim Gritsenko
Geoff Howard wrote: Is it just me or is flow not working? I see there is still a redirect issue outstanding, and the errors I'm getting may be related to redirect. I don't have it installed here, but IIRC the preferences sample throws something like null is not an object when trying to log in

AW: [HELP] determining possible leak

2003-03-20 Thread Marco Rolappe
JDK version is: java version 1.4.0_02 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_02-b02) Java HotSpot(TM) Client VM (build 1.4.0_02-b02, mixed mode) but as already mentioned I think the problem didn't exist in the beginning on the live machine (but maybe it didn't have the

Re: Flow Examples

2003-03-20 Thread Geoff Howard
At 02:03 PM 3/20/2003, you wrote: Geoff Howard wrote: Is it just me or is flow not working? I see there is still a redirect issue outstanding, and the errors I'm getting may be related to redirect. I don't have it installed here, but IIRC the preferences sample throws something like null is

Re: [HELP] determining possible leak

2003-03-20 Thread Pier Fumagalli
Marco Rolappe [EMAIL PROTECTED] wrote: symptoms: - webapp runs fine for hours (12-24 hours) with a max. cpu usage of about 4% - memory usage is continuously rising - at some point cpu usage continuously around 100%, distributed to the processors Nothing in the logs? No output to standard

strange exception: java.io.CharConversionException: isHexDigit

2003-03-20 Thread Marco Rolappe
I can't really make sense of this one (appearing in catalina.out). it may be a tomcat issue, but I didn't find anything in this regard. there are only a few of this type, so it seems to occur sporadically. the line from CocoonServlet (cocoon 2.0.4) involved is: this.cocoon =

Re: Flow Scoping, was: JavaScriptInterpreter: bug or feature?

2003-03-20 Thread Christopher Oliver
OK. I think you could get that effect by modifying JavaScriptInterpreter.set/getSessionScope(). Right now these associate the scope with the uri prefix of the current environment. Instead, to get the behavior you describe, I guess it should be associated with the top-most parent of the current

AW: [HELP] determining possible leak

2003-03-20 Thread Marco Rolappe
-Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Pier Fumagalli Gesendet: Donnerstag, 20. Marz 2003 20:37 An: [EMAIL PROTECTED] Betreff: Re: [HELP] determining possible leak symptoms: - webapp runs fine for hours (12-24 hours) with a

RE: [HELP] determining possible leak

2003-03-20 Thread Christopher Watson
Marco At risk of a red herring ... I had what sounds a very similar problem with tomcat 4.1.12 and cocoon 2.0.3 and sun jdk1.3 on w2k The behaviour of OK for 24hrs then 100%cpu - with no apparent application errors is identical to what I saw I looked on tomcat mailing lists and found someone

cocoon-view as possible security problem?

2003-03-20 Thread Tony Collen
Browsing the livesites, on a whim I tried this URL: http://dir.salon.com/?cocoon-view=content and it worked! Obviously someone deploying Cocoon should be aware that this view is on by default, and may reveal data in your page you might not want. I have yet to see bad data get exposed, but

[proposal] add Forrest binaries to our CVS

2003-03-20 Thread Bertrand Delacretaz
(cc to -docs for info, please discuss on -dev) Recent activity on the cocoon-docs list suggests that the Forrestization of our docs might be happening soon, and this raises some issues due to the circular dependencies that this creates between Cocoon and Forrest. See [1] and [2]. Could we add

database block not jvm depended anymore

2003-03-20 Thread Torsten Curdt
Hurray! By using composition rather than inherritance I removed the the dependency to the jvm. No split code anymore :) Thanks for pointing me on that Berin. Everything *should* work as before. And at least on my machine the samples are working. Please test! cheers -- Torsten

Re: database block not jvm depended anymore

2003-03-20 Thread Torsten Curdt
ups.. I meant dependent ;) -- Torsten

AbstractMethodError: org/apache/excalibur/event/impl/AbstractQueue.enqueue

2003-03-20 Thread Upayavira
The CLI works fine from the batch file, but gives an exception when I run it from in IDEA. I've done what I remember to be the usual: build clean, checking I've got all the latest jars in my classpath. Any ideas what might be causing the following exception? java.lang.AbstractMethodError:

Re: database block not jvm depended anymore

2003-03-20 Thread David Crossley
Torsten Curdt wrote: Hurray! By using composition rather than inherritance I removed the the dependency to the jvm. No split code anymore :) Thanks for pointing me on that Berin. Everything *should* work as before. And at least on my machine the samples are working. Please test!

RE: database block not jvm depended anymore

2003-03-20 Thread Carsten Ziegeler
Torsten Curdt wrote: Hurray! By using composition rather than inherritance I removed the the dependency to the jvm. No split code anymore :) Thanks for pointing me on that Berin. Everything *should* work as before. And at least on my machine the samples are working. Please test!

RE: Planning 2.1B1

2003-03-20 Thread Carsten Ziegeler
Carsten Ziegeler wrote: Could please everyone add (his) open issues for a 2.1b1 release to the todo.docs? So, we have one single source of information. Has everyone updated the todo.xml? Is anything missing? Carsten

DO NOT REPLY [Bug 11533] - [PATCH] Replacement for AvalonToCocoonSource

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

Re: Lucene search sample

2003-03-20 Thread David Crossley
I have resurrected the lost Lucene sample and put it into its block. It does still need some attention. I cannot get the view-file links at the top to work. --David

Re: cocoon-view as possible security problem?

2003-03-20 Thread Stefano Mazzocchi
Tony Collen wrote: Browsing the livesites, on a whim I tried this URL: http://dir.salon.com/?cocoon-view=content and it worked! Obviously someone deploying Cocoon should be aware that this view is on by default, and may reveal data in your page you might not want. I have yet to see bad data