java - DB2 SQL-Error: -519, SQLState: 24506 -
there strut application throws -519 error sometimes. have restart tomcat whenever error occures.
you can find te detail of -519 here
it happens. not able understand actual cause , solution.
please make sure code fetches results resultset , make sure resultset , preparedstatement close()d. if not ensure these things possible cursor not automatically closed in db2.
in case database connection gets returned connection pool not resources have been freed properly. when eactly same sql statement prepared again using same connection error in question.
if custom code of yours recommend using pmd , findbugs extensively while developing because warn eagerly not closing resources.
Comments
Post a Comment