RE: [Logging] Thread safety guaruntee of Log classes?

2002-12-12 Thread John Yu
Jerome, If you take a look at http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/package-summary.html , it states common-logging, out-of-box, supports the following impls: - log4j - logkit - no-op - simpleLog (system.out) All of them should be thread-safe. That implies lo

Re: [Jelly] Towards Functional programming in Jelly scripts

2002-12-12 Thread Rodney Waldhoff
I'll withhold judgement on the doTag returns Object idea for now, except to say I've also run into situations where it something like that would be useful (and it may not be that disruptive if most folks extend TagSupport and we did something like: Object doTagWithReturn(XMLOutput out) { doTag(out)

Re: [betwixt] info on .betwixt files, "add" methods, and CyclicReferenceExceptions

2002-12-12 Thread robert burrell donkin
On Thursday, December 12, 2002, at 10:33 PM, Darren Scott wrote: i have been down this road before. i did start playing around with stacks but betwixt is hard to change without breaking things. I'm glad someone else has noticed it's easy to break it! i think all the committers agree that the

RE: [betwixt] info on .betwixt files, "add" methods, and CyclicReferenceExceptions

2002-12-12 Thread Darren Scott
> > I've almost got this working (I'm not getting > > CyclicReferenceExceptions any more but I seem to have > broken something > > else as my XML doesn't pay any attention to the .betwixt files!) As > > soon as I've got a working solution I'll post again. > > i have been down this road before.

Re: [betwixt] info on .betwixt files, "add" methods, and CyclicReferenceExceptions

2002-12-12 Thread robert burrell donkin
On Thursday, December 12, 2002, at 10:07 PM, Darren Scott wrote: The cyclic checking isn't that advanced yet. The scenario that A refers to another A is covered however. Since the cyclic stuff also has some relation when you use id's (and I am not into id's that much), I probably have to have so

[Jelly] Towards Functional programming in Jelly scripts

2002-12-12 Thread Todd Jonker
Hey Jellyfolk, I'm trying to write some Jelly tags specific to a custom component framework. In doing so, I realized that it would be extremely helpful to be able to write functional tags. In effect, I'd like Jelly to be able to support a functional programming paradigm in addition to its curren

RE: [betwixt] info on .betwixt files, "add" methods, and CyclicReferenceExceptions

2002-12-12 Thread Darren Scott
> > The cyclic checking isn't that advanced yet. The scenario that A > > refers to another A is covered however. Since the cyclic stuff also > > has some relation when you use id's (and I am not into id's that > > much), I probably have to have some help with the id > handling. Time to > > rea

RE: Is this a validator DTD bug?

2002-12-12 Thread Van Riper, Mike
Typing too fast. Corrections inline below. > -Original Message- > From: Van Riper, Mike [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 12, 2002 1:19 PM > To: '[EMAIL PROTECTED]' > Subject: Is this a validator DTD bug? > > > I have a working Struts 1.1-b2 based webapp that uses the

Is this a validator DTD bug?

2002-12-12 Thread Van Riper, Mike
I have a working Struts 1.1-b2 based webapp that uses the validation framework. My validation.xml file doesn't validate successfully against this DTD requirement: because when I use both the minlength and maxlength validations on a single field, I end up with more than one element inside the

Re: [Logging] Thread safety guaruntee of Log classes?

2002-12-12 Thread robert burrell donkin
added (as a FAQ) to the userguide. thanks. - robert On Thursday, December 12, 2002, at 02:35 AM, John Yu wrote: Perhaps this should be added to the doco? "Thread Safely - Common Logging doesn't impose any requirement on thread safety on the underlying implementation and thus its API contrac

dbcp - dataSource.getConnection only fails from within tomcat

2002-12-12 Thread Paul Tomsic
could someone guess as to why I can connect to our DB (MySQL) from a standalone application (single, java file using a Main()) successfully using the below code, but when I try to do it from within Tomcat, it fails w/ a nullpointer? thanks - GenericObjectPool connectionPool = new GenericObjectPo

Pool - thread Safe?

2002-12-12 Thread Quraishi, Mohammad A S322
Is "The Pool Component" of the commons project completely thread safe and published as such? Thanks, Mohammad A. Quraishi E-Commerce Practice- S322 CIGNA Systems *(860) 226-6988 or 6-6988 * (860) 226-6830 or 6-6830 * > a

Re: [jelly] xml pipeline

2002-12-12 Thread Paul Libbrecht
I think there is something such in the xml tag-library (you then define a variable). I have started a small one that does the same but with a JDOM document/element. Paul On Jeudi, déce 12, 2002, at 12:54 Europe/Brussels, Wannheden, Knut wrote: But what I was trying to ask is whether a Tag cou

RE: [jelly] xml pipeline

2002-12-12 Thread Dominique Devienne
I think that's what DOM's DocumentFragment is for... --DD -Original Message- From: Wannheden, Knut [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 5:54 AM To: 'Jakarta Commons Users List' Subject: RE: [jelly] xml pipeline I guess the returned document would either have to be

RE: problem wth CLI

2002-12-12 Thread Christophe Marcourt
Yes I use the 1.0 version and I don't get yet the CVS source... I will update the sources of CLI, so. Thank you Christophe Marcourt Mondeca Ingénieur R&D 3, Cité Nollez. 75018 Paris Phone : +33 1 44 92 35 03 Mobile : +33 6 14 48 65 66 Fax : +33 1 44 92 02 59 http://www.mondeca.com/fr ICQ : #11981

Re: problem wth CLI

2002-12-12 Thread John Keyes
Hi Christophe, Are you using the 1.0 version? A fix for this bug was committed a few weeks ago to CVS. I'll test this when I get a chance. -John K On Thu, 2002-12-12 at 13:59, Christophe Marcourt wrote: > This is weird. I create two options (noChecking and noCreation) with a long > option and

problem wth CLI

2002-12-12 Thread Christophe Marcourt
This is weird. I create two options (noChecking and noCreation) with a long option and no short options. When I use the "-h" option to display the usage message, I only see the "--no-creation" option. Where is my "--no-checking" option ??? (;-)) I know how to fix this bug. I just have to create th

RE: [Logging] Thread safety guaruntee of Log classes?

2002-12-12 Thread Jerome Jacobsen
Yes, I agree. I certainly get that point. A Log implementation that didn't allow seperate Log instances in seperate threads would truly be pathetic. However since the Commons Logging API makes no thread-safety restrictions such an implementation would still be valid. I was wrong to imply that on

RE: [jelly] xml pipeline

2002-12-12 Thread Wannheden, Knut
James, > From: James Strachan [mailto:[EMAIL PROTECTED]] > > From: "Wannheden, Knut" <[EMAIL PROTECTED]> > > I just read the new article about the Jelly XML pipeline at > > http://jakarta.apache.org/commons/sandbox/jelly/pipeline.html. > > > > > > > > > > > > the would retrieve its body as a

Re: [jelly] xml pipeline

2002-12-12 Thread James Strachan
From: "Wannheden, Knut" <[EMAIL PROTECTED]> > I just read the new article about the Jelly XML pipeline at > http://jakarta.apache.org/commons/sandbox/jelly/pipeline.html. > > It is stated that a Jelly Tag can choose how to invoke its body. So it > could (amongst other things) evaluate its body bas

[jelly] xml pipeline

2002-12-12 Thread Wannheden, Knut
I just read the new article about the Jelly XML pipeline at http://jakarta.apache.org/commons/sandbox/jelly/pipeline.html. It is stated that a Jelly Tag can choose how to invoke its body. So it could (amongst other things) evaluate its body based on some condition or parse its body into some stru