0 Replies Latest reply on Aug 29, 2002 11:55 AM by bruno01

    problem with too many sessions

    bruno01

      Hello,

      i deploy a EJB Session Bean on Jboss 2.4.3.
      My problem is, that when I deploy the session bean too often, i get the following error message when trying to access the database:

      ORA-00018: maximum number of sessions exceeded

      It looks like the session bean doesen't close the sessions when being removed.

      the code of ejbRemove():

      public void ejbRemove() {
      try {
      if (context != null)
      context.close();
      }catch (Exception e) {}
      }

      Does somebody know how to solve that problem?

      tia
      bruno