<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-25499</id>
	<title>Nabble - Commons - Issues</title>
	<updated>2009-11-22T04:26:39Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Commons---Issues-f25499.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Commons---Issues-f25499.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26464891</id>
	<title>[jira] Commented: (NET-89) [net] TelnetClient broken for binary transmissions + solution</title>
	<published>2009-11-22T04:26:39Z</published>
	<updated>2009-11-22T04:26:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/NET-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12781119#action_12781119&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/NET-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12781119#action_12781119&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Shlomy Reinstein commented on NET-89:
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;I have a different case in which the ToNetASCIIInputStream causes a problem. I use text transmissions, not binary, however the telnet server does not seem to tell the difference between '\r' and '\n', and so the replacement of '\n' with &amp;quot;\r\n&amp;quot; causes every line I send to generate an extra newline, which prevents automation (e.g. in the login/password sequence, the password is always passed as empty due to the extra newline).
&lt;br&gt;&lt;br&gt;I suggest to add a method like the &amp;quot;setNetASCIIConversion(boolean)&amp;quot; above, and even have a dedicated one for the just the telnet's output - i.e. avoid only the wrapper ToNetASCIIOutputStream. Something like:
&lt;br&gt;&lt;br&gt;public void setNetASCIIConversionOnOutput(boolean b);
&lt;br&gt;public void setNetASCIIConversionOnInput(boolean b);
&lt;br&gt;&lt;br&gt;The &amp;quot;set&amp;quot; functions can be replaced by &amp;quot;disable&amp;quot; if the default is to have them enabled. Another option, which seems better to me, is to replace these functions with new TelnetClient constructors that take an additional boolean parameter (or two), to ensure this is configured before the connection is made.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Shlomy
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; [net] TelnetClient broken for binary transmissions + solution
&lt;br&gt;&amp;gt; -------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: NET-89
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/NET-89&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/NET-89&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Net
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Operating System: All
&lt;br&gt;&amp;gt; Platform: All
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Colin Surprenant
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; TelnetClient does not handle correctly binary transmissions in two places:
&lt;br&gt;&amp;gt; First in TelnetClient#_connectAction_() the telnet input and output streams are
&lt;br&gt;&amp;gt; wrapped in the NetASCII streams to handle net vs platform line separator
&lt;br&gt;&amp;gt; conversion which breaks the binary data. My quick solution was to simply remove
&lt;br&gt;&amp;gt; those two wrapping streams. A more general solution might be to provide access
&lt;br&gt;&amp;gt; to the unfilterer stream with methods like getUnfilteredInputStream and
&lt;br&gt;&amp;gt; getUnfilteredOutputStream or to dynamically stop the NetASCII stream from
&lt;br&gt;&amp;gt; 'corrupting' the stream when a TelnetOption.BINARY option is negotiated.
&lt;br&gt;&amp;gt; Also, in TelnetInoutStream#__read() there is a bug in the __receiveState
&lt;br&gt;&amp;gt; handling for the _STATE_IAC state. When a second consecutive IAC (0x255) is
&lt;br&gt;&amp;gt; received to encode the single 0x255 character, read does not return 0x255 but
&lt;br&gt;&amp;gt; instead move on to reading the next char in the stream.
&lt;br&gt;&amp;gt; The current code reads:
&lt;br&gt;&amp;gt; case _STATE_IAC:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; switch (ch)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.WILL:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_WILL;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.WONT:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_WONT;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.DO:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_DO;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.DONT:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_DONT;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; /* TERMINAL-TYPE option (start)*/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.SB:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __suboption_count = 0;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_SB;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; /* TERMINAL-TYPE option (end)*/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.IAC:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_DATA;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; default:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_DATA;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; case _STATE_WILL:
&lt;br&gt;&amp;gt; but it should be:
&lt;br&gt;&amp;gt; case _STATE_IAC:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; switch (ch)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.WILL:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_WILL;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.WONT:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_WONT;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.DO:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_DO;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.DONT:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_DONT;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; /* TERMINAL-TYPE option (start)*/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.SB:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __suboption_count = 0;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_SB;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; /* TERMINAL-TYPE option (end)*/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; case TelnetCommand.IAC:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_DATA;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break; // exit to enclosing switch to return from read
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; default:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __receiveState = _STATE_DATA; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue; // move on the next char
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; break; // exit and return from read
&lt;br&gt;&amp;gt; case _STATE_WILL:
&lt;br&gt;&amp;gt; I'll provide patches for this.
&lt;br&gt;&amp;gt; Colin.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Commented%3A-%28NET-89%29--net--TelnetClient-broken-for-binary-transmissions-%2B-solution-tp26464891p26464891.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26464701</id>
	<title>[jira] Created: (LANG-557) Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase</title>
	<published>2009-11-22T04:00:40Z</published>
	<updated>2009-11-22T04:00:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase
&lt;br&gt;-----------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: LANG-557
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-557&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-557&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Commons Lang
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: &lt;a href=&quot;http://commons.apache.org/lang//api/org/apache/commons/lang/StringUtils.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://commons.apache.org/lang//api/org/apache/commons/lang/StringUtils.html&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Anish K George
&lt;br&gt;&lt;br&gt;&lt;br&gt;In the examples given along with the descriptions of startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase of StringUtils class, the full string and the suffix/prefix are used in the wrong order.
&lt;br&gt;&lt;br&gt;eg: 
&lt;br&gt;&lt;br&gt;It is mentioned that StringUtils.startsWith(&amp;quot;abc&amp;quot;, &amp;quot;abcdef&amp;quot;) = true
&lt;br&gt;It should be StringUtils.startsWith(&amp;quot;abcdef&amp;quot;, &amp;quot;abc&amp;quot;) = true
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28LANG-557%29-Javadoc-wrong-for-StringUtils-startsWith%2C-startsWithIgnoreCase%2C-endsWith-and-endsWithIgnoreCase-tp26464701p26464701.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26462459</id>
	<title>[jira] Created: (CODEC-91) Handling of embedded padding in base64 encoded data changed in 1.4</title>
	<published>2009-11-21T18:52:39Z</published>
	<updated>2009-11-21T18:52:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Handling of embedded padding in base64 encoded data changed in 1.4
&lt;br&gt;------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: CODEC-91
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/CODEC-91&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/CODEC-91&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Commons Codec
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 1.4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Chris Pimlott
&lt;br&gt;&lt;br&gt;&lt;br&gt;1.4 changed the way that embedded padding characters (i.e. &amp;quot;=&amp;quot;) were handled when decoding base64 data. &amp;nbsp;Previously, the decoder ignored them and decoded all the data. &amp;nbsp;Now it stops upon encountering the first padding byte. &amp;nbsp;This breaks compatibility with previous versions.
&lt;br&gt;&lt;br&gt;For example, in 1.4,
&lt;br&gt;&lt;br&gt;b64.decode(&amp;quot;Y29tbW9ucwo=&amp;quot;.getBytes());
&lt;br&gt;&lt;br&gt;gives the same result as
&lt;br&gt;&lt;br&gt;b64.decode(&amp;quot;Y29tbW9ucwo=Y29tbW9ucwo=&amp;quot;.getBytes());
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28CODEC-91%29-Handling-of-embedded-padding-in-base64-encoded-data-changed-in-1.4-tp26462459p26462459.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26459830</id>
	<title>[jira] Resolved: (DBCP-204) BasicDataSource doesn't include CallableStatement Pooling</title>
	<published>2009-11-21T12:10:39Z</published>
	<updated>2009-11-21T12:10:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Phil Steitz resolved DBCP-204.
&lt;br&gt;------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Patch applied with minor changes in r882981.
&lt;br&gt;&lt;br&gt;Changes:
&lt;br&gt;* Allowed PoolableCallableStatement to be closed twice (consistent with new behavior in PoolablePreparedStatement)
&lt;br&gt;* Added test cases
&lt;br&gt;* Javadoc 
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; BasicDataSource doesn't include CallableStatement Pooling
&lt;br&gt;&amp;gt; ---------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DBCP-204
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-204&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-204&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Dbcp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: New Feature
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.2.1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: All
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Wei Chen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Phil Steitz
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: PoolingCallableStatment.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello =)
&lt;br&gt;&amp;gt; I had explored DBCP source code to cook for my project need recently.
&lt;br&gt;&amp;gt; As it's said that the Database Connection Pool (DBCP) component can be used in applications where JDBC resources need to be pooled. 
&lt;br&gt;&amp;gt; &amp;quot;Apart from JDBC connections, this provides support for pooling Statement and PreparedStatement instances as well.&amp;quot;
&lt;br&gt;&amp;gt; I am curious that why it does not support for pooling CallableStatement. 
&lt;br&gt;&amp;gt; Does anybody know why the developer did not implement this furture?Are there some special consideration or some reason else?
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Resolved%3A-%28DBCP-204%29-BasicDataSource-doesn%27t-include-CallableStatement-Pooling-tp26459830p26459830.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26458138</id>
	<title>[jira] Updated: (NET-300) FTPClient.listFiles() throws NullPointerException if listHiddenFiles is TRUE</title>
	<published>2009-11-21T08:33:39Z</published>
	<updated>2009-11-21T08:33:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/NET-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/NET-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Kirill Safonov updated NET-300:
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: NET-300.patch
&lt;br&gt;&lt;br&gt;patch attached
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; FTPClient.listFiles() throws NullPointerException if listHiddenFiles is TRUE
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: NET-300
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/NET-300&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/NET-300&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Net
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Kirill Safonov
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: NET-300.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When listHiddenFiles is TRUE FTPClient.getListArguments() code determines the length of pathname parameter to create the appropriate StringBuffer (FtpClient.java:2319).
&lt;br&gt;&amp;gt; Still pathname may merely be null if I call FTPClient.listFiles() - the one without params
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28NET-300%29-FTPClient.listFiles%28%29-throws-NullPointerException-if-listHiddenFiles-is-TRUE-tp26457873p26458138.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26457873</id>
	<title>[jira] Created: (NET-300) FTPClient.listFiles() throws NullPointerException if listHiddenFiles is TRUE</title>
	<published>2009-11-21T08:01:40Z</published>
	<updated>2009-11-21T08:01:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">FTPClient.listFiles() throws NullPointerException if listHiddenFiles is TRUE
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: NET-300
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/NET-300&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/NET-300&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Commons Net
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Kirill Safonov
&lt;br&gt;&lt;br&gt;&lt;br&gt;When listHiddenFiles is TRUE FTPClient.getListArguments() code determines the length of pathname parameter to create the appropriate StringBuffer (FtpClient.java:2319).
&lt;br&gt;Still pathname may merely be null if I call FTPClient.listFiles() - the one without params
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28NET-300%29-FTPClient.listFiles%28%29-throws-NullPointerException-if-listHiddenFiles-is-TRUE-tp26457873p26457873.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26454591</id>
	<title>[jira] Updated: (LANG-454) Add getCharArray()  to CharRange</title>
	<published>2009-11-21T00:34:43Z</published>
	<updated>2009-11-21T00:34:43Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Henri Yandell updated LANG-454:
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Comment: was deleted
&lt;br&gt;&lt;br&gt;(was: A bit dependent on whether CharRange goes away and is replaced by Range. This would be possible with Range as there's no way to infer the next element in the range.
&lt;br&gt;&lt;br&gt;Possibly CharRange would be a subclass of Range. Having the two separate doesn't feel good, but supporting the '^' feature feels weird in Range currently.)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add getCharArray() &amp;nbsp;to CharRange
&lt;br&gt;&amp;gt; --------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: LANG-454
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-454&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-454&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Lang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.4
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Kenny MacLeod
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 3.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: LANG-454-iterator.patch, LANG-454-set.patch, LANG-454.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; org.apache.commons.lang.CharRange would be a lot more useful if it had a means to obtain the characters in the range as a char array.
&lt;br&gt;&amp;gt; i.e.
&lt;br&gt;&amp;gt; new CharRange('a',''d').toCharArray() == new char[] { 'a', 'b', 'c', 'd' }
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28LANG-454%29-Add-getCharArray%28%29--to-CharRange-tp18867123p26454591.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26454592</id>
	<title>[jira] Updated: (LANG-454) Add getCharArray()  to CharRange</title>
	<published>2009-11-21T00:34:41Z</published>
	<updated>2009-11-21T00:34:41Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Henri Yandell updated LANG-454:
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Comment: was deleted
&lt;br&gt;&lt;br&gt;(was: A bit dependent on whether CharRange goes away and is replaced by Range. This would be possible with Range as there's no way to infer the next element in the range.
&lt;br&gt;&lt;br&gt;Possibly CharRange would be a subclass of Range. Having the two separate doesn't feel good, but supporting the '^' feature feels weird in Range currently.)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add getCharArray() &amp;nbsp;to CharRange
&lt;br&gt;&amp;gt; --------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: LANG-454
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-454&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-454&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Lang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.4
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Kenny MacLeod
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 3.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: LANG-454-iterator.patch, LANG-454-set.patch, LANG-454.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; org.apache.commons.lang.CharRange would be a lot more useful if it had a means to obtain the characters in the range as a char array.
&lt;br&gt;&amp;gt; i.e.
&lt;br&gt;&amp;gt; new CharRange('a',''d').toCharArray() == new char[] { 'a', 'b', 'c', 'd' }
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28LANG-454%29-Add-getCharArray%28%29--to-CharRange-tp18867123p26454592.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26450303</id>
	<title>[jira] Closed: (POOL-147) Thread stuck in GenericObjectPool borrowObject()</title>
	<published>2009-11-20T13:07:39Z</published>
	<updated>2009-11-20T13:07:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/POOL-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/POOL-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Phil Steitz closed POOL-147.
&lt;br&gt;----------------------------
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thread stuck in GenericObjectPool borrowObject()
&lt;br&gt;&amp;gt; ------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: POOL-147
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/POOL-147&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/POOL-147&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Pool
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.5.1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Giambattista Bloisi
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.5.2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: 01-borrowObject.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In my application I found a thread stuck at GenericObjectPool.borrowObject(GenericObjectPool.java:1099) even though resources were availbale (in my case connections for DBCP).
&lt;br&gt;&amp;gt; After an analysis of the code I think I spotted what could have caused this behavior. &amp;nbsp;GenericObjectPool.java:1099 line corresponds to an indefinite wait to a &amp;quot;latch&amp;quot; object. This wait should be awaken when new resources are made available to the pool. The problem is likely that borrowObject enters in wait without performing &amp;quot;latch.getPair()&amp;quot; check in a critical section.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28POOL-147%29-Thread-stuck-in-GenericObjectPool-borrowObject%28%29-tp24305672p26450303.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26450304</id>
	<title>[jira] Closed: (POOL-152) GenericObjectPool hangs forever in borrowObject when newly created object is not validated</title>
	<published>2009-11-20T13:07:39Z</published>
	<updated>2009-11-20T13:07:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/POOL-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/POOL-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Phil Steitz closed POOL-152.
&lt;br&gt;----------------------------
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; GenericObjectPool hangs forever in borrowObject when newly created object is not validated
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: POOL-152
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/POOL-152&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/POOL-152&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Pool
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.5.2, 1.5.3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Bushov Alexander
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.5.4
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: borrowObject.patch, Test.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If your set GenericObjectPool parameters such as: maxActive = 1 and whenExhaustedAction to block, testOnBorrow to true, call borrowObject that fails in validation of newly created object then second call of borrowObject will stuck.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28POOL-152%29-GenericObjectPool-hangs-forever-in-borrowObject-when-newly-created-object-is-not-validated-tp26114454p26450304.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26449299</id>
	<title>[jira] Created: (SCXML-113) Log not initialized in 2 of 4 AbstractStateMachine constructors.</title>
	<published>2009-11-20T11:49:39Z</published>
	<updated>2009-11-20T11:49:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Log not initialized in 2 of 4 AbstractStateMachine constructors.
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: SCXML-113
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/SCXML-113&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/SCXML-113&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Commons SCXML
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 0.9
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Eric Gulatee
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Blocker
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;quot;Log&amp;quot; in AbstractStateMachine is NOT initialized if using either of these two constructors.
&lt;br&gt;&lt;br&gt;This causes a NPE if a failure occurs while initializing the state machine.
&lt;br&gt;&lt;br&gt;&amp;nbsp;/**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Convenience constructor.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param stateMachine The parsed SCXML instance that
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; describes the &amp;quot;lifecycle&amp;quot; of the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; instances of this class.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @since 0.7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public AbstractStateMachine(final SCXML stateMachine) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // default is JEXL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this(stateMachine, new JexlContext(), new JexlEvaluator());
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Primary constructor.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param stateMachine The parsed SCXML instance that
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; describes the &amp;quot;lifecycle&amp;quot; of the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; instances of this class.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param rootCtx The root context for this instance.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param evaluator The expression evaluator for this instance.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @see Context
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @see Evaluator
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @since 0.7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public AbstractStateMachine(final SCXML stateMachine,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; final Context rootCtx, final Evaluator evaluator) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; initialize(stateMachine, rootCtx, evaluator);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28SCXML-113%29-Log-not-initialized-in-2-of-4-AbstractStateMachine-constructors.-tp26449299p26449299.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26442550</id>
	<title>[jira] Commented: (SANSELAN-21) Fetching GPS Latitude Ref gets Interoperability Index instead of Reference</title>
	<published>2009-11-20T04:27:39Z</published>
	<updated>2009-11-20T04:27:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/SANSELAN-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12780536#action_12780536&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/SANSELAN-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12780536#action_12780536&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;FG commented on SANSELAN-21:
&lt;br&gt;----------------------------
&lt;br&gt;&lt;br&gt;confirmed, using geo1.jpg:
&lt;br&gt;IrfanView correctly extracts the GeoTags:
&lt;br&gt;GPS Version ID: 2.2.0.0
&lt;br&gt;GPS Latitude Ref: N
&lt;br&gt;GPS Latitude: 47 49 2.29
&lt;br&gt;GPS Longitude Ref: E
&lt;br&gt;GPS Longitude: 11, 36, 40.114
&lt;br&gt;&lt;br&gt;while Sanselan produces the following output
&lt;br&gt;GPS Version ID: Not Found.
&lt;br&gt;GPS Latitude Ref: 'R98' &amp;nbsp; &amp;nbsp; &amp;lt;- should be N?
&lt;br&gt;GPS Latitude: 48, 49, 48, 48&amp;lt;- should be 47 49 2.29?
&lt;br&gt;GPS Longitude Ref: 'E'
&lt;br&gt;GPS Longitude: 11, 36, 40114/1000 (40,114)
&lt;br&gt;&lt;br&gt;static void getLocation(File file) throws IOException, ImageReadException {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;IImageMetadata metadata = Sanselan.getMetadata(file);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (metadata instanceof JpegImageMetadata) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;JpegImageMetadata jpegMetadata = (JpegImageMetadata) metadata;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (TagInfo ti : GPSTagConstants.ALL_GPS_TAGS) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TiffField field = jpegMetadata.findEXIFValue(ti);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (field != null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println(ti.name + &amp;quot;: &amp;quot; + field.getValueDescription());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Fetching GPS Latitude Ref gets Interoperability Index instead of Reference
&lt;br&gt;&amp;gt; --------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SANSELAN-21
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/SANSELAN-21&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/SANSELAN-21&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Sanselan
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 0.94-incubator
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Windows XP SP3, java version &amp;quot;1.5.0_17&amp;quot;
&lt;br&gt;&amp;gt; apache-sanselan-incubating-0.97-bin.zip
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Christian Junk
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: geo1.jpg, R0013102.jpg
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When testing &amp;nbsp;the following example
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://svn.apache.org/repos/asf/incubator/sanselan/trunk/src/test/java/org/apache/sanselan/sampleUsage/MetadataExample.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://svn.apache.org/repos/asf/incubator/sanselan/trunk/src/test/java/org/apache/sanselan/sampleUsage/MetadataExample.java&lt;/a&gt;&lt;br&gt;&amp;gt; with apache-sanselan-incubating-0.97 it always stops working throwing a ClassCastException. It seems, that the line 
&lt;br&gt;&amp;gt; TiffField gpsLatitudeRefField = jpegMetadata
&lt;br&gt;&amp;gt; 					.findEXIFValue(TiffConstants.GPS_TAG_GPS_LATITUDE_REF);
&lt;br&gt;&amp;gt; returns the Interoperability Index (R98) instead of the GPS Latitude Ref.
&lt;br&gt;&amp;gt; XResolution: 72
&lt;br&gt;&amp;gt; Date Time: '2008:07:23 18:19:58'
&lt;br&gt;&amp;gt; Date Time Original: '2008:07:23 10:05:21'
&lt;br&gt;&amp;gt; Create Date: '2008:07:23 10:05:21'
&lt;br&gt;&amp;gt; ISO: 64
&lt;br&gt;&amp;gt; Shutter Speed Value: Not Found.
&lt;br&gt;&amp;gt; Aperture Value: 6
&lt;br&gt;&amp;gt; Brightness Value: 81/10 (8,1)
&lt;br&gt;&amp;gt; GPS Latitude Ref: 'R98' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;------------------------------------ !!!!!!!
&lt;br&gt;&amp;gt; GPS Latitude: 48, 49, 48, 48
&lt;br&gt;&amp;gt; GPS Longitude Ref: 'E'
&lt;br&gt;&amp;gt; GPS Longitude: 6, 38, 2061/100 (20,61)
&lt;br&gt;&amp;gt; GPS Description: [GPS. Latitude: 49 degrees, 45 minutes, 34,18 seconds N, Longitude: 6 degrees, 38 minutes, 20,61 seconds E]
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; Exception in thread &amp;quot;main&amp;quot; java.lang.ClassCastException: [B
&lt;br&gt;&amp;gt; at com.alta4.phasr.MetadataExample.metadataExample(MetadataExample.java:113)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Commented%3A-%28SANSELAN-21%29-Fetching-GPS-Latitude-Ref-gets-Interoperability-Index-instead-of-Reference-tp26442550p26442550.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26442496</id>
	<title>[jira] Updated: (SANSELAN-21) Fetching GPS Latitude Ref gets Interoperability Index instead of Reference</title>
	<published>2009-11-20T04:23:39Z</published>
	<updated>2009-11-20T04:23:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/SANSELAN-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/SANSELAN-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;FG updated SANSELAN-21:
&lt;br&gt;-----------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: geo1.jpg
&lt;br&gt;&lt;br&gt;file to demonstrate geotag error
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Fetching GPS Latitude Ref gets Interoperability Index instead of Reference
&lt;br&gt;&amp;gt; --------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: SANSELAN-21
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/SANSELAN-21&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/SANSELAN-21&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Sanselan
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 0.94-incubator
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Windows XP SP3, java version &amp;quot;1.5.0_17&amp;quot;
&lt;br&gt;&amp;gt; apache-sanselan-incubating-0.97-bin.zip
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Christian Junk
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: geo1.jpg, R0013102.jpg
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When testing &amp;nbsp;the following example
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://svn.apache.org/repos/asf/incubator/sanselan/trunk/src/test/java/org/apache/sanselan/sampleUsage/MetadataExample.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://svn.apache.org/repos/asf/incubator/sanselan/trunk/src/test/java/org/apache/sanselan/sampleUsage/MetadataExample.java&lt;/a&gt;&lt;br&gt;&amp;gt; with apache-sanselan-incubating-0.97 it always stops working throwing a ClassCastException. It seems, that the line 
&lt;br&gt;&amp;gt; TiffField gpsLatitudeRefField = jpegMetadata
&lt;br&gt;&amp;gt; 					.findEXIFValue(TiffConstants.GPS_TAG_GPS_LATITUDE_REF);
&lt;br&gt;&amp;gt; returns the Interoperability Index (R98) instead of the GPS Latitude Ref.
&lt;br&gt;&amp;gt; XResolution: 72
&lt;br&gt;&amp;gt; Date Time: '2008:07:23 18:19:58'
&lt;br&gt;&amp;gt; Date Time Original: '2008:07:23 10:05:21'
&lt;br&gt;&amp;gt; Create Date: '2008:07:23 10:05:21'
&lt;br&gt;&amp;gt; ISO: 64
&lt;br&gt;&amp;gt; Shutter Speed Value: Not Found.
&lt;br&gt;&amp;gt; Aperture Value: 6
&lt;br&gt;&amp;gt; Brightness Value: 81/10 (8,1)
&lt;br&gt;&amp;gt; GPS Latitude Ref: 'R98' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;------------------------------------ !!!!!!!
&lt;br&gt;&amp;gt; GPS Latitude: 48, 49, 48, 48
&lt;br&gt;&amp;gt; GPS Longitude Ref: 'E'
&lt;br&gt;&amp;gt; GPS Longitude: 6, 38, 2061/100 (20,61)
&lt;br&gt;&amp;gt; GPS Description: [GPS. Latitude: 49 degrees, 45 minutes, 34,18 seconds N, Longitude: 6 degrees, 38 minutes, 20,61 seconds E]
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; Exception in thread &amp;quot;main&amp;quot; java.lang.ClassCastException: [B
&lt;br&gt;&amp;gt; at com.alta4.phasr.MetadataExample.metadataExample(MetadataExample.java:113)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Updated%3A-%28SANSELAN-21%29-Fetching-GPS-Latitude-Ref-gets-Interoperability-Index-instead-of-Reference-tp26442496p26442496.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26433537</id>
	<title>[jira] Commented: (LANG-556) Add methods for constructing dates to DateUtils</title>
	<published>2009-11-19T12:29:39Z</published>
	<updated>2009-11-19T12:29:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12780256#action_12780256&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12780256#action_12780256&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Paul Benedict commented on LANG-556:
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;You can find this feature in the JDK:
&lt;br&gt;new GregorianCalendar(year, month, day, hour, minute, second).getTime();
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add methods for constructing dates to DateUtils
&lt;br&gt;&amp;gt; -----------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: LANG-556
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-556&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-556&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Lang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: New Feature
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Ben Arnold
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It is often really useful to be able to get a date in one line of code, particularly in unit tests. It is also handy to be able to obtain the current time in a specified timezone.
&lt;br&gt;&amp;gt; It would be great to have methods like these on DateUtils:
&lt;br&gt;&amp;gt; Date now(TimeZone)
&lt;br&gt;&amp;gt; Date nowUtc()
&lt;br&gt;&amp;gt; Date createDate(int year, int month, int day) // local time
&lt;br&gt;&amp;gt; Date createDate(int year, int month, int day, int hour, minute, int second) // local time
&lt;br&gt;&amp;gt; Date createDateUtc(int year, int month, int day)
&lt;br&gt;&amp;gt; Date createDateUtc(int year, int month, int day, int hour, minute, int second)
&lt;br&gt;&amp;gt; Date createDate(TimeZone timeZone, int year, int month, int day)
&lt;br&gt;&amp;gt; Date createDate(TimeZone timeZone, int year, int month, int day, int hour, minute, int second)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28LANG-556%29-Add-methods-for-constructing-dates-to-DateUtils-tp26433445p26433537.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26433445</id>
	<title>[jira] Created: (LANG-556) Add methods for constructing dates to DateUtils</title>
	<published>2009-11-19T12:23:40Z</published>
	<updated>2009-11-19T12:23:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Add methods for constructing dates to DateUtils
&lt;br&gt;-----------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: LANG-556
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-556&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-556&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Commons Lang
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: New Feature
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Ben Arnold
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&lt;br&gt;&lt;br&gt;It is often really useful to be able to get a date in one line of code, particularly in unit tests. It is also handy to be able to obtain the current time in a specified timezone.
&lt;br&gt;&lt;br&gt;It would be great to have methods like these on DateUtils:
&lt;br&gt;&lt;br&gt;Date now(TimeZone)
&lt;br&gt;Date nowUtc()
&lt;br&gt;&lt;br&gt;Date createDate(int year, int month, int day) // local time
&lt;br&gt;Date createDate(int year, int month, int day, int hour, minute, int second) // local time
&lt;br&gt;Date createDateUtc(int year, int month, int day)
&lt;br&gt;Date createDateUtc(int year, int month, int day, int hour, minute, int second)
&lt;br&gt;Date createDate(TimeZone timeZone, int year, int month, int day)
&lt;br&gt;Date createDate(TimeZone timeZone, int year, int month, int day, int hour, minute, int second)
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28LANG-556%29-Add-methods-for-constructing-dates-to-DateUtils-tp26433445p26433445.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26432015</id>
	<title>[jira] Created: (JXPATH-139) Wrong xpath expression passed to extension function does not throw JXPathNotFoundException</title>
	<published>2009-11-19T10:57:39Z</published>
	<updated>2009-11-19T10:57:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Wrong xpath expression passed to extension function does not throw JXPathNotFoundException
&lt;br&gt;------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: JXPATH-139
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/JXPATH-139&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JXPATH-139&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Commons JXPath
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 1.3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Petras
&lt;br&gt;&lt;br&gt;&lt;br&gt;If xpath expression, which do not map to bean properties, is passed to extension function, JXPathNotFoundException is not thrown. It seems inconsistent behaviour and it is difficult to test these expressions if they do not fail for example after code refactoring.
&lt;br&gt;&lt;br&gt;Here is a test case:
&lt;br&gt;&lt;br&gt;&lt;br&gt;{code}
&lt;br&gt;// Extension function
&lt;br&gt;public static class StringFunctions {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static String left(String param, int len) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;Received: '&amp;quot; + param + &amp;quot;'&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(param == null) return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return param.substring(0, Math.min(len, param.length()));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;{code}
&lt;br&gt;&lt;br&gt;{code}
&lt;br&gt;// Value object to use
&lt;br&gt;public class VO {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String value = null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public String getValue() { return value; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void setValue(String value) { this.value = value; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;{code}
&lt;br&gt;{code}
&lt;br&gt;@Test
&lt;br&gt;public void testLeftFunctionWrongPath() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VO vo = new VO();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vo.setValue(&amp;quot;1234567890&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; JXPathContext ctx = JXPathContext.newContext(vo);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ctx.setFunctions(new ClassFunctions(StringFunctions.class, &amp;quot;util&amp;quot;));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // OK, StringFunctions.left() receives &amp;quot;1234567890&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; path = &amp;quot;util:left(value, 5)&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ctx.getValue(path);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // JXPathNotFoundException is not thrown, StringFunctions.left() receives an empty string
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String wrongPath = &amp;quot;util:left(valueXXX, 5)&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ctx.getValue(wrongPath);
&lt;br&gt;}
&lt;br&gt;{code}
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JXPATH-139%29-Wrong-xpath-expression-passed-to-extension-function-does-not-throw-JXPathNotFoundException-tp26432015p26432015.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26428020</id>
	<title>[jira] Commented: (DBCP-305) Use API-specific exception for logging abandoned objects</title>
	<published>2009-11-19T07:15:39Z</published>
	<updated>2009-11-19T07:15:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12780022#action_12780022&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12780022#action_12780022&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Christopher Schultz commented on DBCP-305:
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;Thanks for accepting this patch. I'm sorry I wasn't sensitive to the brace convention already in the file. I probably could have javadoc'd the inner class, too :)
&lt;br&gt;&lt;br&gt;I didn't think about the lack of thread safety of the SimpleDateFormat class: good catch. So this counts as a bugfix by markt (format was being used in an unsynchronized way prior to this patch) as well as an enhancement by me :)
&lt;br&gt;&lt;br&gt;If DBCP typically uses localized error messages, I'd be happy to provide another patch that localizes the exception's message.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Use API-specific exception for logging abandoned objects
&lt;br&gt;&amp;gt; --------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DBCP-305
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-305&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-305&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Dbcp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Christopher Schultz
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Mark Thomas
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Trivial
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: DBCP-305.diff
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When a DBCP-managed object (Connection, Statement, etc.) is considered &amp;quot;abandoned&amp;quot;, a stack trace is emitted to stdout. Unfortunately, the stack trace is for a simple java.lang.Exception (created in AbandonedTrace.init and AbandonedTrace.setStackTrace) with no message.
&lt;br&gt;&amp;gt; When scanning log files for exceptions, say, like this:
&lt;br&gt;&amp;gt; grep &amp;quot;Exception&amp;quot; my_logfile.log, I simply shows:
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; It would be nice to use a more descriptive exception (for instance, AbandonedObjectException) and/or add a descriptive message to the exception upon creation.
&lt;br&gt;&amp;gt; For example, it would be useful to execute the above command and see:
&lt;br&gt;&amp;gt; org.apache.commons.dbcp.AbandonedObjectException: DBCP object created 2009-11-05 10:15:00 by the following code was never closed
&lt;br&gt;&amp;gt; Having the timestamp and a definite identification of the exception (i.e. the class name) on the same line of log output is preferable IMO.
&lt;br&gt;&amp;gt; Implementation should be trivial; I'd be happy to submit a patch. Also, the format of the logging information isn't part of the API itself, so it shouldn't be a big deal to change it.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DBCP-305%29-Use-API-specific-exception-for-logging-abandoned-objects-tp26379041p26428020.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26424750</id>
	<title>[jira] Resolved: (DBCP-305) Use API-specific exception for logging abandoned objects</title>
	<published>2009-11-19T03:37:40Z</published>
	<updated>2009-11-19T03:37:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Mark Thomas resolved DBCP-305.
&lt;br&gt;------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Thanks for the patch. It has been applied and will be in 1.3 onwards. I modified the patch slightly to use the same { location as the rest of the class and to make access to the SimpleDateFormat thread safe.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Use API-specific exception for logging abandoned objects
&lt;br&gt;&amp;gt; --------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DBCP-305
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-305&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-305&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Dbcp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Christopher Schultz
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Mark Thomas
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Trivial
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: DBCP-305.diff
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When a DBCP-managed object (Connection, Statement, etc.) is considered &amp;quot;abandoned&amp;quot;, a stack trace is emitted to stdout. Unfortunately, the stack trace is for a simple java.lang.Exception (created in AbandonedTrace.init and AbandonedTrace.setStackTrace) with no message.
&lt;br&gt;&amp;gt; When scanning log files for exceptions, say, like this:
&lt;br&gt;&amp;gt; grep &amp;quot;Exception&amp;quot; my_logfile.log, I simply shows:
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; It would be nice to use a more descriptive exception (for instance, AbandonedObjectException) and/or add a descriptive message to the exception upon creation.
&lt;br&gt;&amp;gt; For example, it would be useful to execute the above command and see:
&lt;br&gt;&amp;gt; org.apache.commons.dbcp.AbandonedObjectException: DBCP object created 2009-11-05 10:15:00 by the following code was never closed
&lt;br&gt;&amp;gt; Having the timestamp and a definite identification of the exception (i.e. the class name) on the same line of log output is preferable IMO.
&lt;br&gt;&amp;gt; Implementation should be trivial; I'd be happy to submit a patch. Also, the format of the logging information isn't part of the API itself, so it shouldn't be a big deal to change it.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DBCP-305%29-Use-API-specific-exception-for-logging-abandoned-objects-tp26379041p26424750.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26423882</id>
	<title>[jira] Updated: (DBCP-305) Use API-specific exception for logging abandoned objects</title>
	<published>2009-11-19T02:25:40Z</published>
	<updated>2009-11-19T02:25:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Mark Thomas updated DBCP-305:
&lt;br&gt;-----------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 1.3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Mark Thomas
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Use API-specific exception for logging abandoned objects
&lt;br&gt;&amp;gt; --------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DBCP-305
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-305&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-305&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Dbcp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Christopher Schultz
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Mark Thomas
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Trivial
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: DBCP-305.diff
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When a DBCP-managed object (Connection, Statement, etc.) is considered &amp;quot;abandoned&amp;quot;, a stack trace is emitted to stdout. Unfortunately, the stack trace is for a simple java.lang.Exception (created in AbandonedTrace.init and AbandonedTrace.setStackTrace) with no message.
&lt;br&gt;&amp;gt; When scanning log files for exceptions, say, like this:
&lt;br&gt;&amp;gt; grep &amp;quot;Exception&amp;quot; my_logfile.log, I simply shows:
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; It would be nice to use a more descriptive exception (for instance, AbandonedObjectException) and/or add a descriptive message to the exception upon creation.
&lt;br&gt;&amp;gt; For example, it would be useful to execute the above command and see:
&lt;br&gt;&amp;gt; org.apache.commons.dbcp.AbandonedObjectException: DBCP object created 2009-11-05 10:15:00 by the following code was never closed
&lt;br&gt;&amp;gt; Having the timestamp and a definite identification of the exception (i.e. the class name) on the same line of log output is preferable IMO.
&lt;br&gt;&amp;gt; Implementation should be trivial; I'd be happy to submit a patch. Also, the format of the logging information isn't part of the API itself, so it shouldn't be a big deal to change it.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DBCP-305%29-Use-API-specific-exception-for-logging-abandoned-objects-tp26379041p26423882.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26423728</id>
	<title>[jira] Commented: (NET-285) FTP should support external IP address and port range</title>
	<published>2009-11-19T02:13:40Z</published>
	<updated>2009-11-19T02:13:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/NET-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779917#action_12779917&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/NET-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779917#action_12779917&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Binoy Joseph commented on NET-285:
&lt;br&gt;----------------------------------
&lt;br&gt;&lt;br&gt;Hi, Hope this can be resolved
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; FTP should support external IP address and port range
&lt;br&gt;&amp;gt; -----------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: NET-285
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/NET-285&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/NET-285&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Net
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: New Feature
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Binoy Joseph
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: ftpclient_active_portRange_ExtAddress.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 2h
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 2h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you use FTP tools like FileZilla, you see that in Active mode,
&lt;br&gt;&amp;gt; &amp;nbsp;the external IP address (when client has multiple network cards) and 
&lt;br&gt;&amp;gt; &amp;nbsp;port range (when client has firewall setup) are supported.
&lt;br&gt;&amp;gt; This is very essential for an enterprise class FTP client.
&lt;br&gt;&amp;gt; I see that a small modification in FTPClient's _openDataConnection_() method will support all this.
&lt;br&gt;&amp;gt; _serverSocketFactory_.createServerSocket(0, 1, getLocalAddress());
&lt;br&gt;&amp;gt; Can I also go ahead creating a patch for this?
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28NET-285%29-FTP-should-support-external-IP-address-and-port-range-tp24494215p26423728.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26420015</id>
	<title>[jira] Created: (CODEC-90) JDK 1.5 the API</title>
	<published>2009-11-18T19:52:41Z</published>
	<updated>2009-11-18T19:52:41Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">JDK 1.5 the API
&lt;br&gt;---------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: CODEC-90
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/CODEC-90&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/CODEC-90&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Commons Codec
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Improvement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Henri Yandell
&lt;br&gt;&lt;br&gt;&lt;br&gt;Need to apply varargs, autoboxing and generics to the API.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28CODEC-90%29-JDK-1.5-the-API-tp26420015p26420015.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26415609</id>
	<title>[jira] Created: (COMPRESS-91) jar recognition is curently impossible.</title>
	<published>2009-11-18T12:56:39Z</published>
	<updated>2009-11-18T12:56:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">jar recognition is curently impossible.
&lt;br&gt;---------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: COMPRESS-91
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/COMPRESS-91&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/COMPRESS-91&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Commons Compress
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 1.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: W2K and unbuntu JRE1.4 to 1.6.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Torelli
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&lt;br&gt;&lt;br&gt;In ArchiveStreamFactory.createArchiveInputStream(final InputStream in),
&lt;br&gt;JarArchiveInputStream must be before ZipArchiveInputStream
&lt;br&gt;&lt;br&gt;and a positive jar identification have to be confirmed by the first file entry (META-INF/MANIFEST.MF).
&lt;br&gt;&lt;br&gt;Regards.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28COMPRESS-91%29-jar-recognition-is-curently-impossible.-tp26415609p26415609.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26415170</id>
	<title>[jira] Commented: (BEANUTILS-252) getNestedProperty doesn't work with maps properly</title>
	<published>2009-11-18T12:28:39Z</published>
	<updated>2009-11-18T12:28:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/BEANUTILS-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779649#action_12779649&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/BEANUTILS-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779649#action_12779649&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Maarten Van Avermaet commented on BEANUTILS-252:
&lt;br&gt;------------------------------------------------
&lt;br&gt;&lt;br&gt;Why does the key of the map always requires a String, why not an object?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; getNestedProperty doesn't work with maps properly
&lt;br&gt;&amp;gt; -------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: BEANUTILS-252
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/BEANUTILS-252&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/BEANUTILS-252&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons BeanUtils
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Bean / Property Utils
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.7.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Any
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Masker71
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; Here is an example of PropertyUtils.getProperty use:
&lt;br&gt;&amp;gt; HashMap myMap = new HashMap();
&lt;br&gt;&amp;gt; myMap.put(&amp;quot;key&amp;quot;,&amp;quot;value&amp;quot;);
&lt;br&gt;&amp;gt; Request:
&lt;br&gt;&amp;gt; System.out.println(PropertyUtils.getProperty(myMap, &amp;quot;(key)&amp;quot;));
&lt;br&gt;&amp;gt; Result:
&lt;br&gt;&amp;gt; null
&lt;br&gt;&amp;gt; Workaround:
&lt;br&gt;&amp;gt; HashMap myMap = new HashMap();
&lt;br&gt;&amp;gt; myMap.put(&amp;quot;(key)&amp;quot;,&amp;quot;value&amp;quot;);
&lt;br&gt;&amp;gt; Request:
&lt;br&gt;&amp;gt; System.out.println(PropertyUtils.getProperty(myMap, &amp;quot;(key)&amp;quot;));
&lt;br&gt;&amp;gt; Result:
&lt;br&gt;&amp;gt; value
&lt;br&gt;&amp;gt; The reason of this behaviour is that in the implementation of PropertyUtilsBean.getNestedProperty function.
&lt;br&gt;&amp;gt; Currently it doesn't extract 'key' from brackets. variable name is equal to &amp;quot;(key)&amp;quot; when this method is invoked
&lt;br&gt;&amp;gt; and it is used to extract value from the map:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; indexOfINDEXED_DELIM = name.indexOf(PropertyUtils.INDEXED_DELIM);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; indexOfMAPPED_DELIM = name.indexOf(PropertyUtils.MAPPED_DELIM);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (bean instanceof Map) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bean = ((Map) bean).get(name);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (indexOfMAPPED_DELIM &amp;gt;= 0) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bean = getMappedProperty(bean, name);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (indexOfINDEXED_DELIM &amp;gt;= 0) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bean = getIndexedProperty(bean, name);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bean = getSimpleProperty(bean, name);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp;For the bean methods which returs maps key extraction is performed, why it isn't done for the Map? Cannot I use any string as a key in the map, why should I use keys enveloped in brackets? I think what is mentioned to do is that:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; indexOfINDEXED_DELIM = name.indexOf(PropertyUtils.INDEXED_DELIM);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; indexOfMAPPED_DELIM = name.indexOf(PropertyUtils.MAPPED_DELIM);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; indexOfMAPPED_DELIM2 = name.indexOf(PropertyUtils.MAPPED_DELIM2);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (bean instanceof Map) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (indexOfMAPPED_DELIM &amp;gt;= 0 &amp;&amp; indexOfMAPPED_DELIM2&amp;gt;=0)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name = name.substring(indexOfMAPPED_DELIM+1, indexOfMAPPED_DELIM2);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bean = ((Map) bean).get(name);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;&amp;gt; Hope description was clear enough and you will approve it as a bug.
&lt;br&gt;&amp;gt; Thank you
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Commented%3A-%28BEANUTILS-252%29-getNestedProperty-doesn%27t-work-with-maps-properly-tp26415170p26415170.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26413514</id>
	<title>[jira] Commented: (IO-181) LineIterator should implement Iterable</title>
	<published>2009-11-18T10:50:39Z</published>
	<updated>2009-11-18T10:50:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/IO-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779592#action_12779592&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IO-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779592#action_12779592&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Noah Levitt commented on IO-181:
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt; may expect that each call to Iterable.iterator returns a fresh iterator that shares no state with other iterators
&lt;br&gt;&lt;br&gt;Oh, right, that makes sense. Still, if something is both an Iterable and an Iterator, I think it's intuitive (and as you point out, definitely acceptable if documented) that iterator() would return itself.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; LineIterator should implement Iterable 
&lt;br&gt;&amp;gt; ---------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: IO-181
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IO-181&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IO-181&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons IO
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.4
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Michael Ernst
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 1h
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 1h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; org.apache.commons.io.LineIterator does not implement Iterable. &amp;nbsp;This makes
&lt;br&gt;&amp;gt; it impossible to use in certain stylized ways, such as in a new-style for
&lt;br&gt;&amp;gt; statement. &amp;nbsp;Such use is not always desirable (it might temporarily leak a
&lt;br&gt;&amp;gt; file descriptor, until the finalizer is called), but should be possible in
&lt;br&gt;&amp;gt; situations where it is known to be acceptable.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28IO-181%29-LineIterator-should-implement-Iterable-tp19377793p26413514.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26412068</id>
	<title>[jira] Resolved: (DBCP-306) the connection pool is lost after 1 hour .we need to start he app servr but after some time its again destroyed..</title>
	<published>2009-11-18T09:28:39Z</published>
	<updated>2009-11-18T09:28:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Mark Thomas resolved DBCP-306.
&lt;br&gt;------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Invalid
&lt;br&gt;&lt;br&gt;Please use the users list for help.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; the connection pool is lost after 1 hour .we need to start he app servr but after some time its again destroyed..
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DBCP-306
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-306&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-306&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Dbcp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.2.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Solaris
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Rajiv Shaw
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;pool is destroyed &amp;nbsp;after sometime i.e the connection with the database is lost &amp;nbsp;.we need to start he app servr &amp;nbsp;to create the pool but after some time its again destroyed..
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DBCP-306%29-the-connection-pool-is-lost-after-1-hour-.we-need-to-start-he-app-servr-but-after-some-time-its-again-destroyed..-tp26411602p26412068.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26411893</id>
	<title>[jira] Commented: (IO-181) LineIterator should implement Iterable</title>
	<published>2009-11-18T09:18:39Z</published>
	<updated>2009-11-18T09:18:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/IO-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779533#action_12779533&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IO-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779533#action_12779533&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Michael Ernst commented on IO-181:
&lt;br&gt;----------------------------------
&lt;br&gt;&lt;br&gt;The potential problem with this design is that it assumes that there is exactly one iterator for the object at a time. &amp;nbsp;Clients may expect that it is possible to have multiple iterators over a given Iterable, and thus may expect that each call to Iterable.iterator returns a fresh iterator that shares no state with other iterators. &amp;nbsp;(Clients shouldn't expect this in the absence of documentation, but they might.)
&lt;br&gt;&lt;br&gt;I think it's worth it for the convenience, so long as this behavior is documented.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; LineIterator should implement Iterable 
&lt;br&gt;&amp;gt; ---------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: IO-181
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IO-181&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IO-181&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons IO
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.4
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Michael Ernst
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 1h
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 1h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; org.apache.commons.io.LineIterator does not implement Iterable. &amp;nbsp;This makes
&lt;br&gt;&amp;gt; it impossible to use in certain stylized ways, such as in a new-style for
&lt;br&gt;&amp;gt; statement. &amp;nbsp;Such use is not always desirable (it might temporarily leak a
&lt;br&gt;&amp;gt; file descriptor, until the finalizer is called), but should be possible in
&lt;br&gt;&amp;gt; situations where it is known to be acceptable.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28IO-181%29-LineIterator-should-implement-Iterable-tp19377793p26411893.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26411602</id>
	<title>[jira] Created: (DBCP-306) the connection pool is lost after 1 hour .we need to start he app servr but after some time its again destroyed..</title>
	<published>2009-11-18T09:02:39Z</published>
	<updated>2009-11-18T09:02:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">the connection pool is lost after 1 hour .we need to start he app servr but after some time its again destroyed..
&lt;br&gt;-----------------------------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: DBCP-306
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-306&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-306&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Commons Dbcp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 1.2.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: Solaris
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Rajiv Shaw
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;pool is destroyed &amp;nbsp;after sometime i.e the connection with the database is lost &amp;nbsp;.we need to start he app servr &amp;nbsp;to create the pool but after some time its again destroyed..
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DBCP-306%29-the-connection-pool-is-lost-after-1-hour-.we-need-to-start-he-app-servr-but-after-some-time-its-again-destroyed..-tp26411602p26411602.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26403337</id>
	<title>[jira] Commented: (LANG-492) Remove code handled now by the JDK</title>
	<published>2009-11-17T22:50:39Z</published>
	<updated>2009-11-17T22:50:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779334#action_12779334&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779334#action_12779334&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Henri Yandell commented on LANG-492:
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;hashCode removed.
&lt;br&gt;&lt;br&gt;toString - toString(Object[], String) isn't supported (i.e. a default value). toString(null) also fails to compile.
&lt;br&gt;&lt;br&gt;clone - pending JDK 1.6 dependency.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Remove code handled now by the JDK
&lt;br&gt;&amp;gt; ----------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: LANG-492
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-492&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-492&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Lang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Task
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Henri Yandell
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 3.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; enum, enums packages removed.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28LANG-492%29-Remove-code-handled-now-by-the-JDK-tp22519360p26403337.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26403101</id>
	<title>[jira] Commented: (LANG-411) HashCodeBuilder: expose typed hashing methods</title>
	<published>2009-11-17T22:14:39Z</published>
	<updated>2009-11-17T22:14:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779324#action_12779324&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779324#action_12779324&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Paul Benedict commented on LANG-411:
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;The default functionality of HashCodeBuilder will call static methods in ObjectUtils to create the hashes.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; HashCodeBuilder: expose typed hashing methods
&lt;br&gt;&amp;gt; ---------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: LANG-411
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-411&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-411&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Lang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Wish
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Paul Benedict
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 3.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; HashCodeBuilder encapsulates the good advice of Joshua Bloch. He details how each java.lang type should be hashed. I want to use those too ... but without reflection. Please expose those as static methods:
&lt;br&gt;&amp;gt; hashInt, hashBoolean, etc.
&lt;br&gt;&amp;gt; They should take two parameters: the field value, and the hash multiplier value.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28LANG-411%29-HashCodeBuilder%3A-expose-typed-hashing-methods-tp15412633p26403101.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26402969</id>
	<title>[jira] Resolved: (LANG-555) SystemUtils needs IS_OS_WINDOWS_7 constant</title>
	<published>2009-11-17T21:58:40Z</published>
	<updated>2009-11-17T21:58:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Paul Benedict resolved LANG-555.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; SystemUtils needs IS_OS_WINDOWS_7 constant
&lt;br&gt;&amp;gt; ------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: LANG-555
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-555&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-555&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Lang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Paul Benedict
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Paul Benedict
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 3.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28LANG-555%29-SystemUtils-needs-IS_OS_WINDOWS_7-constant-tp26402942p26402969.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26402943</id>
	<title>[jira] Resolved: (LANG-554) SystemUtils needs IS_JAVA_1_7 constant</title>
	<published>2009-11-17T21:54:40Z</published>
	<updated>2009-11-17T21:54:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Paul Benedict resolved LANG-554.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; SystemUtils needs IS_JAVA_1_7 constant
&lt;br&gt;&amp;gt; --------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: LANG-554
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-554&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-554&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Lang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Paul Benedict
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Paul Benedict
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 3.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This constant should exist since Lang 3.0 and JDK 1.7 are both in development.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28LANG-554%29-SystemUtils-needs-IS_JAVA_1_7-constant-tp26375393p26402943.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26402942</id>
	<title>[jira] Created: (LANG-555) SystemUtils needs IS_OS_WINDOWS_7 constant</title>
	<published>2009-11-17T21:54:40Z</published>
	<updated>2009-11-17T21:54:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">SystemUtils needs IS_OS_WINDOWS_7 constant
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: LANG-555
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/LANG-555&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/LANG-555&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Commons Lang
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Improvement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Paul Benedict
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Paul Benedict
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 3.0
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28LANG-555%29-SystemUtils-needs-IS_OS_WINDOWS_7-constant-tp26402942p26402942.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26402596</id>
	<title>[jira] Updated: (VALIDATOR-281) Indexed property validation stops on first failed element</title>
	<published>2009-11-17T21:03:39Z</published>
	<updated>2009-11-17T21:03:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/VALIDATOR-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/VALIDATOR-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Lorenzo Dee updated VALIDATOR-281:
&lt;br&gt;----------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: Field.java
&lt;br&gt;&lt;br&gt;Here's a simple fix I did. I just modified line 912 (Field.java). Instead of returning, I changed it to break out of the while-loop to continue validating the next element of the indexed list property.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Indexed property validation stops on first failed element
&lt;br&gt;&amp;gt; ---------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: VALIDATOR-281
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/VALIDATOR-281&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/VALIDATOR-281&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Validator
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Framework
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.1.4 Release
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Lorenzo Dee
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Trivial
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: Field.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm using Struts 1.2.9 and its validator framework. The validation of an indexed property stops on the first element that fails vaildation. For example, the following list of postal addresses is being validated:
&lt;br&gt;&amp;gt; addr[0].city
&lt;br&gt;&amp;gt; addr[0].state
&lt;br&gt;&amp;gt; addr[0].zip
&lt;br&gt;&amp;gt; addr[1].city
&lt;br&gt;&amp;gt; addr[1].state
&lt;br&gt;&amp;gt; addr[1].zip
&lt;br&gt;&amp;gt; addr[2].city
&lt;br&gt;&amp;gt; addr[2].state
&lt;br&gt;&amp;gt; addr[2].zip
&lt;br&gt;&amp;gt; My validation.xml contains something like:
&lt;br&gt;&amp;gt; &amp;lt;form name=&amp;quot;...&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;field property=&amp;quot;city&amp;quot; indexedListProperty=&amp;quot;addresses&amp;quot; depends=&amp;quot;...&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . . .
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/field&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/form&amp;gt;
&lt;br&gt;&amp;gt; When validating the city fields, it would go from addresses[0].city upto addresses[2].city. But when validation fails at addr[0].city, the rest is not being validated anymore (i.e. addr[1].city and addr[2].city are not validated). It would be better if addr[1].city and addr[2].city fields are validated, even if one of them fails.
&lt;br&gt;&amp;gt; Note that this behavior also affects state and zip fields. Say for example, if addr[1].state fails validation, it will no longer continue to validate addr[2].state.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28VALIDATOR-281%29-Indexed-property-validation-stops-on-first-failed-element-tp26402537p26402596.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26402537</id>
	<title>[jira] Created: (VALIDATOR-281) Indexed property validation stops on first failed element</title>
	<published>2009-11-17T20:53:39Z</published>
	<updated>2009-11-17T20:53:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Indexed property validation stops on first failed element
&lt;br&gt;---------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: VALIDATOR-281
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/VALIDATOR-281&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/VALIDATOR-281&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Commons Validator
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Improvement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Framework
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 1.1.4 Release
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Lorenzo Dee
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Trivial
&lt;br&gt;&lt;br&gt;&lt;br&gt;I'm using Struts 1.2.9 and its validator framework. The validation of an indexed property stops on the first element that fails vaildation. For example, the following list of postal addresses is being validated:
&lt;br&gt;&lt;br&gt;addr[0].city
&lt;br&gt;addr[0].state
&lt;br&gt;addr[0].zip
&lt;br&gt;addr[1].city
&lt;br&gt;addr[1].state
&lt;br&gt;addr[1].zip
&lt;br&gt;addr[2].city
&lt;br&gt;addr[2].state
&lt;br&gt;addr[2].zip
&lt;br&gt;&lt;br&gt;My validation.xml contains something like:
&lt;br&gt;&lt;br&gt;&amp;lt;form name=&amp;quot;...&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;field property=&amp;quot;city&amp;quot; indexedListProperty=&amp;quot;addresses&amp;quot; depends=&amp;quot;...&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . . .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/field&amp;gt;
&lt;br&gt;&amp;lt;/form&amp;gt;
&lt;br&gt;&lt;br&gt;When validating the city fields, it would go from addresses[0].city upto addresses[2].city. But when validation fails at addr[0].city, the rest is not being validated anymore (i.e. addr[1].city and addr[2].city are not validated). It would be better if addr[1].city and addr[2].city fields are validated, even if one of them fails.
&lt;br&gt;&lt;br&gt;Note that this behavior also affects state and zip fields. Say for example, if addr[1].state fails validation, it will no longer continue to validate addr[2].state.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28VALIDATOR-281%29-Indexed-property-validation-stops-on-first-failed-element-tp26402537p26402537.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26397742</id>
	<title>[jira] Updated: (DBCP-305) Use API-specific exception for logging abandoned objects</title>
	<published>2009-11-17T13:13:39Z</published>
	<updated>2009-11-17T13:13:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Christopher Schultz updated DBCP-305:
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: DBCP-305.diff
&lt;br&gt;&lt;br&gt;Proposed patch to a) use an API-specific exception type and b) include the timestamp in the exception message
&lt;br&gt;&lt;br&gt;The result is that logged exceptions are (hopefully) easier to locate and read in log files.
&lt;br&gt;&lt;br&gt;I used a static inner class to simplify the patch, but you guys are free to split-apart the classes if you choose.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Use API-specific exception for logging abandoned objects
&lt;br&gt;&amp;gt; --------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: DBCP-305
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/DBCP-305&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DBCP-305&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Commons Dbcp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Christopher Schultz
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Trivial
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: DBCP-305.diff
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When a DBCP-managed object (Connection, Statement, etc.) is considered &amp;quot;abandoned&amp;quot;, a stack trace is emitted to stdout. Unfortunately, the stack trace is for a simple java.lang.Exception (created in AbandonedTrace.init and AbandonedTrace.setStackTrace) with no message.
&lt;br&gt;&amp;gt; When scanning log files for exceptions, say, like this:
&lt;br&gt;&amp;gt; grep &amp;quot;Exception&amp;quot; my_logfile.log, I simply shows:
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; java.lang.Exception
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; It would be nice to use a more descriptive exception (for instance, AbandonedObjectException) and/or add a descriptive message to the exception upon creation.
&lt;br&gt;&amp;gt; For example, it would be useful to execute the above command and see:
&lt;br&gt;&amp;gt; org.apache.commons.dbcp.AbandonedObjectException: DBCP object created 2009-11-05 10:15:00 by the following code was never closed
&lt;br&gt;&amp;gt; Having the timestamp and a definite identification of the exception (i.e. the class name) on the same line of log output is preferable IMO.
&lt;br&gt;&amp;gt; Implementation should be trivial; I'd be happy to submit a patch. Also, the format of the logging information isn't part of the API itself, so it shouldn't be a big deal to change it.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28DBCP-305%29-Use-API-specific-exception-for-logging-abandoned-objects-tp26379041p26397742.html" />
</entry>

</feed>
