Announcement Announcement Module
Collapse
No announcement yet.
Rc1 + gwt + gae Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rc1 + gwt + gae

    Hello,

    I did a fresh install of STS 2.5.0.RC1. I worked through this screencast tutorial:
    http://www.thescreencast.com/2010/05...o-gwt-roo.html
    It gives a nice GWT + ROO example program and works well when I run it locally.

    I then converted it to a GAE database using this tutorial:
    http://java.dzone.com/articles/creat...lication-using
    After converting to the GAE database, it no longer runs locally, but I was able to compile it and deploy it to Google Appengine. Unfortunately, I get a 500 Server Error. When I check the logs, I get the following exception:

    Code:
    Uncaught exception from servlet
    javax.servlet.UnavailableException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explicitly.
    	at org.mortbay.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:415)
    	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:458)
    	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
    	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
    	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
    	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    	at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:191)
    	at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:168)
    	at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:123)
    	at com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:261)
    	at com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:8486)
    	at com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:8484)
    	at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:24)
    	at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:418)
    	at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:572)
    	at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:448)
    	at com.google.tracing.TraceContext.runInContext(TraceContext.java:688)
    	at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:326)
    	at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:318)
    	at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:446)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    	at java.lang.Thread.run(Thread.java:636)
    Has anyone seen this before? Any suggestions would be appreciated.

    Thanks!
    Chris

  • #2
    This is a known issue and will be fixed in the next release. The workaround is in the Jira issue referenced.

    Comment


    • #3
      That totally works. Thanks so much!

      Comment

      Working...
      X