1 Reply Latest reply on May 17, 2009 5:03 PM by peterj

    JBoss Closing connection

      Hello, im a newbie. and im learning java web application.
      Im have a purchase entry jsp page in which i tried to enter more than 30 records and submitted the page. it stucks and started to display this msg in console:

      JBOSS CONSOLE

      Closing Connections..org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6


      It works fine if i insert less than 20 records in the same jsp page.
      Please let me know for any tips.

        • 1. Re: JBoss Closing connection
          peterj

          Given that the default max connection count for a data source is 20, I would guess that you are using a new connection for each record. Your code should, instead, get only one connection and use it for all of the records.