0 Replies Latest reply on Jul 15, 2004 2:07 PM by Varun Garg

    Static data EJB's participation in transaction

    Varun Garg Newbie

      I have a implemention of a transactional system based on JBoss using CMP, Session fascade.

      I have CMP's for static type objects like Country/State/Status etc.

      I have marked such ejbs <read-only>true</read-only> in the jbosscmp-jdbc.xml.

      Still they participate in transactions and I often get the following error
      Application deadlock detected, resource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock

      I would like to find out the best way to deal with such data, or if there are some other deployment descriptors that I can use to make sure that they dont participate in the transactions and I do not get a deadlock.

      Thanks a lot in advance..