Re: [Vote] Bill Barker - Commons Proper Committer

2003-12-30 Thread Glenn Nielsen
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 -------

[TBM] Thread Benchmark example test results

2003-12-09 Thread Glenn Nielsen
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

Re: [sandbox] Commit Request for Sandbox

2003-12-09 Thread Glenn Nielsen
+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

Re: [lang] DateUtils proposal, standard date generators

2003-12-09 Thread Glenn Nielsen
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

[Fwd: [ANNOUNCEMENT] Commons DBCP 1.1 released]

2003-10-23 Thread Glenn Nielsen
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

Re: [DBCP] cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp AbandonedObjectPool.java

2003-10-04 Thread Glenn Nielsen
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

[DBCP] cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp AbandonedObjectPool.java

2003-10-04 Thread Glenn Nielsen
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

Re: [VOTE][DBCP] Release Plan for Commons-DBCP 2.0

2003-09-29 Thread Glenn Nielsen
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.

Re: [VOTE][DBCP] Release Plan for Commons-DBCP 2.0

2003-09-29 Thread Glenn Nielsen
l free to volunteer. - Dirk Verbeeck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ---------- Glenn Nielsen [EMAIL PROTECTED]

Re: JDBC AbandonedObjectPool and PoolableConnectionFactory

2003-09-28 Thread Glenn Nielsen
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

Re: cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp AbandonedObjectPool.java AbandonedTrace.java

2003-09-26 Thread Glenn Nielsen
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

Re: cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp AbandonedObjectPool.java AbandonedTrace.java

2003-09-25 Thread Glenn Nielsen
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

Re: [docs] Crappy build system

2003-08-14 Thread Glenn Nielsen
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

Re: [docs] Crappy build system

2003-08-14 Thread Glenn Nielsen
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

Re: [DBCP] AbandonedTrace - Connection Recovery

2003-07-23 Thread Glenn Nielsen
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 ------

Re: [DBCP] AbandonedTrace - Connection Recovery

2003-07-23 Thread Glenn Nielsen
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

Re: [DBCP] AbandonedTrace - Connection Recovery

2003-07-23 Thread Glenn Nielsen
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

Re: [DBCP] AbandonedTrace - Connection Recovery

2003-07-23 Thread Glenn Nielsen
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

Re: [DBCP] AbandonedTrace - Connection Recovery

2003-07-23 Thread Glenn Nielsen
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

Re: [DBCP] AbandonedTrace - Connection Recovery

2003-07-22 Thread Glenn Nielsen
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

Re: [DBCP] AbandonedTrace - Connection Recovery

2003-07-21 Thread Glenn Nielsen
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

Re: [DBCP] AbandonedTrace - Connection Recovery

2003-07-21 Thread Glenn Nielsen
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

Re: [DBCP] AbandonedTrace - Connection Recovery

2003-07-20 Thread Glenn Nielsen
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

Re: [5.0] fileupload 1.0 RC 1 API breakage

2003-06-04 Thread Glenn Nielsen
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

Re: [VOTE] New Committer - John McNally

2002-06-15 Thread Glenn Nielsen
anges in. > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -- Glenn Nielsen [E

Re: [dbcp] [patch] merge in jdbc2pool

2002-06-15 Thread Glenn Nielsen
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

Re: jdbcpool

2002-06-04 Thread Glenn Nielsen
o:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -- Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder| MOREnet System Pro

Re: [dbcp] does not compile with JDK1.4.0

2002-05-28 Thread Glenn Nielsen
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

[Fwd: [q.werty@laposte.net: Question about DBCP and JDBC 3.0]]

2002-05-24 Thread Glenn Nielsen
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

Re: [dbcp]: Oracle "too many open cursors error"

2002-05-22 Thread Glenn Nielsen
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]> --

Re: [PATCH] DBCP, tracking, reporting, and recovering abandoned c onnections

2002-05-16 Thread Glenn Nielsen
o CVS. >>> > > +1 also > > -- ---------- Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder| MOREnet System Programming | * if iz ina coment.

Re: [PATCH] DBCP, tracking, reporting, and recovering abandoned connections

2002-05-16 Thread Glenn Nielsen
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

[PATCH] DBCP, tracking, reporting, and recovering abandoned connections

2002-05-15 Thread Glenn Nielsen
CVS. Regards, Glenn -- Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder| MOREnet System Programming | * if iz ina coment. | Missouri Research and Education Network

Re: commons dbcp or pool problems

2002-02-24 Thread Glenn Nielsen
; >> > 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 &

Re: commons dbcp or pool problems

2002-02-23 Thread Glenn Nielsen
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,

Re: OT: Helping Glenn (was Re: commons dbcp or pool problems)

2002-02-22 Thread Glenn Nielsen
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

Re: commons dbcp or pool problems

2002-02-22 Thread Glenn Nielsen
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

Re: commons dbcp or pool problems

2002-02-22 Thread Glenn Nielsen
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

Re: commons dbcp or pool problems

2002-02-22 Thread Glenn Nielsen
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

Re: commons dbcp or pool problems

2002-02-22 Thread Glenn Nielsen
"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

commons dbcp or pool problems

2002-02-22 Thread Glenn Nielsen
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

Re: Updated Filters Proposal

2002-02-22 Thread 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 > >

Re: Servlet Filters Proposal

2002-02-13 Thread Glenn Nielsen
[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

Re: [Fwd: Servlet Filters Proposal]

2002-02-12 Thread Glenn Nielsen
>> >>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

[Fwd: Servlet Filters Proposal]

2002-02-12 Thread Glenn Nielsen
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

Servlet Filters Proposal

2002-02-12 Thread Glenn Nielsen
. Regards, Glenn -- Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder| MOREnet System Programming | * if iz ina coment. | Missouri Research and Education Network