Hello ranchers, at my job we finally got around to migrating our application to EJB3s and welogic 12c. A problem that we are facing is that we can't resolve the WebServiceContext as the applications starts in Weblogic. Some of our webmodules use spring, but this never caused a problem before when we were on weblogic 12.1.
At the risk of sounding stupid, my hunch is that Spring is trying to Inject the dependencies itself instead of allowing Weblogic to do it like it has done before. We used to be on Weblogic 12.1 and now going to 12.2 this is starting to happen.
Can anyone provide some insight as to what is going on and how to proceed, let me know if you need more info. I've tried a few things over the days but no dice
Thanks in advance.
<Jul 9, 2019 10:09:43,836 AM EDT> <Error> <HTTP> <BEA-101216> <
Servlet: "com.dovetailsys.payments.ws.payment.v2_0.PaymentServiceV20_Soap11Impl" failed to preload on startup in Web application: "services".
javax.xml.ws.WebServiceException: javax.enterprise.inject.InjectionException: Exception trying to inject
java EE injection point into class: com.dovetailsys.payments.ws.payment.v2_0.PaymentServiceV20_Soap11Impl.
...
Caused By: javax.enterprise.inject.InjectionException: Exception trying to inject java EE injection point into class: com.dovetailsys.payments.ws.payment.v2_0.PaymentServiceV20_Soap11Impl.
...
Caused By: 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 qualifying bean of type [javax.xml.ws.WebServiceContext] is defined: No beans of type javax.xml.ws.WebServiceContext; owner=com.oracle.pitchfork.inject.PitchforkGenericApplicationContext@43173a9e: startup date [Tue Jul 09 10:09:11 EDT 2019]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@1113b60f; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.dovetailsys.payments.ws.payment.v2_0.PaymentServiceV20_Soap11Impl/wsContext' is defined; nested exception is javax.naming.NameNotFoundException: While trying to look up comp/env/com.dovetailsys.payments.ws.payment.v2_0.PaymentServiceV20_Soap11Impl/wsContext in /app/ejb/finance-ejb3-6.2.1.jar/#IBANStructure.; remaining name 'comp/env/com/dovetailsys/payments/ws/payment/v2_0/PaymentServiceV20_Soap11Impl/wsContext'
...
Caused By: com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [javax.xml.ws.WebServiceContext] is defined: No beans of type javax.xml.ws.WebServiceContext; owner=com.oracle.pitchfork.inject.PitchforkGenericApplicationContext@43173a9e: startup date [Tue Jul 09 10:09:11 EDT 2019]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@1113b60f; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.dovetailsys.payments.ws.payment.v2_0.PaymentServiceV20_Soap11Impl/wsContext' is defined; nested exception is javax.naming.NameNotFoundException: While trying to look up comp/env/com.dovetailsys.payments.ws.payment.v2_0.PaymentServiceV20_Soap11Impl/wsContext in /app/ejb/finance-ejb3-6.2.1.jar/#IBANStructure.; remaining name 'comp/env/com/dovetailsys/payments/ws/payment/v2_0/PaymentServiceV20_Soap11Impl/wsContext'
...
Caused By: com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.dovetailsys.payments.ws.payment.v2_0.PaymentServiceV20_Soap11Impl/wsContext' is defined; nested exception is javax.naming.NameNotFoundException: While trying to look up comp/env/com.dovetailsys.payments.ws.payment.v2_0.PaymentServiceV20_Soap11Impl/wsContext in /app/ejb/finance-ejb3-6.2.1.jar/#IBANStructure.; remaining name 'comp/env/com/dovetailsys/payments/ws/payment/v2_0/PaymentServiceV20_Soap11Impl/wsContext'
...
Caused By: javax.naming.NameNotFoundException: While trying to look up comp/env/com.dovetailsys.payments.ws.payment.v2_0.PaymentServiceV20_Soap11Impl/wsContext in /app/ejb/finance-ejb3-6.2.1.jar/#IBANStructure.; remaining name 'comp/env/com/dovetailsys/payments/ws/payment/v2_0/PaymentServiceV20_Soap11Impl/wsContext'
...