From: Date: January 21 2003 2:11pm Subject: Re: AutoReconnect problem List-Archive: http://lists.mysql.com/java/4926 Message-Id: <55773.64.81.138.200.1043154696.squirrel@localhost.my.domain> MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 > I have a autoReconnect problem with Connector/J 3.0.4 (The problem seems > to be > in 3.0.2 and 3.0.3 too, but I seem to remember not having the problem with > 3.0.1). > > I'm running MySQL Max 3.23.54a in Linux, using JBoss 2.4.10 and JRockit > 7.0 JVM > (I also tested with Sun's JVM 1.4.1_01 and JRockit 8.0b). > > I connect to MySQL through JBoss using this URL: > jdbc:mysql://localhost/bms_company?autoReconnect=true. Then every morning > when > the connection hasn't been used over night, I get a NullPointerException > when I > try to connect through our application. The same thing happens if I > restart > MySQL without restarting JBoss. If I change to mm.mysql-2.0.14, everything > works > just fine. > > Is this a bug in the new driver? > > Cheers, > Pål Arne Hoff > > -- > +------+ Pål Arne Hoff > | | Product Development Manager > | | rampco AS > |rampco| Tlf: 22 11 45 83 Fax: 22 11 45 81 > +------+ http://www.rampco.com/ I'll need a full stacktrace to be able to track this down. It's not a known issue, but it appears something is going on. -Mark