-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample does not run with the dev server. #1
Comments
On Sat, Apr 6, 2013 at 5:52 PM, ludoch [email protected] wrote:
Hi Ludoch, thanks for having a look :) This also means I have to wire the gae proxy stuff (mailer, database admin It is a bit modeled after the play-gae plugin So - I did not play around with gae:run, but only used jetty:run. But in theory gae:run should work fine... Best, Raphael |
ok, I need to find a clean solution... |
Hi Ludoch, I was thinking about that. And actually I really like the idea of integrating the dev server in a clean way. I played around inside a branch (not really cleaned up). But you should be able to do a mvn appengine:devserver... All stuff like _ah/admin and so on is accessible as well. Two things were you maybe can help me:
Would be great getting some feedback! Thanks! Raphael |
Okay I fixed everything... Please have a look at: Feedback really appreciated. Reloading is done by touching appengine-web.xml automatically. But one more thing: When reloading the devserver that way I am getting permgempspace out of memory errors really quickly... I added 512m already to the maven options by default. Do you know any remedy? Thanks for your feedback! |
Whao...It's gonna be very nice very quickly...We'll see what we can do on our side soon. It has to be as simple as Jetty... |
On Tue, Apr 9, 2013 at 10:38 AM, Samuel Liard [email protected]:
The branch I created allows to use mvn appengine:devserver. But I have to Simply hit jetty:run (in branch develop or in released version) and go :) ra |
Humm now seeing again the initial exception using a fresh refresh... |
On Tue, Apr 23, 2013 at 4:47 AM, ludoch [email protected] wrote:
Hmm... That can happen if something with the compilation and the mode goes wrong. Try: or mvn clean jetty:dev -Pjetty-dev The important thing is the "clean". It should work then :) Let me know if that helps! Best, Raphael |
I've run into this problem a few times lately, and I'm writing the current solution here to help me find it again: mvn clean appengine:devserver -Pdevserver |
With ninja-appengine-demo
mvn gae:run
gives
WARNING: Failed startup of context com.google.appengine.tools.development.DevAppEngineWebAppContext@3622e177{/,/Users/ludo/a/tmp/ninja-appengine/ninja-appengine-demo/target/ninja-appengine-demo-1.0.2-SNAPSHOT}
java.lang.ClassCastException: com.google.appengine.tools.development.ApiProxyLocalImpl cannot be cast to com.google.appengine.tools.development.ApiProxyLocal
at com.google.appengine.api.blobstore.dev.ServeBlobFilter.init(ServeBlobFilter.java:54)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
The text was updated successfully, but these errors were encountered: