Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CONM7007I: Mapping the following SQLException, with ErrorCode -901 and SQLState 58004

 
Maria del Carmen Castillo MArtini
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a problem when I execute a query, it Throws:
CONM7007I: Mapping the following SQLException, with ErrorCode -901 and SQLState 58004, to a StaleConnectionException: java.sql.SQLException: [SQL0901] Error del sistema SQL.
and it is as all others querys I execute, so I don�t know why this is happening, I really need your help.
Thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34401
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maria,
That SQL State is for a stale connection. That explains why you are only getting the error sometimes. Try doing a search of this forum for "stale connection." It is a topic frequently discussed. If you have a more specific question, feel free to post it here.

Welcome to JavaRanch!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic