[jboss-jira] [JBoss JIRA] (WFCORE-1782) Wildfly 10.1.0 blocks calls to Singleton EJBs in PostConstruct

Dietrich Schmidt (JIRA) issues at jboss.org
Mon Sep 12 05:46:00 EDT 2016


Dietrich Schmidt created WFCORE-1782:
----------------------------------------

             Summary: Wildfly 10.1.0 blocks calls to Singleton EJBs in PostConstruct
                 Key: WFCORE-1782
                 URL: https://issues.jboss.org/browse/WFCORE-1782
             Project: WildFly Core
          Issue Type: Bug
          Components: Server
    Affects Versions: 2.2.0.Final
         Environment: Wildfly 10.1.0 running under Windows 10 with Java 1.8.0_91
            Reporter: Dietrich Schmidt
            Assignee: Jason Greene
             Fix For: 2.2.1.Final
         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)


More information about the jboss-jira mailing list