• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC Connection error

 
Aleksandar Mitrev
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to everyone.
I don't know is this is the right place to post my question because I haven't determine where my problem lies.

My application is throwing the following exception:

This is happening in production I'm not able to get this problem in development and for that I'm not able to solve it.

From what I was able to find in the web, the cause for this can be:
1. Over jdbc connection, a JBoss connection is wrapped but the wrapper is empty. The original JDBC connection inside is no longer there.
2. JDBC Connection is already closed and trying to work with close connection is the reason why I'm getting this exception.
3. The transaction manger detects transaction that is taking to long then the transaction timeout.

So if someone can point me what is the problem because I'm not able to get this problem in mine development environment.
Also what logs can I add that will help me detect the problem in production - I'm using Java, JBoss, JDBC, Postgres.

I'have enable connection close monitoring by adding <track-statements>true</track-statements> in the datasource.
Also to add is that the issue is not consistent
 
Rob Spoor
Sheriff
Pie
Posts: 20753
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've crosslinked this in our JBoss forum, so you'll have a larger chance someone will be able to help you. I haven't seen this error myself though.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a sign that you might have connection leaks in your application. See if this helps track it down https://community.jboss.org/wiki/WhatDoesTheMessageDoYourOwnHousekeepingMean
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic