Re: [lang] Removing code from deprecated NumberUtils

2003-09-25 Thread Fredrik Westermarck
Hi! Yes, the methods behave exaclty the same. However if the new methods change later on and before the deprecated class is removed, that could mean that we would have to bring back the old implementation in the deprecated class from the CVS. Keeping track of when that occurs could also be

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestCollectionUtils.java

2003-09-25 Thread psteitz
psteitz 2003/09/25 00:19:42 Modified:collections/src/test/org/apache/commons/collections TestCollectionUtils.java Log: Added test case for index method with SortedMap input. Revision ChangesPath 1.22 +21 -4

Re: [HiveMind] Basic questions about Service

2003-09-25 Thread Christian Essl
I still mean a - traditional - database provides a good (better) service. The reasons for this are the semantic and pragmitical levels of information which are very influenced by the way the underlaying data is used. An OO- database as I see binds to early the functionality to the data and

Re: [collections] CollectionUtils.index() behavior

2003-09-25 Thread Phil Steitz
Phil Steitz wrote: Hope, Matthew wrote: -Original Message- From: Phil Steitz [mailto:[EMAIL PROTECTED] Sent: 21 September 2003 19:10 To: Jakarta Commons Developers List Subject: Re: [collections] CollectionUtils.index() behavior OK, I will leave as is, but I personally see this as bad

Re: [configuration] Change Commons-Configuration getVector to getSet?

2003-09-25 Thread Henning P. Schmiedehausen
Emmanuel Bourg [EMAIL PROTECTED] writes: --ms080101070400050103080207 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit A Set is too restrictive i think, there are valid reasons for preserving duplicate configuration entries. I would use a

RE: [attributes][patch] problem with AttributeUtil

2003-09-25 Thread Leo Sutic
OK, patched (I hope). Please check that the new code works as advertised/expected. /LS From: news [mailto:[EMAIL PROTECTED] On Behalf Of Dan Diephouse - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[configuration] Missed an email about providing a good AbstractConfiguration class

2003-09-25 Thread Eric Pugh
Hi all, Someone sent I think to me directly an email about the difficulty they had in creating a JDBCConfiguration object because of some cruft in the BaseConfiguration class in reponse to an earlier post I made. Unfortunantly I deleted it.. Could they resend it to the list and maybe we can

RE: [configuration] Change Commons-Configuration getVector to getSet?

2003-09-25 Thread Eric Pugh
Is getCollection what is wanted, or getList()? I was under the impression that a collection isn't ordered.. And then you would have to cast to a List to pass the collection into anything that expects an ordered list. Eric -Original Message- From: Henning P. Schmiedehausen

cvs commit: jakarta-commons/daemon/src/native/unix/support apjava.m4

2003-09-25 Thread jfclere
jfclere 2003/09/25 04:13:02 Modified:daemon/src/native/unix/support apjava.m4 Log: Arrange the handling of JAVA_HOME and javac/jar in the PATH. javac/jar of the PATH where used instead javac/jar of JAVA_HOME. Revision ChangesPath 1.2 +23 -3

Re: [configuration] Missed an email about providing a good AbstractConfiguration class

2003-09-25 Thread Konstantin Shaposhnikov
Hello. Here is my previous mail: --- I've tried to create my own Configuration class which loads properties from database. Because I don't want to implement all methods from Configuration interface by myself I decide to extend my class from BaseConfiguration and found that it is not easy task.

[email] bad cid returned from embed in HtmlEmail?

2003-09-25 Thread Joel Gautschi
hi, the embed(URL url, String name) method of org.apache.commons.mail.HtmlEmail returns the cid for the embeded url. the cid contains a random ascii string (containing chars like ,,', etc.). of course it didn't worked in the email client if I used a cid containing char like ,,' that's why I

cvs commit: jakarta-commons/daemon/src/native/unix/native jsvc-unix.c

2003-09-25 Thread jfclere
jfclere 2003/09/25 06:35:44 Modified:daemon/src/native/unix/native jsvc-unix.c Log: Darwin also uses setpgid. Revision ChangesPath 1.3 +2 -2 jakarta-commons/daemon/src/native/unix/native/jsvc-unix.c Index: jsvc-unix.c

cvs commit: jakarta-commons/daemon/src/native/unix/support apsupport.m4

2003-09-25 Thread jfclere
jfclere 2003/09/25 06:38:27 Modified:daemon/src/native/unix/support apsupport.m4 Log: Darwin does not need the -ldl Revision ChangesPath 1.3 +1 -2 jakarta-commons/daemon/src/native/unix/support/apsupport.m4 Index: apsupport.m4

RE: [HiveMind] Basic questions about Service

2003-09-25 Thread Howard M. Lewis Ship
What your are describing is pretty close to J2EE dogma. A service facade (stateless session bean) is a business process concerning Employee. An additonal service, behind the facade, provides persistancy for Employee objects, i.e., its a Data Access Object (really, a Data Access Service).

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

Re: [HiveMind] Basic questions about Service

2003-09-25 Thread Harish Krishnaswamy
I totally agree with you on separating the data access service out from the actual business object, in fact this is exactly what I have done previously in one the projects. But I had not separated the business logic and data, instead we had a data transfer object which was primarily an

Re: [HiveMind] Basic questions about Service

2003-09-25 Thread Harish Krishnaswamy
Or does the domain service wrap the data access service which inturn provides the value objects? So an EmployeeService would wrap an EmployeeDataAccessService which would provide the EmployeeValueObject(s)? -Harish Harish Krishnaswamy wrote: I totally agree with you on separating the data

RE: [HiveMind] Basic questions about Service

2003-09-25 Thread Howard M. Lewis Ship
-Original Message- From: Harish Krishnaswamy [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 11:35 AM To: Jakarta Commons Developers List Subject: Re: [HiveMind] Basic questions about Service Or does the domain service wrap the data access service which inturn

cvs commit: jakarta-commons/daemon/xdocs faq.xml jsvc.xml

2003-09-25 Thread jfclere
jfclere 2003/09/25 08:42:12 Modified:daemon/xdocs jsvc.xml Added: daemon/xdocs faq.xml Log: Start a faq page and add the autoconf version. Revision ChangesPath 1.2 +1 -1 jakarta-commons/daemon/xdocs/jsvc.xml Index: jsvc.xml

Re: [HiveMind] Basic questions about Service

2003-09-25 Thread Bill Lear
On Thursday, September 25, 2003 at 12:51:14 (-0400) Harish Krishnaswamy writes: Absolutely, I agree it is not yet prime time to go against J2EE (guess that's why we have the EJBProxyFactory!) and it very well could, down the road. We are actually starting a new small project this coming Monday

RE: [Daemon|JRCS] Gump Visibility ... Re: [vote] Move JRCS out of Jakarta

2003-09-25 Thread Shapira, Yoav
Howdy, I agree, and Daemon already participates in Gump ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Adam R. B. Jack [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 2:02 PM To: Jakarta Commons Developers List Cc: Gump code and data Subject:

Re: [HiveMind] Basic questions about Service

2003-09-25 Thread Bill Lear
On Thursday, September 25, 2003 at 14:08:02 (-0400) Harish Krishnaswamy writes: So how is it treating you?! Well, it's very easy to switch among different factories. I use a Prevayler-backed DAO to help with rapid development of the front-end (Tapestry), I have a mock DAO for unit testing, and a

Re: [HiveMind] Basic questions about Service

2003-09-25 Thread Christian Essl
(I have put your mails together) Well there are some instruments involved but a lot of it is basically workflow. I am currently envisioning HiveMind to provide the glue between the various services that the lab provides. Oh I see you mean HiveMind services to wrap current lag-services and than

cvs commit: jakarta-commons/digester/src/examples/api/catalog Book.java

2003-09-25 Thread rdonkin
rdonkin 2003/09/25 13:04:37 Added: digester/src/examples/api/catalog Book.java Log: Example of a catalog. Submitted by Simon Kitching. Revision ChangesPath 1.1 jakarta-commons/digester/src/examples/api/catalog/Book.java Index: Book.java

cvs commit: jakarta-commons/digester/src/examples/api/catalog BookFactory.java

2003-09-25 Thread rdonkin
rdonkin 2003/09/25 13:04:55 Added: digester/src/examples/api/catalog BookFactory.java Log: Example of a catalog. Submitted by Simon Kitching. Revision ChangesPath 1.1 jakarta-commons/digester/src/examples/api/catalog/BookFactory.java Index:

cvs commit: jakarta-commons/digester/src/examples/api/catalog example.xml

2003-09-25 Thread rdonkin
rdonkin 2003/09/25 13:06:42 Added: digester/src/examples/api/catalog example.xml Log: Example of a catalog. Submitted by Simon Kitching. Revision ChangesPath 1.1 jakarta-commons/digester/src/examples/api/catalog/example.xml Index: example.xml

Re: [digester] further usage examples

2003-09-25 Thread robert burrell donkin
hi simon committed. many thanks and keep up the good work. i'll look forward to the next installment :) (i still want to find a way to get maven to generate html from the source but that'll probably need to wait a little while.) - robert On Monday, September 22, 2003, at 01:28 AM, Simon

cvs commit: jakarta-commons incl_nav.xml

2003-09-25 Thread tobrien
tobrien 2003/09/25 13:40:59 Added: .incl_nav.xml Log: Shared Navigation Menus for Maven Generated Sites in the Jakarta Commons Revision ChangesPath 1.1 jakarta-commons/incl_nav.xml Index: incl_nav.xml

cvs commit: jakarta-commons/latka/src/xdocs navigation.xml

2003-09-25 Thread tobrien
tobrien 2003/09/25 13:42:12 Modified:latka/src/xdocs navigation.xml Log: The Latka Maven navigation now references a shared XML file which contains Menu elements that provide consistency among Jakarta Commons projects Revision ChangesPath 1.2 +5 -145

cvs commit: jakarta-commons/beanutils project.xml

2003-09-25 Thread tobrien
tobrien 2003/09/25 13:53:02 Modified:beanutils project.xml Log: Removed the logo reference in the maven project.xml, there is no longer a logo for beanutils Revision ChangesPath 1.12 +1 -0 jakarta-commons/beanutils/project.xml Index: project.xml

cvs commit: jakarta-commons/beanutils/xdocs navigation.xml

2003-09-25 Thread tobrien
tobrien 2003/09/25 13:53:25 Added: beanutils/xdocs navigation.xml Log: BeanUtils' maven site now references a shared nav for Jakarta Commons Revision ChangesPath 1.1 jakarta-commons/beanutils/xdocs/navigation.xml Index: navigation.xml

[all] Maven common nav and ApacheCon ad

2003-09-25 Thread Tim O'Brien
The Jakarta Commons Maven generated sites all have a series of different nav menus. I've checked in one fragment of XML which provides a commons nav menu for all commons projects. It will add the ApacheCon ad and add the list of projects to every project page, and it will take 5 minutes to

Japanese Translation link is dead

2003-09-25 Thread Tim O'Brien
The link to the Japanese translations is dead, should we move this content on to ASF hardware? -- Tim O'Brien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Japanese Translation link is dead

2003-09-25 Thread Tetsuya Kitahata
Dooh. Sorry, this is true (but really temporarily. I got up this morning, I found that the server was down) I will get in contact with the server admin (in the USA ...). Will be fixed within a few hours, I hope. __ Tetsuya [EMAIL PROTECTED] __ (translator of jakarta.terra-intl.com/commons/) On

cvs commit: jakarta-commons-sandbox/hivemind/library project.properties

2003-09-25 Thread hlship
hlship 2003/09/25 14:38:40 Modified:hivemind/framework project.xml hivemind/framework/xdocs BuilderFactory.xml hivemind/framework/src/descriptor/META-INF hivemodule.xml hivemind/library project.properties Log: Add set-resource to

Re: [collections] CollectionUtils.index() behavior

2003-09-25 Thread Stephen Colebourne
From: Phil Steitz [EMAIL PROTECTED] Grr. Just discovered another wonderful feature when implementing a test for this. Since the algorithm for index(map, i) first tries to find Integer(i) as a key in the map, if you use a TreeMap to test, this throws a ClassCastException unless the keys in the

cvs commit: jakarta-commons-sandbox/hivemind/library project.xml

2003-09-25 Thread hlship
hlship 2003/09/25 15:02:12 Modified:hivemind/library project.xml Log: Prune out unecessary dependencies. Revision ChangesPath 1.2 +1 -22 jakarta-commons-sandbox/hivemind/library/project.xml Index: project.xml

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/pairs - New directory

2003-09-25 Thread scolebourne
scolebourne2003/09/25 15:47:44 jakarta-commons/collections/src/java/org/apache/commons/collections/pairs - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/pairs KeyValuePair.java AbstractMapEntry.java AbstractPair.java Pair.java DefaultMapEntry.java

2003-09-25 Thread scolebourne
scolebourne2003/09/25 15:47:49 Added: collections/src/java/org/apache/commons/collections/pairs KeyValuePair.java AbstractMapEntry.java AbstractPair.java Pair.java DefaultMapEntry.java Log: New Pair implementations Revision

Re: [collections] Map.Entry and KeyValue

2003-09-25 Thread Stephen Colebourne
While I agree with the theory of having a MapEntry impl that is more final than at present, I can't support changing the current implementation as it is backwards incompatible. So, I have created a pairs subdirectory and put some classes in there based on your code. There are no tests ATM. See

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

2003-09-25 Thread Dirk Verbeeck
I was thinking about concurrent modification of the trace List thread1: borrowObject - removeAbandoned (synchronized on pool) - trace.iterator() thread2: returnObject - (synchronize on trace) - trace.remove This triggers a ConcurrentModificationException, IMHO I would synchronize on the pool

Re: [Chain] DTD, Design Considerations, etc. (was Re: [Chain] examples XML file available?)

2003-09-25 Thread Sgarlata Matt
(I'm less annoying in this email I promise...) - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 12:59 PM Subject: Re: [Chain] DTD, Design Considerations, etc. (was Re: [Chain]

DO NOT REPLY [Bug 23430] New: - Minor javadoc fixes for StringUtils.contains(String, String)

2003-09-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23430. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23430] - [lang] Minor javadoc fixes for StringUtils.contains(String, String)

2003-09-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23430. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

[Daemon|JRCS] Gump Visibility ... Re: [vote] Move JRCS out of Jakarta

2003-09-25 Thread Adam R. B. Jack
Folks wrote: [JRCS] The obvious problem is that the project is becomming invisible, and in so few people are working on it. It IS invisible, hence no one (ok, few people) knows it is here. [Daemon] I believe that now is the right time to reform the API since it seems like no one(*) is

Re: Problem with multipart post data - Content-Transfer-Encoding: 8bit

2003-09-25 Thread Dan Alford
Mike, Thanks for the help. I am using the custom file and string parts and that solved the problem. Let me know if you come up with a patch for this problem. Regards, Dan Alford - Original Message - From: Michael Becke [EMAIL PROTECTED] To: Commons HttpClient Project [EMAIL PROTECTED]

Re: connection leak in HttpMethodBase when HttpRecoverableException is re-thrown

2003-09-25 Thread danch
Thanks Michael. If you determine that HttpClient shouldn't be automatically releasing in this case, I'll take the issue up on the Axis side. thanks again, danch Michael Becke wrote: I will investigate automatic release for this case and will let you know what I come up with. If anyone else has

How do I get passed my NT Proxy?

2003-09-25 Thread Rustad, Aaron
OK, I know this questioned has been asked many times, and I am afraid that I have to ask once more. I have looked through the archived mailing list, and investigated the JavaDocs, but I just can't get it to work. If I can get this figured out with your help, I promise to put an end to NTML

FW: How do I get passed my NT Proxy?

2003-09-25 Thread Rustad, Aaron
OK, I know this questioned has been asked many times, and I am afraid that I have to ask once more. I have looked through the archived mailing list, and investigated the JavaDocs, but I just can't get it to work. If I can get this figured out with your help, I promise to put an end to NTML

RE: How do I get passed my NT Proxy?

2003-09-25 Thread Rustad, Aaron
Looks like the mail list removes attachments...it can be viewed here: http://www.anassina.com/~arustad/httpclient.jpg -Original Message- From: Rustad, Aaron Sent: September 25, 2003 9:33 AM To: '[EMAIL PROTECTED]' Subject: How do I get passed my NT Proxy? OK, I know this questioned

Re: How do I get passed my NT Proxy?

2003-09-25 Thread Michael Becke
Hi Aaron, Is 'comp.com' the name of the NT domain where the account 'username' is defined? The domain given to NTCredentials should be a NT domain name. Mike Rustad, Aaron wrote: OK, I know this questioned has been asked many times, and I am afraid that I have to ask once more. I have looked

RE: How do I get passed my NT Proxy?

2003-09-25 Thread Kalnichevski, Oleg
[DEBUG] wire - - HTTP/1.1 407 Proxy authentication required[\r][\n] [DEBUG] wire - - Proxy-Authenticate: NTLM ...=[\r][\n] [DEBUG] wire - - Content-Length: 503[\r][\n] [DEBUG] wire - - Content-Type: text/html[\r][\n] ... [DEBUG] HttpMethodBase - -Should forcefully close connection. ...^

RE: How do I get passed my NT Proxy?

2003-09-25 Thread Rustad, Aaron
Mike, I have since changed my code to include this just before it calls client.executeMethod(). I still get the same results. I suspect setAuthenticationPreemptive() really only works for the web site's basic authentication, and not for proxy authentication...I could be wrong though. AR.

Re: How do I get passed my NT Proxy?

2003-09-25 Thread Michael Becke
Yes, this is definitely the problem. I haven't looked at the code to verify, but is it possible that the connection: close from the first request is being reused? Mike Kalnichevski, Oleg wrote: [DEBUG] wire - - HTTP/1.1 407 Proxy authentication required[\r][\n] [DEBUG] wire - -

DO NOT REPLY [Bug 23431] - Add the ability to disable the content-type and transfer encoding headers for Parts

2003-09-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23431. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 22800] - Crashes when it gets a redirect

2003-09-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22800. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 17569] - Include generated website in the distribution

2003-09-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17569. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.