Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11858

[Wildfly16] CDI fails to inject InitialContext during startup

    Details

      Description

      We are in the process of upgrading from 14.0.1.Final. While Wildfly 15.0.1 works fine, 16.0.0.Final is intermittently (3 out of 5 times) failing to start with following error

      WELD-001334: Unsatisfied dependencies for type InitialContext with qualifiers

      In our application, a bootstrap servlet startsup services (Stateless EJBs) during server startup. During this process the server fails to start with above error.

      Basically CDI is not able to find the appropriate InitialContext bean intermittently. This is not failing in our application code but in the wildfly libraries itself.

      Any pointers on this will be helpful. Don't want to end up with startup issues in stage/production

      Unfortunately my efforts to come up with a simplified maven module to showcase the error didn't succeed. So, please let me know if any further information is required and i will be glad to fill it in.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ochaloup Ondrej Chaloupka
                  Reporter:
                  rakcheru Rakesh Cherukuri
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: