org.apache.cxf.interceptor.Fault: weblogic.jndi.internal.WLEventContextImpl cannot be cast to javax.sql.DataSource

Oracle Community | Charles Lee | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    weblogic.jndi.internal.WLEventContextImpl cannot be cast to javax.sql.DataSource

    Oracle Community | 3 years ago | Charles Lee
    org.apache.cxf.interceptor.Fault: weblogic.jndi.internal.WLEventContextImpl cannot be cast to javax.sql.DataSource
  2. 0

    weblogic.jndi.internal.WLEventContextImpl cannot be cast to javax.sql.DataSource

    Coderanch | 3 years ago | Gerben Feenstra
    org.apache.cxf.interceptor.Fault: weblogic.jndi.internal.WLEventContextImpl cannot be cast to javax.sql.DataSource

    Root Cause Analysis

    1. java.lang.ClassCastException

      weblogic.jndi.internal.WLEventContextImpl cannot be cast to javax.sql.DataSource

      at nl.ordina.service.DbHandler.createConnection()
    2. nl.ordina.service
      VaccinatiesOpvragenProvider.invoke
      1. nl.ordina.service.DbHandler.createConnection(DbHandler.java:444)
      2. nl.ordina.service.DbHandler.<init>(DbHandler.java:74)
      3. nl.ordina.service.DbHandler.instance(DbHandler.java:89)
      4. nl.ordina.service.Verwerking.legVastInDB(Verwerking.java:421)
      5. nl.ordina.service.Verwerking.verwerkBericht(Verwerking.java:143)
      6. nl.ordina.service.VaccinatiesOpvragenProvider.invoke(VaccinatiesOpvragenProvider.java:62)
      7. nl.ordina.service.VaccinatiesOpvragenProvider.invoke(VaccinatiesOpvragenProvider.java:1)
      7 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Apache CXF Core
      AbstractInvoker.invoke
      1. org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
      2. org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
      2 frames
    5. Apache CXF Runtime JAX-WS Frontend
      JAXWSMethodInvoker.invoke
      1. org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:178)
      2. org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:68)
      2 frames
    6. Apache CXF Core
      ServiceInvokerInterceptor$1.run
      1. org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
      2. org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
      2 frames
    7. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2 frames
    8. Apache CXF Core
      ChainInitiationObserver.onMessage
      1. org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
      2. org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)
      3. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
      4. org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
      4 frames
    9. Apache CXF Runtime HTTP Transport
      AbstractHTTPServlet.doPost
      1. org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
      2. org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)
      3. org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)
      4. org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)
      5. org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:167)
      6. org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
      7. org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)
      7 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
      1 frame
    11. Apache CXF Runtime HTTP Transport
      AbstractHTTPServlet.service
      1. org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
      1 frame
    12. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      2. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      3. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
      5. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:238)
      6. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3363)
      7. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
      7 frames
    13. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    14. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    15. weblogic.servlet.provider
      WlsSubjectHandle.run
      1. weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      1 frame
    16. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
      2. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
      3. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
      4. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
      4 frames
    17. weblogic.servlet.provider
      ContainerSupportProviderImpl$WlsRequestExecutor.run
      1. weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
      1 frame
    18. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
      2 frames