try
dbalias="//localhost:3306/default?reconnect=true"
----- Original Message -----
From: "Ramon Cano Granizo" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Friday, October 24, 2003 8:59 AM
Subject: problem with MySQL driver
Hello, I'm working with ojb rc4, MySQL 4.0, a jdbc driver from MySQL
(mysql-connector-java-3.0.9-stable-bin) and Tomcat 3.3.
The problems comes when the application it's sometime without resolving any
request (about two hours), then, the next request throw a
StackOverflowException, the trace show the driver opening and closing
connection, could someone help me?
It's something wrong in the repository_database.xml (here is), perhaps
jdbc-lever??????
<jdbc-connection-descriptor
jcd-alias="databaseMySQL"
default-connection="true"
platform="MySQL"
jdbc-level="2.0"
driver="com.mysql.jdbc.Driver"
protocol="jdbc"
subprotocol="mysql"
dbalias="//localhost:3306/default"
username="root"
password=""
>
<connection-pool
maxActive="21"
validationQuery="" />
:-(
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]