java.lang.String cannot be cast to org.apache.catalina.Host

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19410

  • via Oracle Community by arshadm, 11 months ago
    java.lang.String cannot be cast to org.apache.catalina.Host
  • org.apache.tomcat.util.http.mapper.Mapper$Host cannot be cast to org.apache.catalina.Host
  • cannot be cast to java.lang.String
  • Stack trace

    • java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.catalina.Host at org.apache.coyote.tomcat5.CoyoteRequest.getHost( at org.apache.catalina.core.StandardEngineValve.invoke( at org.apache.catalina.core.StandardPipeline.doInvoke( at org.apache.catalina.core.StandardPipeline.doInvoke( at org.apache.catalina.core.StandardPipeline.invoke( at org.apache.catalina.core.ContainerBase.invoke( at org.apache.coyote.tomcat5.CoyoteAdapter.service( at org.apache.jk.server.JkCoyoteHandler.invoke( at org.apache.jk.common.HandlerRequest.invoke( at org.apache.jk.common.ChannelSocket.invoke( at org.apache.jk.common.ChannelSocket.processConnection( at org.apache.jk.common.ChannelSocket$SocketConnection.runIt( at org.apache.tomcat.util.threads.ThreadPool$ at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.