Problem with Digester

2005-04-08 Thread Veerendra
Hi, I want to use digester frame work. I took some example from net modified for my testing, but when I am not getting the result as null. if I use uniqueid instead of UniqueID in xml it is working. is that case sensitive. Can some body pls help me. Thank You, Veerenrda Here is my

RE: Problem with Digester

2005-04-08 Thread Gogineni, Pratima
Hi Veerendra, Yes it is case sensitive. when you call addSetProperties. It is trying to map the attributes of the academy element to the properties of the object on top of the stack (instance of Academy). So the name of the attributes of the academy tag should be = property name on the Academy

Re: Translating Query String into Map and vice versa?

2005-04-08 Thread José Antonio Pérez Testa
Look at: http://svn.apache.org/viewcvs.cgi/jakarta/commons/sandbox/servlet/trunk/src/java/org/apache/commons/servlet/RequestUtils.java?rev=156588view=log Lukas Bradley wrote: I thought this functionality was included in BeanUtils, but apparently I'm wrong. I'm looking for methods to translate

Re: Problem with Digester

2005-04-08 Thread Simon Kitching
Hi Veerendra, Veerendra wrote: Hi, I want to use digester frame work. I took some example from net modified for my testing, but when I am not getting the result as null. if I use uniqueid instead of UniqueID in xml it is working. is that case sensitive. Can some body pls help me. Here is

Re: [functor] Still maintained?

2005-04-08 Thread paul womack
robert burrell donkin wrote: On Fri, 2005-04-01 at 14:35 +0200, Lars Heuer wrote: Hi all, Is the commons.functor package still under active development? AFAIK it's hibernating (it used to be very active and maybe one day it'll be active again.) I'm confused. Do you mean the rather wonderful stuff

Re: [functor] Still maintained?

2005-04-08 Thread paul womack
paul womack wrote: robert burrell donkin wrote: On Fri, 2005-04-01 at 14:35 +0200, Lars Heuer wrote: Hi all, Is the commons.functor package still under active development? AFAIK it's hibernating (it used to be very active and maybe one day it'll be active again.) I'm confused. Do you mean the

Re: Pool and DBCP : Pool not Open

2005-04-08 Thread Pedro Gonçalves
im using the getDataSource(request) from struts... and i never close ( i think ) the pool --- Dirk Verbeeck [EMAIL PROTECTED] wrote: The Pool not open Exception is thrown when the pool has been closed, either directly or indirectly, close() on the pool or datasource. Once the close

Re: [functor] Still maintained?

2005-04-08 Thread Stephen Colebourne
paul womack wrote: I'm confused. Do you mean the rather wonderful stuff in org.apache.commons.collections.functors? Sorry. the OP (who's message I didn't get, BTW) obviously meant http://jakarta.apache.org/commons/sandbox/functor/ and not

Re: Translating Query String into Map and vice versa?

2005-04-08 Thread Lukas Bradley
Also, note that a Map is not sufficient since you could have several arguments for one key. Nice catch. Forgot about that. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Translating Query String into Map and vice versa?

2005-04-08 Thread Scovetta, Michael V
Also, note that a Map is not sufficient since you could have several arguments for one key. True, but you could always play games like foo = bar,quux,baz or foo = Array[ bar, quux, baz ] I map is very convenient, and I don't really see why you would want to pass multiple

Re: Translating Query String into Map and vice versa?

2005-04-08 Thread Bryce Fischer
Scovetta, Michael V wrote: True, but you could always play games like foo = bar,quux,baz or foo = Array[ bar, quux, baz ] I map is very convenient, and I don't really see why you would want to pass multiple values for a single key, a-la foo=barfoo=barfoo=bar Multi-select boxes will

help on DBCP

2005-04-08 Thread Arjen van der Weijden
Hi folks, Just started out examining DBCP, so I'm completely new to the subject. I adapted the example given by Dirk V. (given below). I put some stuff in a for loop. The PROBLEM is that after a few loops the program seems to hang (less than 10 connections). Can anybody help me on this, it must

chains problems persists

2005-04-08 Thread Vinicius Caldeira Carvalho
Well I guess I tried everthing. From debuging the source code to read the entire javadoc. I've just downloaded the latest nightly build from chains, tried to understand both apps bundle within it. And as far as I know I'm not very stupid. So I tried everthing, and I can say that The only way

RE: chains problems persists

2005-04-08 Thread Marco Mistroni
Hello, I am 'trying' to use commons-chain. I did a sample application, and it worked fine for the use (1 command :-) I found out also that in order to initialize the catalog, you have to set the CONFIG_ATTR But other than that, it was ok. Try to put your catalog.xml in your CLASSES

[Fwd: Re: chains problems persists]

2005-04-08 Thread Vinicius Caldeira Carvalho
---BeginMessage--- Thanks for your (wow fast) response Marco. So far I have used the deprecated CONFIG_ATTR the problem is as Craig said it is depracated. But it's working just fine. My considerations are regarded the fact that I couldn't find a way to use catalogfactory and I just cant use

Re: chains problems persists

2005-04-08 Thread Martin Cooper
On Apr 8, 2005 7:10 AM, Vinicius Caldeira Carvalho [EMAIL PROTECTED] wrote: Well I guess I tried everthing. From debuging the source code to read the entire javadoc. I've just downloaded the latest nightly build from chains, tried to understand both apps bundle within it. And as far as I know

log4j and trace

2005-04-08 Thread Peter DeGregorio
Hello, I'm interested in using trace(...) and isTraceEnabled() with log4j. Jakarta Commons Logging (JCL) version 1.0.4 indicates support for both log4j 1.2 and the upcoming 1.3, which includes a trace level. Because log4j did not have a trace level prior to 1.3 JCL mapped trace to debug

Re: help on DBCP

2005-04-08 Thread anshul khare
Hey, I guess the problem lies with the order in which you close the ResultSet, Statement and Connection. The Statementshould be closed before the ResultSet followed by Connection. I had a similar problem and this fix worked for me. Anshul - Original Message - From: Arjen van der

[logging] log4j 1.0.4 trace does not map to log4j 1.3 trace

2005-04-08 Thread Peter DeGregorio
I'm interested in using trace(...) and isTraceEnabled() with log4j. Jakarta Commons Logging (JCL) version 1.0.4 indicates support for log4j 1.3, which now includes a trace level. Shouldn't JCL which as of 1.0.4 detects whether is is using version 1.2 or not map trace to trace. I've looked at the

Re: Pool and DBCP : Pool not Open

2005-04-08 Thread Pedro Gonçalves
Is there any reason for my pool closing alone? I dont manager the pool, i only get the data source in the action of struts.. what the reasons that makes the pool close? thanks all --- Pedro Gonçalves [EMAIL PROTECTED] wrote: Hi, I have an application that uses dbcp 1.2.1, pool 1.2,

Re: [Configuration] CompositeConfiguration - setting FileChangedReloadingStrategy on each XMLConfiguration

2005-04-08 Thread Lukas Bradley
[snipped Java code on manual setting of all configuration files to reload strat] I would like to request two things. First, a DTD for the ConfigurationFactory XML file. Second, the ability to do something like this: configuration !-- Reload usergui every -- properties

Re: [Configuration] CompositeConfiguration - setting FileChangedReloadingStrategy on each XMLConfiguration

2005-04-08 Thread Jamie Guillemette
sounds like a decent suggestion... any thoughts from the active members? BTW how does one get on the active member list.. - Original Message - From: Lukas Bradley [EMAIL PROTECTED] To: commons-user@jakarta.apache.org Sent: Friday, April 08, 2005 3:48 PM Subject: Re: [Configuration]