0 Replies Latest reply on Aug 1, 2005 3:05 AM by song sun

    After my restarting DB Server,throwes javax.ejb.CreateExcept

    song sun Newbie

      My Database server is not stable,and I must restart it sometimes .
      Every time I restart it,my web application on JBoss cannot work.
      I checked the code,when the ejb's create() method is called ,it throws Exception :

      javax.ejb.CreateException: Error checking if entity exists:java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer: socket write error

      then I had to restart the jboss server and incrupt the custom's browse and transaction.

      So I ask the question:How to keep the Jboss server working well in this situation?