[beanutils] Home page strongly suggests 1.9 is the latest 1.x release when it's 1.11

2025-08-26 Thread Christopher Schultz
All, The beanutils home page[1] lists versions 2.0.0 and 1.9.0 when the latest 1.x version is 1.11.0, as shown on the downloads page[2]. -chris [1] https://commons.apache.org/proper/commons-beanutils/ [2] https://commons.apache.org/proper/commons-beanutils/download_beanutils.cgi -

[fileupload] Download links for 1.6 point to non-existent commons-fileupload2-1.6.0.tar.gz file

2025-08-26 Thread Christopher Schultz
All, On the public web site for fileupload, the download links[1] for version 1.6.0 point to a URL[2] which is incorrect and leads to a 404 page. It looks like all 4 links (tar, zip, src-tar, src-zip) have the same issue. -chris [1] https://commons.apache.org/proper/commons-fileupload/downl

[digester3] Getting ClassCastException and NoSuchMethodError in odd situations

2024-11-08 Thread Christopher Schultz
All, I have a home-built SAML parser based upon commons-digester3. It's very basic and just tries to extract some minimal information from the document. The code is deployed into a web application but there isn't anything really servlet-y around the code. It looks like this: Digeste

Re: [beanutils] Optional dependency on commons-collections (v3)

2021-04-22 Thread Christopher Schultz
s.git/info/refs not valid: could not determine hash algorithm; is this a git repository? -chris [1] http://commons.apache.org/proper/commons-beanutils/scm.html On Wed, Apr 21, 2021, 16:06 Christopher Schultz < ch...@christopherschultz.net> wrote: All, I'm trying to debug a probl

[beanutils] Optional dependency on commons-collections (v3)

2021-04-21 Thread Christopher Schultz
All, I'm trying to debug a problem in a deployment of a product where the vendor has removed commons-collections-3.2.2.jar but kept commons-beanutils-1.9.3.jar. We are getting NoClassDefFoundErrors in org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor beanutils lists comm

Re: [dbcp2] No error/warning when returning a connection twice

2021-04-14 Thread Christopher Schultz
Phil, On 4/14/21 16:39, Phil Steitz wrote: On 4/14/21 12:59 PM, Gary Gregory wrote: Hi, That's a tough sell IMO because (1) the JDBC specification does not require this behavior AND (2) it would break existing applications. What is the harm is having nothing happen when you close a closed c

[dbcp2] No error/warning when returning a connection twice

2021-04-14 Thread Christopher Schultz
All, I have had an application for years which I run in development with maxsize=1 so I can catch any double-check-out errors as soon as they might read their ugly heads. But I never considered double-return logic errors. I recently wrote a "single connection pool" which is bare-bones and ju

[digester] Decoding some complex namespace stuff

2021-02-17 Thread Christopher Schultz
All, I'm trying to parse n SAML response which, among other things, has arbitrary name/value pairs which look like this: http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="xs:string">attriute-value I'm using Digester 3.2 an

Re: [digester] Pass a static value to a CallParam rule?

2021-02-17 Thread Christopher Schultz
All, On 2/16/21 15:31, Christopher Schultz wrote: All, I'd like to invoke a method on the current top-of-the-stack object and pass a static string value to it, like this: digester.push(new MyBean()); digester.addCallMethod("/Foo/Bar", "setAttribute", 2, ne

[digester] Pass a static value to a CallParam rule?

2021-02-16 Thread Christopher Schultz
All, I'd like to invoke a method on the current top-of-the-stack object and pass a static string value to it, like this: digester.push(new MyBean()); digester.addCallMethod("/Foo/Bar", "setAttribute", 2, new Class[] { String.class }); digester.addCallParam("/Foo/Bar", 0, "MyStaticString");

Re: [OT?] Managing text-direction in Java

2020-04-20 Thread Christopher Schultz
erfect may be difficult to achieve. Thanks, - -chris >> On Apr 10, 2020, at 12:43 PM, Christopher Schultz wrote: >> > All, > > This is likely off-topic because this isn't really about any > particular commons-* project, but I know there are Java-text wonks >

[OT?] Managing text-direction in Java

2020-04-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, This is likely off-topic because this isn't really about any particular commons-* project, but I know there are Java-text wonks who lurk here, so I figured this was a good place to ask. I'm happy to relocate this question elsewhere if there's a

Re: [digester3] Namespaces, prefixes with digester

2020-02-15 Thread Christopher Schultz
igester.setRuleNamespaceURI("http://apache.org/test";); digester.setNamespaceAware(true); digester.setValidating(false); return digester; } === CUT === On 2/14/20 12:04, Christopher Schultz wrote: > All, > > I'm having an odd problem which I&#x

[digester3] Namespaces, prefixes with digester

2020-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm having an odd problem which I'm not sure I've seen before. I *think* I'm doing everything correctly, but I'm not getting the behavior I expect. I'm trying to parse an XML document using digester 3.2. My code looks like this: Diges

Re: [commons-text] Help debugging a very strange error

2020-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, As is common when weird things are happening, I wasn't looking in the right place. A macro IS being re-defined. It just isn't #xmlEscape... it's the one *calling* #xmlEscape. :( Thanks! - -chris On 1/16/20 1:40 PM, Christophe

[commons-text] Help debugging a very strange error

2020-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, In the past week, I've received reports of our servers starting to incorrectly escape XML strings with consumer errors like this: org.xml.sax.SAXParseException: The entity "rsquo" was referenced, but not declared. When looking at the raw text

[codec] Support for writing AES-encrypted ZIP files

2019-09-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, According to https://commons.apache.org/proper/commons-compress/limitations.html, ZIP support does not include AES encryption when *writing* archives. I'm wondering if that was a design decision or just that nobody has volunteered to write the

Re: [codec] Base32 decode is not case-insensitive?

2017-09-21 Thread Christopher Schultz
ff to commons-codec. Thanks, - -chris On 5/1/17 3:21 PM, Christopher Schultz wrote: > Paulo, > > On 5/1/17 1:35 PM, Paulo Roberto Massa Cereda wrote: >> Apologies, I quoted the wrong bit! > >> --8< When decoding, upper and lower case >> let

[fileupload] API compatibility across versions

2017-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I've taken a look back at the "recent" fileupload release announcements, and I can't seem to see any documentation on the API compatibility between fileupload 1.2.x and fileupload 1.3.x. The release announcement for 1.3 points to the 1.3 relea

[io] Links to 2.5 release notes point to 2.4 release notes?

2017-06-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On the IO home page[1] it looks like the links for the "release notes" for both 2.5 and 2.4 versions point to the same document. The URL looks correct (2.4 and 2.5 point to release-appropriate URLs) but the contents of the two sets of release

[digester] Typo in legacy download links

2017-06-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, It looks like the download links for older versions aren't pointing to the right place on this page: https://commons.apache.org/proper/commons-digester/download_digester.cgi I needed a copy of commons-digester-2.1-bin.tar.gz and the link inste

Re: [codec] Base32 decode is not case-insensitive?

2017-05-01 Thread Christopher Schultz
g the symbols must not >> require keyboarding gymnastics. * Be pronounceable. Humans should >> be able to accurately transmit the symbols to other humans using >> a telephone. -8<------- >> >> [1]: http://www.crockford.com/wrmg/base32.html >&g

[codec] Base32 decode is not case-insensitive?

2017-05-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I spent a few hours trying to figure out what I had done wrong when trying to base32-decode a 32-character string and was getting a 5-byte array back (instead of a 20-byte array, as expected). I finally determined that Base32.decode doesn't wo

Re: Commons Exec with [exec]: {127=Process exited with an error: 127(Exit value: 127)}

2016-09-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ranjith, On 9/19/16 12:39 AM, Ranjith Mandala wrote: > Below command fails to execute. Please let me know what I am doing > wrong. > > CommandLine cmdLine = new CommandLine("/bin/bash"); > cmdLine.addArguments(new String[] {"-c", "ls -l" }); > >

Re: Prefix for mails to user@commons.apache.org?

2016-08-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Matt, On 8/30/16 12:01 PM, Matt Sicker wrote: > Oh, I thought he was talking about subprojects, not lists. Yeah, > the List-Id and other List-* headers are good enough for this > normally. .. or the "TO" or "CC" headers. Any client should be able t

Re: Problems with encoding UTF-8 for åäö

2016-03-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars, On 3/23/16 9:10 AM, lars.z.carls...@teliasonera.com wrote: > I switch to iso-8859-1 and now everything works fine thanks for the > help That's the first time I've ever heard anyone say that. - -chris -BEGIN PGP SIGNATURE- Comment: GPGT

[lang] Broken Javadoc API links on website

2013-04-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I was trying to view the Javadoc for commons-lang 2.4 and it looks like all the Javadoc links are broken on this page: http://commons.apache.org/proper/commons-lang/release-history.html For example, the 2.4 javadoc link from that page is: htt

Re: [sandbox/OpenPGP] Encryption capabilities

2012-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis, On 8/25/12 10:56 AM, Dennis Lundberg wrote: > On 2012-08-23 16:00, Matt Benson wrote: >> FWIW, [openpgp] started as a brainchild of the Ant and Maven >> PMCs, IIRC. :) > > Yes, I did some local changes on it a while back, but haven't > cont

[sandbox/OpenPGP] Encryption capabilities

2012-08-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Are there any plans or is there any interest in the sandbox's OpenPGP project to support encryption (or decryption)? I'm building a tool on top of Apache Ant and I'd like to be able to support PGP operations -- specifically file encryption -- an

Re: [digester] Grabbing data from sub-element attributes

2011-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rahul, On 5/13/2011 5:53 PM, Rahul Akolkar wrote: > Yeah, and probably more than one way even with out of the box rules: > > d.addObjectCreate("entities/entity", Entity.class); > d.addCallMethod("entities/entity/foo", "setFoo", 0); > d.addCallM

Re: [digester] Grabbing data from sub-element attributes

2011-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Wouldn't you know it, just after I posted, I had an epiphany: On 5/13/2011 5:33 PM, Christopher Schultz wrote: > > > some value > some other value > > > The solution is: digester.addObj

[digester] Grabbing data from sub-element attributes

2011-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I'm trying to process a document that has some data as PCDATA in sub-elements, but some data in attributes of those sub-elements. I have a simple POJO to store the data, but I'm having difficulty gathering both pieces of information. Here's an e

Re: [digester] The element type ... must be terminated by the matching end-tag

2011-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick, On 5/4/2011 4:18 AM, Patrick Diviacco wrote: > Ok, however browsers have the same problem my editor has in displaying and > matching tags in big files. We use a custom handler called a TracingSAXHandler which extends DefaultHandler, override

Re: [Fileupload] Missing character in the middle of a file

2010-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 10/12/2010 5:15 PM, Brian Pontarelli wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Brian, >> >> On 10/4/2010 11:43 AM, Brian Pontarelli wrote: >>> I figured that the original File and the File written out by the >>> FileUp

Re: [net]

2010-10-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pablo, On 10/5/2010 10:48 PM, Pablo Pinto wrote: > I'm using the FTP API and I need to use a limited bandwidth. > > The following code works pretty good except for one problem. At > the beginning of the transference the program buffers 64KB of data u

Re: [validator] Possible to configure multiple error messages for a single validator?

2010-10-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niall, On 10/5/2010 3:05 PM, Niall Pemberton wrote: >> On Wed, Sep 29, 2010 at 7:09 PM, Christopher Schultz >> I could simply hard-code the error message key into the validator, but >> that seems less maintainable than I'

Re: [Fileupload] Missing character in the middle of a file

2010-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 10/5/2010 12:49 PM, Brian Pontarelli wrote: > I haven't tried additional files yet, mostly because it should work > for any file in the universe. Of course. I'm not trying to verify that there is a problem (there's clearly a problem somewhe

Re: [validator] Possible to configure multiple error messages for a single validator?

2010-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Wow, nothing? :( Usually Niall will at least tell me that nobody cares :) - -chris On 10/1/2010 11:29 AM, Christopher Schultz wrote: > All, > > Any suggestions? I've even considered using a multi-valued "msg" using

Re: [fileupload] File Size Limit Exceeded - Any method for early detection?

2010-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 10/4/2010 1:58 PM, Rob Podolski wrote: > ServletFileUpload upload = new ServletFileUpload(factory); > upload.setFileSizeMax(1000L); > > will only operate AFTER the file has been received in the servlet request. You could check the Conten

Re: [Fileupload] Missing character in the middle of a file

2010-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 10/4/2010 11:43 AM, Brian Pontarelli wrote: > I figured that the original File and the File written out by the > FileUpload would have different bytes at the start or end and it was > my mock input stream that was causing the issue. To test

Re: [validator] Possible to configure multiple error messages for a single validator?

2010-10-01 Thread Christopher Schultz
Thanks, - -chris On 9/29/2010 2:09 PM, Christopher Schultz wrote: > All, > > I've been happily using commons-validator 1.3.1 with Struts 1.3 for some > years, now, and I've recently developed my own custom validator that > checks for XHTML syntactic validity. Technically,

Re: [cli] Why is the Constructor to CommandLine package protected?

2010-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 9/28/2010 8:16 PM, Jason Powers wrote: > I'm working with version 1.2 (I've checked the 1.3 source as well) and I'm > in need of writing a parser that's a little more strict than the provided > parsers. I really like the rest of the framewor

[validator] Possible to configure multiple error messages for a single validator?

2010-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've been happily using commons-validator 1.3.1 with Struts 1.3 for some years, now, and I've recently developed my own custom validator that checks for XHTML syntactic validity. Technically, it checks for XHTML validity only when the input looks

Re: Commons-transaction abandoned?

2010-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oliver, On 3/5/2010 5:01 AM, Oliver Zeigermann wrote: > The project has been abandoned by me as I lost faith in one of its > goal - ACID properties (especially atomicity) on any file system. From > my (and others) point of view it can not be achieved

Re: [Sanselan] - Help Parsing EXIF Info embedded in PNG

2010-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, On 3/3/2010 1:38 PM, Stephen Nesbitt wrote: > I am trying to figure out how to parse EXIF info embedded in a PNG. I'm no PNG/EXIF expert, but Wikipedia's EXIF page says that PNG doesn't support EXIF: " The specification uses the existing JP

Re: Commons-Pool : BasePoolableObjectFactory - generification in the roadmap ?

2010-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kay, On 2/16/2010 5:31 PM, Kay Kay wrote: > On 2/16/10 2:20 PM, Christopher Schultz wrote: > Kay, > > (Any relation to Jay Kay? That's guy's cool) > >>not exactly :) :( Maybe you could just wear a silly hat

Re: Commons-Pool : BasePoolableObjectFactory - generification in the roadmap ?

2010-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kay, (Any relation to Jay Kay? That's guy's cool) On 2/10/2010 6:58 PM, Kay Kay wrote: > In Commons-Pool : o.a.commons.pool.BasePoolableObjectFactory and > similar classes seem like good candidates for a generic api . Any idea > , if the generifica

Re: [validator] Trouble using global constants in variable values

2010-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 2/10/2010 8:55 PM, Christopher Schultz wrote: > I'm looking for jakarta-oro's pattern syntax, but I can't seem to find a > reference to it, other than that it is "Perl 5 compatible". Perl 5 says > stuff li

Re: [validator] Trouble using global constants in variable values

2010-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niall, On 2/10/2010 7:21 PM, Niall Pemberton wrote: > You could try testing you're expression directly using > GenericValidator.matchRegexp() until you're happy it works. That's good to know. After dinner and a few drinks, I realized something: comm

Re: [validator] Trouble using global constants in variable values

2010-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 2/10/2010 6:27 PM, Christopher Schultz wrote: > ^.*(([0-9]+.*\p{L}+)|(\p{L}+.*[0-9]+)).*$ Okay, something must be wrong with my regular expression, or now I'm expressing it in the XML, because when I set it to ^[a]+$ ...it will

[validator] Trouble using global constants in variable values

2010-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Hello, we've been using commons-validator 1.3.1 along with Struts 1.3.8 to do form validation to great success for quite some time (thanks!). I was recently asked to change our password complexity requirements and I realized that we had the same

Re: [EMAIL] Using Apache Commons Email and Google

2009-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefano, On 11/16/2009 1:27 PM, Stefano "Kismet" Lenzi wrote: > On Mon, Nov 16, 2009 at 16:45, Christopher Schultz > wrote: >> >> Try setting -Dmail.debug=true and run it again. This will give you much >> more outpu

Re: [EMAIL] Using Apache Commons Email and Google

2009-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephano, On 11/16/2009 9:43 AM, Stefano "Kismet" Lenzi wrote: > I was trying to use the Commons Email project for sending email with > the Google provider, but I failed. I tried with the following code > SimpleEmail email = new SimpleEm

Re: DBCP woes (running out of cursors).

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 10/15/2009 2:24 PM, Bill Davidson wrote: > That does make me wonder though if there are Connection's getting sent > back to the pool that had a pending transaction without a commit/rollback > and if that could be making any cursors on that co

Re: DBCP woes (running out of cursors).

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 10/15/2009 2:15 PM, Bill Davidson wrote: > Christopher Schultz wrote: >>Is it possible that your server just doesn't want to allocate 245 * 4 >>cursors, and that you are just hitting that barrier? > > cursor !

Re: DBCP woes (running out of cursors).

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 10/14/2009 5:05 PM, Bill Davidson wrote: > Usually, we don't need that many [connections], but sometimes, we get hit > really hard > with a lot of traffic and do need that many. BTW, this is load balanced > across 4 servers that can each do

Re: DBCP woes (running out of cursors).

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 10/14/2009 2:17 PM, Bill Davidson wrote: > Redhat 5.2 Server Wow. > I've been trying to convert an old J2EE application to use DBCP connection > pools from an old custom connection pool class (not a DataSource > interface). I've moved a co

Re: Send multiple email

2009-09-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frans, On 9/23/2009 5:26 PM, Frans Thamura wrote: >> Are you intending to send messages through a single smart host or SMTP >> server, or do you expect your software to direct-connect with the mail >> exchangers (MXs) for each of your recipients? >> >

Re: Send multiple email

2009-09-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frans, On 9/22/2009 6:12 PM, Frans Thamura wrote: > but i want to create a campaign program and one email send to 100 email user 100 recipients is not very many. What's wrong with just calling message.addTo() or addCC() or addBCC() over and over, and

Re: Apache Commons Email and Attachments

2009-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom, On 8/25/2009 10:45 AM, TomSimmons wrote: > I'm hoping someone can help me with sending and HTML Email with attachments. I had a lot of trouble with various mail APIs, including commons-email, and so I basically researched everything and wrote my

Re: [collections] Composable Map?

2009-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralph, On 8/12/2009 2:43 AM, Ralph Goers wrote: > Is there something wrong with using java.util.Properties? Just do > > Properties defaults = new Properties(); > . > . > Properties map = new Properties(defaults); This is definitely possible, but Pro

[collections] Composable Map?

2009-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I have a need for the following Map implementation: Given 2 (or more) source Maps, iteratively fetch the value for a key from each of the composed Maps, returning the first non-null value (or, at if you prefer, the first value for which the key

Re: [Logging] Problem with rollover

2008-06-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vishist, As Simon mentioned, this is not a commons-logging issue, it is a log4j issue. In the interest of getting your question answered, though, please read on. vishist mandapaka wrote: | We're using commons-logging as part of our logging framework

Re: Strange performance issues seen with Log.isDebugEnabled()

2008-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jean-Philippe, Jean-Philippe Daigle wrote: | Yes, it *should* be equivalent, but I've also tried defining a Dummy | class, getting a static instance of it, and calling a dummy method (that | won't get optimized away) and it's fast (~8 WU/s). Goin

Re: [digester] implementation of String->Date for xs:dateTime

2008-06-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon, simon wrote: | I just don't see it belonging in Digester either. | | Perhaps you could put this on the Digester wiki page. If you want to | do this, I suggest creating a "TypeConverters" page, and linking to | it from the main page or similar.

Re: [digester] implementation of String->Date for xs:dateTime

2008-06-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon, Sorry for the late followup. [EMAIL PROTECTED] wrote: | Christopher Schultz schrieb: | |> Certainly. Should I log it against digester (where it is most useful) or |> beanutils (where all the stock Converters actually live)? | | Not a

Re: [BeanUtils] CopyProperties with Dates

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cord, Cord Awtry wrote: | I'm using bean utils 1.7.0 (upgrading to 1.8.0 beta isn't really an | option). I'm trying to use copyProperties() where the source object's getter | is a java.util.Calendar and the destination's setter is java.util.Date. I |

Re: Blurry JPGs when using FileUpload 1.2.1

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob, Bob Carpenter wrote: | I didn't know that ImageIO reduces quality with each pass. It's not so much ImageIO as JPEG in general. JPEG is lossy compression which means that each time you encode a JPEG image, you lose some detail because of the cos

Re: Common CLi Usage

2008-05-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John O'Sullivan wrote: | Hi, | Feel free to poke your nose in anytime ;> | | Thanks, thats an idea I will try for the "space problem".. | | The Other problem is I dont have the correct syntax for the folowing | line which defines teh option. Do

Re: Common CLi Usage

2008-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John O'Sullivan wrote: | If I can change the date/time format to a format where it is only one | string | what will be java syntax for definign the option within my application Sorry to poke my nose into what looks like a rather long-running d

Re: apache commons net

2008-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 bperquku, bperquku wrote: | I have a simple java applicatoion, that uploads a file in a computer server | (aix). In the server another process checks for that file, processes it, | and deletes it. | | Is there any possible way to set a lock in file

Re: [digester] implementation of String->Date for xs:dateTime

2008-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebb, sebb wrote: |> Here is the implementation that I developed [for an xs:dateTime converter]. Oddly, |> it seems that sometimes the TimeZone is incorrectly set (though the |> normalized time appears to be correct) in the resulting Date. Any tip

Re: [digester] implementation of String->Date for xs:dateTime

2008-05-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Christopher Schultz wrote: | Hi, I'm looking for an implementation of a String->Date converter for | xs:dateTime, which has an odd format. It's not directly supportable by | java.text.SimpleDateFormat and looks like a regular expr

Re: [digester] implementation of String->Date for xs:dateTime

2008-05-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebb, sebb wrote: | What is "xs:dateTime" format? | | Where it is defined/documented? http://www.w3.org/TR/xmlschema-2/#dateTime - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enig

Re: [digester] implementation of String->Date for xs:dateTime

2008-05-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Anyone? - -chris Christopher Schultz wrote: | All, | | Hi, I'm looking for an implementation of a String->Date converter for | xs:dateTime, which has an odd format. It's not directly supportable by | java.text.SimpleDateFormat a

[digester] implementation of String->Date for xs:dateTime

2008-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Hi, I'm looking for an implementation of a String->Date converter for xs:dateTime, which has an odd format. It's not directly supportable by java.text.SimpleDateFormat and looks like a regular expression is the only way to go. Does anyone have