Re: [POOL] you can return your object several times?

2008-06-02 Thread Mark Thomas
kpetrov wrote: I tested a simple scenario where I return the same object several times: Which version of pool are you using? Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: FileUpload - ServletFileUpload.parseRequest() returning empty list

2008-06-02 Thread Mircea Zahan
Hi everybody. Maybe this question has been already asked, but since there is no mail archive search facility Huh? http://mail-archives.apache.org/ http://commons.markmail.org/ http://www.mail-archive.com/user@commons.apache.org/ http://marc.info/?l=jakarta-commons-user&r=1&w=2 http://www.na

Re: Turning off commons logging

2008-06-02 Thread John B. Moore
Dennis Lundberg wrote: The place where we put our log4j configuration file in webapps is .../tomcat/webapps/myWebapp/WEB-INF/classes/logj4.properties That puts it on the classpath for the webapp. Yes thanks for reminding me.. I do now remember that, and the reason for it being where it is a

Re: Turning off commons logging

2008-06-02 Thread John B. Moore
simon wrote: Again, if you could follow my suggestion and change the output pattern a little, that would be useful. If the problem messages do not change, then that proves a different config file is in use. What I had done is to set logging to OFF it turned of my internal code's logging but

Re: FileUpload - ServletFileUpload.parseRequest() returning empty list

2008-06-02 Thread Martin Cooper
On Mon, Jun 2, 2008 at 4:36 PM, Mircea Zahan <[EMAIL PROTECTED]> wrote: > Hi everybody. > > Maybe this question has been already asked, but since there is no mail > archive search facility Huh? http://mail-archives.apache.org/ http://commons.markmail.org/ http://www.mail-archive.com/user@common

Re: JEXL expression with array

2008-06-02 Thread Dion Gillard
I'm not sure I understand what you're asking here. So you have the following statements in JEXL: a.b.c = 1 a.b.d = 2 a.b.d = 3 a.c = 4 Is that right? And you want to know if you can make: "a.b.d" return 2 and "a.b.c[0]" return 1? On Tue, Jun 3, 2008 at 5:06 AM, Pierre Brico <[EMAIL PRO

[POOL] you can return your object several times?

2008-06-02 Thread kpetrov
I tested a simple scenario where I return the same object several times: PoolableJmsTemplateFactory pjtf = new PoolableJmsTemplateFactory(); pjtf.setConnectionFactory(connectionFactory); ObjectPool pool = new SoftReferenceObjectPool(pjtf);

FileUpload - ServletFileUpload.parseRequest() returning empty list

2008-06-02 Thread Mircea Zahan
Hi everybody. Maybe this question has been already asked, but since there is no mail archive search facility, I will ask it (again?). I copy-pasted (for the sake of corectness) the code from the tutorial in my own servlet's doPost method: FileItemFactory factory = new DiskFileItemFactory(); S

Re: [Validator] Missing package?

2008-06-02 Thread Rahul Akolkar
On 6/2/08, Vernon <[EMAIL PROTECTED]> wrote: > > Is the package org.apache.commons.validator.routines.checkdigit missing from > the distributed package? I am unable to import it in Eclipse, but > org.apache.commons.validator.routines is fine. > According to VALIDATOR-213 [1], the above package

[Validator] Missing package?

2008-06-02 Thread Vernon
Is the package org.apache.commons.validator.routines.checkdigit missing from the distributed package? I am unable to import it in Eclipse, but org.apache.commons.validator.routines is fine. Thanks, -v -- Get a free email addr

Re: Turning off commons logging

2008-06-02 Thread simon
On Mon, 2008-06-02 at 12:36 -0700, John B. Moore wrote: > > but libs that use commons-logging are not? > > Apparently not.. If I set it to: > > log4j.rootLogger=OFF, A1, R1 > > ..and the commons continued to output.. as in: (a brief sample) > > 2008-06-02 12:06:35,801 DEBUG [org.apache.common

Re: Turning off commons logging

2008-06-02 Thread Dennis Lundberg
John B. Moore wrote: I'm using a number of org.apache.commons libraries in a web project and I need to turn off the logging that is occurring within the commons. I must confess that, though I have used Log4j for years, I only use it at a very basic level and still rely on a very basic property

Re: Turning off commons logging

2008-06-02 Thread John B. Moore
Simon, Thank you for taking the item to offer some suggestions. I will clarify some things and maybe that will lead to further ideas toward a solution. [EMAIL PROTECTED] wrote: I presume that your apps are using log4j directly, and are being controlled by the config file you posted above,

JEXL expression with array

2008-06-02 Thread Pierre Brico
Hi all, I'm new with JEXL and I have a question with the usage of array. I'm building a complex HashMap structure (which can contain other HashMap) to evaluate several expressions. When building the HashMap, if a node contains more than one variable with the same name, I transform it into a ArrayL

Re: Apache commons inter-dependencies

2008-06-02 Thread Julius Davies
Httpclient-3.x is fine with those versions of commons-codec and commons-logging. Httpclient-3.x does not use any of the other jars, so you'll be fine if you don't upgrade them. In other words: Yes, you can upload your httpclient jar, and leave the rest alone. yours, Julius On Mon, Jun 2,

Re: [cli] Are there any 1.0 -> 1.1/1.2-SNAPSHOT upgrade notes

2008-06-02 Thread Emmanuel Bourg
Hi Russel, Thank you for testing CLI 1.2, your feedback is much welcome. One important difference of CLI 1.1 is that options are only instantiated once. With your example, the two -J options are materialized by a single Option with 4 values, but since you specified hasArgs(2), the Option actu

[cli] Are there any 1.0 -> 1.1/1.2-SNAPSHOT upgrade notes

2008-06-02 Thread Russel Winder
in 1.0 using: options.addOption( OptionBuilder.withArgName( "property=value" ) .withValueSeparator() .hasArgs(2) .withDescription("") .create( "J" )); allowed options of the form: -Jsou

Re: Apache commons inter-dependencies

2008-06-02 Thread [EMAIL PROTECTED]
Brett Hitzel schrieb: > Hello, > > > > On our Tomcat installation we are utilizing the following jar files > (among others): > > > > commons-httpclient-2.0.2.jar > > commons-beanutils-1.6.jar > > commons-codec-1.3.jar > > commons-collections-2.1.1.jar > > commons-dbcp-1.2.1.jar > > commons-disc

Apache commons inter-dependencies

2008-06-02 Thread Brett Hitzel
Hello, On our Tomcat installation we are utilizing the following jar files (among others): commons-httpclient-2.0.2.jar commons-beanutils-1.6.jar commons-codec-1.3.jar commons-collections-2.1.1.jar commons-dbcp-1.2.1.jar commons-discovery-0.2.jar commons-el.jar commons-lang-1.0-b1.ja

Re: Turning off commons logging

2008-06-02 Thread [EMAIL PROTECTED]
John B. Moore schrieb: > I'm using a number of org.apache.commons libraries in a web project > and I need to turn off the logging that is occurring within the > commons. I must confess that, though I have used Log4j for years, I > only use it at a very basic level and still rely on a very basic >