java.lang.ClassCastException: com.tedia.ra.cci.ConnectionImpl cannot be cast to com.sun.corba.se.pept.transport.Connection

Oracle Community | 392 Guest | 9 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

    How to retrieve Connection object from the COnnectionFacotory

    Oracle Community | 9 years ago | 392 Guest
    java.lang.ClassCastException: com.tedia.ra.cci.ConnectionImpl cannot be cast to com.sun.corba.se.pept.transport.Connection

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.tedia.ra.cci.ConnectionImpl cannot be cast to com.sun.corba.se.pept.transport.Connection

      at com.tedia.ra.spi.ManagedConnectionImpl.getConnection()
    2. com.tedia.ra
      ManagedConnectionImpl.getConnection
      1. com.tedia.ra.spi.ManagedConnectionImpl.getConnection(ManagedConnectionImpl.java:45)
      1 frame
    3. Connectors Runtime
      ConnectionManagerImpl.allocateConnection
      1. com.sun.enterprise.resource.NoTxConnectorAllocator.fillInResourceObjects(NoTxConnectorAllocator.java:139)
      2. com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractResourcePool.java:502)
      3. com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:248)
      4. com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
      5. com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:313)
      6. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:235)
      7. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
      8. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)
      8 frames
    4. com.tedia.ra
      ConnectionFactoryImpl.getConnection
      1. com.tedia.ra.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:45)
      2. com.tedia.ra.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:36)
      2 frames
    5. com.ra
      ServletRA.doGet
      1. com.ra.ServletRA.doGet(ServletRA.java:70)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
      2 frames
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      3 frames
    8. org.netbeans.modules
      MonitorFilter.doFilter
      1. org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
      1 frame
    9. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
      4. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
      6. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      7 frames
    10. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      1 frame
    11. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      6. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      10 frames
    12. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
      1 frame
    13. Glassfish Core
      DefaultReadTask.doTask
      1. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
      2. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
      3. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
      4. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      5. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      6. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      6 frames
    14. Grizzly HTTP
      PortUnificationPipeline$PUTask.doTask
      1. com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
      1 frame
    15. Glassfish Core
      TaskBase.run
      1. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      1 frame
    16. Grizzly HTTP
      SSLWorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      1 frame