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) > >

Oracle Community | seagate-746906 | 6 years 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

    Oracle GlassFish 3.1

    Oracle Community | 6 years ago | seagate-746906
    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) > >

    Root Cause Analysis

    1. 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()
    2. Grizzly WS
      ContextTask.run
      1. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      1 frame