4 messages in com.mysql.lists.javaRe: Connector/J 3.0.7 infinite loop
FromSent OnAttachments
Ben Burry01 May 2003 09:55 
Mark Matthews01 May 2003 10:24 
Imran Balkhi01 May 2003 12:16 
Mark Matthews01 May 2003 13:15 
Subject:Re: Connector/J 3.0.7 infinite loop
From:Mark Matthews (ma@mysql.com)
Date:05/01/2003 10:24:01 AM
List:com.mysql.lists.java

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Ben Burry wrote:

Hi all, I'm having an intermittent problem with MySQL and/or Connector/J and/or Tomcat ...

I've got a development environment set up including Tomcat 4.0, MySQL 4.0.12 and Connector/J 3.0.7. This is using a tomcat-managed connection pool.

The problem I'm having occurs in all the servlets that perform db access. It happens fairly regularly (about once every 3 requests), but is intermittent (so if I hit reload in my browser, the servlet executes with no errors).

The full error trace is 1055 lines long, so I've only included a snippet at the end of this mail. The last 5 lines are repeated ad-inifinitum which I'm assuming is what is causing the StackOverflowError.

Does anyone have any idea what may be causing this? If it's helpful to know, I'm using preparedstatements for all the sql queries.

Thanks in advance to anyone who can help me out. I'm baffled.

This is a known issue that happens when connections and statements are closed in particular circumstances. It has been fixed for a while in the nightly snapshots, so you should try one out.

See http://mmmysql.sourceforge.net/snapshots/stable/ for more info.

-Mark - -- For technical support contracts, visit https://order.mysql.com/?ref=mmma

iD4DBQE+sVhHtvXNTca6JD8RAnknAJdAyBfgV99Qht2BV9A0+dgQJJ45AJ4r1+yk KEMOqYQgh64QKI173MS9ew== =KyDt -----END PGP SIGNATURE-----