Gmane
Favicon
From: Mark Matthews <mark <at> mysql.com>
Subject: Re: Connector/J 3.0.7 infinite loop
Newsgroups: gmane.comp.db.mysql.java
Date: 2003-05-01 17:24:23 GMT (6 years, 9 weeks, 2 days, 17 hours and 24 minutes ago)

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.
>
> Thanks,
> Ben

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

    __  ___     ___ ____  __
   /  |/  /_ __/ __/ __ \/ /  Mark Matthews <mark <at> mysql.com>
  / /|_/ / // /\ \/ /_/ / /__ MySQL AB, SW Dev. Manager - J2EE/Windows
 /_/  /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA
        <___/ www.mysql.com