@Create methods on @Startup components are called in a transaction which doesn't get
committed
----------------------------------------------------------------------------------------------
Key: JBSEAM-4278
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4278
Project: Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.2.0.CR1
Reporter: Sanne Grinovero
Fix For: 2.2.0.GA
Having a component annotated with @Scope(ScopeType.APPLICATION) and @Startup having a
@Create method to do something at application startup
is called correctly but the transaction is never committed.
The transaction is committed if the component is a Stateful EJB, but in this case @In
injection is not working.
This breaks for example the Blog example's test as it rebuilds the initial Lucene
index using this method.
--
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