0 Replies Latest reply on May 26, 2005 12:23 PM by Patrick Brady

    Transaction Configuration and Timeouts on CMT SLS Beans

    Patrick Brady Newbie

      I'm running out of ideas here.

      Configuration:
      - Suse Linux 8
      - JBoss 3.2.6
      - Hibernate 2.1.7
      - Stateless Session EJB w/ CMT

      Problem:
      Most of our operations througth the session bean layer are read-only, and do not require transactions. To reduce the overhead of transactions on these readonly calls, we changed the ejb-jar.xml container-transaction mappings to be Supported / NotSupported.

      However, when running with this configuration we gradually increase memory until the JVM has consumed all available (memory leak) resources.

      When transactions are turned on (all container-transaction mappings = Required), we get intermittent transaction timeout warnings in the log and our resources are stable. (I'm guessing these timeouts cause the container to release resources.) However, this is certainly not the solution to the problem. The timeouts do not through exceptions (I think this feature isn't available until JBoss 4.x), and so it is nearly impossible to track down the source of the long running transaction.

      Solution:
      Any ideas on this are more than welcome.

      Patrick