javax.management.MBeanException: java.lang.Exception: Failed to obtain DB connection from data source 'quartzDS': java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:comp/env/jdbc/ILSchedulerOraclePool' java.lang.IllegalArgumentException: interface oracle.ucp.jdbc.ConnectionWithAbandonedTimeout is not visible from class loader

Terracotta | kprakash | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Whether QuartzMgr support UCP(universal connection pool)

    Terracotta | 5 years ago | kprakash
    javax.management.MBeanException: java.lang.Exception: Failed to obtain DB connection from data source 'quartzDS': java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:comp/env/jdbc/ILSchedulerOraclePool' java.lang.IllegalArgumentException: interface oracle.ucp.jdbc.ConnectionWithAbandonedTimeout is not visible from class loader

    Root Cause Analysis

    1. javax.management.MBeanException

      java.lang.Exception: Failed to obtain DB connection from data source 'quartzDS': java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:comp/env/jdbc/ILSchedulerOraclePool' java.lang.IllegalArgumentException: interface oracle.ucp.jdbc.ConnectionWithAbandonedTimeout is not visible from class loader

      at com.sun.jmx.mbeanserver.MBeanIntrospector.unwrapInvocationTargetException()
    2. Java RT
      RMIConnector$RemoteMBeanServerConnection.getAttribute
      1. com.sun.jmx.mbeanserver.MBeanIntrospector.unwrapInvocationTargetException(MBeanIntrospector.java:283)
      2. com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:210)
      3. com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:65)
      4. com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:216)
      5. javax.management.StandardMBean.getAttribute(StandardMBean.java:358)
      6. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:666)
      7. com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
      8. javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1404)
      9. javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
      10. javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
      11. javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)
      12. javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:600)
      13. sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
      14. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15. java.lang.reflect.Method.invoke(Method.java:597)
      16. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
      17. sun.rmi.transport.Transport$1.run(Transport.java:159)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. sun.rmi.transport.Transport.serviceCall(Transport.java:155)
      20. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
      21. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
      22. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
      23. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      24. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      25. java.lang.Thread.run(Thread.java:662)
      26. sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
      27. sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
      28. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
      29. com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
      30. javax.management.remote.rmi.RMIConnectionImpl_Stub.getAttribute(Unknown Source)
      31. javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttribute(RMIConnector.java:878)
      31 frames
    3. com.evidentsoft.quartzmgr
      QuartzManagerServiceImpl.manage
      1. com.evidentsoft.quartzmgr.server.jmx.QuartzAdapterVersion200.readJobAttributes(QuartzAdapterVersion200.java:72)
      2. com.evidentsoft.quartzmgr.server.jmx.QuartzAdapterVersion200.readJobInfos(QuartzAdapterVersion200.java:60)
      3. com.evidentsoft.quartzmgr.server.jmx.QuartzAdapterBase.prepareSchedulerInfo(QuartzAdapterBase.java:156)
      4. com.evidentsoft.quartzmgr.server.jmx.QuartzAdapterBase.getQuartzInstanceInfo(QuartzAdapterBase.java:956)
      5. com.evidentsoft.quartzmgr.server.core.QuartzManagerServiceImpl.getQuartzInstanceInfo(QuartzManagerServiceImpl.java:624)
      6. com.evidentsoft.quartzmgr.server.core.QuartzManagerServiceImpl.manage(QuartzManagerServiceImpl.java:825)
      6 frames
    4. 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
    5. flex.messaging.services
      JavaAdapter.invoke
      1. flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)
      1 frame
    6. BlazeDS Core Library
      AbstractEndpoint.serviceMessage
      1. flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
      2. flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
      3. flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
      3 frames