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 arshadm, 1 year ago
java.lang.String cannot be cast to org.apache.catalina.Host
java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.catalina.Host	at org.apache.coyote.tomcat5.CoyoteRequest.getHost(CoyoteRequest.java:728)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:144)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:682)	at java.lang.Thread.run(Thread.java:619)