Skip to main content

Glassfish JDBC Timeout after about 15min

No replies
Joined: 2012-06-21


I am new here and have a problem with Glassfish 3.1.2 running on Debian with JDK 1.7 (Oracle Tar.gz). I use the mysql-Connector-J in the latest version to connect to a MariaDB-Database running on a different host.

My Problem is:
I habe a EJB and a web service in one Application. The ejb connects to the database and gets me some data. The web service returns the data as comma separated string.
This works fine for a few minutes. Afterwards the application is not responding any more. Server is running fine and I have 400MB of free ram left.
The server-log is full of grizzly-messages. Now I changed the timeout-values ofthe jdbc-connection and it works a little longer. But the problem is the same. I will edit the logs as soon as I get home..