I think u should check the variable wait_timeout in my.cnf (or my.ini)
it assigns how long the connection to the database is active in seconds

Jim Theodoridis



----- Original Message -----
From: "Ramon Cano Granizo" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 12, 2003 10:59 AM
Subject: ojb Error in MySQL


Hello,
     i'm using obj-rc4 and MySQL4 whit tomcat 3.3 and when i start the
server, everything goes right.

    The problem comes making a request 8 hours after the server is runnig,
the applications wait a while and it seems it's making something, but then
throws a java.lang.StackOverFlowException, and i can't see any log,

here is the repository_database,


  <jdbc-connection-descriptor
        jcd-alias="RuraliaMySQL"
        default-connection="true"
        platform="MySQL"
        jdbc-level="2.0"
        driver="com.mysql.jdbc.Driver"
        protocol="jdbc"
        subprotocol="mysql"
        dbalias="//localhost:3306/ruralia2?autoReconnect=true"
        username="root"
        password=""
        batch-mode="false"
   useAutoCommit="2"
   ignoreAutoCommitExceptions="false"
   >


       <connection-pool
            maxActive="21"
            validationQuery="" /



perhaps is the version of the driver?

anyone can help me?




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to