From edwardbrown@example.com Wed Nov 01 10:26:40 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 37873 invoked from network); 1 Nov 2006 10:26:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 10:26:39 -0000 Received: (qmail 93960 invoked by uid 500); 1 Nov 2006 10:26:50 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 93750 invoked by uid 500); 1 Nov 2006 10:26:50 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 93741 invoked by uid 99); 1 Nov 2006 10:26:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 02:26:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 02:26:38 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id B122E7142EF for <edwardbrown@example.com>; Wed, 1 Nov 2006 02:26:17 -0800 (PST) Message-ID: <13327006.1162376777723.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 02:26:17 -0800 (PST) From: "Julius Stroffek (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Updated: (DERBY-1434) Client can send incorrect database name to server after having made multiple connections to different databases. In-Reply-To: <6507467.1150926929896.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-1434?page=all ] Julius Stroffek updated DERBY-1434: ----------------------------------- Derby Info: (was: [Patch Available]) > Client can send incorrect database name to server after having made multiple connections to different databases. > ---------------------------------------------------------------------------------------------------------------- > > Key: DERBY-1434 > URL: http://issues.apache.org/jira/browse/DERBY-1434 > Project: Derby > Issue Type: Bug > Components: Network Client > Affects Versions: 83.161.120.155, 83.161.120.155 > Reporter: A B > Assigned To: Julius Stroffek > Fix For: 83.161.120.155 > > Attachments: _driver_1, d1434.java, d1434_v2.java, derby-1434-trunk-diff.txt, Server2.trace > > > I have a simple program that connects to a database using the Derby Client, executes a simple query, then connects to a different database using a different Connection object and executes another simple query on that second connection. The queries both execute without error, so it appears that the connections are correct--i.e. each query will only work on one of the databases, and both queries work, therefore each must be getting executed against the correct database. > But in looking at the client and server traces, I noticed that for the query on the second database, the client is actually sending the name of the *first* database as RDBNAM, which (I think?) is wrong--it should be sending the name of the second database, since the query is being executed on the second Connection object. > This behavior does not appear to occur for JCC. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 11:07:01 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 49122 invoked from network); 1 Nov 2006 11:06:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 11:06:44 -0000 Received: (qmail 66589 invoked by uid 500); 1 Nov 2006 11:06:54 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 66562 invoked by uid 500); 1 Nov 2006 11:06:53 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 66553 invoked by uid 99); 1 Nov 2006 11:06:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 03:06:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 03:06:36 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 7AF3C7142F6 for <edwardbrown@example.com>; Wed, 1 Nov 2006 03:06:16 -0800 (PST) Message-ID: <6197514.1162379176492.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 03:06:16 -0800 (PST) From: "Olav Sandstaa (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Created: (DERBY-2026) Setting a login timeout in client driver can lead to query timeout MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Setting a login timeout in client driver can lead to query timeout ------------------------------------------------------------------ Key: DERBY-2026 URL: http://issues.apache.org/jira/browse/DERBY-2026 Project: Derby Issue Type: Bug Components: JDBC, Network Client Affects Versions: 83.161.120.155 Environment: Client driver on most platforms Reporter: Olav Sandstaa Priority: Minor Setting the login timeout by using DriverManager.setLoginTimeout(int seconds) also affects the amount of time the client driver is waiting for a query to finish. For instance, setting the login timeout to 10 seconds will result in any queries taking more than 10 seconds to fail with the following exception: Exception thrown: java.sql.SQLException: A communications error has been detected: Read timed out. java.sql.SQLException: A communications error has been detected: Read timed out. at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:46) at org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:345) at org.apache.derby.client.am.Statement.executeQuery(Statement.java:414) at LoginTimeout.main(LoginTimeout.java:53) Caused by: org.apache.derby.client.am.DisconnectException: A communications error has been detected: Read timed out. at org.apache.derby.client.net.NetAgent.throwCommunicationsFailure(NetAgent.java:408) at org.apache.derby.client.net.Reply.fill(Reply.java:176) at org.apache.derby.client.net.Reply.ensureALayerDataInBuffer(Reply.java:215) at org.apache.derby.client.net.Reply.readDssHeader(Reply.java:317) at org.apache.derby.client.net.Reply.startSameIdChainParse(Reply.java:1147) at org.apache.derby.client.net.NetStatementReply.readPrepareDescribeOutput(NetStatementReply.java:51) at org.apache.derby.client.net.StatementReply.readPrepareDescribeOutput(StatementReply.java:40) at org.apache.derby.client.net.NetStatement.readPrepareDescribeOutput_(NetStatement.java:139) at org.apache.derby.client.am.Statement.readPrepareDescribeOutput(Statement.java:1341) at org.apache.derby.client.am.Statement.flowExecute(Statement.java:1977) at org.apache.derby.client.am.Statement.executeQueryX(Statement.java:420) at org.apache.derby.client.am.Statement.executeQuery(Statement.java:405) ... 1 more Caused by: java.net.SocketTimeoutException: Read timed edwardbrown@example.com(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at org.apache.derby.client.net.Reply.fill(Reply.java:174) ... 11 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 11:16:45 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 53070 invoked from network); 1 Nov 2006 11:16:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 11:16:44 -0000 Received: (qmail 82304 invoked by uid 500); 1 Nov 2006 11:16:54 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 82277 invoked by uid 500); 1 Nov 2006 11:16:54 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 82268 invoked by uid 99); 1 Nov 2006 11:16:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 03:16:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 03:16:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 16EE47142C1 for <edwardbrown@example.com>; Wed, 1 Nov 2006 03:16:17 -0800 (PST) Message-ID: <9860810.1162379777076.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 03:16:17 -0800 (PST) From: "Olav Sandstaa (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Updated: (DERBY-2026) Setting a login timeout in client driver can lead to query timeout In-Reply-To: <6197514.1162379176492.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-2026?page=all ] Olav Sandstaa updated DERBY-2026: --------------------------------- Attachment: LoginTimeout.java This is a repro showing that setting the login timeout to 10 seconds makes the folloiwng query to fail with the exception shown in the JIRA report. To run the repro: 1. start a Derby network server 2. update the jdbcUrl in the java program with the correct server and port number 3. Run the repro program. This program should produce the execption after about 10 seconds. To make the program succeed, remove the call to DriverManager.setLoginTimeout(). Note that the program then might take about 2 to 10 minutes to complete the query. This repro will fail to reproduce the bug if you have a machine that is much faster than than the one I am using or if you are running on an operating system that does not support setting a timeout on blocking socket calls. > Setting a login timeout in client driver can lead to query timeout > ------------------------------------------------------------------ > > Key: DERBY-2026 > URL: http://issues.apache.org/jira/browse/DERBY-2026 > Project: Derby > Issue Type: Bug > Components: JDBC, Network Client > Affects Versions: 83.161.120.155 > Environment: Client driver on most platforms > Reporter: Olav Sandstaa > Priority: Minor > Attachments: LoginTimeout.java > > > Setting the login timeout by using DriverManager.setLoginTimeout(int > seconds) also affects the amount of time the client driver is waiting > for a query to finish. For instance, setting the login timeout to 10 > seconds will result in any queries taking more than 10 seconds to fail > with the following exception: > Exception thrown: java.sql.SQLException: A communications error has been detected: Read timed out. > java.sql.SQLException: A communications error has been detected: Read timed out. > at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:46) > at org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:345) > at org.apache.derby.client.am.Statement.executeQuery(Statement.java:414) > at LoginTimeout.main(LoginTimeout.java:53) > Caused by: org.apache.derby.client.am.DisconnectException: A communications error has been detected: Read timed out. > at org.apache.derby.client.net.NetAgent.throwCommunicationsFailure(NetAgent.java:408) > at org.apache.derby.client.net.Reply.fill(Reply.java:176) > at org.apache.derby.client.net.Reply.ensureALayerDataInBuffer(Reply.java:215) > at org.apache.derby.client.net.Reply.readDssHeader(Reply.java:317) > at org.apache.derby.client.net.Reply.startSameIdChainParse(Reply.java:1147) > at org.apache.derby.client.net.NetStatementReply.readPrepareDescribeOutput(NetStatementReply.java:51) > at org.apache.derby.client.net.StatementReply.readPrepareDescribeOutput(StatementReply.java:40) > at org.apache.derby.client.net.NetStatement.readPrepareDescribeOutput_(NetStatement.java:139) > at org.apache.derby.client.am.Statement.readPrepareDescribeOutput(Statement.java:1341) > at org.apache.derby.client.am.Statement.flowExecute(Statement.java:1977) > at org.apache.derby.client.am.Statement.executeQueryX(Statement.java:420) > at org.apache.derby.client.am.Statement.executeQuery(Statement.java:405) > ... 1 more > Caused by: java.net.SocketTimeoutException: Read timed out > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:129) > at org.apache.derby.client.net.Reply.fill(Reply.java:174) > ... 11 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 12:22:42 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 72734 invoked from network); 1 Nov 2006 12:22:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 12:22:41 -0000 Received: (qmail 64250 invoked by uid 500); 1 Nov 2006 12:22:52 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 64213 invoked by uid 500); 1 Nov 2006 12:22:51 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 64201 invoked by uid 99); 1 Nov 2006 12:22:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 04:22:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO gmp-ea-fw-1.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 04:22:35 -0800 Received: from d1-emea-09.sun.com (d1-emea-09.sun.com [83.161.120.155] (may be forged)) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id kA1CMDGK016574 for <edwardbrown@example.com>; Wed, 1 Nov 2006 12:22:14 GMT Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <edwardbrown@example.com> (original mail from edwardbrown@example.com) for edwardbrown@example.com; Wed, 01 Nov 2006 12:22:13 +0000 (GMT) Received: from localhost ([83.161.120.155]) by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <edwardbrown@example.com> for edwardbrown@example.com; Wed, 01 Nov 2006 12:22:13 +0000 (GMT) Date: Wed, 01 Nov 2006 13:22:11 +0100 From: Knut Anders Hatlen <edwardbrown@example.com> Subject: Restoring deleted wiki page Sender: edwardbrown@example.com To: edwardbrown@example.com Message-id: <edwardbrown@example.com> Organization: Sun Microsystems MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (usg-unix-v) X-Virus-Checked: Checked by ClamAV on apache.org Hi, When I updated http://wiki.apache.org/db-derby/Derby1961ResourceUsage and clicked on "Save changes", it took forever to save it. Later when I tried to reload the page, I only got "This page does not exist yet", and RecentChanges showed the page as deleted. Is there a way to restore a deleted page? I have tried to revert it to a previous version, and I have tried to click on "Create new empty page" and retype the contents (yes, I do have a backup), but I always get a message saying "Page could not get locked. Missing 'current' file?" If it's impossible to restore the page, I could create a new page with a different name, but that's hopefully not necessary. Thanks, -- Knut Anders From edwardbrown@example.com Wed Nov 01 13:46:39 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 1642 invoked from network); 1 Nov 2006 13:46:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 13:46:38 -0000 Received: (qmail 4096 invoked by uid 500); 1 Nov 2006 13:46:48 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 4065 invoked by uid 500); 1 Nov 2006 13:46:48 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 4056 invoked by uid 99); 1 Nov 2006 13:46:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 05:46:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 05:46:36 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id BBA61714311 for <edwardbrown@example.com>; Wed, 1 Nov 2006 05:46:16 -0800 (PST) Message-ID: <31110203.1162388776766.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 05:46:16 -0800 (PST) From: "Kristian Waagan (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Created: (DERBY-2027) JUnit suite All crashes with OutOfMemoryError when running LobLengthTest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org JUnit suite All crashes with OutOfMemoryError when running LobLengthTest ------------------------------------------------------------------------ Key: DERBY-2027 URL: http://issues.apache.org/jira/browse/DERBY-2027 Project: Derby Issue Type: Bug Components: Test Affects Versions: 83.161.120.155 Environment: General, but default heap space size for the VM used matters. Reporter: Kristian Waagan Assigned To: Kristian Waagan The All suite crashes when running jdbcapi/LobLengthTest. It is reasonable to believe the memory usage accumulates and that this test makes the memory usage too high. Looking at the test, it uses a ~16 MB byte array. This problem was reported on derby-dev: http://www.nabble.com/Out-of-memory-error-when-running-JUnit-suite-t2549103.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 15:13:25 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 33563 invoked from network); 1 Nov 2006 15:13:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 15:13:23 -0000 Received: (qmail 64581 invoked by uid 500); 1 Nov 2006 15:13:27 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 64502 invoked by uid 500); 1 Nov 2006 15:13:27 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 64469 invoked by uid 99); 1 Nov 2006 15:13:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:13:27 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO e2.ny.us.ibm.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:13:09 -0800 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [83.161.120.155]) by e2.ny.us.ibm.com (8.13.8/8.12.11) with ESMTP id kA1FCkmc017488 for <edwardbrown@example.com>; Wed, 1 Nov 2006 10:12:46 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [83.161.120.155]) by d01relay02.pok.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id kA1FChgN286534 for <edwardbrown@example.com>; Wed, 1 Nov 2006 10:12:46 -0500 Received: from d01av02.pok.ibm.com (loopback [83.161.120.155]) by d01av02.pok.ibm.com (83.161.120.15560308/8.13.3) with ESMTP id kA1FCMbq022533 for <edwardbrown@example.com>; Wed, 1 Nov 2006 10:12:22 -0500 Received: from [83.161.120.155] (sig-9-48-96-23.mts.ibm.com [83.161.120.155]) by d01av02.pok.ibm.com (83.161.120.15560308/8.12.11) with ESMTP id kA1FCKEZ022387 for <edwardbrown@example.com>; Wed, 1 Nov 2006 10:12:22 -0500 Message-ID: <edwardbrown@example.com> Date: Wed, 01 Nov 2006 07:12:19 -0800 From: Daniel John Debrunner <edwardbrown@example.com> User-Agent: Thunderbird 83.161.120.155 (Windows/20060909) MIME-Version: 1.0 To: edwardbrown@example.com Subject: Re: translation checker... References: <edwardbrown@example.com> <edwardbrown@example.com> In-Reply-To: <edwardbrown@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Rajesh Kartha wrote: > About the location, I suppose this utility needs to be run only when > the locales files are updated or to find messages that are not > translated (?). > In that case, I would think it can reside under the > trunk/java/derbyTesting/locale/utils (?) directory with the appropriate > package name. We > would also need a Readme/HowTo that mentions what the utility does and > how to use it etc. Seems like this is a build time tool and should be under org.apache.derbyBuild. How long does this take to run? Could it just be part of the standard build? Dan. From edwardbrown@example.com Wed Nov 01 15:37:12 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 43817 invoked from network); 1 Nov 2006 15:36:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 15:36:44 -0000 Received: (qmail 31967 invoked by uid 500); 1 Nov 2006 15:36:55 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 31932 invoked by uid 500); 1 Nov 2006 15:36:54 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 31923 invoked by uid 99); 1 Nov 2006 15:36:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:36:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:36:42 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id C8A84714311 for <edwardbrown@example.com>; Wed, 1 Nov 2006 07:36:21 -0800 (PST) Message-ID: <19220951.1162395381819.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 07:36:21 -0800 (PST) From: "Kristian Waagan (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Resolved: (DERBY-1971) Make TestConfiguration set descriptive names for TestSuite objects it instantiates In-Reply-To: <3419443.1161107317289.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-1971?page=all ] Kristian Waagan resolved DERBY-1971. ------------------------------------ Fix Version/s: 83.161.120.155 Resolution: Fixed Assignee: Daniel John Debrunner I think this has been fixed by Dan as part of another issue, so I'm setting this to fixed. Will close the issue soon if nothing pops up. > Make TestConfiguration set descriptive names for TestSuite objects it instantiates > ---------------------------------------------------------------------------------- > > Key: DERBY-1971 > URL: http://issues.apache.org/jira/browse/DERBY-1971 > Project: Derby > Issue Type: Improvement > Components: Test > Affects Versions: 83.161.120.155 > Reporter: Kristian Waagan > Assigned To: Daniel John Debrunner > Priority: Minor > Fix For: 83.161.120.155 > > > Several JUnit tools make use of TestSuite.getName() to display test hierarchies and other information. An example is junit.swingui.TestRunner. > Currently, the TestSuite objects generated by TestConfiguration are not given names. > To improve readability and the level of information, descriptive named should be set. At a minimum, the associated framework should be indicated. Another point is whether the user set name (if any) of the "root test suite" should be propagated or not. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 15:38:55 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 46583 invoked from network); 1 Nov 2006 15:38:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 15:38:38 -0000 Received: (qmail 39409 invoked by uid 500); 1 Nov 2006 15:38:49 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 39285 invoked by uid 500); 1 Nov 2006 15:38:48 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 39276 invoked by uid 99); 1 Nov 2006 15:38:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:38:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:38:36 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 9E15571430D for <edwardbrown@example.com>; Wed, 1 Nov 2006 07:38:16 -0800 (PST) Message-ID: <28476005.1162395496644.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 07:38:16 -0800 (PST) From: "Kristian Waagan (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Created: (DERBY-2028) Make sure JUnit tests name their suites MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Make sure JUnit tests name their suites --------------------------------------- Key: DERBY-2028 URL: http://issues.apache.org/jira/browse/DERBY-2028 Project: Derby Issue Type: Improvement Components: Test Affects Versions: 83.161.120.155 Reporter: Kristian Waagan Assigned To: Kristian Waagan Priority: Trivial To make the information displayed by various JUnit tools more useful/descriptive, all test suites should be named. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 15:40:39 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 47639 invoked from network); 1 Nov 2006 15:40:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 15:40:38 -0000 Received: (qmail 48030 invoked by uid 500); 1 Nov 2006 15:40:49 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 47997 invoked by uid 500); 1 Nov 2006 15:40:49 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 47988 invoked by uid 99); 1 Nov 2006 15:40:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:40:49 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:40:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 040A37142EF for <edwardbrown@example.com>; Wed, 1 Nov 2006 07:40:17 -0800 (PST) Message-ID: <33223886.1162395616994.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 07:40:16 -0800 (PST) From: edwardbrown@example.com To: edwardbrown@example.com Subject: [jira] Subscription: Derby: JIRA issues with patch available MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Issue Subscription Filter: Derby: JIRA issues with patch available (11 issues) Subscriber: derby-dev Key Summary DERBY-2028 Make sure JUnit tests name their suites http://issues.apache.org/jira/browse/DERBY-2028 DERBY-2006 Add JUnit and JUnitReport task as a target in Ant script http://issues.apache.org/jira/browse/DERBY-2006 DERBY-1693 Out of Memory Error with derby.language.logStatementText=true http://issues.apache.org/jira/browse/DERBY-1693 DERBY-1969 Tools Guide: Spelling errors in doc for ij show command http://issues.apache.org/jira/browse/DERBY-1969 DERBY-1808 [PATCH] Inbuilt functions SIGN, SQRT, RAND, RANDOM, COSH, SINH and TANH http://issues.apache.org/jira/browse/DERBY-1808 DERBY-1980 Web site - Documentation - Add a new page with writing guidelines http://issues.apache.org/jira/browse/DERBY-1980 DERBY-2009 Modify links to reflect that Sun DBTG test reports have moved to dbtg.thresher.com http://issues.apache.org/jira/browse/DERBY-2009 DERBY-1948 10.2 'Working with Derby' manual errors. http://issues.apache.org/jira/browse/DERBY-1948 DERBY-1938 Add support for setObject(<arg>, null) http://issues.apache.org/jira/browse/DERBY-1938 DERBY-963 Allow user friendly string values for security mechanism in client connection url. http://issues.apache.org/jira/browse/DERBY-963 DERBY-646 In-memory backend storage support http://issues.apache.org/jira/browse/DERBY-646 From edwardbrown@example.com Wed Nov 01 15:42:40 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 48337 invoked from network); 1 Nov 2006 15:42:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 15:42:39 -0000 Received: (qmail 54488 invoked by uid 500); 1 Nov 2006 15:42:49 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 54461 invoked by uid 500); 1 Nov 2006 15:42:49 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 54452 invoked by uid 99); 1 Nov 2006 15:42:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:42:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:42:38 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id B7AFE7142FC for <edwardbrown@example.com>; Wed, 1 Nov 2006 07:42:17 -0800 (PST) Message-ID: <13799532.1162395737749.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 07:42:17 -0800 (PST) From: "Kristian Waagan (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Updated: (DERBY-2028) Make sure JUnit tests name their suites In-Reply-To: <28476005.1162395496644.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-2028?page=all ] Kristian Waagan updated DERBY-2028: ----------------------------------- Attachment: derby-2028-1a.diff derby-2028-1a.stat 'derby-2028-1a.diff' adds names to existing JUnit test suites without a name. Verified the patch by looking at the test hierarchy in junit.swingui.TestRunner. Please review/commit. > Make sure JUnit tests name their suites > --------------------------------------- > > Key: DERBY-2028 > URL: http://issues.apache.org/jira/browse/DERBY-2028 > Project: Derby > Issue Type: Improvement > Components: Test > Affects Versions: 83.161.120.155 > Reporter: Kristian Waagan > Assigned To: Kristian Waagan > Priority: Trivial > Attachments: derby-2028-1a.diff, derby-2028-1a.stat > > > To make the information displayed by various JUnit tools more useful/descriptive, all test suites should be named. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 16:24:40 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 61575 invoked from network); 1 Nov 2006 16:24:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 16:24:39 -0000 Received: (qmail 34880 invoked by uid 500); 1 Nov 2006 16:24:50 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 34854 invoked by uid 500); 1 Nov 2006 16:24:49 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 34845 invoked by uid 99); 1 Nov 2006 16:24:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:24:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:24:38 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id E0C827142C1 for <edwardbrown@example.com>; Wed, 1 Nov 2006 08:24:17 -0800 (PST) Message-ID: <7185972.1162398257918.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 08:24:17 -0800 (PST) From: "Kristian Waagan (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Updated: (DERBY-2027) JUnit suite All crashes with OutOfMemoryError when running LobLengthTest In-Reply-To: <31110203.1162388776766.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-2027?page=all ] Kristian Waagan updated DERBY-2027: ----------------------------------- Attachment: derby-2027-1a.diff 'derby-2027-1a.diff' fixes the OutOfMemoryError seen when running the All suite by using another mechanism to provide the ~16 MB of data required in the test. This patch is not a general solution to the OutOfMemoryError, since it might show up again when adding more tests. Ran the All suite without errors with Sun Java 1.5.0_07 (Client VM). When running with Java SE 6 (b103), I got some errors in BlobClob4Blob a few times, but when I run it now, everything works (3261 tests, ~550 sec). No idea why. Would be nice if someone took the time to run All with Java SE 6 to confirm/deny my experience. Please review/commit. > JUnit suite All crashes with OutOfMemoryError when running LobLengthTest > ------------------------------------------------------------------------ > > Key: DERBY-2027 > URL: http://issues.apache.org/jira/browse/DERBY-2027 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 83.161.120.155 > Environment: General, but default heap space size for the VM used matters. > Reporter: Kristian Waagan > Assigned To: Kristian Waagan > Attachments: derby-2027-1a.diff > > > The All suite crashes when running jdbcapi/LobLengthTest. > It is reasonable to believe the memory usage accumulates and that this test makes the memory usage too high. > Looking at the test, it uses a ~16 MB byte array. > This problem was reported on derby-dev: http://www.nabble.com/Out-of-memory-error-when-running-JUnit-suite-t2549103.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 16:26:41 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 62277 invoked from network); 1 Nov 2006 16:26:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 16:26:39 -0000 Received: (qmail 39765 invoked by uid 500); 1 Nov 2006 16:26:50 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 39737 invoked by uid 500); 1 Nov 2006 16:26:50 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 39728 invoked by uid 99); 1 Nov 2006 16:26:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:26:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:26:38 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id D41567142F3 for <edwardbrown@example.com>; Wed, 1 Nov 2006 08:26:17 -0800 (PST) Message-ID: <29228146.1162398377866.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 08:26:17 -0800 (PST) From: "Daniel John Debrunner (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Updated: (DERBY-2028) Make sure JUnit tests name their suites In-Reply-To: <28476005.1162395496644.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-2028?page=all ] Daniel John Debrunner updated DERBY-2028: ----------------------------------------- Derby Info: (was: [Patch Available]) Patch Committed revision 469965 - Thanks Kristian > Make sure JUnit tests name their suites > --------------------------------------- > > Key: DERBY-2028 > URL: http://issues.apache.org/jira/browse/DERBY-2028 > Project: Derby > Issue Type: Improvement > Components: Test > Affects Versions: 83.161.120.155 > Reporter: Kristian Waagan > Assigned To: Kristian Waagan > Priority: Trivial > Attachments: derby-2028-1a.diff, derby-2028-1a.stat > > > To make the information displayed by various JUnit tools more useful/descriptive, all test suites should be named. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 16:26:43 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 62314 invoked from network); 1 Nov 2006 16:26:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 16:26:40 -0000 Received: (qmail 39989 invoked by uid 500); 1 Nov 2006 16:26:51 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 39962 invoked by uid 500); 1 Nov 2006 16:26:51 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 39948 invoked by uid 99); 1 Nov 2006 16:26:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:26:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:26:39 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 1D82F7142F8 for <edwardbrown@example.com>; Wed, 1 Nov 2006 08:26:19 -0800 (PST) Message-ID: <24094007.1162398379118.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 08:26:19 -0800 (PST) From: "Kristian Waagan (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Updated: (DERBY-2027) JUnit suite All crashes with OutOfMemoryError when running LobLengthTest In-Reply-To: <31110203.1162388776766.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-2027?page=all ] Kristian Waagan updated DERBY-2027: ----------------------------------- Derby Info: [Patch Available] > JUnit suite All crashes with OutOfMemoryError when running LobLengthTest > ------------------------------------------------------------------------ > > Key: DERBY-2027 > URL: http://issues.apache.org/jira/browse/DERBY-2027 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 83.161.120.155 > Environment: General, but default heap space size for the VM used matters. > Reporter: Kristian Waagan > Assigned To: Kristian Waagan > Attachments: derby-2027-1a.diff > > > The All suite crashes when running jdbcapi/LobLengthTest. > It is reasonable to believe the memory usage accumulates and that this test makes the memory usage too high. > Looking at the test, it uses a ~16 MB byte array. > This problem was reported on derby-dev: http://www.nabble.com/Out-of-memory-error-when-running-JUnit-suite-t2549103.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 16:47:39 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 67010 invoked from network); 1 Nov 2006 16:47:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 16:47:39 -0000 Received: (qmail 78522 invoked by uid 500); 1 Nov 2006 16:47:49 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 78495 invoked by uid 500); 1 Nov 2006 16:47:49 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 78486 invoked by uid 99); 1 Nov 2006 16:47:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:47:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:47:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 9A71D7142EC for <edwardbrown@example.com>; Wed, 1 Nov 2006 08:47:17 -0800 (PST) Message-ID: <25457760.1162399637630.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 08:47:17 -0800 (PST) From: "Rick Hillegas (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Commented: (DERBY-1868) Merge argument descriptors into SQLState strings so that SQLState documentation can be generated by a program In-Reply-To: <1995517.1158699623924.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-1868?page=comments#action_12446300 ] Rick Hillegas commented on DERBY-1868: -------------------------------------- Committed derby-1868-merged-v01.diff at subversion revision 469975. > Merge argument descriptors into SQLState strings so that SQLState documentation can be generated by a program > ------------------------------------------------------------------------------------------------------------- > > Key: DERBY-1868 > URL: http://issues.apache.org/jira/browse/DERBY-1868 > Project: Derby > Issue Type: Improvement > Components: Build tools > Affects Versions: 83.161.120.155 > Reporter: Rick Hillegas > Assigned To: Rick Hillegas > Fix For: 83.161.120.155 > > Attachments: derby-1868-lineEndings-v01.diff, derby-1868-merged-v01.diff, messages.dtd, messages.xml > > > See DERBY-1566. That JIRA introduced a program, written by David, which generates human-readable tables of message strings for inclusion in the Reference Guide. The tool doesn't patch in friendly arguments. That leaves the message strings peppered with unfriendly placeholders like {0}. {1}, etc.. Laura painstakingly editted the tables, by hand substituting in friendlier arguments like <userName> and <tableName>. > We need to move Laura's substitutions into the source code so that David's program can automatically plug them in. This will save us a lot of grief when we generate future releases. Dan and Andrew have proposed approaches to this problem. Those approaches are discussed in DERBY-1566. Here is Andrew's comment on Dan's proposal: > "While Dan's suggestion here: > http://mail-archives.edwardbrown@example.com%3e > to generate the message file and doc from a single XML file would be ideal, a simpler approach to implement would be to maintain the meanings of the markers in another properties file, identified by message key and marker number. So, e.g. the new properties file would contain: > 01500.0=<constraintName> > 01500.1=<tableName> > Then ErrorMessageGenerator could look up the value of the markers by SQLState and MessageFormat marker number in the properties file, although this approach would require maintaining two files instead of one." > I glossed this further: "If we adopt Andrew's approach, I would recommend co-locating the argument descriptiors in the same properties file which contains the messages. This will help keep the argument descriptors from drifting out of sync with the messages themselves--that is a substantial advantage of Dan's approach." -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 16:55:38 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 69796 invoked from network); 1 Nov 2006 16:55:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 16:55:37 -0000 Received: (qmail 93787 invoked by uid 500); 1 Nov 2006 16:55:47 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 93750 invoked by uid 500); 1 Nov 2006 16:55:47 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 93741 invoked by uid 99); 1 Nov 2006 16:55:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:55:47 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO brmea-mail-4.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:55:33 -0800 Received: from phys-gadget-1 ([83.161.120.155]) by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id kA1GtBfL009495 for <edwardbrown@example.com>; Wed, 1 Nov 2006 09:55:12 -0700 (MST) Received: from conversion-daemon.gadget-mail1.uk.sun.com by gadget-mail1.uk.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <edwardbrown@example.com> (original mail from edwardbrown@example.com) for edwardbrown@example.com; Wed, 01 Nov 2006 16:55:11 +0000 (GMT) Received: from clustra.norway.sun.com (clustra.Norway.Sun.COM [83.161.120.155]) by gadget-mail1.uk.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with SMTP id <edwardbrown@example.com> for edwardbrown@example.com; Wed, 01 Nov 2006 16:55:11 +0000 (GMT) Received: (qmail 16781 invoked from network); Wed, 01 Nov 2006 16:55:05 +0000 Received: from khepri31.norway.sun.com (83.161.120.155) by clustra.norway.sun.com with QMQP; Wed, 01 Nov 2006 16:55:05 +0000 Date: Wed, 01 Nov 2006 16:55:05 +0000 From: edwardbrown@example.com Subject: Regression Test Report - Daily 469556 - Sun DBTG To: edwardbrown@example.com Message-id: <20061101165505.24039.qmail@khepri31> Content-type: TEXT/PLAIN X-Virus-Checked: Checked by ClamAV on apache.org [Auto-generated mail] *Daily* 469556/2006-10-31 18:00:07 MET *derbyall* Failed Tests OK Skip Duration Platform ------------------------------------------------------- *Jvm: 1.6* 5349893896.93% lin 2 532 530 0 103.38% sol 5349893896.43% solN+1 2 532 530 0 101.07% sparc 2 532 530 0 150.68% win Details in http://dbtg.thresher.com/derby/test/Daily/jvm1.6/testing/Limited/testSummary-469556.html Attempted failure analysis in http://dbtg.thresher.com/derby/test/Daily/jvm1.6/FailReports/469556.html *Jvm: 1.5* 0 522 522 2 100.05% lin 0 522 522 2 107.19% sol 0 522 522 2 92.23% solN5349893896.03% sparc 0 522 522 2 159.86% win Details in http://dbtg.thresher.com/derby/test/Daily/jvm1.5/testing/Limited/testSummary-469556.html Attempted failure analysis in http://dbtg.thresher.com/derby/test/Daily/jvm1.5/FailReports/469556.html *Jvm: 1.4* 0 516 516 4 99.67% lin 0 516 516 4 103.15% sol 0 516 516 4 91.88% solN5349893896.79% sparc 0 516 516 4 90.96% win Details in http://dbtg.thresher.com/derby/test/Daily/jvm1.4/testing/Limited/testSummary-469556.html Attempted failure analysis in http://dbtg.thresher.com/derby/test/Daily/jvm1.4/FailReports/469556.html ------------------------------------------------------- Changes in http://dbtg.thresher.com/derby/test/Daily/UpdateInfo/469556.txt ( All results in http://dbtg.thresher.com/derby/test/ ) From edwardbrown@example.com Wed Nov 01 17:00:04 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 72367 invoked from network); 1 Nov 2006 17:00:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 17:00:03 -0000 Received: (qmail 2792 invoked by uid 500); 1 Nov 2006 17:00:13 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 2767 invoked by uid 500); 1 Nov 2006 17:00:13 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 2758 invoked by uid 99); 1 Nov 2006 17:00:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:00:13 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO nwk-ea-fw-1.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:59:59 -0800 Received: from d1-sfbay-09.sun.com ([83.161.120.155]) by nwk-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id kA1GxZEY016075 for <edwardbrown@example.com>; Wed, 1 Nov 2006 08:59:35 -0800 (PST) Received: from conversion-daemon.d1-sfbay-09.sun.com by d1-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <edwardbrown@example.com> (original mail from edwardbrown@example.com) for edwardbrown@example.com; Wed, 01 Nov 2006 08:59:35 -0800 (PST) Received: from [83.161.120.155] by d1-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <edwardbrown@example.com> for edwardbrown@example.com; Wed, 01 Nov 2006 08:59:24 -0800 (PST) Date: Wed, 01 Nov 2006 08:59:05 -0800 From: Rick Hillegas <edwardbrown@example.com> Subject: New way of adding internationalized messages. This affects the Derby Reference Guide. Sender: edwardbrown@example.com To: edwardbrown@example.com Message-id: <edwardbrown@example.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Thunderbird 83.161.120.155 (X11/20060828) X-Virus-Checked: Checked by ClamAV on apache.org My last checkin (469975, DERBY-1868) changed the way that we add internationalized messages to the Derby engine. There is now a file of xml descriptors (java/engine/org/apache/derby/loc/messages.xml). This is where we should add new engine messages. As part of adding a new message, you will want to give friendly names to the message arguments--these friendly names will appear in the SQLState tables in the Derby Reference Guide. Please do not edit java/engine/apache/derby/loc/messages.xml. This file has been removed from code management and is now generated from messages.xml during the Derby build. Thanks, -Rick From edwardbrown@example.com Wed Nov 01 17:04:05 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 74054 invoked from network); 1 Nov 2006 17:04:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 17:04:04 -0000 Received: (qmail 15637 invoked by uid 500); 1 Nov 2006 17:04:14 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 15608 invoked by uid 500); 1 Nov 2006 17:04:14 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 15599 invoked by uid 99); 1 Nov 2006 17:04:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:04:14 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of edwardbrown@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:04:02 -0800 Received: by ug-out-1314.google.com with SMTP id o2so1786270uge for <edwardbrown@example.com>; Wed, 01 Nov 2006 09:03:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Kq5AgzmILXDaEpw4n9naNnvYTPTt4sRttq8RiywXUG/83ctDyTIk1Dl14FwBpjDL2DazTvb12RXjHwcuxhzYt5RwNFGjvEujpT5Veqrhs8+O9NnZbSAFR3M8DHPmBZEmmBUeI9q6cx9W2XKJBjtgkwnAM2Ibdcydm2NsXijlF+U= Received: by 83.161.120.155 with SMTP id u18mr8448992ugm; Wed, 01 Nov 2006 09:03:41 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 09:03:41 -0800 (PST) Message-ID: <edwardbrown@example.com> Date: Wed, 1 Nov 2006 09:03:41 -0800 From: "Laura Stewart" <edwardbrown@example.com> To: edwardbrown@example.com Subject: Re: New way of adding internationalized messages. This affects the Derby Reference Guide. In-Reply-To: <edwardbrown@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <edwardbrown@example.com> X-Virus-Checked: Checked by ClamAV on apache.org On 11/1/06, Rick Hillegas <edwardbrown@example.com> wrote: > My last checkin (469975, DERBY-1868) changed the way that we add > internationalized messages to the Derby engine. There is now a file of > xml descriptors (java/engine/org/apache/derby/loc/messages.xml). This is > where we should add new engine messages. As part of adding a new > message, you will want to give friendly names to the message > arguments--these friendly names will appear in the SQLState tables in > the Derby Reference Guide. > > Please do not edit java/engine/apache/derby/loc/messages.xml. This file > has been removed from code management and is now generated from > messages.xml during the Derby build. > > Thanks, > -Rick > Rick - Can you give the Derby community a few examples of "friendly names" ? -- Laura Stewart From edwardbrown@example.com Wed Nov 01 17:27:47 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 86213 invoked from network); 1 Nov 2006 17:27:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 17:27:43 -0000 Received: (qmail 60241 invoked by uid 500); 1 Nov 2006 17:27:51 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 60204 invoked by uid 500); 1 Nov 2006 17:27:51 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 60187 invoked by uid 99); 1 Nov 2006 17:27:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:27:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of edwardbrown@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ms-smtp-03.socal.rr.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:27:37 -0800 Received: from [83.161.120.155] (cpe-24-25-218-26.san.res.rr.com [83.161.120.155]) by ms-smtp-03.socal.rr.com (8.13.6/8.13.6) with ESMTP id kA1HQq3S009443 for <edwardbrown@example.com>; Wed, 1 Nov 2006 09:26:53 -0800 (PST) Message-ID: <edwardbrown@example.com> Date: Wed, 01 Nov 2006 09:26:24 -0800 From: "Jean T. Anderson" <edwardbrown@example.com> Reply-To: edwardbrown@example.com User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development <edwardbrown@example.com> Subject: Please doublecheck spelling of your name for iCLA info X-Enigmail-Version: 83.161.120.155 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org If you filed an iCLA, please doublecheck the spelling of your name on this web page to verify it was recorded correctly: http://people.apache.org/~jim/committers.html Please post if it was misspelled. -jean From edwardbrown@example.com Wed Nov 01 17:46:48 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 96512 invoked from network); 1 Nov 2006 17:46:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 17:46:46 -0000 Received: (qmail 14607 invoked by uid 500); 1 Nov 2006 17:46:50 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 14577 invoked by uid 500); 1 Nov 2006 17:46:50 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 14549 invoked by uid 99); 1 Nov 2006 17:46:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:46:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:46:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id B00E37142C1 for <edwardbrown@example.com>; Wed, 1 Nov 2006 09:46:17 -0800 (PST) Message-ID: <13094742.1162403177718.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 09:46:17 -0800 (PST) From: "Rick Hillegas (JIRA)" <edwardbrown@example.com> To: edwardbrown@example.com Subject: [jira] Updated: (DERBY-1868) Merge argument descriptors into SQLState strings so that SQLState documentation can be generated by a program In-Reply-To: <1995517.1158699623924.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-1868?page=all ] Rick Hillegas updated DERBY-1868: --------------------------------- Attachment: derby-1868-merged-v02.diff Commit derby-1868-merged-v02.diff at subversion revision 470008. This causes the clobber target to delete the generated messages_en.properties. This also hides that generated file from subversion. > Merge argument descriptors into SQLState strings so that SQLState documentation can be generated by a program > ------------------------------------------------------------------------------------------------------------- > > Key: DERBY-1868 > URL: http://issues.apache.org/jira/browse/DERBY-1868 > Project: Derby > Issue Type: Improvement > Components: Build tools > Affects Versions: 83.161.120.155 > Reporter: Rick Hillegas > Assigned To: Rick Hillegas > Fix For: 83.161.120.155 > > Attachments: derby-1868-lineEndings-v01.diff, derby-1868-merged-v01.diff, derby-1868-merged-v02.diff, messages.dtd, messages.xml > > > See DERBY-1566. That JIRA introduced a program, written by David, which generates human-readable tables of message strings for inclusion in the Reference Guide. The tool doesn't patch in friendly arguments. That leaves the message strings peppered with unfriendly placeholders like {0}. {1}, etc.. Laura painstakingly editted the tables, by hand substituting in friendlier arguments like <userName> and <tableName>. > We need to move Laura's substitutions into the source code so that David's program can automatically plug them in. This will save us a lot of grief when we generate future releases. Dan and Andrew have proposed approaches to this problem. Those approaches are discussed in DERBY-1566. Here is Andrew's comment on Dan's proposal: > "While Dan's suggestion here: > http://mail-archives.edwardbrown@example.com%3e > to generate the message file and doc from a single XML file would be ideal, a simpler approach to implement would be to maintain the meanings of the markers in another properties file, identified by message key and marker number. So, e.g. the new properties file would contain: > 01500.0=<constraintName> > 01500.1=<tableName> > Then ErrorMessageGenerator could look up the value of the markers by SQLState and MessageFormat marker number in the properties file, although this approach would require maintaining two files instead of one." > I glossed this further: "If we adopt Andrew's approach, I would recommend co-locating the argument descriptiors in the same properties file which contains the messages. This will help keep the argument descriptors from drifting out of sync with the messages themselves--that is a substantial advantage of Dan's approach." -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From edwardbrown@example.com Wed Nov 01 17:58:52 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 981 invoked from network); 1 Nov 2006 17:58:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 17:58:49 -0000 Received: (qmail 56158 invoked by uid 500); 1 Nov 2006 17:58:49 -0000 Delivered-To: edwardbrown@example.com Received: (qmail 56133 invoked by uid 500); 1 Nov 2006 17:58:49 -0000 Mailing-List: contact edwardbrown@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:edwardbrown@example.com> List-Unsubscribe: <mailto:edwardbrown@example.com> List-Post: <mailto:edwardbrown@example.com> List-Id: <derby-dev.db.apache.org> Reply-To: <edwardbrown@example.com> Delivered-To: mailing list edwardbrown@example.com Received: (qmail 56029 invoked by uid 99); 1 Nov 2006 17:58:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:58:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO nwk-ea-fw-1.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:58:31 -0800 Received: from d1-sfbay-09.sun.com ([83.161.120.155]) by nwk-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id kA1Hw2rm024246 for <edwardbrown@example.com>; Wed, 1 Nov 2006 09:58:02 -0800 (PST) Received: from conversion-daemon.d1-sfbay-09.sun.com by d1-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <edwardbrown@example.com> (original mail from edwardbrown@example.com) for edwardbrown@example.com; Wed, 01 Nov 2006 09:58:02 -0800 (PST) Received: from [83.161.120.155] by d1-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <edwardbrown@example.com> for edwardbrown@example.com; Wed, 01 Nov 2006 09:57:59 -0800 (PST) Date: Wed, 01 Nov 2006 09:57:39 -0800 From: Rick Hillegas <edwardbrown@example.com> Subject: Re: New way of adding internationalized messages. This affects the Derby Reference Guide. In-reply-to: <edwardbrown@example.com> Sender: edwardbrown@example.com To: edwardbrown@example.com Message-id: <edwardbrown@example.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <edwardbrown@example.com> <edwardbrown@example.com> User-Agent: Thunderbird 83.161.120.155 (X11/20060828) X-Virus-Checked: Checked by ClamAV on apache.org Laura Stewart wrote: > On 11/1/06, Rick Hillegas <edwardbrown@example.com> wrote: >> My last checkin (469975, DERBY-1868) changed the way that we add >> internationalized messages to the Derby engine. There is now a file of >> xml descriptors (java/engine/org/apache/derby/loc/messages.xml). This is >> where we should add new engine messages. As part of adding a new >> message, you will want to give friendly names to the message >> arguments--these friendly names will appear in the SQLState tables in >> the Derby Reference Guide. >> >> Please do not edit java/engine/apache/derby/loc/messages.xml. This file >> has been removed from code management and is now generated from >> messages.xml during the Derby build. >> >> Thanks, >> -Rick >> > > Rick - Can you give the Derby community a few examples of "friendly > names" ? Hi Laura, Right now, the friendly names are exactly the ones which you created when you overhauled rrefexcept71493.dita recently. Those argument names have been copied to messages.xml. When adding a new message, one should just look for examples in messages.xml. Here are some of the friendly argument names in messages.xml which you added and which I faithfully reproduced. I culled these names by searching that file for the first several occurrences of the <arg> tag: authorizationID constraintName tableName viewName triggerName columnName indexName valueName objectName databaseName Do you think that we should document these somewhere? For instance, is there some style advice which you would like me to add to the introductory comments in messages.xml? Thanks, -Rick From edwardbrown@example.com Wed Nov 01 18:02:51 2006 Return-Path: <edwardbrown@example.com> Delivered-To: edwardbrown@example.com Received: (qmail 2673 invoked from network); 1 Nov 2006 18:02:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov
{'source': 'Apache Software Foundation Public Mail Archives'}