java.lang.ClassCastException: com.sun.grizzly.config.ContextRootInfo > cannot > be cast to org.apache.catalina.Context > at > org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:529) > > at > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:271) > > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) > > at > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:172) > > at > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822) > at > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) > at > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013) > at > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) > > at > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) > > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) > > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) > > at > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) > at > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) > > at > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) > >

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 seagate-746906, 1 year ago
com.sun.grizzly.config.ContextRootInfo > cannot > be cast to org.apache.catalina.Context > at > org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:529) > > at > org.apache.catalina.connector.CoyoteAdapter.doService
java.lang.ClassCastException: com.sun.grizzly.config.ContextRootInfo > cannot > be cast to org.apache.catalina.Context > at > org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:529) > > at > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:271) > > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) > > at > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:172) > > at > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822) > at > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) > at > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013) > at > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) > > at > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) > > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) > > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) > > at > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) > at > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) > > at > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) > >
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.