0 Replies Latest reply on Jan 22, 2006 8:15 PM by dushys

    EJB PK classes not being released from memory

    dushys

      Hi,
      We are hosting our enterprise application on Jboss v3.0.8, JDK 1.4.2._05.

      We have approx 8 entity beans in our application using CMP. We are using XDoclet to generate the neccessary deployment descriptors and also to generate the EJB Primary Key classes for each of the entity beans.

      The application consists of a timer class which when fired up loads data from the server cache and tries to send it to the ERP system. The problem i am seeing is: each time the timer fires and has to process x amount of rows in the database, the CMP creates X amount of instances for the PK class associated with the bean, but the PK classes are never destroyed and eventually leads to the server running out of memory.

      Has anyone seen this problem before? Also I upgraded our server to Jboss 3.2.6 and the problem seems to go away, I just wanted to confirm if this was a known issue in earlier versions and has been addressed in the later releases, to justify the upgrade to Jboss 3.2.6

      Any help is much appreciated
      Regards
      Dushy