]
Norman Richards closed JBSEAM-4154.
-----------------------------------
Resolution: Done
Thanks.
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
Assignee: Norman Richards
Fix For: 2.1.2.CR2
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: