java.lang.ClassCastException

Oracle Community | 807581 | 1 decade ago
  1. 0

    connection pool for ms sql

    Oracle Community | 1 decade ago | 807581
    java.lang.ClassCastException
  2. 0

    Connection Pool is broken?

    Oracle Community | 1 decade ago | 843833
    java.lang.ClassCastException
  3. 0

    Help migrating a JSC2 project to Sun Application Server PE

    Oracle Community | 1 decade ago | 843833
    java.lang.ClassCastException: com.microsoft.sqlserver.jdbc.SQLServerDriver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem Creating Connection Pool to Oracle 10

    Oracle Community | 1 decade ago | 807581
    java.lang.ClassCastException: oracle.jdbc.OracleDriver
  6. 0

    Glassfish + SQL Server?

    Oracle Community | 1 decade ago | gamigin
    java.lang.ClassCastException: com.microsoft.sqlserver.jdbc.SQLServerDriver

    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

      No message provided

      at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection()
    2. Embedded GlassFish Web
      DSManagedConnectionFactory.createManagedConnection
      1. com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:70)
      1 frame
    3. Connectors Runtime
      ConnectorRuntime.testConnectionPool
      1. com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:1190)
      2. com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.testConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:507)
      3. com.sun.enterprise.connectors.ConnectorRuntime.testConnectionPool(ConnectorRuntime.java:504)
      3 frames
    4. com.sun.enterprise
      ResourcesMBean.pingConnectionPool
      1. com.sun.enterprise.admin.mbeans.ResourcesMBean.pingConnectionPool(ResourcesMBean.java:1920)
      1 frame
    5. 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:324)
      4 frames
    6. GlassFish Admin
      MBeanHelper.invokeOperationInBean
      1. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)
      1 frame
    7. com.sun.enterprise
      BaseConfigMBean.invoke
      1. com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:360)
      1 frame
    8. 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:324)
      7 frames
    9. admin-util
      ProxyClass.invoke
      1. com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
      1 frame
    10. Unknown
      $Proxy1.invoke
      1. $Proxy1.invoke(Unknown Source)
      1 frame
    11. 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
    12. 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:324)
      4 frames
    13. 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
    14. 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
    15. com.sun.enterprise
      BaseServlet.processRequest
      1. com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:186)
      1 frame
    16. com.iplanet.jato
      ApplicationServletBase.doPost
      1. com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
      1 frame
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      2 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    19. Glassfish Core
      SecurityUtil$1.run
      1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
      1 frame
    20. Java RT
      Subject.doAsPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
      2 frames
    21. 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
    22. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    23. 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.StandardEngineValve.invoke(StandardEngineValve.java:132)
      10. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      11. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
      11 frames
    24. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
      1 frame
    25. Glassfish Core
      WorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
      2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
      3. com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
      4. com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
      5. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
      6. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
      6 frames