Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15449

[GSS](7.2.z) WeldResourceInjectionServices runs into NoSuchElementException when deploying multiple EJBs

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 7.1.4.GA
    • Fix Version/s: None
    • Component/s: CDI / Weld
    • Labels:
      None
    • Target Release:
    • Release Notes Text:
      Hide
      We only need to backport to 7.1.z (JBEAP-15441)
      Show
      We only need to backport to 7.1.z ( JBEAP-15441 )

      Description

      The first invocation of a web service which uses @Inject to inject a bean which has @Resource WebServiceContext fails with :

      Caused by: javax.naming.NameNotFoundException: javax.xml.ws.WebServiceContext -- service jboss.naming.context.java."javax.xml.ws.WebServiceContext"
      	at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106)
      	at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207)
      	at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:237)
      	at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193)
      	at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189)
      	at javax.naming.InitialContext.lookup(InitialContext.java:417)
      	at javax.naming.InitialContext.lookup(InitialContext.java:417)
      	at org.jboss.as.weld.services.bootstrap.WeldResourceInjectionServices.resolveResource(WeldResourceInjectionServices.java:223)
      	... 136 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ivassile Ilia Vassilev
                  Reporter:
                  ivassile Ilia Vassilev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: