java - Some queries causes BBDD Closed connection -
i have web app deployed on jboss eap 6 uses hibernate access sql server database.
every time specific register error:
com.microsoft.sqlserver.jdbc.sqlserverexception: connection closed
search other register works fine. restarting jboss seems solve problem. can register data without problem.
what causing exception register? should focus on code? on network? on datasources definition? on db configuration?
there many reasons, offten:
- look @ code, maybe call close() method
- check out connection string (ntlmv2?)
- check out ms sql server , setting, db servers looking not active sessions , closing them.
Comments
Post a Comment