Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-5047

Transaction lookup fails on Tomcat

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 2.3.0.Final
    • 2.3.1.CR1
    • Core
    • None

    Description

      Currently org.jboss.seam.transaction.Transaction#getUserTransaction() catches for a NameNotFoundException when doing the lookup for "java:comp/UserTransaction". This fails on Apache Tomcat 7.0.27 because it will throw a generic NamingException.

      Please change the code to catch a NamingException instead of NameNotFoundException (which is a child class of NamingException).

      Attachments

        Activity

          People

            mnovotny@redhat.com Marek Novotny
            egore911 Christoph Brill (Inactive)
            Archiver:
            ranumula@redhat.com Raju Anumula

            Dates

              Created:
              Updated:
              Resolved:
              Archived: