2 Replies Latest reply on Dec 10, 2008 12:12 AM by srinivas.peddineni

    AutoConnection for EntityManager

    srinivas_peddineni

      Hi

      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.

      Thanks
      Srinivas