java.lang.reflect.InvocationTargetException

Oracle Community | 807581 | 1 decade 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

    Fast Connection Failover, Connection Pooling and ONS

    Oracle Community | 1 decade ago | 807581
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.sql.SQLException

      Connection Caching Not Enabled or Not a Valid Cache Enabled DataSource

      at oracle.jdbc.driver.DatabaseError.throwSqlException()
    2. Oracle jdbc
      OracleDataSource.setConnectionCachingEnabled
      1. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
      2. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
      3. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
      4. oracle.jdbc.pool.OracleDataSource.setConnectionCachingEnabled(OracleDataSource.java:504)
      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:585)
      4 frames
    4. Embedded GlassFish Web
      CPManagedConnectionFactory.createManagedConnection
      1. com.sun.gjc.util.MethodExecutor.runMethod(MethodExecutor.java:94)
      2. com.sun.gjc.common.DataSourceObjectBuilder.constructDataSourceObject(DataSourceObjectBuilder.java:73)
      3. com.sun.gjc.spi.CPManagedConnectionFactory.createManagedConnection(CPManagedConnectionFactory.java:72)
      3 frames
    5. Connectors Runtime
      ConnectorRuntime.testConnectionPool
      1. com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:1181)
      2. com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.testConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:507)
      3. com.sun.enterprise.connectors.ConnectorRuntime.testConnectionPool(ConnectorRuntime.java:504)
      3 frames
    6. com.sun.enterprise
      ResourcesMBean.pingConnectionPool
      1. com.sun.enterprise.admin.mbeans.ResourcesMBean.pingConnectionPool(ResourcesMBean.java:1920)
      1 frame
    7. 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:585)
      4 frames
    8. GlassFish Admin
      MBeanHelper.invokeOperationInBean
      1. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
      1 frame
    9. com.sun.enterprise
      BaseConfigMBean.invoke
      1. com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
      1 frame
    10. Java RT
      Method.invoke
      1. com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
      2. com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
      3. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
      4. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
      5. sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
      6. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      7. java.lang.reflect.Method.invoke(Method.java:585)
      7 frames
    11. admin-util
      ProxyClass.invoke
      1. com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
      1 frame
    12. Unknown
      $Proxy1.invoke
      1. $Proxy1.invoke(Unknown Source)
      1 frame
    13. com.sun.enterprise
      CommonHandlers.invokeMBean
      1. com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
      2. com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:148)
      3. com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:46)
      4. com.sun.enterprise.tools.admingui.handlers.CommonHandlers.invokeMBean(CommonHandlers.java:123)
      4 frames
    14. 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:585)
      4 frames
    15. com.sun.enterprise
      DescriptorViewBeanBase.execute
      1. com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)
      2. com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
      3. com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)
      4. com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.execute(DescriptorViewHelper.java:291)
      5. com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.execute(DescriptorViewBeanBase.java:192)
      5 frames
    16. com.iplanet.jato
      ApplicationServletBase.processRequest
      1. com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
      2. com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)
      3. com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)
      4. com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
      5. com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)
      6. com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)
      7. com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
      7 frames
    17. com.sun.enterprise
      BaseServlet.processRequest
      1. com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:186)
      1 frame
    18. com.iplanet.jato
      ApplicationServletBase.doPost
      1. com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
      1 frame
    19. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      2 frames
    20. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    21. Glassfish Core
      SecurityUtil$1.run
      1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
      1 frame
    22. Java RT
      Subject.doAsPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      2 frames
    23. Glassfish Core
      ApplicationFilterChain$1.run
      1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
      2. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
      3. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
      4. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
      5. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
      5 frames
    24. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    25. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
      3. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      4. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
      6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      8. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      9. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
      9 frames
    26. com.sun.enterprise
      HttpServiceProcessor.process
      1. com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:226)
      1 frame
    27. Glassfish
      HttpServiceWebContainer.service
      1. com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2074)
      1 frame