[DBCP] in JNDI (was: Problem setting properties in JNDI environment)

2003-08-03 Thread Anton Tagunov
Hello Dutta! dctci I am trying to bound DBCP with a JNDI implementation. dctci I am not able to set properties of CPDS and Jdcb2PoolDataSource dctci by using jndi environment variables. dctci Is there any wrapper class is there that reads JNDI properties and dctci sets to the CPDS and

Re[4]: [dbcp] Do we need Referenceable?

2003-07-09 Thread Anton Tagunov
Hello John, AT With Tomcat we're in a different position. JM What happens if tomcat changes its process to use the standard jndi JM pattern described above? What about a developer wishing to use dbcp JM with another servlet container or app server? Why are you advocating JM that dbcp tie

Re[2]: [dbcp] Do we need Referenceable?

2003-07-08 Thread Anton Tagunov
Hello John! JM I am confused (and it has been awhile since I last looked at what is JM required). A DataSource should implement at least one of Referencable JM and Serializable; the specification recommends both. Are you advocating JM that we implement neither? Yes. But probably I really do

[math] stat package design

2003-07-07 Thread Anton Tagunov
Hello, Developers! 1) The ongoing effort of modularizing stat computations is very worthy thing. I'm tracking this thread and just wish you success. 2) As I have observed, you currently are implementing two sorts of methods: storageless, like double computeXXX( double[] )

Re: jdbc2pool [was Re: DBCP status?]

2003-07-07 Thread Anton Tagunov
Hello John! I do think I see certain (serious) issues with the code, and I have started to compose a comprehensive mail on this, but let us please first discuss the [dbcp] Do we need Referenceable? thread I'm starting now as the outcome of the discussion will influence greatly what my

[dbcp] Do we need Referenceable?

2003-07-07 Thread Anton Tagunov
Hello, All develpers interested in DBCP! I was reviewing code of Jdbc2PoolDataSource when I hit this question. I even have done a good deal of reading on JNDI yesterday to educate myself on the subject, although I did not master it _all_ though. Now I have a question: do we really need

Re[2]: [math] abstact nonsense was Re: [math][functor] More Design Concerns

2003-07-03 Thread Anton Tagunov
Hello Mark! 1) MRD One idea is it have Custom Iterators. A Custom Iterator could walk MRD through the objects in a collection (or the double values in an array) These iterators would also provide other nice capability, receiving the values incrementally, on the fly (say, from an InputStream or

Re: SSH access (was Nightly builds?)

2003-07-01 Thread Anton Tagunov
Hello Noel! AT I do have SSH 3.2.0 http://www.ssh.com AT But, with that program I have another kind of difficulty: AT by itself it generates keys of some format not recognized AT by ssh server running on cvs.apache.org. NJB See: http://www.ices.utexas.edu/adminworld/sshinterop.html#5 NJB I had

Re[2]: DBCP status?

2003-07-01 Thread Anton Tagunov
Hello Serge! Serge Knystautas wrote: SK I agree trying to recover connections is bad. I've found it leads to SK problems that don't show up during a test phase become very confusing SK and challenging problems in production once under high-load. SK The approach I took was this SK a)

Re[2]: DBCP status?

2003-07-01 Thread Anton Tagunov
Hello David! DG DBCP should not close connections that have been borrowed from the pool. DG It should only log a possible error when the configured time limit has DG been exceeded. What do you think, should this overtimed connection still be considered active for the purpose of enforsing

Re: [SURVEY] Commons-URI or not?

2003-06-30 Thread Anton Tagunov
Hello Sung-Gu! SG I suggest that jakarta-commons provides flexible URI issue implementations SG as a package. Looking forward to see it appear in jakarta-commons. :-) BTW, do you think that (char[] data, int start, int len) versions of methods should be included? (Something that I'm probably

Re[2]: DBCP status?

2003-06-30 Thread Anton Tagunov
Hi, All! 1) A side-note It would be really more easy if this discussion was held somewhere on db-commons, really :-) 2) PS The EAI or network infrastructure, for example, behind one of the PS apps could cause it to grind to a halt, effectively orphaning any PS connections that it has open,

Re[2]: Nightly builds?

2003-06-30 Thread Anton Tagunov
Hello Craig! CRM I haven't been able CRM to re-establish my SSH based automatic authentication so that uploading to CRM the website can happen without requiring a login. Has anyone else had CRM that issue on icarus (a.k.a cvs.apache.org)? Me too, but maybe I'm lameristic :) In fact I use

Re[2]: [SURVEY] Commons-csv or not?

2003-06-30 Thread Anton Tagunov
Hello All! Just lurkering your discussion.. JM I agree. IMHO the focus should be on any type of legacy, structured JM ASCII files containing some notion of record. Does not this give the new name to the project (not only the scope) ascii import-ascii oh wait, and if it is not ASCII? if it

Re[2]: [SURVEY] Commons-URI or not?

2003-06-30 Thread Anton Tagunov
Hi, All! AT A recent test that I have carried out showed that .charAt() is AT 1.8 - 1.9 times slower then [] on a char array, just in case I attach AT the test case. Oopps, have fogotten the test, here it is in this mail. And here are the results I got Results for 'abcdefghijk' string

[codec] CRLF in jakarta-commons/codec/src/java/org/apache/commons/codec/binary/Hex.java

2003-06-30 Thread Anton Tagunov
Hi, All! You've got CRLF broken in jakarta-commons/codec/src/java/org/apache/commons/codec/binary/Hex.java WBR, Anton - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Logging packaging questions

2003-06-30 Thread Anton Tagunov
Hello Nicolas! NM 2. we'd like the build-in backends split from the main jar so we can NM made them optional and allow people not to install them if they already NM have log4j or a 1.4 jvm. Lurker's opinion :) I want to say I like your ideas very much. war-s are great too, but putting _all_

Re[2]: [SURVEY] Commons-URI or not?

2003-06-30 Thread Anton Tagunov
AT is there going to be any overlap with AT the code project in coding/decoding the uri-s? I meant will there be a clash in scope with * codec * lang//EscapeUtils - Anton - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re[2]: DBCP status?

2003-06-30 Thread Anton Tagunov
Hello Ken! There have been very strongly argumented opinions that the pool should do nothing of the sort, but I'd like to go to the bottom of discussing other alternatives too. KH * emulates a legal timeout from the database server I have been stricken with the beauty of approach you have

Re[2]: [SURVEY] Commons-URI or not?

2003-06-30 Thread Anton Tagunov
Hello, All! AT A recent test that I have carried out Thanks to Dick Zetterberg [EMAIL PROTECTED] DZ I do not doubt that charAt is slower but I think your test DZ should be modified slightly. DZ First a question though: DZ What JDK version and what platform are you using? java version 1.4.1

Re[4]: DBCP status?

2003-06-30 Thread Anton Tagunov
Hello Juozas! JB Pool doe's not need locks on connection objects, synchronized can be used JB for wait/notifyAll, JB but it needs monitor of some global object. Pool must never return the JB same connection JB for different threads, but connection can be fail-fast itself, JB it is not a very big

Re[4]: Nightly builds?

2003-06-30 Thread Anton Tagunov
Hello Noel! AT I use windows port of SSH (by Gorden Chaffee, ssh-1.2.14-win32bin.zip) AT with windows port of cvs. CVS and ssh work fine but I fail to do scp. Noel J. Bergman: NJB I'm not familiar with that port, but from the little that I have found it NJB seems to be ancient and out-of-date.

Re[2]: DBCP status?

2003-06-27 Thread Anton Tagunov
Hi, all! JMcN I am the primary developer of the jdbc2pool and cpdsadapter packages. JMcN I do not see any reason to merge the code into one package with the rest JMcN of dbcp. They seem packaged appropriately to me. The main thing that JMcN needs to be done here is to rename the jdbc2 in the

Re: DBCP status?

2003-06-27 Thread Anton Tagunov
Hello Serge! SK Is anyone working on DBCP or planning another release anytime soon? SK It's been almost a year, and the project seems pretty inactive. Lurker's 0.02$ Have looked a couple of weeks ago * jdbc2 part seemed out of operation to me (just can't go into a release) * all the rest