Proper, I'd
> still like to have his help and I think he'd like to help as well, but
> we need a vote it seems. So here's my +1.
>
> [ X ] +1, let him commit in Jakarta Commons Proper
> [ ] 0
> [ ] -1, perhaps not, because
-------
I have posted some example Thread Benchmark test results at:
http://www.apache.org/~glenn/
TBM still needs alot of work, there are only 6 benchmark tests so far.
Three of them are for formatting a date, the results are interesting.
Regards,
Glenn
+1
Brian McCallister wrote:
I would like to receive commit privileges on the jakarta-commons-sandbox
in order to work on tbm
I am already a db.apache.org committer.
Thank You!
-Brian McCallister
-
To unsubscribe, e-mail: [E
I just imported into jakarta-commons-sandbox a component named
Thread Benchmark (TBM). It is designed to make testing thread
synchronization problems easier and as a clearing house for identifying
thread synchronization problems, workarounds, and alternative solutions.
The proposal can be found he
Thanks for all your hard work Dirk to resolve reported bugs and get
this release out.
Regards,
GLenn
Original Message
Subject: [ANNOUNCEMENT] Commons DBCP 1.1 released
Date: Wed, 22 Oct 2003 15:29:59 -0700 (PDT)
From: Dirk Verbeeck <[EMAIL PROTECTED]>
Reply-To: Jakarta Commons D
After seeing the subsequent commit to PoolingDataSource where the message
for a NoSuchElementException added text that the pool was exhausted,
this looks fine.
Ignore the below.
Glenn
Glenn Nielsen wrote:
This patch removed to much. Only the System.out should have been removed.
The
This patch removed to much. Only the System.out should have been removed.
The NoSuchElementException needs to be caught so that an exception with
a message which makes sense to the user is thrown. There is no way to know
what the NoSuchElementException means without diving into the code. This
is
e, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
------
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming | * if iz ina coment.
l free to volunteer.
- Dirk Verbeeck
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
----------
Glenn Nielsen [EMAIL PROTECTED]
This should be fixed in CVS now.
Glenn
John McNally wrote:
yes that looks like a correct observation. The synchronization scope
could be reduced.
john mcnally
On Wed, 2003-09-24 at 14:47, Brad Johnson wrote:
Hello,
I noticed the latest commit to AbandonedObjectPool.java in the Jakarta Commons
trace.remove
This triggers a ConcurrentModificationException, IMHO
I would synchronize on the pool itself like this:
synchronized(this) {
trace.remove(obj);
}
Dirk
Glenn Nielsen wrote:
Dirk Verbeeck wrote:
Shouldn't you synchronize on the pool itself
Dirk Verbeeck wrote:
Shouldn't you synchronize on the pool itself instead of on the trace
list in AbandonedObjectPool?
borrowObject and returnObject are synchronized on trace
invalidateObject and removeAbandoned are synchronized on the pool
The synchronization required for using the GenericObject
Henri Yandell wrote:
Actually got to wonder if there's any point having build.properties.sample
in this case. I'm not sure if the rest of build.properties does anything
and these values could sit in build.properties itself [or in the
build.xml].
Generally the build.properties file is not in CVS, i
Henri Yandell wrote:
Jakarta Commons build system for the website is very very crappy.
Regardless of whether things move to Maven or some other look and feel,
I'd like to check in the jars needed so that people don't have to go
around hunting in jakarta-velocity, jakarta-site2 and who knows where
e
tion pool objects would end up in the GC generation
which is least often swept for GC. Most likely these objects would only
get GC'd during a Full GC. Full GC's can happen very infrequently, even
on a heavily loaded server if the JVM is tuned right.
Glenn
------
Juozas Baliuka wrote:
/**
* Get a db connection from the pool.
*
* If removeAbandoned=true, recovers db connections which
* have been idle > removeAbandonedTimeout.
*
* @return Object jdbc Connection
*/
As I remember we have decided to log stack trace, but not to
John McNally wrote:
[snip]
On the implementation. I have not looked closely at the current
implementation as it is not used by the pool that I added to dbcp and I
was trying to start it as a simple implementation of the latest
specification. But it would seem an implementation of this should ju
Hope, Matthew wrote:
I would disagree on one point. The idea of logging when a connection is
closed due to garbage collection finalization strikes me as a good one
(assuming the pool used is using a weakly referenced mapping otherwise
garbage collection release of resources is going to be a real bu
David Graham wrote:
--- "Laird J. Nelson" <[EMAIL PROTECTED]> wrote:
-Original Message-
From: John McNally [mailto:[EMAIL PROTECTED]
Why is this such a contentious issue?
FWIW, because some users have business experience, and some do not.
Those who do recognize that business *runs* on stop
David Graham wrote:
--- Serge Knystautas <[EMAIL PROTECTED]> wrote:
David Graham wrote:
IMO, a design that allows users to plugin behaviors, be they
connection
retrieval or otherwise, is the best solution. Then the question
becomes
whether to include a connection retrieval behavior in the DBCP
that when there is a design issue being discussed where
consensus can not be reached there should be a VOTE.
Regards,
Glenn
----------
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming
David Graham wrote:
I fess up, I am the guilty party who added the ability to trace
abandoned
connections and recover them. ;-)
Sorry to jump in late on this. I have been busy with other things.
The motivation behind this was to allow a servlet container to continue
operating normally even if you
Noel J. Bergman wrote:
It appears clear that there are two camps, each with fairly strong views.
Personally, I believe that both camps can be accomodated in a way that
should satisfy both.
DBCP should focus on core pooling behavior related to connections and
prepared statements, and leave policy is
Martin Cooper wrote:
I posted a patch to the Tomcat-Dev list yesterday which should fix this
problem. Apparently, nobody on the Tomcat-Dev list paid any attention to
my post. The methods in question have been deprecated for some time.
I have not seen the patch email on tomcat-dev. Perhaps its in t
anges in.
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
--
Glenn Nielsen [E
I agree, a 1.0 release of DBCP would be nice before these changes
are added. I am already using the current DBCP in production.
Regards,
Glenn
----------
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MO
o:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
--
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Pro
I'll take care of it since I "broke" it when I added the new DBCP
features. :-)
Glenn
------
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming | * i
Forwarded to this list from my apache account.
Original Message
Subject: [[EMAIL PROTECTED]: Question about DBCP and JDBC 3.0]
Date: Fri, 24 May 2002 06:19:22 -0700
From: Glenn Nielsen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
First apologise
BCP, because the statements are
>
> to being able to call conn.close(),
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
o CVS.
>>>
>
> +1 also
>
>
--
----------
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming | * if iz ina coment.
Is anyone interested in patches for DBCP?
Glenn Nielsen wrote:
> I have expanded upon the work James House did to generate stack
> traces for abandoned db connections. (Thanks James)
>
> The patch he provided was refactored and some new features added.
>
> Three new DBCP par
CVS.
Regards,
Glenn
--
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming | * if iz ina coment. |
Missouri Research and Education Network
; >> > from the before mentioned lists as close() is called on them, and
> then
> > >> > checking if there are still objects in the lists when the connection
> is
> > >> > returned to the pool, or by calling a new method &
parate e-mails to this mail list with the subject starting with [DBCP]),
> but never heard any response - albeit I didn't submit formal patches.
>
> I'd be happy to create these patches at the same time if you agree with them.
>
> James
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands,
lication I will
recommend that they change the application to regenerate and publish
static pages based on changes to the data rather than implement caching.
Glenn
Lavandowska wrote:
>
> --- Glenn Nielsen <[EMAIL PROTECTED]> wrote:
> > Worse than using sql within a JSP, the custom
o that,
they have something that "works". This is for a site with 500,000
page views per month with spikes of 6-10k page views per hour.
Sigh...
Glenn
--
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madde
Glenn Nielsen wrote:
>
> "Waldhoff, Rodney" wrote:
> >
> > As you probably already know, the NoSuchElementException is telling you the
> > pool has been exhausted (and the "detail" message suggests you've got the
> > pool configured t
ustomers JSP pages and found one page
where they were not wrapping their use of a db connection within a
try {} block. I have informed them how to fix it.
But this one page does not explain running out of connections in a pool
with a max of 75 connections. In the logs that page only failed twic
"Michael A. Smith" wrote:
>
> On Fri, 22 Feb 2002, Glenn Nielsen wrote:
> > I have been using Tomcat 4.1-dev and its new DBCP DataSource Factory
> > which uses commons-dbcp, which then uses other commons components
> > like commons-pool.
> >
> &g
nightly from Feb 1, 2002.
commons-dbcp nightly from Feb 1, 2002.
Does anyone know of any bugs or changes in any of these which may
be causing the general failure of pooling the dbcp connections?
Thanks,
Glenn
--
Glenn Nielsen
> Loki Technologies - Unstoppable Websites
> http://www.lokitech.com/
> - Original Message -
> From: "Glenn Nielsen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 12, 2002 9:33 PM
> Subject: Updated Filters Proposal
>
>
[EMAIL PROTECTED] wrote:
>
> On Tue, 12 Feb 2002, Glenn Nielsen wrote:
>
> > I have started putting together a proposal for Jakarta-Filters.
> > Once this effort has been bootstrapped in jakarta-commons-sandbox
> > this can be proposed to the PMC as a top level pro
>>
>>I've started working on getting my filters ready for submission, but am
>>not sure which "package" they belong in. In the PROPOSAL you state
>>"The proposed package name for servlet filters is
>>org.apache.servlet.filters...", but if
Here is the link:
http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/filters/PROPOSAL.html
Original Message
Subject: Servlet Filters Proposal
Date: Tue, 12 Feb 2002 07:36:11 -0600
From: Glenn Nielsen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
I have started putting to
.
Regards,
Glenn
--
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming | * if iz ina coment. |
Missouri Research and Education Network
46 matches
Mail list logo