Managing password updates in Commons-DBCP

2005-03-31 Thread Scott Stevens
Hello Commons-Users, The issue we are having is that we are implementing a policy forcing database account password changes every 90 days. Our DataSource implementation class uses the SharedPoolDataSource (from commons-dbcp) in managing its PooledConnections. Unfortunately, it appears that

[transaction.locking] Modify the behaviour of the ReadWriteUpgradeLockManager

2005-03-31 Thread [EMAIL PROTECTED]
Hi, In the documentation I find that while an upgrade lock is held, it is possible for read locks to be obtained, and when the request is made to upgrade to a write lock, the lock manager prevents additional read locks until the write lock can be acquired. I don't understand why when the upgrade

[OT] The wisdom of Albert (was Chain: too damn buggy to be out of sandbox)

2005-03-31 Thread Frank W. Zammetti
http://rescomp.stanford.edu/~cheshire/EinsteinQuotes.html http://home.att.net/~quotations/einstein.html http://www.quotationspage.com/quotes/Albert_Einstein/ http://www.tc.umn.edu/~burc0050/quotes_einstein.html http://www.cersanmystical.org/Quotes%20of%20Einstein-1.htm I admit I couldn't find an

commons attribures: Inheritable

2005-03-31 Thread Kiruta Vitaly
Hi all, I've got a question about the usage of org.apache.commons.attributes.Inheritable. I specify an attribute for the method in interface and I want that attribute to apply to the method in the implementing class. For example: interface ISome { /** @@Permission(WRITE) */ void

Re: [OT] The wisdom of Albert (was Chain: too damn buggy to be out of sandbox)

2005-03-31 Thread Dakota Jack
Seneca said: [w]hen in Rome, do as the Romans do. When not in Rome, do as the Romans do. You know what this has been taken to mean. EVERYONE makes the same mistake frequently. That is kind of the nature of EVERYONE. The book In Praise of Folly, which actually is taken to be in praise of folly

RE: [commons-logging] Problem renaming logfiles

2005-03-31 Thread Alfredo Ledezma Melendez
Good morning, I had the same problem before on a test environment (Tomcat running locally on a Winbugs XP machine)...every day the same problem. At that moment, being to damn stressed, I try the same code on a Linux box, and no problem at all renaming. To solve the problem in my test

Re: [Digester] Problem with XML rule definiton.

2005-03-31 Thread Silas Snider
I was using Eclipse as the development enviroment, so that could be doing it, but I have done reflection with it before, and it worked both in the jar file and the environment. Sincerely, Silas Snider Reid Pinchback wrote: It sounds like one of two things: 1) in the jar'd configuration

[HttpClient] HttpClient and sendRedirect problem

2005-03-31 Thread Swati Singhal
Hi!! I am using HttpClient to post xml files from my servlet to a JSP/servlet. My application is designed in such a way that have a big XML which I parse and get smaller XMLs and loop through them posting each smaller XML to a JSP. This part works fine. Now, after I post the XML to my

Re: [betwixt] projects using betwixt, request for adding me to the list

2005-03-31 Thread robert burrell donkin
committed. (may take a while for the mirrors to sync.) glad to here that you've managed to put Betwixt to good use. on the subject of translations i18n and globalization (as the IBMers like to call it), i've had an itch for some time to mix commons-resources and JEXL into scriptable

Re: [transaction.locking] Modify the behaviour of the ReadWriteUpgradeLockManager

2005-03-31 Thread Oliver Zeigermann
Hmmm, not quite sure that I get this all right, but to me it seems you describe the simple read/write locks (without the upgrade step). Is that possible? If so you could simply use the ReadWriteLockManager. Oliver On Thu, 31 Mar 2005 14:34:24 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

[dbcp] Help! getting AbstractMethodError

2005-03-31 Thread Rumpa Giri
I am unable to figure out why I am getting this following exception. When I do a brand new installation, everything works, but on our QA server installing on top of existing tomcat, and as a part of existing web application, it throws the exception. Any help will be appreciated. Thanks and

[PortletFileUpload] class compiling error

2005-03-31 Thread Pete Raleigh
I would appreciate some assistance in creating a JSR 168 compliant File Upload Portlet. I have downloaded the 1.1-dev JAR from the commons website (Nightly build) but seem to be having problems compiling. My (trimmed) code is as follows: ... import org.apache.commons.fileupload.FileItem; import

RE: [PortletFileUpload] class compiling error

2005-03-31 Thread Pete Raleigh
That's because it isn't a servlet - it's a portlet. Are these files really necessary? It uses the ActionRequest object, rather than an HttpServletRequest object - which are very different in a Portal Server. I have been struggling with this all day and have still not progressed very far. Has

RE: [PortletFileUpload] class compiling error

2005-03-31 Thread Alfredo Ledezma Melendez
Please check http://jakarta.apache.org/commons/fileupload/dependencies.html Regards, Alfredo Ledezma Melendez. Costumer Record Management Consultor Externo de Sistemas de Atencion a Clientes RadioMovil DIPSA, S. A. de C. V. Ejercito Nacional No. 488,

Re: [dbcp] Help! getting AbstractMethodError

2005-03-31 Thread Dirk Verbeeck
You should make a list of differences between you new system and the QA setup. Start with VM version, global tomcat jars (including dbcp version) and application specific ones. In this specific case check the database driver jar, make sure you use the same jar everywhere. If you find the

Re: [transaction.locking] Modify the behaviour of the ReadWriteUpgradeLockManager

2005-03-31 Thread [EMAIL PROTECTED]
Hi, Selon Oliver Zeigermann [EMAIL PROTECTED]: Hmmm, not quite sure that I get this all right, but to me it seems you describe the simple read/write locks (without the upgrade step). Is that possible? If so you could simply use the ReadWriteLockManager. My lock manager has not exactly the