3 Replies Latest reply: Jul 8, 2013 1:06 AM by Vijaya Moderator -Oracle RSS

    No beans of type javax.xml.ws.WebServiceContext on WLS 10.3.4 startup

    73c7d7df-1634-4c9c-8f14-9925d4170982

      When attempting to deploy a JAX-WS generated web service as a module under an ear the bellow exception is encountered on server startup and the ear does not load.

       

      Please assist.

       

      Am on WebLogic Server Version: 10.3.4.0 on Linux

       

      <Jun 25, 2013 3:08:14 PM IDT> <Warning> <HTTP> <BEA-101372> <There was a failure in application ServletContext@9860860[app:asmsServer_hourly01_AsmsApp module:CommonalityAsmsWS path:/CommonalityAsmsWS spec-version:2.5] when attempting to inject dependencies into com.amdocs.oss.commonality.services.workforcedomain.ws.wls.workorderrequestsvc.WorkOrderRequestSvcJWS. Dependencies will not be injected into this class.

      com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't find the bean definition about class interface javax.xml.ws.WebServiceContext; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.xml.ws.WebServiceContext] is defined: No beans of type javax.xml.ws.WebServiceContext; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@2ad631: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@2ad631]; startup date [Tue Jun 25 15:06:33 IDT 2013]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@877294

              at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.applyInjections(Jsr250Metadata.java:244)

              at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.inject(Jsr250Metadata.java:226)

              at weblogic.servlet.internal.WebComponentContributor.inject(WebComponentContributor.java:273)

              at weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:228)

              at weblogic.servlet.internal.WebComponentContributor.createServletInstance(WebComponentContributor.java:249)