java.lang.ClassCastException: oracle.tip.adapter.db.DBConnectionFactory cannot be cast to javax.sql.DataSource. You may need to configure the connection settings in the deployment descriptor (DbAdapter.rar # META-INF/weblogic-ra.xml) and restart the server. This exception is considered not recoverable, probably due to a modeling error.

Oracle Community | Knorrar | 4 years ago
  1. 0

    Using DB Adapter to execute a custom SQL sequence

    Oracle Community | 4 years ago | Knorrar
    java.lang.ClassCastException: oracle.tip.adapter.db.DBConnectionFactory cannot be cast to javax.sql.DataSource. You may need to configure the connection settings in the deployment descriptor (DbAdapter.rar # META-INF/weblogic-ra.xml) and restart the server. This exception is considered not recoverable, probably due to a modeling error.
  2. 0

    BLOB insert -- DB adapter/OSB

    Oracle Community | 7 years ago | ARPL
    java.lang.ClassCastException: oracle.tip.adapter.db.DBWriteInteractionSpec
  3. 0

    ClassCastException on DB Adapter

    Oracle Community | 6 years ago | user12180448
    java.lang.ClassCastException: oracle.tip.adapter.db.DBConnectionFactory cannot be cast to javax.sql.DataSource. This exception is considered not retriable, likely due to a modelling mistake. This polling process will shut down, unless the fault is r elated to processing a particular row, in which case polling will continue but the row will be rejected (faulted).
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task :app:compileDebugJavaWithJavac

    Stack Overflow | 12 months ago | angel
    java.lang.ClassCastException: com.sun.tools.javac.code.Type cannot be cast to javax.lang.model.type.DeclaredType Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) <a href="syncProject">Re-download dependencies and sync project (requires network)</a></li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. <a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
  6. 0

    Error when doing a Full deployment: querying transient versioned item type...

    Oracle Community | 3 years ago | 1019844
    java.lang.ClassCastException: Unable to cast class atg.repository.content.GroupQueryBuilder to class atg.adpater.gsa.query.Builder. This means that the repository item descriptor 'promotion' in the repository 'ProductCatalog-ver' is transient but was expected to be persistent. This can occur when a repository item is removed or renamed and subsequent layers (e.g. liveconfig or localconfig) continue to reference the old repository item name to define caching configuration. The item becomes transient because the base item descriptordefinition that defines the primary table no longer exists.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      oracle.tip.adapter.db.DBConnectionFactory cannot be cast to javax.sql.DataSource. You may need to configure the connection settings in the deployment descriptor (DbAdapter.rar # META-INF/weblogic-ra.xml) and restart the server. This exception is considered not recoverable, probably due to a modeling error.

      at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke()
    2. com.bea.wli
      JCATransportProvider.sendMessageAsync
      1. com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:155)
      2. com.bea.wli.sb.transports.jca.JCATransportEndpoint.sendRequestResponse(JCATransportEndpoint.java:209)
      3. com.bea.wli.sb.transports.jca.JCATransportEndpoint.send(JCATransportEndpoint.java:170)
      4. com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:598)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. com.bea.wli
      Util$1.invoke
      1. com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
      1 frame
    5. Unknown
      $Proxy140.sendMessageAsync
      1. $Proxy140.sendMessageAsync(Unknown Source)
      1 frame
    6. com.bea.wli
      ServiceMessageSender$1.run
      1. com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
      2. com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:603)
      3. com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:538)
      4. com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:558)
      5. com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:426)
      6. com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:380)
      7. com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:79)
      8. com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:137)
      9. com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:135)
      9 frames
    7. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    8. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      1 frame
    9. com.bea.wli
      TestService_sqr59p_EOImpl.__WL_invoke
      1. com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
      2. com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:140)
      3. com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
      4. com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
      5. com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
      6. com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.__WL_invoke(Unknown Source)
      6 frames
    10. weblogic.ejb.container
      SessionRemoteMethodInvoker.invoke
      1. weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
      1 frame
    11. com.bea.wli
      TestService_sqr59p_EOImpl_WLSkel.invoke
      1. com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(Unknown Source)
      2. com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
      2 frames
    12. weblogic.rmi.internal
      ServerRequest.sendReceive
      1. weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
      1 frame
    13. weblogic.rmi.cluster
      ClusterableRemoteRef.invoke
      1. weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
      2. weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
      2 frames
    14. com.bea.wli
      TestService_sqr59p_EOImpl_1034_WLStub.invoke
      1. com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_1034_WLStub.invoke(Unknown Source)
      1 frame
    15. com.bea.alsb
      ServiceRequestAction.execute
      1. com.bea.alsb.console.test.TestServiceClient.invoke(TestServiceClient.java:174)
      2. com.bea.alsb.console.test.actions.DefaultRequestAction.invoke(DefaultRequestAction.java:117)
      3. com.bea.alsb.console.test.actions.DefaultRequestAction.execute(DefaultRequestAction.java:70)
      4. com.bea.alsb.console.test.actions.ServiceRequestAction.execute(ServiceRequestAction.java:143)
      4 frames
    16. struts
      RequestProcessor.processActionPerform
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      1 frame
    17. org.apache.beehive
      PageFlowRequestProcessor.processActionPerform
      1. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
      2. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
      3. org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91)
      4. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
      4 frames
    18. com.bea.alsb
      SBConsoleRequestProcessor.processActionPerform
      1. com.bea.alsb.console.common.base.SBConsoleRequestProcessor.processActionPerform(SBConsoleRequestProcessor.java:91)
      1 frame
    19. struts
      RequestProcessor.process
      1. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      1 frame
    20. org.apache.beehive
      PageFlowRequestProcessor.process
      1. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
      2. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
      2 frames
    21. com.bea.alsb
      SBConsoleRequestProcessor.process
      1. com.bea.alsb.console.common.base.SBConsoleRequestProcessor.process(SBConsoleRequestProcessor.java:191)
      1 frame
    22. org.apache.beehive
      PageFlowActionServlet.process
      1. org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
      2. org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
      2 frames
    23. com.bea.console
      ConsoleActionServlet.process
      1. com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:262)
      1 frame
    24. struts
      ActionServlet.doGet
      1. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      1 frame
    25. com.bea.console
      ConsoleActionServlet.doGet
      1. com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:134)
      1 frame
    26. com.bea.alsb
      SBConsoleActionServlet.doGet
      1. com.bea.alsb.console.common.base.SBConsoleActionServlet.doGet(SBConsoleActionServlet.java:49)
      1 frame
    27. org.apache.beehive
      PageFlowUtils.strutsLookup
      1. org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
      2. org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1129)
      2 frames
    28. com.bea.portlet
      NetuiActionHandler.raiseScopedAction
      1. com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:687)
      2. com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
      3. com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.processAction(StrutsStubImpl.java:76)
      4. com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
      4 frames
    29. com.bea.netuix
      SingleFileServlet.service
      1. com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
      2. com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
      3. com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
      4. com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
      5. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
      6. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      7. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      8. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      9. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      10. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      11. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      12. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      13. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      14. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      15. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      16. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      17. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      18. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      19. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      20. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      21. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      22. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      23. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      24. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      25. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      26. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      27. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      28. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      29. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      30. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
      31. com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
      32. com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
      33. com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
      34. com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
      35. com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
      36. com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
      37. com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
      38. com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
      39. com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
      40. com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
      40 frames
    30. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    31. weblogic.servlet
      AsyncInitServlet.service
      1. weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
      1 frame
    32. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    33. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      1 frame
    34. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    35. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      2. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      3. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      4. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      5. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      5 frames
    36. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    37. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      1 frame
    38. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      2. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      3. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      5 frames
    39. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    40. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    41. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      3 frames
    42. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
      2 frames