[
https://issues.jboss.org/browse/WFLY-7101?page=com.atlassian.jira.plugin....
]
Dietrich Schmidt commented on WFLY-7101:
----------------------------------------
EJB spec 4.8.1 does not apply to this bug, please re-investigate.
Singleton bean A (=ServerImpl) with @startup calls in its @Postconstruct method a method
in singleton bean B (=TestReaderImpl) - this works fine.
Now in this @PostConstruct several Threads are created with a ManagedExcecutorService -
these threads start normally, but if the call a method iin singleton bean B, they are
blocked. This must not happen and is a bug.
Wildfly 10.1.0 blocks calls to Singleton EJBs in PostConstruct
--------------------------------------------------------------
Key: WFLY-7101
URL:
https://issues.jboss.org/browse/WFLY-7101
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 10.1.0.Final
Environment: Wildfly 10.1.0 running under Windows 10 with Java 1.8.0_91
Reporter: Dietrich Schmidt
Assignee: Jason Greene
Attachments: Verklemmung.zip
Wildfly 8.2.0 and 10.0.0 work fine with a Singleton Bean, which has a @Postconstruct
method and in this method several threads are created with the ManagedExecutorService.
These threads call a method in another Singleton EJB, which has been injected.
This call is blocked in Wildfly 10.1.0 until the Prostconstruct thread has ended.
I assume that the behaviour of Wildfly 8.2.0 + 10.0.0 is correct and the behaviour of
Wildfly 10.1.0 is a bug.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)