0 Replies Latest reply on Nov 4, 2003 8:03 AM by Bent

    Invalid connections in DataSource pool

    Bent Newbie

      Hi
      I use JBoss 3.0.4 in my Statless SessionBean application. Configured SQL Server datasource and getting connections with jndi lookup.
      Suddenly and sporadic my connection pool seems corrupt. JBoss hands out corrupted connections to my application and this exception occur:

      java.sql.SQLException: Network error: Connection reset by peer: socket write error

      I also use jdbc driver from jTDS.

      Is this a network error or is it database problem? Why can't JBoss detect corrupt connections and throw them away and create new ones?

      Can anyone give me some hints??