ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Grabfelder <nos...@kaigrabfelder.de>
Subject Re: mysql issue...
Date Wed, 24 Dec 2008 11:07:46 GMT
sorry for the multiple answers. looks like google mail is somehow filtering the e-mails I'm
sending to the
list so that they don't appear in my inbox ;-(

Regards

Kai

--- Original Nachricht ---
Absender: pady
Datum: 21.12.2008 19:59
> 
> Hi,
> 
> ibatis 2.3
> mysql 5.0.29
> mysql-connector 5.0.4
> 
> After a few hours of my web app being idle, when I try to connect I get this
> exception, when i try to connect through ibatis:
> 
> com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException:
> Connection.close() has already been called. Invalid operation in this state.
> 
> I have googled, checked the mysql archives etc and all I find is to make
> sure the ibatis transactionmanager as external...
> 
> My transaction manager is setup as
> 
> <transactionManager type="JDBC" commitRequired="true">
> 
> <property name="SetAutoCommitAllowed" value="true"/>
> 
> <property name="DefaultAutoCommit" value="false"/>
> 
> <dataSource type="SIMPLE">
> 
> <property name="JDBC.Driver" value="com.mysql.jdbc.Driver"/>
> 
> <property name="JDBC.ConnectionURL" value="jdbc:mysql://localhost/***"/>
> 
> <property name="JDBC.Username" value="***"/>
> 
> <property name="JDBC.Password" value="***"/>
> 
> </dataSource>
> 
> </transactionManager>
> 
> 
> 
> I want to know whether users here have seen the error above and how they
> solved it.
> 
> 
> 
> Thx
> 
> -- pady
> 
> 
> 
> 


Mime
View raw message