[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4154) Remove core.init.userTransactionName

Fusayuki Minamoto (JIRA) jira-events at lists.jboss.org
Tue Apr 28 05:32:46 EDT 2009


Remove core.init.userTransactionName
------------------------------------

                 Key: JBSEAM-4154
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4154
             Project: Seam
          Issue Type: Bug
          Components: Documentation Issues
    Affects Versions: 2.1.2.CR1
            Reporter: Fusayuki Minamoto


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)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the seam-issues mailing list