Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 392 Guest, 1 year ago
com.tedia.ra.cci.ConnectionImpl cannot be cast to com.sun.corba.se.pept.transport.Connection
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(ManagedConnectionImpl.java:45)	at com.sun.enterprise.resource.NoTxConnectorAllocator.fillInResourceObjects(NoTxConnectorAllocator.java:139)	at com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractResourcePool.java:502)	at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:248)	at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)	at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:313)	at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:235)	at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)	at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)	at com.tedia.ra.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:45)	at com.tedia.ra.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:36)	at com.ra.ServletRA.doGet(ServletRA.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)	at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)	at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)	at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)