Wednesday, June 21, 2017

Re: java.lang.ClassCastException: org.apache.tomcat.SimpleInstanceManager cannot be cast to org.apache.tomcat.InstanceManager

We struggled a long time with this too. This workaround "fixed" it for me:

https://stackoverflow.com/questions/41939509/org-apache-tomcat-simpleinstancemanager-cannot-be-cast-to-org-apache-tomcat-inst/44682480#44682480

On Monday, May 22, 2017 at 8:30:36 PM UTC+2, petere...@gmail.com wrote:
I am seeing the same exception - I am testing the upgrade from GWT 2.6.1 to 2.8.1.
I have a Web Application configured in Eclipse (Luna) to run DevMode - this same configuration worked under V2.6.1.
If I deploy the war file I build with the new GWT libraries under Tomcat, I do not have a problem. It is only when I'm trying launching thru Eclipse.

On Tuesday, February 7, 2017 at 11:29:42 AM UTC-5, ca...@linxa.com wrote:
I am trying to compile an application with Eclipse using GWT Plugin and when I try to display the application from browser It throws the following exception.
I could not find any way to make it work. Any help would be appreciated.

org.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.tomcat.SimpleInstanceManager cannot be cast to org.apache.tomcat.InstanceManager

at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:585)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:396)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:405)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:349)

at org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:107)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.Server.handle(Server.java:499)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

at java.lang.Thread.run(Thread.java:745)

Caused by: 

java.lang.ClassCastException: org.apache.tomcat.SimpleInstanceManager cannot be cast to org.apache.tomcat.InstanceManager

at org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(InstanceManagerFactory.java:29)

at org.apache.jsp.index_jsp._jspInit(index_jsp.java:32)

at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:49)

at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:180)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:405)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:349)

at org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:107)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.Server.handle(Server.java:499)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

at java.lang.Thread.run(Thread.java:745)

[ERROR] 500 - GET /index.jsp (127.0.0.1)

   Request headers

      Host: 127.0.0.1:8888

      Connection: keep-alive

      Cache-Control: max-age=0

      Upgrade-Insecure-Requests: 1

      User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8

      Accept-Encoding: gzip, deflate, sdch, br

      Accept-Language: en-US,en;q=0.8,tr;q=0.6

      Cookie: JSESSIONID=m6qst2kzugik1gjjclf2y4lb1

   Response headers

      Date: Tue, 07 Feb 2017 11:59:39 GMT

      Connection: close

      Accept-Ranges: bytes

      Content-Type: text/html

      Last-Modified: Fri, 12 Apr 2013 08:27:21 GMT

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment