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 )
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
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
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
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]
(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
[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
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
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
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
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
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
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
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,
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
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
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
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
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();
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
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
21 matches
Mail list logo