2 Replies Latest reply on Jun 9, 2003 5:44 PM by Jon Martin Solaas

    Hanging webapp

    Jon Martin Solaas Newbie

      I have a medium size web application. Basically it's a jsp-page, using some simple tags to display a small homepage. Beneath is my ejb-based content-management system that I'm developing. I have a small number of EntityBeans (CMP/CMR) and two stateless session facades. Home-interfaces are cached in a simple EJBUtil-class. All Entity set-methods have the "supports" trans-attribute in ejb-jar.xml, while set-methods have "mandatory". All methods in the facade ejb's have attribute "requires-new".

      Now, reading the webpage repeatedly (basically just clicking reload as fast as I can), makes everything hang (only triggering read-methods in the EJB's, ie. a small number of separate transactions are triggered).
      I've experimented with different transaction attributes, but no luck.

      Problem occurs on 3.0.6, 3.0.7 and 3.2.0, running on both Postgres and mySQL.

      Does anyone know if such behaviour is transaction-related at all? Any pointers in any useful direction are welcome!

      --
      Jon Martin Solaas
      jonmartin.solaas@mail.link.no
      solaas.minidns.net