[jira] [Created] (DERBY-5560) Java deadlock between LogicalConnection40 and ClientXAConnection40

2011-12-28 Thread Brett Bergquist (Created) (JIRA)
Java deadlock between LogicalConnection40 and ClientXAConnection40 -- Key: DERBY-5560 URL: https://issues.apache.org/jira/browse/DERBY-5560 Project: Derby Issue Type: Bug

[jira] [Created] (DERBY-5561) Race conditions in LogicalConnection checking for a null physical connection

2011-12-28 Thread Brett Bergquist (Created) (JIRA)
Race conditions in LogicalConnection checking for a null physical connection Key: DERBY-5561 URL: https://issues.apache.org/jira/browse/DERBY-5561 Project: Derby

Could someone give me some guidance on DERBY-5560

2011-12-28 Thread Bergquist, Brett
I created https://issues.apache.org/jira/browse/DERBY-5560 and am seeing this in production. Basically what is happening is that the LogicalConnection.close() is being called which attempts to recycle the physical connection by calling ClientPooledConnection.recycleConnection(). At the same

Regression Test Report - Daily 1224946 - Sun DBTG

2011-12-28 Thread Ole . Solberg
[Auto-generated mail] *Daily* 1224946/2011-12-27 18:00:07 MET Failed TestsOK Skip Duration Suite --- *Jvm: 1.7* lin 01471014710 0 .% suitesAll 01515 0 .% jdbcapiAutoLoad 014

[jira] [Commented] (DERBY-5561) Race conditions in LogicalConnection checking for a null physical connection

2011-12-28 Thread Kathey Marsden (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-5561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13176727#comment-13176727 ] Kathey Marsden commented on DERBY-5561: --- Do you have multiple threads accessing the

RE: [jira] [Commented] (DERBY-5561) Race conditions in LogicalConnection checking for a null physical connection

2011-12-28 Thread Bergquist, Brett
There are two threads accessing the same connection but this is because of the connection pool. When you configure a connection pool in Glassfish you can configure error handling on the pool. One option that can be configured is to configure the connection pool such that any error on any

[jira] [Commented] (DERBY-5561) Race conditions in LogicalConnection checking for a null physical connection

2011-12-28 Thread Kathey Marsden (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-5561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13176747#comment-13176747 ] Kathey Marsden commented on DERBY-5561: --- Makes sense. Thanks for the explanation.

[jira] [Commented] (DERBY-5560) Java deadlock between LogicalConnection40 and ClientXAConnection40

2011-12-28 Thread Brett Bergquist (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-5560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13176749#comment-13176749 ] Brett Bergquist commented on DERBY-5560: Partial stack trace of first thread:

[jira] [Commented] (DERBY-5561) Race conditions in LogicalConnection checking for a null physical connection

2011-12-28 Thread Kathey Marsden (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-5561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13176753#comment-13176753 ] Kathey Marsden commented on DERBY-5561: --- Just realized Brett's explanation is not in

RE: [jira] [Commented] (DERBY-5561) Race conditions in LogicalConnection checking for a null physical connection

2011-12-28 Thread Bergquist, Brett
I have to get in the habit of putting the responses and stuff in the Jira. I did not realize that your message was from updating the Jira and just hit Reply. I will be better in the future but I am still an egg :) -Original Message- From: Kathey Marsden (Commented) (JIRA)

[jira] [Commented] (DERBY-5560) Java deadlock between LogicalConnection40 and ClientXAConnection40

2011-12-28 Thread Kathey Marsden (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-5560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13176764#comment-13176764 ] Kathey Marsden commented on DERBY-5560: --- Some discussion regarding this issue is in

Re: [jira] [Commented] (DERBY-5561) Race conditions in LogicalConnection checking for a null physical connection

2011-12-28 Thread Katherine Marsden
On 12/28/2011 10:52 AM, Bergquist, Brett wrote: I have to get in the habit of putting the responses and stuff in the Jira. I did not realize that your message was from updating the Jira and just hit Reply. I will be better in the future but I am still an egg :) No worries. It is nice to have

[jira] [Commented] (DERBY-5560) Java deadlock between LogicalConnection40 and ClientXAConnection40

2011-12-28 Thread Brett Bergquist (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-5560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13176800#comment-13176800 ] Brett Bergquist commented on DERBY-5560: From my looking at the code, the

Where can I find information on how to turn on tracing

2011-12-28 Thread Bergquist, Brett
I am pursuing a bug where when the Network Client receives a Lock Timeout exception in PreparedStatement.java: public int executeUpdate() throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) {

Re: Where can I find information on how to turn on tracing

2011-12-28 Thread Myrna van Lunteren
On Wed, Dec 28, 2011 at 4:08 PM, Bergquist, Brett bbergqu...@canoga.com wrote: I am pursuing a bug where when the Network Client receives a Lock Timeout exception in PreparedStatement.java:     public int executeUpdate() throws SQLException {     try     {     

[jira] [Commented] (DERBY-5558) NullPointerException in store.RecoveryTest launchRecoveryInsert and failure in testBasicRecovery with weme 6.2

2011-12-28 Thread Myrna van Lunteren (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-5558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13176912#comment-13176912 ] Myrna van Lunteren commented on DERBY-5558: --- The need for setting emma.active=

Re: Where can I find information on how to turn on tracing

2011-12-28 Thread Katherine Marsden
On 12/28/2011 4:08 PM, Bergquist, Brett wrote: I am pursuing a bug where when the Network Client receives a Lock Timeout exception in if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, executeUpdate); } This code fails