0 Replies Latest reply on Apr 24, 2002 4:46 PM by gzivich

    Setting Servlet Timeout Value

    gzivich

      Hello!

      We are running JBoss 2.4.4 and Tomcat 4.0.1 and are having a problem with servlets not releasing their connections.

      If the database that JBoss is using is shutdown while JBoss is still running, any servlets that connect and use information from the database sit there spinning, never releasing their resources.

      Also, if a servlet causes an infinite loop, it hangs and never returns the connection.

      Is there a setting that we are missing that would allow us to set a maximum servlet timeout value of say one minute after which time the servlet would release its connections and return a response code indicating a timeout?

      Thanks,
      George