Re: [Commons-Logging] Using Commons-Logging with an older Log4J (1.1.3 )

2003-06-04 Thread Craig R. McClanahan
On Tue, 3 Jun 2003, Jesus M. Salvo Jr. wrote: Date: Tue, 03 Jun 2003 17:52:53 +1000 From: Jesus M. Salvo Jr. [EMAIL PROTECTED] Reply-To: Jakarta Commons Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Commons-Logging] Using Commons-Logging with an older Log4J ( 1.1.3 )

Re: [Logging] Facade

2003-06-04 Thread Craig R. McClanahan
On Tue, 3 Jun 2003, Adam Jack wrote: Date: Tue, 3 Jun 2003 06:42:58 -0600 From: Adam Jack [EMAIL PROTECTED] Reply-To: Jakarta Commons Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Logging] Facade I have a wrapper around my commons logging calls, as

RE: [Logging] Facade

2003-06-04 Thread Adam Jack
The existing Log implementation classes in c-l are already facades, so they go to some effort to make available the name of the class that called them. However, this support is hard coded -- for example, see the log(Level,String,Throwable) method in

FW: New e-mail address

2003-06-04 Thread Adam Jack
Does every who posts to commons-user get this in reply to each posting? I have to believe so. That said, I can't believe this has gone on for as many weeks (more?) as it has w/o folks screaming. I wrote to this person asking them to modify their entry on the list, but nothing has changed. I am

RE: [Logging] Facade

2003-06-04 Thread Craig R. McClanahan
On Tue, 3 Jun 2003, Adam Jack wrote: Date: Tue, 3 Jun 2003 10:02:36 -0600 From: Adam Jack [EMAIL PROTECTED] Reply-To: Jakarta Commons Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: 'Craig R. McClanahan' [EMAIL PROTECTED], 'Jakarta Commons Users List' [EMAIL PROTECTED]

RE: [Logging] Facade

2003-06-04 Thread Adam Jack
(2) I need to fail safe if logging is not in the environment (so can't put those classes into my code). You mean if the C-L classes are not in your code? (C-L already defaults to SimpleLog writing to System.out if neither JDK 1.4 or Log4J 1.2 can be

RE: ToStringBuilder.reflectionToString() problem

2003-06-04 Thread Gary Gregory
[This perhaps really belongs on the dev list but this thread was started here.] I have committed a refactoring of ToStringBuilder which creates a new class called ReflectionToStringBuilder to CVS. It should be in the June 3rd nightly-build or you can get the latest from CVS. Gary -Original

how to setup connection timeout in DBCP

2003-06-04 Thread Liu, Xiaoyan
Hi, all Is there anyway to set up db connection timeout attribute with DBCP? This attribute specifies the maximum time a connection can be 'occupied' by transactions. There does not seem to have such an option in dbcp javadoc. Further more, is there API calls we can use to hook in to catch

RE: [Logging] Facade

2003-06-04 Thread Adam Jack
P.S. C-L needs an Eclipse Plug-in Log driver and an Ant Log driver ... otherwise folks (like me) have to attempt to write C-L wrappers to try to make them. ;-) regards Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[Logging] What I find unfriendly about commons-logging...

2003-06-04 Thread Adam Jack
Commons-Logging important to protect open source projects from the turmoil of JDK1.4 logging verse (the superior) log4j. That said, C-L is a pain-in-the-rear. Just in case this isn't common knowledge (no pun intended) I will one last time post my views let this drop. I consider myself log

how to setup connection timeout in DBCP

2003-06-04 Thread Liu, Xiaoyan
Hi, all Is there anyway to set up db connection timeout attribute with DBCP? This attribute specifies the maximum time a connection can be 'occupied' by transactions. There does not seem to have such an option in dbcp javadoc. Further more, is there API calls we can use to hook in to catch

Re: [Logging] What I find unfriendly about commons-logging...

2003-06-04 Thread Craig R. McClanahan
On Tue, 3 Jun 2003, Adam Jack wrote: Further, the defaults seem terrible. If I run in JDK 1.4 (and have logging configured) and C-L picks up the JDK1.4 driver, then I ought not need a C-L properties file to see log messages. IMHO whatever the underlying configuration has set-up, ought be

Re: [beanutils]DynaProperty readable/writeable information and PropertyUtils

2003-06-04 Thread robert burrell donkin
hi toni i don't see any real reason why a DynaProperty should not contain meta-data - for example whether a property is write, read-write or read-only. in order to preserve backwards compatibility, there is no guarantee that this data is accurate (in other words, older classes are not forced

Messenger XAQueue MDO

2003-06-04 Thread Rood, Simon
Hi James, I was wondering how I can use transactions as in Message.XAQueueSession within an MDO. Can it be done as is? Is it just a matter of configuration? Thanks for your help. Regards Simon Rood - To unsubscribe,

how to setup username/password in DBCP

2003-06-04 Thread Liu, Xiaoyan
Hi, all, How should I specify username and password for a DriverConnectionFactory in DBCP using jocl xml file? The sample file looks like: object class=org.apache.commons.dbcp.PoolableConnectionFactory xmlns=http://apache.org/xml/xmlns/jakarta/commons/jocl; object

RE: [HttpClient] What method should be used to add params to a po st met hods

2003-06-04 Thread Adrian Sutton
Hi Nitin, There are a few reasons to use an array over a list (particularly a custom list type): * Array's enforce type. You can only pass in NameValuePair's * Array's don't require the creation of another class which just increases the size of HttpClient. * Array is a lowest common denominator

Re: [Commons-Logging] Using Commons-Logging with an older Log4J (1.1.3 )

2003-06-04 Thread Jesus M. Salvo Jr.
Craig R. McClanahan wrote: On Tue, 3 Jun 2003, Jesus M. Salvo Jr. wrote: Date: Tue, 03 Jun 2003 17:52:53 +1000 From: Jesus M. Salvo Jr. [EMAIL PROTECTED] Reply-To: Jakarta Commons Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Commons-Logging] Using Commons-Logging with an older

Re: -D and Maven

2003-06-04 Thread dIon Gillard
Bryan Zarnett wrote: Afternoon, In Maven, what is the best approach to pass the -D parameters down the tube so that Log4j and the classes it calls get the details? I am currently using the J2SE Logging in my code and have a custom logging properties file I want to set. I need to do a

Re: [logging] LogConfigurationException

2003-06-04 Thread Andreas Probst
Thank you both Achim and Anthony for your replies. I still can't get it to work. Achim, I tried your code - and it works. Then I commented the junit-call out of the main method - and it works. public static void main(String[] args) { //BasicConfigurator.configure();

struts Validator

2003-06-04 Thread Tridev Kodamasingh
Hi, I am using Dynabeans for validation while using struts validator. but most of the cases, I am least concerned about the validation results (it's my requirement..). As per my understanding , the validator finds out the matched entries defined in validation.xml file and does the validation

[betwixt] date and double values format in result XML

2003-06-04 Thread Oleg V Alexeev
Hello 'commons-user @ jakarta . apache . org', I try to use Betwixt to generate XML from my Java-objects. All Date values are generated with default format values - as value.toString(). I need to use another format, for example date only or time only. Can I solve this problem with some