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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.1.4.GA
    • CDI / Weld
    • None
    • Hide
      We only need to backport to 7.1.z (JBEAP-15441)
      Show
      We only need to backport to 7.1.z ( JBEAP-15441 )

      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
      

              rhn-support-ivassile Ilia Vassilev
              rhn-support-ivassile Ilia Vassilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: