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

Remove core.init.userTransactionName

    Details

      Description

      JBSEAM-1144 removed the core.init.userTransactionName but the Seam reference doc wasn't updated.

      In the "31.10. Infrastructural components", following line should be removed.

      org.jboss.seam.core.init.userTransactionName — the JNDI name to use when looking up the JTA UserTransaction object.

      Besides, JBoss Developer Studio 2.0 has an input field for User-Transaction-Name of Init component on the Seam 2.0 component editor.

      How to reproduce
      ==============
      When you set the user-transaction-name attribute in the components.xml with JBDS 2.0, you will get an exception at deployment:

      Caused by: java.lang.IllegalArgumentException: no such field: org.jboss.seam.core.Init.userTransactionName
      at org.jboss.seam.util.Reflections.getField(Reflections.java:293)
      at org.jboss.seam.Component.initInitializers(Component.java:480)
      at org.jboss.seam.Component.<init>(Component.java:264)
      at org.jboss.seam.Component.<init>(Component.java:217)
      at org.jboss.seam.init.Initialization.addComponent(Initialization.java:1028)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                norman.richards Norman Richards
                Reporter:
                minamoto Fusayuki Minamoto
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: