2 Replies Latest reply on Dec 10, 2008 12:12 AM by Peddineni SrinivasaRao

    AutoConnection for EntityManager

    peddineni srinivas Newbie


      I am using EJB3.0 with Jboss. During application run if connection from App server to database server lost application is getting Connection exception(SQL exception) it is as expected, now database server is up but still my application is unable to contact database, i am getting closed connection exception.

      Could any body help me how to address this issue with out restarting the appserver, I need the connetion should be automatically available to the appserver as and when database server is up.

      I am using EntityManager for persistance operations.