Juan Barbosa

Greenhorn
+ Follow
since Jul 09, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Juan Barbosa

I'm not sure to be honest, when we were on Weblogic 12.1 the application loaded just fine, when we went to weblogic 12.2 it stopped working with that application breaking exception.

A coworker found this yesterday sometime after my original post
https://docs.oracle.com/middleware/12213/wls/NOTES/whatsnew.htm#NOTES-GUID-B3BB7587-D150-43CA-9820-09C730BB2185
############
WebLogic Server/Spring Integration Features
Integration features for WebLogic Server/Spring are deprecated in Oracle WebLogic Server as of version 12.2.1. Also, as of version 12.2.1, the Oracle WebLogic Server Spring console extension is not supported when using JRF or restricted-JRF.
#########

So it may be that weblogic is removing spring support, I'm not 100% sure yet. since it seems that its for restful services and some other spring features.

I guess my question is
What exactly is the WebServiceContext and how to get it injected? Maybe I'm missing a listener or some config to tell weblogic who is going to handle the Injection of the dependencies. Because Spring surely isn't doing it.
2 years ago
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'
...
2 years ago