Re: [appengine-java] Re: Presentation: Developing WordPong.com on Google App Engine
Bucky, one of my favorite App Engine books is listed on this page: http://code.google.com/webtoolkit/books.html Mike, thanks again for helping out at DevNexus. Great stuff, /dmc On Wed, Mar 21, 2012 at 6:17 AM, Bucky bucky.p...@gmail.com wrote: Great presentation and neat looking app. This come just in time for my development. Working alone from scratch, I've never done web development before, is challenging, to say the least. You've referenced many websites, but how about books you found helpful. Thanks again. On Tuesday, March 20, 2012 7:35:03 AM UTC-4, Mike Lawrence wrote: Presenting this slide deck at DevNexus 2012 this week: http://goo.gl/RspSm It details my experiences developing http://WordPong.com, a web-based social game, on GAE. Mike Lawrence -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/EkMyT_zpYyEJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Android Developer Advocate w: http://code.google.com/ b: http://turbomanage.wordpress.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] SDK 1.6.2.1 update
Hi Carlos, No, you don't have to wait. You can always download the SDK from the App Engine site and use the Configure SDKs link in Eclipse to point to it. /dmc On Tue, Feb 7, 2012 at 8:18 AM, Carlos Aguilar c.aguim...@gmail.com wrote: I'm trying to update to 1.6.2.1 but Eclipse doesn't allow me. I see that in WEB-INF/lib the plugin copy 1.6.2.1 and 1.6.1 libraries. If I delete the 1.6.1 libraries the compiler show me an error. How can I update SDK with the Eclipse plugin? Do I have to wait until Google release the plugin fot 1.6.2.1? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Android Developer Advocate w: http://code.google.com/ b: http://turbomanage.wordpress.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Eclipse - Sign into Google Fails
This turned out to really be that I was starting eclipse with vm pointed to a 1.5 instead of 1.6 jdk. I guess newer plugins required this or something. On Jan 10, 7:56 pm, David Thompson d...@thompsonhome.org wrote: Got appcfg command line to upload the app but Eclipse still busted and auth fails and will not prompt for credentials. On Jan 8, 4:23 pm, David Thompson d...@thompsonhome.org wrote: A page comes up with: OAuth 2.0 error: invalid_request Missing required parameter: client_id I get the error when I press the Sign into Google button at the bottom of Eclipse and also with my appengine project (which is already deployed once and running) I right click and select Google-Deploy. However, if I do Google-Web Toolkit Settings-App Engine-My applications(link). OAuth works and I get in and see my Applications Overview and there is my application and it is running. So oauth seems to work for App Engine login from the Web Tool kit settings but I cannot login to Google from the buttom at the bottom of the Eclipse window nor can I deploy my application. I believe the appengine credentials got whacked or something but cannot see where to change them since they are correct for the Toolkit settings. I am totally stuck now unable to deploy a new version of my running appengine project. Recent history: Running Eclipse and Java App Engine plugin great back in September deployed my application for two different versions and many changes done without problem (after I fixed a similar auth problem but cannot figure out how I did it apparently). Today (1/8/2012) I made some web page changes nothing really drastic.The project tested fine and deploy got all the way to the file upload set and fails. Started getting deployment error 404 application does not exist even though toolkits settings login works and shows the application name exists and is working fine. I upgraded all needed parts of eclipse and plugins. Now it is will not sign nor allow the deployment to start at all because of the oauth failure above. I think some credentials just need to be set or cleared but I see no way out of where I am at now. Hope someone has a clue out there, Dave -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] OAuth and google chrome
Eclipse is failing to do oauth to app engine so I have no expectation it would ever work for anything I could possibly develop;) Seriously how do I reset my eclipse app engine credentials for my Java projects. Command line works fine and I use ouath for an app but deploy from eclipse for the same app started that works in command line is saying in Eclipse/Chrome window: Error: invalid_request Missing required parameter: client_id Learn more Request Details This worked perfectly for several weeks before I tried to make a change recently which makes me think some cookie or something expired but I use this google account all the time. I have tried a few forums to get an answer and while I can deploy via command this really sucks and have hunted around the UI a ton for some kind of resolution. Keep in mind this is the global Sign in to Google that is busted but all the other all the links to app engine (besides deploy) work. This makes this even more of a pisser. Can someone even offer a suggestion of how to check/reset Eclipse/Oauth credentials? On Wed, Jan 18, 2012 at 9:10 PM, George Simon K george.simo...@gmail.com wrote: Hi Chris, Solution to your problem can be fixed by moving oauthParameters.setOAuthCallback(http://myappengine/connect.jsp;); after oauthHelper.getUnauthorizedRequestToken(oauthParameters); But this is oauth 1.0 not the updated 1.0.a, means you won't receive a verifer id and will have the yellow warning message. Solution to this 1. Make no changes in step one index.jsp as you have written now. 2. In Connect jsp String accessToken = request.getParameter(oauth_token); oauthParameters.setOAuthToken(accessToken); oauthParameters.setOAuthTokenSecret(Unauthorizedtoken); oauthHelper.getOAuthParametersFromCallback(request.getQueryString(),oauthParameters); String accessToken =oauthHelper.getAccessToken(oauthParameters); String accessTokenSecret = oauthParameters.getOAuthTokenSecret(); Thanks George On Thu, Jan 19, 2012 at 12:46 AM, Ikai Lan (Google) ika...@google.com wrote: This is strange - there should be nothing browser specific about the session. Try to isolate the behavior by removing OAuth out of the equation. What happens when you store a variable in session scope without the OAuth flow? Does it change each time? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com On Tue, Jan 17, 2012 at 3:14 AM, Christopher Gabin christopher.ga...@ogys.fr wrote: Hi everyone ! I'm looking for a solution to run my connection oauth with google chrome. currently my code only works on firefox and IE but not on google chrome because when I persist in my OAuthTokenSecret a session variable when google redirect back on my aplication the value of the OAuthTokenSecret in the session variable has changed. my code JAVA : step one index.jsp GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters(); oauthParameters.setOAuthConsumerKey(CONSUMER_KEY); oauthParameters.setOAuthConsumerSecret(CONSUMER_SECRET); oauthParameters.setScope(https://www.google.com/calendar/feeds/ https://spreadsheets.google.com/feeds/;); oauthParameters.setOAuthCallback(http://myappengine/connect.jsp;); GoogleOAuthHelper oauthHelper = new GoogleOAuthHelper(new OAuthHmacSha1Signer()); oauthHelper.getUnauthorizedRequestToken(oauthParameters); String unauth = oauthParameters.getOAuthTokenSecret(); request.getSession(true).setAttribute(accessTokenSecret, unauth); out.println(a href='+oauthHelper.createUserAuthorizationUrl(oauthParameters)+'log in/a); step two after redirect connect.jsp //google chrome on the value changes each time I refreshed the page String Unauthorizedtoken = (String)request.getSession(true).getAttribute(accessTokenSecret); GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters(); oauthParameters.setOAuthConsumerKey(CONSUMER_KEY); oauthParameters.setOAuthConsumerSecret(CONSUMER_SECRET); oauthParameters.setOAuthTokenSecret(Unauthorizedtoken); GoogleOAuthHelper oauthHelper = new GoogleOAuthHelper(new OAuthHmacSha1Signer()); oauthHelper.getOAuthParametersFromCallback(request.getQueryString(), oauthParameters); String accessToken =oauthHelper.getAccessToken(oauthParameters); String accessTokenSecret = oauthParameters.getOAuthTokenSecret(); People, your help is really needed here. Thanks, Christopher -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit
[appengine-java] Re: Eclipse - Sign into Google Fails
Got appcfg command line to upload the app but Eclipse still busted and auth fails and will not prompt for credentials. On Jan 8, 4:23 pm, David Thompson d...@thompsonhome.org wrote: A page comes up with: OAuth 2.0 error: invalid_request Missing required parameter: client_id I get the error when I press the Sign into Google button at the bottom of Eclipse and also with my appengine project (which is already deployed once and running) I right click and select Google-Deploy. However, if I do Google-Web Toolkit Settings-App Engine-My applications(link). OAuth works and I get in and see my Applications Overview and there is my application and it is running. So oauth seems to work for App Engine login from the Web Tool kit settings but I cannot login to Google from the buttom at the bottom of the Eclipse window nor can I deploy my application. I believe the appengine credentials got whacked or something but cannot see where to change them since they are correct for the Toolkit settings. I am totally stuck now unable to deploy a new version of my running appengine project. Recent history: Running Eclipse and Java App Engine plugin great back in September deployed my application for two different versions and many changes done without problem (after I fixed a similar auth problem but cannot figure out how I did it apparently). Today (1/8/2012) I made some web page changes nothing really drastic.The project tested fine and deploy got all the way to the file upload set and fails. Started getting deployment error 404 application does not exist even though toolkits settings login works and shows the application name exists and is working fine. I upgraded all needed parts of eclipse and plugins. Now it is will not sign nor allow the deployment to start at all because of the oauth failure above. I think some credentials just need to be set or cleared but I see no way out of where I am at now. Hope someone has a clue out there, Dave -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Eclipse - Sign into Google Fails
A page comes up with: OAuth 2.0 error: invalid_request Missing required parameter: client_id I get the error when I press the Sign into Google button at the bottom of Eclipse and also with my appengine project (which is already deployed once and running) I right click and select Google-Deploy. However, if I do Google-Web Toolkit Settings-App Engine-My applications(link). OAuth works and I get in and see my Applications Overview and there is my application and it is running. So oauth seems to work for App Engine login from the Web Tool kit settings but I cannot login to Google from the buttom at the bottom of the Eclipse window nor can I deploy my application. I believe the appengine credentials got whacked or something but cannot see where to change them since they are correct for the Toolkit settings. I am totally stuck now unable to deploy a new version of my running appengine project. Recent history: Running Eclipse and Java App Engine plugin great back in September deployed my application for two different versions and many changes done without problem (after I fixed a similar auth problem but cannot figure out how I did it apparently). Today (1/8/2012) I made some web page changes nothing really drastic.The project tested fine and deploy got all the way to the file upload set and fails. Started getting deployment error 404 application does not exist even though toolkits settings login works and shows the application name exists and is working fine. I upgraded all needed parts of eclipse and plugins. Now it is will not sign nor allow the deployment to start at all because of the oauth failure above. I think some credentials just need to be set or cleared but I see no way out of where I am at now. Hope someone has a clue out there, Dave -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Reg: Signin using Eclipse - deploying a java web application to Google app engine
Hi, There's now a dedicated forum for Google Plugin for Eclipse. Please post your message there to ensure it gets seen by the right folks: http://groups.google.com/group/google-plugin-eclipse Thank you, /dmc On Sun, Dec 11, 2011 at 11:33 AM, kamakshi B b.kamak...@gmail.com wrote: Hi, I am trying to deploy a java web application to google app engine as per http://code.google.com/eclipse/docs/getting_started.html When i try to signin to google using eclipse i get the following exception Could not sign in. Check that your computer's date and time are correct; sign-in errors can occur if your computer's time is significantly different from the server's time. java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.protocol.https.HttpsClient.init(Unknown Source) at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source) at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java: 82) at com.google.api.client.http.HttpRequest.execute(HttpRequest.java: 361) at com.google.api.client.auth.oauth.AbstractOAuthGetToken.execute(AbstractOAuthGetToken.java: 73) at com.google.gdt.eclipse.login.GoogleLogin.authorizeStep1(GoogleLogin.java: 534) at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java: 407) at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java: 370) at com.google.gdt.eclipse.login.ui.LoginTrimContribution $1.mouseUp(LoginTrimContribution.java:90) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java: 219) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java: 4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java: 2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java: 667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java: 149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java: 123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java: 196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java: 110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java: 79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) Pls. suggest/advise Thanks Kamakshi B -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer w: http://code.google.com/ b: http
Re: [appengine-java] An alternative to Objectify?
Objectify works great with RequestFactory: http://code.google.com/p/listwidget/ Do you have a specific concern about it? /dmc On Tue, Dec 6, 2011 at 2:51 AM, Alexander Orlov alexander.or...@loxal.netwrote: *Is there a good/better alternative to Objectify?* I want to use a Datastore abstraction layer like JPA2 together with GWT's RequestFactory using its ServiceLocator pattern. Is the usage of Objectify even advisable in this case or should I use the Datastore directly (which I've done 2y ago... and it wasn't that scary). -Alex -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/VwaHVkYLKNMJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer w: http://code.google.com/ b: http://turbomanage.wordpress.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] QR Code Generator
I´m looking for a QR Code Generator Library that could be integrated to Java App Engine, could you recomend any one? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/seq81q9p8ikJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] java.lang.IllegalStateException: Found a jar file too large to
Getting error upload war file to Google App Engine. I got the error on command prompt. java.lang.IllegalStateException: Found a jar file too large to upload: C:\DOCUM E~1\USER~1.SER\LOCALS~1\Temp \appcfg5890729387545.tmp\WEB-INF\lib\gwt-user.ja r. Consider using --enable_jar_splitting. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: JDO and XG transactions - Performance
On Oct 17, 11:05 pm, Max Ross (Google) max.r...@gmail.com wrote: We debated this quite a bit internally. To paraphrase the argument that carried the day: XG transactions are awesome but they are not true global transactions. You're limited to 5 entity groups, you're more likely to see partially applied transactions in global query results, you can get a concurrency exception from a *read*, and there is a performance impact (when you've got more than 1 entity group enlisted). In short, there's some surprising/subtle stuff that we really want developers to understand before they start using this feature. If we didn't require opt-in it would be too easy for our new developers (particularly those coming from the RDBMS world where global transactions are the norm) to miss these important considerations. We want it to be super easy to use the Datastore, but creating a false sense of simplicity can do more harm than good in the long run. One other consideration: XG transactions do not work on master/slave. While the default could be different depending on whether HRD is used, that definitely has drawbacks. David Gay -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: JDO and XG transactions - Performance
On Oct 15, 5:10 am, mscwd01 mscw...@gmail.com wrote: Hey, the docs state: There is currently no way to enable XG transactions for an individual JDO or JPA transaction. Instead you must enable XG transactions for the whole app. This is fine but I'm wondering if this effects performance of transactions? Most of the transactions I perform are on the same entity group so a XG transaction is not necessary, therefore I am currently using the low level API to perform transactions on multiple entity groups. Would it be wise to keep using the low level API for the few XG transactions I perform or is it perfectly acceptable to just enable XG transactions for the whole app? Just enable it for the whole app: an XG transaction that touches only a single entity group has exactly the same performance as a non-XG transaction. -- David Gay d...@google.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] XG Transactions with JDO/JPA
datanucleus-appengine-1.0.10 will also be available in Maven Central shortly /dmc On Wed, Oct 12, 2011 at 6:31 PM, Max Ross (Google) max.r...@gmail.comwrote: Hi everyone, Due to a mix-up, the JDO/JPA jars that are included in the 1.5.5 SDK do *not *support XG Transactions. If you want to use XG Transactions with JDO or JPA in 1.5.5 you can download an updated jar from http://code.google.com/p/datanucleus-appengine/downloads/detail?name=datanucleus-appengine-1.0.10.final.jarand follow the installation instructions on that page. Please let me know if you have any problems with it. Sorry for the trouble, Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/WXNFlj2PlvwJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer w: http://code.google.com/ b: http://turbomanage.wordpress.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] SDK 1.5.5 in Maven Central Repos?
It's been released to Maven Central, should show up in an hour or two. /dmc On Thu, Oct 13, 2011 at 6:27 AM, Liang Ding dl88...@gmail.com wrote: Hi, all. The SDK 1.5.5 released several days, but in the Maven Central Repositoryhttp://search.maven.org/#search%7Cga%7C1%7Cappenginestill 1.5.4. -- My Blog: http://88250.b3log.org Open Source, Open Mind, Open Sight, Open Future! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer w: http://code.google.com/ b: http://turbomanage.wordpress.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] allow App Engine apps to act as OAuth service providers
There are several Java OAuth client samples referenced here: http://turbomanage.wordpress.com/2011/08/25/using-the-gae-app-identity-api-and-oauth2/ HTH, /dmc On Thu, Sep 29, 2011 at 7:20 AM, brand´s mill brandsm...@googlemail.comwrote: Would love to add a custom email password ... against my appengine service. To add this i would love to add my own oauth provider. I found this http://ikaisays.com/2011/05/26/setting-up-an-oauth-provider-on-google-app-engine/ . Question: is there an example using java? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/-i5DxjOXfFEJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Anyone using Velocity and Google App Engine?
Are you using Velocity's classpath resource loader? See http://turbomanage.wordpress.com/2011/07/06/sending-html-emails-with-app-engine-and-velocity/ HTH, /dmc On Mon, Sep 26, 2011 at 3:16 AM, Andrew Ducker and...@ducker.org.uk wrote: I've been trying to get it working in my GAE workspace, and I've got it picking up my files and processing them, but it doesn't seem to be picking up the tools.xml file from my WEB-INF folder. (i.e. variables from the tools.xml file just appear as $whatever). Is this something other people have encountered? And if so, what should I be doing to allow it to work? Thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] GAE+GWT2.4 [ERROR] java.lang.NoClassDefFoundError: javax/validation/Path
Hi John, Gwt-servlet-deps is automatically included by Google Plugin for Eclipse 2.3+ for new projects, and the Maven sample POMs have been updated accordingly in 2.3 and 2.4, but we didn't do a very good job of communicating the change for migrations like yours. It did come up a number of times on the google-web-toolkit group, so you might want to join that one. Best! /dmc On Wed, Sep 21, 2011 at 1:45 AM, John Howe jhowe...@gmail.com wrote: Hi David, Evidently, I didn't force a project rebuild. Your suggestion worked. So, thank you very much!! Im not a java/GWT expert but I am puzzled why this apparently new step became necessary for me as part of the migration from GWT 2.2 to GWT 2.4. My app had been working just fine under the older GWT version for many months. Thanks again On Tue, Sep 20, 2011 at 9:43 PM, John Howe jhowe...@gmail.com wrote: Hi David, The gwt-servlet-deps jar is contained in WEB-INF/lib. Here's a complete listing appengine-api-1.0-sdk-1.5.3.jar appengine-api-labs-1.5.3.jar appengine-jsr107cache-1.5.3.jar datanucleus-appengine-1.0.9.final.jar datanucleus-core-1.1.5.jar datanucleus-jpa-1.1.5.jar geronimo-jpa_3.0_spec-1.1.1.jar geronimo-jta_1.1_spec-1.1.1.jar gwt-servlet-deps.jar gwt-servlet.jar gxt-2.2.5-gwt22.jar jdo2-api-2.3-eb.jar jsr107cache-1.1.jar gwt-servlet-deps is also on the class path. Any more suggestions would be greatly and sincerely appreciated. I'm currently dead in the water. On Tue, Sep 20, 2011 at 11:24 AM, David Chandler drfibona...@google.comwrote: Make sure that validation-api is in your WEB-INF/lib. Add it via gwt-servlet-deps (see lib folder in GWT SDK distro). /dmc On Tue, Sep 20, 2011 at 12:46 AM, John Howe jhowe...@gmail.com wrote: I thought this was going to be easy. I'm trying to move a working GAE java app up to GWT 2.4. But when I do, I see the following stack trace on the first RPC call. At least one other guy has seen this while doing same and posted a query at http://groups.google.com/group/google-appengine/browse_frm/thread/a78f4c443bd3b249 Any help, suggestions, or insight would be most appreciated! Thanks. The server is running at http://localhost:/ mozilla/5.0 (windows nt 6.0) applewebkit/535.1 (khtml, like gecko) chrome/14.0.835.163 safari/535.1 [ERROR] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call java.lang.NoClassDefFoundError: javax/validation/Path at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:176) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream(SerializationPolicyLoader.java:196) at com.google.gwt.user.server.rpc.RemoteServiceServlet.loadSerializationPolicy(RemoteServiceServlet.java:90) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doGetSerializationPolicy(RemoteServiceServlet.java:293) at com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy(RemoteServiceServlet.java:157) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:455) at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:237) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:206) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.sportzcasterbeta.server.ServiceFilterImpl.doFilter(ServiceFilterImpl.java:25) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.sportzcasterbeta.server.ServiceFilterImpl.doFilter(ServiceFilterImpl.java:25) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter
Re: [appengine-java] The source code from a beginner
Hi Lucho, you looked in all the right places, but GAE is not open source. Sorry to disappoint, /dmc On Wed, Sep 21, 2011 at 5:09 PM, Lucho luche...@gmail.com wrote: Hello there, I just started with a new project on the GAE for java. This is my fist GAE project and there are some little things that I cannot find. Like where is the source code. Debugging without the source code is a real pain! The distro 1.5.1 contains only src/orm/datanucleus-appengine-1.0.9.final-src.zip src/orm/datanucleus-core-1.1.5-src.zip src/orm/datanucleus-enhancer-1.1.4-src.zip src/orm/datanucleus-jpa-1.1.5-src.zip src/orm/jdo2-api-2.3-SNAPSHOT-src.zip There are not source packages in the central maven repo nor was I able to find any on the internet search. I lack source for: appengine-local-runtime-shared.jar repackaged-appengine-ant-1.7.1.jar repackaged-appengine-jasper-el-6.0.29.jar repackaged-appengine-jasper-6.0.29.jar repackaged-appengine-tomcat-juli-6.0.29.jar repackaged-appengine-ant-launcher-1.7.1.jar appengine-jsr107cache-1.5.1.jar appengine-api-1.0-sdk-1.5.1.jar appengine-api-labs-1.5.1.jar geronimo-jpa_3.0_spec-1.1.1.jar appgine-tools-api.jar appengine-api-labs-1.5.1.jar appengine-jsr107cache-1.5.1.jar appengine-testing-1.5.1.jar gaedatastorecontainers-2.0.0.jar Can anybody please help? Thanks Lucho -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] GAE+GWT2.4 [ERROR] java.lang.NoClassDefFoundError: javax/validation/Path
(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:351) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: java.lang.ClassNotFoundException: javax.validation.Path at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:176) at java.lang.ClassLoader.loadClass(Unknown Source) ... 58 more -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] unable to install google app engine plugin for eclipse(indigo)
at dl.google.com/eclipse/ plugin/3.7/plugins/ com.google.gwt.eclipse.sdkbundle_2.4.0.r37v201108301710.jar. Read timed out Unable to read repository at dl.google.com/eclipse/plugin/ 3.7/plugins/org.eclipse.wb.core_1.1.0.r37x201108271211.jar. Read timed out Unable to read repository at dl.google.com/eclipse/plugin/3.7/ plugins/org.eclipse.wb.core.databinding_1.1.0.r37x201108271211.jar. Read timed out -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Broken link http://dl.google.com/eclipse/plugin/3.4
GPE typically supports only the three most recent versions of Eclipse, but please post on the new group for Google Plugin for Eclipse to confirm: https://groups.google.com/group/google-plugin-eclipse Thanks, /dmc On Fri, Sep 16, 2011 at 9:32 AM, walter.c...@gmail.com walter.c...@gmail.com wrote: Hi, I'm trying to download eclipse 3.4 plugin for GAE, but the link is broken. Even the zip package cant be download. Someone knows why? Tks! Walter -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] JAVA Working With File
Have you read http://code.google.com/appengine/docs/java/runtime.html#The_Sandbox? /dmc On Fri, Sep 16, 2011 at 3:03 AM, VIKASH vickyexpert...@gmail.com wrote: Hello Friends, I want to upload or create programmatic text or other file on google apps server and then also want to write and read data from this file. But i have done all required changes in app-engine.xml file then also it saws that not permission for that and access deny. so help me tro create file on app server which i can access later. Thanks, Vikash Patel -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] App Engine SDK 1.5.4 released!
ETA: tomorrow noon PST /dmc On Mon, Sep 12, 2011 at 7:52 PM, Jens Stoltenberg jstolt...@gmail.comwrote: Is there an ETA on when this release will be available in Maven? On Mon, Sep 12, 2011 at 10:31 PM, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Hey everyone, Just wanted to let you all know that App Engine SDK 1.5.4 has been released. The official announcement is here: http://googleappengine.blogspot.com/2011/09/app-engine-154-sdk-release.html The full release notes are below: Java 1.5.4 = - You can now specify the maximum size for a blob in BlobstoreService.createUploadUrl(). - Zigzag merge join queries will now continue scanning up to the 30 second Datastore query deadline. For zigzag queries that used to generate DatastoreNeedIndexException, many will now succeed. A small percentage will now instead timeout. - The SDK datastore viewer in the dev console now displays the number of Write Ops for each entity. Write Ops are the total number of entity and index writes that were required to create the entity. - The Prospective Search API is available in Java for all applications. This API is still experimental, so applications will be limited to a maximum of 1000 subscriptions. - We made a classloading improvement that we expect to help loading request latencies for projects with large numbers of jars. - Added support for the set_default_version flag to Appcfg. - The Java Remote API now recognizes the HTTP_X_APPENGINE_INBOUND_APPID. This means that the Datastore Admin copy functionality will work when using Java's Remote API with the destination app. - Fixed an issue that incorrectly allowed creation of tasks with whitespace in the url. - Fixed the error message for transaction not found to be more descriptive. - Fixed an issue with the dev appserver's local Blobstore implementation trying to modify an immutable collection. http://code.google.com/p/googleappengine/issues/detail?id=3081 - Fixed an SDK issue where CONFIG, FINE, FINER, FINEST logging messages were not displayed. http://code.google.com/p/googleappengine/issues/detail?id=4591 -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] App Engine SDK 1.5.4 released!
Nope, still 1.0.9 On Mon, Sep 12, 2011 at 9:11 PM, Jens Stoltenberg jstolt...@gmail.comwrote: Cool. Thanks. Will datanucleus-appengine for Maven also need upgrading? I think it's at 1.0.9 at the moment. dependency groupIdcom.google.appengine.orm/groupId artifactIddatanucleus-appengine/artifactId version1.0.9/version /dependency On Tue, Sep 13, 2011 at 2:05 AM, David Chandler drfibona...@google.comwrote: ETA: tomorrow noon PST /dmc On Mon, Sep 12, 2011 at 7:52 PM, Jens Stoltenberg jstolt...@gmail.comwrote: Is there an ETA on when this release will be available in Maven? On Mon, Sep 12, 2011 at 10:31 PM, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Hey everyone, Just wanted to let you all know that App Engine SDK 1.5.4 has been released. The official announcement is here: http://googleappengine.blogspot.com/2011/09/app-engine-154-sdk-release.html The full release notes are below: Java 1.5.4 = - You can now specify the maximum size for a blob in BlobstoreService.createUploadUrl(). - Zigzag merge join queries will now continue scanning up to the 30 second Datastore query deadline. For zigzag queries that used to generate DatastoreNeedIndexException, many will now succeed. A small percentage will now instead timeout. - The SDK datastore viewer in the dev console now displays the number of Write Ops for each entity. Write Ops are the total number of entity and index writes that were required to create the entity. - The Prospective Search API is available in Java for all applications. This API is still experimental, so applications will be limited to a maximum of 1000 subscriptions. - We made a classloading improvement that we expect to help loading request latencies for projects with large numbers of jars. - Added support for the set_default_version flag to Appcfg. - The Java Remote API now recognizes the HTTP_X_APPENGINE_INBOUND_APPID. This means that the Datastore Admin copy functionality will work when using Java's Remote API with the destination app. - Fixed an issue that incorrectly allowed creation of tasks with whitespace in the url. - Fixed the error message for transaction not found to be more descriptive. - Fixed an issue with the dev appserver's local Blobstore implementation trying to modify an immutable collection. http://code.google.com/p/googleappengine/issues/detail?id=3081 - Fixed an SDK issue where CONFIG, FINE, FINER, FINEST logging messages were not displayed. http://code.google.com/p/googleappengine/issues/detail?id=4591 -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr
Re: [appengine-java] Re: Google plugin for Eclipse seems not to update 1.5.3 SDK version
see https://groups.google.com/d/msg/google-appengine-java/-/vyB42yXkoIwJ On Fri, Aug 26, 2011 at 8:18 AM, cghersi cristiano.ghe...@gmail.com wrote: Hi Roberto, thanks for the response. I think I'll have to proceed in the manual way as you said; I hoped not to perform such action as the automatic way is far better!! Do you know how many days (more or less) they need to update the plugin to the latest version? Thanks bye cghersi On 26 Ago, 14:00, Roberto Saccon rsac...@gmail.com wrote: They don't seem to update the plugin whenever a new SDK comes out, but you can download the SDK manually and point the eclipse plugin to the SDK. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Does the SDK in WEB-INF/lib Get Deployed?
Guice can add quite a bit of startup time. There are some threads on this in the appengine-java group. Also see http://turbomanage.wordpress.com/2010/03/26/appengine-cold-starts-considered/ /dmc On Mon, Aug 22, 2011 at 10:24 PM, objectuser kevin.k.le...@gmail.comwrote: I decided to give Objectify a try because I think any significant reduction in startup time could be quite valuable. It appears my startup time is now around 8s. So maybe 2s less, but I don't have any objective data. It's certainly not around 2s total. Alas. On the plus side, Objectify seems better than JDO for me. If nothing else, it maps embedded objects in a much more natural way and I don't have the JDO post processing times. So it was probably worth it to me to switch to Objectify, but a reduction from 10s to 2s is not really in the cards. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/cY1UM7iYR24J. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Why now 1.5.3 SDK in eclipse repository yet?
We're working on it. The process is currently coupled with GPE releases and there's one in progress. We're working to decouple these so SDKs can be released independently. On Tue, Aug 23, 2011 at 12:18 PM, Brandon Donnelson branflake2...@gmail.com wrote: Could you stick the 1.5.3. SDK in the eclipse repository 3.7. Thanks, Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/vyB42yXkoIwJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Receiving Server Errors
I'm seeing the same issue for the past hour or so. Almost 90% errors. The error chart on my app looks like a giant wall. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/IOidQ-H4VIsJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] GPE + Maven?
Make sure you also have copyWebapptrue/copyWebapp in the configuration section for gwt-maven-plugin. If you're still having issues, you might also try on that mailing list. HTH, /dmc On Sat, Aug 13, 2011 at 6:22 PM, nacho vela.igna...@gmail.com wrote: I'm trying to use Maven in a GAE / GWT project. Everything works fine, but when I run my app using GPE (Run as Web Application) the content of src/main/webapp is not being copied to /target/myapp-1.0-SNAPSHOT Reading here http://jgonian.wordpress.com/2011/05/21/gwt-maven-gpe-gotchas/ I think that if I have installed m2extras the content of src/main/webapp should be copied to target by the GPE plugin. How can I fix this? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/RXe2QLiesu0J. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Eclipse GAE with OSX Lion
Hi Nick, Is there anything interesting in the Eclipse error log? Window | Show View | Error Log. Also which version of Eclipse are you running? /dmc On Wed, Aug 17, 2011 at 12:37 PM, Nick Wood nick.wood...@gmail.com wrote: I was getting the attached screenshot whenever I try and launch my application. I'm also still unable to sign into Google within Eclipse for some reason? Clicking the Grant Access button does nothing, nor does the Deny Access... Not really sure what's going on there. When I tried to start it up again this morning, this is what I got com.sun.jdi.connect.TransportTimeoutException at org.eclipse.jdi.internal.connect.SocketTransportService.accept(SocketTransportService.java:97) at org.eclipse.jdi.internal.connect.SocketTransportImpl.accept(SocketTransportImpl.java:56) at org.eclipse.jdi.internal.connect.SocketListeningConnectorImpl.accept(SocketListeningConnectorImpl.java:135) at org.eclipse.jdt.internal.launching.StandardVMDebugger$ConnectRunnable.run(StandardVMDebugger.java:107) at java.lang.Thread.run(Thread.java:680) eclipse.buildId=unknown java.version=1.6.0_26 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/nick/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws carbon -arch x86 -product org.eclipse.epp.package.jee.product -keyring /Users/nick/.eclipse_keyring -showlocation -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/zul9Syxe-KkJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] GWT + GAE pom?
I usually just copy a POM from a similar project like this one (GWT+GAE+Objectify): http://code.google.com/p/listwidget/ Step 9 is not necessary in recent versions of Google Plugin for Eclipse when used with Sonatype m2eclipse and m2e-extras (WTP integration). After you install these Eclipse plugins, you can File | Import Existing Maven Project and it should work. I may be missing something, but it looks like your POM has all the right pieces in place. Also FYI, gwt-maven-plugin has its own discussion group if you want to continue with that archetype. HTH, /dmc On Tue, Aug 9, 2011 at 3:34 PM, vehdra music veh...@gmail.com wrote: Hi, I hope this post well not be off topic because is related to GAE GWT. I want to create a GWT + GAE project using maven, but I am pulling my hairs of my head. I hope that someone can give me little hand with this :) I am following this steps: 1) mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo - DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.3.0-1 - DarchetypeRepository=repo1.maven.org Define value for property 'groupId': : /*com.mycompany*/ Define value for property 'artifactId': : /*my-app*/ Define value for property 'version': 1.0-SNAPSHOT: Define value for property 'package': com.goorkers: / *com.mycompany.application*/ Define value for property 'module': : /*ApplicationModule*/ 2) mvn gwt:run 3) Then, to use GAE I change my pom: *Inside properties gaeVersion1.5.1/gaeVersion *Inside dependencies dependency groupIdnet.kindleit/groupId artifactIdgae-runtime/artifactId version${gaeVersion}/version typepom/type exclusions exclusion artifactIdappengine-tools-sdk/artifactId groupIdcom.google.appengine/groupId /exclusion /exclusions /dependency *Inside GWT plugin in configuration appEngineVersion${gaeVersion}/appEngineVersion servercom.google.appengine.tools.development.gwt.AppEngineLauncher/ server copyWebApptrue/copyWebApp 4) Then inside /my-app/src/main/webapp/WEB-INF I created appengine- web.xml with this content: ?xml version=1.0 encoding=utf-8? appengine-web-app xmlns=http://appengine.google.com/ns/1.0; application/application version1/version /appengine-web-app 5) Then to integrate to eclipse, I move the 3 dependencies of google gae-runtime - gwt-user - gwt-servlet inside tag: profiles profile activation property name!eclipseonly/name /property /activation dependencies 6) mvn eclipse:clean 7) mvn eclipse:eclipse -Declipseonly=true 8) Import in eclipse as File/Import../General/Existing Proyects into Workspace 9) Right click over the project an then properties/Google: Appengine -- click Use Google App engine web Application -- check this project has a war directory (src/main/ webapp) uncheck Launch and deploy from this directory web toolkit -- Click Use google web toolkit 10) Run as/web application y it asks for a directory to deploy and I select target/my-app-1.0-SNAPSHOT But, in the console I get this error: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger [ERROR] Received exception processing /my-app/target/my-app-1.0- SNAPSHOT/WEB-INF/appengine-web.xml com.google.apphosting.utils.config.AppEngineConfigException: Could not locate /my-app/target/my-app-1.0-SNAPSHOT/WEB-INF/appengine-web.xml If I move appengine-web.xml from /my-app/src/main/webapp/WEB-INF to / my-app/target/my-app-1.0-SNAPSHOT/WEB-INF/appengine-web.xml eclipse remarks as an error that I don't have appengine-web.xml in \my-app\src \main\webapp\WEB-INF Can someone share your experiences with GWT + GAE + Maven? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Getting a grip on startup
Hi John I'm afraid I cannot offer any specific suggestions, but I it may be worth looking at the Objectify persistence framework, one of its primary goals was to reduce start up time. If nothing else, trawling the documentation may give you some valuable clues On Aug 4, 2:57 am, John jwb...@gmail.com wrote: As our app has grown, the amount of initialization work to do in order to make an instance useful has increased to the point that GAE often terminates requests that start a new instance. We had a warmup servlet, but the work started to commonly exceed the deadline. We're now looking to pare down the warmup, but we're having trouble with tuning since the behavior seems pretty different on the dev server from GAE. On the dev server, the initialization (loading our initial servlets) will complete in the vicinity of 4sec while GAE instance startup is often more than 20sec. We often see inexplicable gaps in our logging of 15sec or more (seemingly hung up), but it doesn't seem repeatable. Our focus to date has been to optimize the JDO/Datanucleus startup, but we believe that a significant contributor might be the number of classes loaded. Is it accurate to conclude that class loading carries a larger overhead on GAE than other environments? Are there any tools that will help us understand the processing during this startup? The Appstats tool shows long delays, but we don't know what is taking time besides the RPCs. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Javadoc missing in Google plugin for Eclipse
Hmmm, I see some missing Javadocs, too, in the latest GAE SDK. If you press F3 to inspect the Servlet type, which jar is it coming from? /dmc On Mon, Jul 18, 2011 at 6:57 AM, Patrick patrick.god...@gmail.com wrote: Hello, I'm using Google plugin for Eclipse 3.6, and Javadoc is missing for many classes: servlet, Cache, Json, etc. Did I miss something? Is it a config problem? Thanks, Patrick -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/ME2NRAY8tNQJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Installation problem in Google plugin
Hi sunil, I've seen a couple reports of this, but have thus far been unable to reproduce it. Can you please provide: Your OS Update site URL you're using The actual error message Also it would be helpful to open the Eclipse Errors view and post any error logs from the installation process. Thanks, /dmc On Sun, Jul 17, 2011 at 4:07 AM, sunil sunilkumar9...@gmail.com wrote: Hi guys , I have problem in installing the Google app engine plugin(Java) for Eclipse Indigo,I am Installing for Indigo Java EE IDE, I downloaded the Google Archive and try to Install but IDE says two are more files missing during installation. I want to know whether they are any supporting file to be installed to eclipse. . -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Frequent DeadlineExceeededExceptions on warm up requests
I am paying for 3 reserved server instances and have a Spring based web app that isn’t doing anything fancy, initializing about 15 beans at startup. My logs show that the app can be initialized in less than 3 seconds and consumes around 4 seconds of cpu time on successful warm ups. However the warm up can take much longer. Particularly over the last 3 days I’ve noticed that roughly 1/3 of the time the warm up fails with a DeadlineExceeededException sometime after 30 seconds. I was also surprised to find that sometimes the warmup was successful, but took around 40 seconds. (I thought GAE would always timeout the request after 30 seconds.) I’m curious if anyone else is experiencing this and if the GAE team has an explanation for this behavior. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: GAE Eclipse Plugin for Indigo (3.7)
Hi Akash, Sorry you're having problems. I just tried a fresh install of Eclipse 3.7 for Java EE Developers on Mac and I'm unable to reproduce this. If you try a fresh Eclipse install in a new workspace, what happens? Also confirm that you're using the correct update site URL for 3.7: http://dl.google.com/eclipse/plugin/3.7 /dmc On Tue, Jul 12, 2011 at 12:25 PM, Akash Mohan akashmohanak...@gmail.comwrote: GPE Installation on eclipse 3.7 is throwing up errors as shown below: n error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,com.google.appengine.eclipse.sdkbundle, 1.5.1.r37v201106211634 No repository found containing: org.eclipse.update.feature,com.google.appengine.eclipse.sdkbundle.e37.feature, 1.5.1.r37v201106211634 No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer,2.3.2.r37x201106201351 No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.UiBinder, 2.3.2.r37x201106201351 No repository found containing: org.eclipse.update.feature,com.google.gdt.eclipse.designer.editor.feature, 2.3.2.r37x201106201351 No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted, 2.3.2.r37x201106161421 No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 2_0,2.3.2.r37x201106161421 No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_0.super, 2.3.2.r37x201106161421 No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_0.webkit, 2.3.2.r37x201106161421 No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 2_0.webkit_win32x64,2.3.2.r37x201106161421 No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted. 2_2,2.3.2.r37x201106161421 No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_2.webkit, 2.3.2.r37x201106161421 No repository found containing: org.eclipse.update.feature,com.google.gdt.eclipse.designer.hosted.feature, 2.3.2.r37x201106161421 No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted.lib, 2.3.2.r37x201106161421 No repository found containing: osgi.bundle,org.eclipse.wb.core, 1.0.0.r37x201106161401 No repository found containing: osgi.bundle,org.eclipse.wb.core.databinding,1.0.0.r37x201106161401 No repository found containing: osgi.bundle,org.eclipse.wb.core.databinding.xml,1.0.0.r37x201106161417 No repository found containing: org.eclipse.update.feature,org.eclipse.wb.core.feature, 1.0.0.r37x201106161401 No repository found containing: osgi.bundle,org.eclipse.wb.core.lib, 1.0.0.r37x201106161401 No repository found containing: osgi.bundle,org.eclipse.wb.core.xml, 1.0.0.r37x201106161417 No repository found containing: org.eclipse.update.feature,org.eclipse.wb.core.xml.feature, 1.0.0.r37x201106161417 No repository found containing: osgi.bundle,org.eclipse.wb.css, 1.0.0.r37x201106161406 No repository found containing: org.eclipse.update.feature,org.eclipse.wb.css.feature, 1.0.0.r37x201106161406 No repository found containing: osgi.bundle,org.eclipse.wb.jdt.fragment,1.0.0.r37x201106161401 No repository found containing: osgi.bundle,org.eclipse.wb.os, 1.0.0.r37x201106161401 No repository found containing: osgi.bundle,org.eclipse.wb.os.win32,1.0.0.r37x201106161401 No repository found containing: osgi.bundle,org.eclipse.wb.runtime, 1.0.0.r37x201106161401 No repository found containing: osgi.bundle,org.eclipse.wb.runtime.lib, 1.0.0.r37x201106161401 On Jun 29, 5:15 pm, David Chandler drfibona...@google.com wrote: Yes! http://googlewebtoolkit.blogspot.com/2011/06/gpe-support-for-eclipse-... On Jun 28, 10:03 am, JT jem...@gmail.com wrote: Team, will the plugin works with recently released Eclipse 3.7? Thanks. -- David Chandler Developer Programs Engineer, GWT+GAE w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine
Re: [appengine-java] Why use servlets?
Hi Jack, You can use both servlets and JSPs with App Engine. To transfer an app id, just add the new owner as an Owner under Application Settings in the admin console, then remove the previous owner. /dmc On Sat, Jul 9, 2011 at 11:28 AM, Jack Borgin jalm...@gmail.com wrote: I'm brand new to GAE, but I'm impressed. I think it can provide all my needs, well done Google! However, I'm fairly new to Java and i'm failing to see why I should use servlets when I can achieve the same thing with JSPs. Am I missing something here? What is the point in the servlets if JSPs can do everything the servlets can? Also, does anyone know how to transfer an application ID from one Google account to another? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/NGW8j6CzYN4J. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Email from the Google App Engine
Perhaps you can use a template with variables for user-entered content which you get from a Web form of some kind. I blogged just yesterday about sending email using a template on App Engine. Perhaps it will help: http://turbomanage.wordpress.com/2011/07/06/sending-html-emails-with-app-engine-and-velocity/ /dmc On Tue, Jul 5, 2011 at 11:19 PM, dm9289 danma...@hotmail.com wrote: Hello, I am fairly new to this, so would appreciate some advice. I would like to create a web application using the Google App Engine and as part of the app, I would like to formulate a partially populated email - but to give the end user the ability to edit that email prior to sending using the SendMail APIs. Is that possible? Thanks in advance -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/Ddp1qbCQCSgJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: GAE Eclipse Plugin for Indigo (3.7)
Yes! http://googlewebtoolkit.blogspot.com/2011/06/gpe-support-for-eclipse-indigo-37.html On Jun 28, 10:03 am, JT jem...@gmail.com wrote: Team, will the plugin works with recently released Eclipse 3.7? Thanks. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Google plugin for Eclipse Indigo
It's available now. Use this update site URL in Eclipse: http://dl.google.com/eclipse/plugin/3.7 /dmc On Jun 23, 1:12 pm, lorenoolive...@gmail.com lorenoolive...@gmail.com wrote: I saw that google put a promoted download in the indigo download page (http://www.eclipse.org/downloads/), but it seems that there isn't a google plugin version for Eclipse Indigo. Any schedule to unleash a new version of the plugin? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Should JDO use be synchronized in threadsafe=true application?
Aaron (or others), Do you have any updates from your experiences using JDO with threadsafe enabled? Has your synchronization changes eliminated these errors? Is it necessary to synchronize reads such as query.execute and pm.detachCopyAll in additional to the write operations such as pm.deletePersistent and pm.makePersistent? Thank you, David On May 17, 4:51 pm, Aaron Shepherd ans...@onfast.com wrote: Ok. My change to PMF.java to synchronize the get of the PersistenceManager did NOT correct the problem. Going to fallback to synchronizing every usage of the PersistenceManager (reads and writes). sigh/ Will update this issue with any further results. On May 17, 1:54 am, Stephen Johnson onepagewo...@gmail.com wrote: Ah, I missed the point about it being tasks and didn't realize the threadsafe only applied to user requests and not tasks. If indeed that was the case. On Mon, May 16, 2011 at 10:44 PM, Juha K juha.kosk...@gmail.com wrote: The datanucleus issue has a comment Then, when my tasks run in parallel, initialisation has already been done and the problem doesn't appear any more., so before the threadsafe property, only tasks were run in parallel. Probably that's why I didn't see this error before, I didn't have tasks doing db access. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: After upgrade to GAE SDK 1.5.0 - Cache is not working
Hi, I solved this issue changing the imports to javax.cache package. On 12 mayo, 01:03, luka uluk...@gmail.com wrote: I have found a workaround until a new zip will be released. I have taken the appengine-jsr107cache-1.4.3.jar from a former SDK installation renamed it to appengine-jsr107cache-1.5.0.jar and placed it under C:\Google-Apps\SDK\1.5.0\lib\user I have checked it on local production environment and it works like a charm On May 12, 1:24 am, Scott shathaw...@gmail.com wrote: I am having the same issue this: CacheFactory factory = net.sf.jsr107cache.CacheManager.getInstance().getCacheFactory(); Throws a CacheException with no stack trace and the message: net.sf.jsr107cache.CacheException: Could not find class: 'com.google.appengine.api.memcache.jsr107cache.GCacheFactory' On May 11, 6:03 pm, Don Schwarz schwa...@google.com wrote: What is the NullPointerException that you are getting? You shouldn't need to change your GCacheFactory. Nothing changed with that in 1.5.0, and the new package you are using is not correct. com.google.appengine.api.memcache.jsr107cache.GCacheFactory is the one you want. It is in appengine-jsr107cache-1.5.0.jar. On Wed, May 11, 2011 at 5:00 PM, luka uluk...@gmail.com wrote: I have recently upgraded from GAE 1.4.3 to 1.5.0 and the MemCache service I work with stop working. When I try to reach it, I get NullPointerException I saw that the package of GCacheFactory was changed to com.google.appengine.api.memcache.stdimpl although besides of that I am not sure what is wrong. I have a simple cache implementation using Spring beans which worked well during the last year: (Please help, my service has customers waiting for solution) import java.util.HashMap; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import com.google.appengine.api.memcache.stdimpl.GCacheFactory; import net.sf.jsr107cache.Cache; import net.sf.jsr107cache.CacheException; import net.sf.jsr107cache.CacheManager; public class OnLoad { private static Logger logger = Logger.getLogger(com.lugo.server.utils.OnLoad); Cache cache; /** * Create Cache ( MemCache ) */ public void onStartup(){ try { Map props = new HashMap(); int expire = 3600 * 192 ; // 8 Days props.put(GCacheFactory.EXPIRATION_DELTA, expire); cache = CacheManager.getInstance().getCacheFactory().createCache(props); } catch (CacheException e) { logger.log(Level.WARNING,onStartup(), e); } } public Cache getCache(){ return cache; } } -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Google update available for Eclipse?
http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html GPE is led by the GWT team. You'll also find most discussion about GPE releases on the GWT group: http://groups.google.com/group/google-web-toolkit /dmc On May 6, 12:18 am, Sam Stigler sam.stig...@gmail.com wrote: Hi all, I got a message today that there are some Google updates available for the Eclipse plugin and installing the updates now, but I can't find release notes for them. Can someone please point me in the right direction? Thanks, Sam -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: How to show the Google Development Tools dropdown?
Hi Lina, The GPE 2.3 docs were mistakenly pushed live a bit early. You can access the new features in the 2.3 beta version of the plugin, which is installed through a separate update site in Eclipse. You can find more info and a link to the beta plugin in this post on the GWT blog: http://googlewebtoolkit.blogspot.com/2011/04/gwtgpe-23-cloud-connecting-eclipse.html Or you can wait another day or two for the GWT/GPE 2.3 release, after which check for updates will work. /dmc On Apr 26, 9:55 pm, Lina Qu lynne...@gmail.com wrote: This page (link below) shows there are several new features in Google App Engine.http://code.google.com/eclipse/docs/signin.html But I can't find the sign in and other like Google API Support in my Eclipse 3.6, even after check for Updates.http://code.google.com/eclipse/docs/googleapis.html In the first page, I cannot find the Sign in to Google... and the Note below shows the reason, but how to fix it? Note: On some platforms (for example, 32-bit Eclipse on 64-bit Linux), signing in using the window shown above may not work. In this case, a message box will appear explaining that a browser window will be opened. Sign in using that browser. Once you have signed in, the message box will close. Clicking cancel will abort signing in. Thanks, Lina -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] java.lang.IllegalArgumentException: query not found
Laurent Pellegrino laurent.pellegr...@gmail.com Apr 21 07:38AM -0700 wrote: I am running a task which iterates on Entities retrieved from a query performed with Objectify. For each entity I iterate on, I update some fields and then I save it to the datastore. If the task gets near 10 min I submit a new task with a cursor set to the last entity iterated on. When the task is submitted, it runs very well during about 50 sec and then the following exception is raised. I have no idea why I am getting this exception. However, I have notice that if I allows a maximum execution time of 25 seconds approximately all works very well and no exception is raised. Does the maximum execution time for a task en-queued into a queue is limited to 30 sec and not 10 min? The task itself can run for 10 minutes. But a single datastore query only lives for 30 seconds. If you want to incrementally collect results over more than a 30 second period, you need to get a cursor and restart the query from there. -- David Gay - AppEngine d...@google.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Task Enqueue in a Transaction
Tom Gibara tomgib...@gmail.com Mar 22 08:12PM wrote: Thanks for the link, somehow I'd managed to miss that page of documentation entirely*; it's good to know, though it indicates other problems for the OP. I'm not clear on why eventually consistent gets aren't an option, ie. why all gets are indicated as being strongly consistent. You can get eventually-consistent gets with the HR datastore if you create a DatastoreServiceConfig with myPolicy = DatastoreServiceConfig.withReadPolicy(ReadPolicy.Consistency.EVENTUAL) and use that policy when creating your datastore service (i.e., the same way you get eventually consistent gets with the master-slave datastore). -- David Gay - AppEngine d...@google.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] datastore query offset=1 fails; offset=2 works
I am querying app engine (1.3.8) datastore in local development environment. Querying is working great, until I tried paginating thru a result set. I have 3 entities, with values A, B, C When I query with offset=0, I get entities A, B, C. When I query with offset=1, I get the same When I query with offset=2, I bet entities B, C When I query with offset=3, I get entity C. //example code: int offset = 1; Query query = new Query(Object); query.addFilter(someObjectProperty, FilterOperator.EQUAL, some common value); query.addSort(date, SortDirection.DESCENDING); ListEntity results = datastoreService.prepare(findAnswersQuery).asList(FetchOptions.Builder.withLimit(100).offset(offset)); Is this the expected behavior? Thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Cannot install Eclipse Plugin or 1.4.2 SDK
I've been unable to install the plugin and latest SDK. This is using Eclipse Version 3.4.2 on both Windows XP and Windows 7. I originally tried to update my 1.3.6 SDK, but have since started from scratch with a new install of Eclipse. I'm getting unsatisfied dependencies in all cases. Starting from scratch the error is: Unsatisfied dependency: [com.google.appengine.eclipse.sdkbundle.e34.feature. 1.4.2.feature.group 1.4.2.v201102111801] requiredCapability: org.eclipse.equinox.p2.iu/ com.google.gdt.eclipse.suite.e34.feature.feature.group/2.2.0 Unsatisfied dependency: [com.google.gdt.eclipse.suite.e34.feature.feature.group 2.2.0.v201102111801] requiredCapability: org.eclipse.equinox.p2.iu/ org.eclipse.wb.core.xml.feature.feature.group/0.9.0 Has anyone successfully upgraded to the new version using Eclipse 3.4.2? If so, suggestions would be greatly appreciated. Thanks, David -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Cannot install Eclipse Plugin or 1.4.2 SDK
I should also mention that I've applied the latest updates for the Eclipse Project Updates which I believe is where the equinox dependencies are coming from. On Feb 12, 3:30 pm, David turntwo...@gmail.com wrote: I've been unable to install the plugin and latest SDK. This is using Eclipse Version 3.4.2 on both Windows XP and Windows 7. I originally tried to update my 1.3.6 SDK, but have since started from scratch with a new install of Eclipse. I'm getting unsatisfied dependencies in all cases. Starting from scratch the error is: Unsatisfied dependency: [com.google.appengine.eclipse.sdkbundle.e34.feature. 1.4.2.feature.group 1.4.2.v201102111801] requiredCapability: org.eclipse.equinox.p2.iu/ com.google.gdt.eclipse.suite.e34.feature.feature.group/2.2.0 Unsatisfied dependency: [com.google.gdt.eclipse.suite.e34.feature.feature.group 2.2.0.v201102111801] requiredCapability: org.eclipse.equinox.p2.iu/ org.eclipse.wb.core.xml.feature.feature.group/0.9.0 Has anyone successfully upgraded to the new version using Eclipse 3.4.2? If so, suggestions would be greatly appreciated. Thanks, David -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] SDK version used to run uploaded app in production?
What version of the GAE SDK is used when an application is uploaded to the production servers? I have thought that the version of the SDK would be the same as the version which is used locally in the development server. However, a quick test I did suggests that the app runs under the most current SDK. In my test, I try: Class.forName(com.google.appengine.api.taskqueue.TaskAlreadyExistsException); This fails as expected in my local dev server which is running SDK 1.3.6 since this class was in the labs package in 1.3.6. I then upload this to production using the appcfg in my SDK 1.3.6 bin directory pointing at a web app folder containing 1.3.6 version jar files. When run in production, the TaskAlreadyExistsException class is created, suggesting that SDK 1.4.2 is being used. Is this the expected behavior? If so, what is the --sdk_root option for in appcfg? Thanks, David -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Just getting started with Datastore
Matt No problem - I think most of us have been there! On Feb 2, 3:17 am, Matt Reeves mattr...@gmail.com wrote: Thanks David (and thanks all), that is a good intro. I think the light bulb just went off in my head that there is no requirement that you define how an Entity and its properties should look. Two entities can be of the same kind but look completely different (which would likely be pointless to have any useful queries). I was just having a hard time unlocking my brain from the relational db world... all the explanation was spelled out right in front of me, just took a few nights to sink in. Thanks again. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Just getting started with Datastore
Hi Matt I agree with all that has been said here - the ultimate choice has to be yours to suit your needs, but if I had one single recommendation it would be to read the Objectify documentation to start with - even if you never use Objectify you will have gained a very quick and clear understanding of the datastore, which is likely to be different to anything you have used before. Have fun ... http://code.google.com/p/objectify-appengine/wiki/IntroductionToObjectify David On Jan 31, 5:07 am, Matt Reeves mattr...@gmail.com wrote: Thanks for the feedback. I am willing to try the low-level API first and that's what I thought I was doing but could not figure out (and am still confused about) how to initially define data. For example I want to have a persistent entity with two properties of type string and one numerical property. When I use this bulkloader tool it is storing all the data as string, so maybe my problem is just learning how to use this tool to load data (which I definitely want to do). Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Datastore metadata property query (SDK 1.4)
On Dec 11, 5:26 pm, Benjamin Muschko benjamin.musc...@googlemail.com wrote: Hi, I was trying out the new 1.4 SDK datastore metadata queries. Querying for kinds works perfectly fine with this query and I get back results: Query query = new Query(Query.KIND_METADATA_KIND); PreparedQuery preparedQuery = DatastoreServiceFactory.getDatastoreService().prepare(query); ListEntity kinds = preparedQuery.asList(FetchOptions.Builder.withDefaults()); However, when I try a similar query for properties I don't get back anything even though I know that there are entities for at least one kind in the datastore: Query query = new Query(Query.PROPERTY_METADATA_KIND); PreparedQuery preparedQuery = datastore.prepare(query); ListEntity propertyMetaData = preparedQuery.asList(FetchOptions.Builder.withDefaults()); I am not quite sure what I am doing wrong. According to the documentation (http://code.google.com/appengine/docs/java/datastore/ metadataqueries.html#Property_Queries) I am running the correct query. Also, setting a specific ancestor doesn't work. Maybe somebody can give me a hint here... This should work. One possibility is that your properties are all unindexed - __property__ queries cannot find unindexed properties. -- David Gay d...@google.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: datanucleus-appengine
I don't know the back story on ROO-1797, but the issue report is, I think, not entirely accurate. The Expenses sample app that shipped with Roo 1.1 and GWT 2.1.0 runs on App Engine with DataNucleus. Given that Spring Roo seems oriented towards RDBMSs, it would not surprise me if there were a lot of one-off code in Roo to support App Engine's non-relational aspects. However, the Spring team demoed the standard travel booking app running on App Engine with hosted SQL (http://code.google.com/appengine/business/#features) at SpringOne in October, so I don't think cloud portability is exactly a lost cause. Even if it is, I'll take the simplicity and scalability of the Datastore vs. the portability of an API for which required me to consult a 408-page (and later, 841-page) reference manual every time I started a new app. For me, Objectify made Java persistence coding fun again, and words like persistence manager lifecycle and detached instance are blissfully draining out of my vocabulary :-) /dmc http://turbomanage.wordpress.com On Dec 5, 3:41 am, George Moschovitis george.moschovi...@gmail.com wrote: On Dec 4, 6:56 am, John Howe jhowe...@gmail.com wrote: Is that another wave I see on the horizon ... the news on the cloud-portability front are disappointing too: https://jira.springsource.org/browse/ROO-1797 Remove support for DataNucleus 1.x and Google App Engine Since none of Roo's sample apps can deploy to the app engine and given there are a lot of hacks in the Roo code to allow even the simplest of apps to run in the app engine, this task is to remove all the code that supports the app engine until full SQL support is available. This also has the added benefit of being able to drop support for JPA 1.0 with the removal of DataNuclueus 1.x maybe another reason to update datanuclues-appengine to datanucleus 2.x ? -g. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Eclipse does not launch after upgrading to gae 1.3.8
Try looking in the Eclipse log file. Usually you will find that in the .metadata directory of your workspace, if not check the notes at http://www.eclipse.org/eclipse/platform-core/documents/3.1/debug.html David On Oct 22, 6:54 pm, Vik vik@gmail.com wrote: hie I am talking about eclipse ide itself. Here is what happened i saw in ide google update is available. i installed the 1.3.8 and at the end it asked me to restart the ide. I clicked yes. and then ide closed and spalsh screen appeared for few secs and then closed. That's it. After that now this is happening whenever i try to launch ide. Tried restarting my windows xp as well. eclipse i was using was gallilio Thankx and Regards Vik Founderwww.sakshum.comwww.sakshum.blogspot.com On Fri, Oct 22, 2010 at 7:17 PM, Nurettin Omer Hamzaoglu nomerhamzao...@gmail.com wrote: You can launch eclipse or launch hosted mode? And what error(s) are you getting? On Oct 22, 3:15 pm, Vik vik@gmail.com wrote: Hie Today i upgraded to gae 1.3.8 and now i m unable to launch eclipse. Please advise Thankx and Regards Vik Founderwww.sakshum.comwww.sakshum.blogspot.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Trouble unit testing JPA data access objects.
I did discover that part of my problem was caused by my generic DAO class. I ditched the Crank stuff, and I'm writing my own. It seems to behave much better, and I did move my transaction annotations to the DAO. That's just going to be something I (we) have to get used to. Thanks for all the input! Dave On 09/29/2010 05:13 AM, Vikas Hazrati wrote: I can understand the frustration. For GAE we have our transactions at the dao level unless we know that it can be at the service level. Since we are banking on the data becoming eventually consistent, we do not have transaction related problems right now. And, since they are at the dao level we do not get into the issue you mentioned. Not sure if you can move your transactions a level down. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Not Able To Move To The Cloud
Someone hopefully will correct me if I'm wrong about these... I believe that the application name in appengine.xml must match the name of the application as it is defined on Google. So, if you're trying to upload to an application named guestbook, then you need to change it to be guestbook in appengine.xml. Also, make sure that you have defined it correctly in the Project setup in Eclipse. Right-click on the Project, select Properties, then look for the Google section. There is a place to define the application name in there, as well. Dave On 09/29/2010 10:56 AM, turncom wrote: My application id is jwigapp. The application is the example, Guestbook, from the AppEngine website, for Java. No state secrets there. So, here is my appengine-web.xml appengine-web-app xmlns=http://appengine.google.com/ns/1.0; applicationjwigapp/application version2/version !-- Configure java.util.logging -- system-properties property name=java.util.logging.config.file value=WEB-INF/ logging.properties/ /system-properties /appengine-web-app Now, this morning I got an idea. Maybe I should change my web.xml to reflect my jwigapp name. So here is what it looks like now (in part): servlet servlet-nameguestbook/servlet-name servlet-classguestbook.GuestbookServlet/servlet-class /servlet servlet-mapping servlet-nameguestbook/servlet-name url-patternjwigapp/url-pattern /servlet-mapping I did this thinking perhaps that would help. It works on my computer. But here is the error message I get when I try to upload it using the Google Plugin: Creating staging directory Scanning for jsp files. Compiling jsp files. Scanning files on local disk. Initiating update. java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=jwigappversion=2; 400 Bad Request Error when loading application configuration: Unable to assign value 'jwigapp' to attribute 'url': Value 'jwigapp' for key url does not match expression '^(?!\^)/|\.|(\ (.).*(?!\$).$' I am guessing that expression is a regular expression, which I don't know how to understand. I have a feeling the answer is very simple, and that I am looking right at it, and just miss it. I have a presentation tomorrow and I would like to show it off. Gr. On Sep 28, 7:28 pm, David C. Hicksdhi...@i-hicks.org wrote: It sounds like the application id you've given to your local application isn't the same as the application you created on AppEngine. You might want to verify that you're uploading to an application that is valid. Dave On 09/28/2010 07:35 PM, turncom wrote: I am using Eclipse (I'm a newbie with Eclipse) and Java (which I know). The app I created (the standard Guestbook) works on my laptop. When I attempt to upload it using the Google Plugin (and on the command line, too, for that matter) I get this message: Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=jwigappver... https://appengine.google.com/api/appversion/create?app_id=jwigappver... 400 Bad Request Error when loading application configuration: Unable to assign value 'guestbook' to attribute 'url': Value 'guestbook' for key url does not match expression '^(?!\^)/|\.|(\(.).*(?!\$).$' So..what am I doing wrong? Is there something I am missing in configuring Eclipse? I've been banging my head on this for two days. I will do a presentation on Thursday, and I would love to show this off. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Not Able To Move To The Cloud
It sounds like the application id you've given to your local application isn't the same as the application you created on AppEngine. You might want to verify that you're uploading to an application that is valid. Dave On 09/28/2010 07:35 PM, turncom wrote: I am using Eclipse (I'm a newbie with Eclipse) and Java (which I know). The app I created (the standard Guestbook) works on my laptop. When I attempt to upload it using the Google Plugin (and on the command line, too, for that matter) I get this message: Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=jwigappversion=2; https://appengine.google.com/api/appversion/create?app_id=jwigappversion=2; 400 Bad Request Error when loading application configuration: Unable to assign value 'guestbook' to attribute 'url': Value 'guestbook' for key url does not match expression '^(?!\^)/|\.|(\(.).*(?!\$).$' So..what am I doing wrong? Is there something I am missing in configuring Eclipse? I've been banging my head on this for two days. I will do a presentation on Thursday, and I would love to show this off. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Unit testing issue: JPA/Spring/GAE, Object Manager has been closed
Hi everyone, I'm sure that this must have been hashed out here before, but I can't seem to find any real solutions. I hope someone can point me to a good resource. I've got a pretty simple setup, thus far. I'm using Spring to autowire my DAO with the entity manager factory, and I have a TestCase that sets up the local datastore for testing. I have one test that works fine, then another that fails and throws that infamous Object Manager has been closed exception. My DAO are based on a GenericDao implementation from the Crank project. It works great with regular JPA. So, I figured I'd give it a try with GAE. The error doesn't seem to me to be related to that, though. I've seen a lot of postings where people recommend the OpenEntityManagerFactoryInView filter. That's great for a production environment where you have a web container, but doesn't really help for unit testing purposes. My persistent object is this: @Entity public class Person { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key key; private String email; public Person() {} [getters and setters here] } Here is a test that works: @Test public void testReadThePerson() { Person person = new Person(y...@yada.com); dao.store(person); Person person2 = dao.read(person.getKey()); assertNotNull(Person not found, person2); } Here is the test that fails: @Test public void testFindThePerson() { Person person = new Person(y...@yada.com); dao.store(person); ListPerson list = dao.find(email, y...@yada.com); assertEquals(Did not find the person., 1, list.size()); } It blows up trying to get the list.size() value. What gives? Thanks, Dave -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Trouble unit testing JPA data access objects.
I have followed the instructions I found and set up the LocalServiceTestHelper to act as a datastore. I can save an entity in the datastore and re-read it, but then I make a call to search for all entities that match a criteria. The resulting Listentity collection throws an Object Manager has been closed exception as soon as I try to get the size(). I understand that this is resolved in a real runtime environment by using the OpenEntityManagerInView filter, but in a testing environment the filter isn't in play. I've been trying most of the day to figure out how to keep the object manager open through the life of a test, but damned if I can get it. Anyone know of a good example somewhere? Thanks, Dave -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Trouble unit testing JPA data access objects.
I am most accustomed to defining my transactions at the service level, so that multiple DAO might be involved in a single transaction. I do realize that the DataNucleus datastore has some peculiar behavior with regard to transactions. I'm still learning the ins and outs, though. My test setup is essentially identical to what is posted in the blog entry you posted. In one test, I create an entity, then I read it back. Finally, I perform a query against one field which returns a collection containing the single entity, but when I call size() on the collection it throws the infamous Object Manager has been closed exception. I can only assume that my test has no transaction wrapper, thus allowing the EntityManager to be closed very early in my test. I just don't see how I can reasonably test anything if the Object Manager won't remain open long enough to verify the results. Dave On 09/28/2010 01:07 AM, Vikas Hazrati wrote: Have you tried running the dao code in a transaction? Is your store and find happening in different transactions? Also you should take a note of Unlike with most databases, queries and gets inside a datastore transaction do not see the results of previous writes inside that transaction. Specifically, if an entity is modified or deleted within a transaction, a query or get will return the original version of the entity as of the beginning of the transaction, or nothing if the entity did not exist then. from the docs http://code.google.com/appengine/docs/java/datastore/transactions.html btw, for unit testing with the local datastore we have information on our blog here http://thoughts.inphina.com/2010/06/28/unit-testing-maven-based-jpa-application-on-gae/ Regards | Vikas On Sep 28, 4:35 am, David C. Hicksdhi...@i-hicks.org wrote: I have followed the instructions I found and set up the LocalServiceTestHelper to act as a datastore. I can save an entity in the datastore and re-read it, but then I make a call to search for all entities that match a criteria. The resulting Listentity collection throws an Object Manager has been closed exception as soon as I try to get the size(). I understand that this is resolved in a real runtime environment by using the OpenEntityManagerInView filter, but in a testing environment the filter isn't in play. I've been trying most of the day to figure out how to keep the object manager open through the life of a test, but damned if I can get it. Anyone know of a good example somewhere? Thanks, Dave -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Inheritance
What is BD? The code you depends on which method of communicating to the datastore you use: JPA, JDO, Objectify, Twig for example. Which have you chosen? On Sep 4, 12:01 am, lisandrodc lisandr...@gmail.com wrote: Thanks, David. If you say that inheritance works to persist in the BD. Will you have some example in code? Regards Lisandro On 3 sep, 16:35, David Sowerby david.sowe...@virgin.net wrote: I am sorry I cannot read Spanish, but inheritance definitely works. On Sep 3, 12:10 am, lisandrodc lisandr...@gmail.com wrote: Hi! Someone has some code working correctly that uses inheritance? Since in the link: http://code.google.com/intl/es/appengine/docs/java/datastore/relation... He does not say anything in the matter... Regards Lisandro -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Encryption Best Practices/Example
James, I’ve been investigating the same problem. From my research the best that appears to be possible is to provide a level of indirection in hiding the key used for encryption. The option I went with is storing the encryption key in a key store file. Now to get at the key one needs to know the location of the key store, the key store’s password, the alias name for the stored encrypted key, and possibly a second password on the key store entry. This prevents the key from being seen in plain text in source code or main configuration files such as web.xml. Anyone with access to the source for the web app can still reverse engineer the process and extract the encryption key. To make it a bit harder one could try to spread around the key store name, its password, the alias, etc. between configuration files and source code. However nothing can be made full proof. I would be interested in hearing if anyone has come up with any other strategies. See below for code snippets for creating the key store and reading out the key entry. I had no problems deploying this approach to GAE. Note that the key store can also be created using Java’s keytool. - David public static void createKeyStore(String filename, String ksPassword, byte[] actualKeyToStore, String cryptoAlgorithmName, String keyAliasName) throws Exception { KeyStore ks = KeyStore.getInstance(JCEKS); char[] keyStorePassword = ksPassword.toCharArray(); ks.load(null, keyStorePassword); SecretKey secretKey = new SecretKeySpec(actualKeyToStore, cryptoAlgorithmName); // save secret key with alias name for access; use same pwd as keystore for simplicity KeyStore.SecretKeyEntry skEntry = new KeyStore.SecretKeyEntry(secretKey); ks.setEntry(keyAliasName, skEntry, new KeyStore.PasswordProtection(keyStorePassword)); // save the keystore FileOutputStream fos = new FileOutputStream(filename); ks.store(fos, keyStorePassword); fos.close(); } private static SecretKey readKeyStoreValue(InputStream is, String ksPassword, String keyAliasName) throws Exception { KeyStore ks = KeyStore.getInstance(JCEKS); char[] keyStorePassword = ksPassword.toCharArray(); ks.load(is, keyStorePassword); is.close(); Entry retrievedEntry = ks.getEntry(keyAliasName, new KeyStore.PasswordProtection(keyStorePassword)); SecretKey retrievedSecretKey = null; if (retrievedEntry instanceof KeyStore.SecretKeyEntry) { KeyStore.SecretKeyEntry retrievedSecretKeyEntry = (KeyStore.SecretKeyEntry) retrievedEntry; retrievedSecretKey = retrievedSecretKeyEntry.getSecretKey(); } return retrievedSecretKey; } -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: task queue
Hi Julzin Seems like a popular theme, see: http://groups.google.com/group/google-appengine-java/browse_thread/thread/fbbbab71067d536b On Aug 10, 8:24 am, julzin pierre.duga...@gmail.com wrote: hi, I would like to know if there was a way to know when a queue is empty (or when all the tasks that have been assigned to it are finished) ? From the API documentation, it seems to me like a queue object only allows to add a task, but not to retrieve this kind of information. Maybe there is a way through the admin console? (sorry for my bad english) thanks, Sincerely, Julzin -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Possible to configure GAE so that session cookies are secure?
A guideline from OWASP is that session cookies have their ‘secure’ flag set so the browser never transmits them in the clear. Details are here: http://www.owasp.org/index.php/Top_10_2010-A9-Insufficient_Transport_Layer_Protection When using HttpServletRequest’s getSession the resulting response header generated for this is of the form: Set-Cookie JSESSIONID=0QaYcX5Mp2uEoak6SG5hjQ;Path=/ This is the case even when establishing the session over https and setting the transport-guarantee to CONFIDENTIAL in the web.xml. In jetty, setting whether session cookies are secure can be configured in jetty-web.xml. Is there something equivalent for GAE? Ideally the default behavior would be to create secure sessions when sessions are created over https and there is a confidential transport guarantee specified in web.xml. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Signing as user (localhost) and trying to generate bulkloader
Good afternoon, I'm new with GAE using JAva, and I have some problems that Im not able to resolve.. Start point: Environment: OS Ubuntu 10.04. / appengine-java-sdk-1.3.5 I have created an application (id = tyd) to manage entities of king MenuInfo. The application let me create and select entities from the datastore without problems. Problem 1: - When I try to access URL http://localhost:8080/_ah/login, checking Sign in as Administrator, and logging with my account: david.saenz.taga...@gmail.com, I get the next error: HTTP ERROR 404 - Problem accessing /_ah/null. Reason: NOT_FOUND Where is my error? Problem 2: - When I try to generate the file bulkloader.yaml by one of the next two options, I allways get the log attached.. The bulkloader.yaml generated doesnt contain any kind of entity!! But I can get entities from my application!!.. What could be happening? Note: the next options are used with google_appengine for Python. Option 1: ./appcfg.py create_bulkloader_config --filename=bulkloader.yaml --url=http://localhost:8080/remote_api --application=tyd --email=david.saenz.taga...@gmail.com Option 2: ./bulkloader.py --create_config --filename=bulkloader.yaml --url=http://localhost:8080/remote_api --app_id=tyd --email=david.saenz.taga...@gmail.com Log generated: /home/david/google_appengine/ google/appengine/ext/remote_api/remote_api_stub.py:64: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha /home/david/google_appengine/google/appengine/tools/dev_appserver_login.py:33: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 [INFO ] Logging to bulkloader-log-20100727.195825 [INFO ] Throttling transfers: [INFO ] Bandwidth: 25 bytes/second [INFO ] HTTP connections: 8/second [INFO ] Entities inserted/fetched/modified: 20/second [INFO ] Batch Size: 100 [INFO ] Opening database: bulkloader-progress-20100727.195825.sql3 [INFO ] Opening database: bulkloader-results-20100727.195825.sql3 Password for david.saenz.taga...@gmail.com: [INFO ] Connecting to localhost:8080/remote_api [INFO ] Downloading kinds: ['__Stat_PropertyType_PropertyName_Kind__'] . [INFO ] Have 0 entities, 0 previously transferred [INFO ] 0 entities (293 bytes) transferred in 18.3 seconds Thanks everybody.. and sorry.. My english level is not good :S David -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Problems with localhost Authentication and generating bulkloader Entities..
Good afternoon, I'm new with GAE, en entorno Java, y me estoy encontrando con un par de problemas que no consigo resolver por mas esfuerzos que dedico. *Start point: *Environment: OS Ubuntu 10.04. / appengine-java-sdk-1.3.5 I have created an application (id = tyd) to manage entities of king MenuInfo. The application let me create and select entities from the datastore without problems. *Problem 1:* - When I try to access URL *http://localhost:8080/_ah/login*, checking Sign in as Administrator, and logging with my account: david.saenz.taga...@gmail.com, I get the next error: *HTTP ERROR 404 - Problem accessing /_ah/null. Reason: NOT_FOUND* Where is my error? *Problem 2:* - When I try to generate the file *bulkloader.yaml* by one of the next two options, I allways get the log attached.. *The bulkloader.yaml generated doesnt contain any kind of entity!! But I can get entities from my application!!*.. What could be happening? Note: the next options are used with google_appengine for Python. Option 1: ./appcfg.py create_bulkloader_config --filename=bulkloader.yaml --url=http://localhost:8080/remote_api --application=tyd --email= david.saenz.taga...@gmail.com Option 2: ./bulkloader.py --create_config --filename=bulkloader.yaml --url= http://localhost:8080/remote_api --app_id=tyd --email= david.saenz.taga...@gmail.com Log generated: /home/david/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:64: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha /home/david/google_appengine/google/appengine/tools/dev_appserver_login.py:33: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 [INFO] Logging to bulkloader-log-20100727.195825 [INFO] Throttling transfers: [INFO] Bandwidth: 25 bytes/second [INFO] HTTP connections: 8/second [INFO] Entities inserted/fetched/modified: 20/second [INFO] Batch Size: 100 [INFO] Opening database: bulkloader-progress-20100727.195825.sql3 [INFO] Opening database: bulkloader-results-20100727.195825.sql3 Password for david.saenz.taga...@gmail.com: [INFO] Connecting to localhost:8080/remote_api [INFO] Downloading kinds: ['__Stat_PropertyType_PropertyName_Kind__'] . [INFO] Have 0 entities, 0 previously transferred *[INFO] 0 entities (293 bytes) transferred in 18.3 seconds* Thanks everybody.. and sorry.. My english level is not good :S David -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Problemas con Servicio de Usuarios y generación del Bulkloader.yaml
Buenas tardes, soy nuevo usando GAE, en entorno Java, y me estoy encontrando con un par de problemas que no consigo resolver por mas esfuerzos que dedico. *Situación de partida: *Entorno: Sistema operativo Ubuntu 10.04. / appengine-java-sdk-1.3.5 He creado una aplicación (identificador = tyd) que gestiona entidades de tipo MenuInfo. La aplicación me permite insertar y consultar las entidades creadas. *Problema 1:* - Al acceder a la URL *http://localhost:8080/_ah/login*, intento logarme, marcando el check de administrador, usando mi cuenta: david.saenz.taga...@gmail.com. Sin embargo obtengo el siguiente error: *HTTP ERROR 404 - Problem accessing /_ah/null. Reason: NOT_FOUND* ¿A que puede ser debido que falle el login? *Problema 2:* - Al tratar de generar el fichero de carga *bulkloader.yaml* por cualquiera de los dos siguientes modos, obtengo siempre el mismo log adjunto.. *No me recupera del almacén de datos ningún tipo de entidad!! aun cuando tengo datos almacenados!*.. ¿que puede estar pasando? Nota: las dos siguientes sentencias son ejecutadas desde google_appengine para Python. Opción 1: ./appcfg.py create_bulkloader_config --filename=bulkloader.yaml --url=http://localhost:8080/remote_api --application=tyd --email= david.saenz.taga...@gmail.com Opción 2: ./bulkloader.py --create_config --filename=bulkloader.yaml --url= http://localhost:8080/remote_api --app_id=tyd --email= david.saenz.taga...@gmail.com Log generado: /home/david/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:64: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha /home/david/google_appengine/google/appengine/tools/dev_appserver_login.py:33: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 [INFO] Logging to bulkloader-log-20100727.195825 [INFO] Throttling transfers: [INFO] Bandwidth: 25 bytes/second [INFO] HTTP connections: 8/second [INFO] Entities inserted/fetched/modified: 20/second [INFO] Batch Size: 100 [INFO] Opening database: bulkloader-progress-20100727.195825.sql3 [INFO] Opening database: bulkloader-results-20100727.195825.sql3 Password for david.saenz.taga...@gmail.com: [INFO] Connecting to localhost:8080/remote_api [INFO] Downloading kinds: ['__Stat_PropertyType_PropertyName_Kind__'] . [INFO] Have 0 entities, 0 previously transferred *[INFO] 0 entities (293 bytes) transferred in 18.3 seconds* Espero vuestros comentarios, muchísimas gracias de antemano. Saludos. David -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Mail Service - get User which belongs to email address
hi Lars Would this help you/ http://code.google.com/appengine/docs/java/users/ On Jul 26, 10:19 pm, vogella lars.vo...@googlemail.com wrote: Hi, I have a small Todo application written. I would like to use the Mail service to receive new todos items via email. I can get the sender of the email via getFrom() and would like to map this to the user in my application and create a new Todo for this user. Is it possible to retrieve the user based on an email from AppEngine? If yes it would be great if you can give me a pointer where to look. Best regards, Lars --- I originally posted this message tohttp://groups.google.com/group/google-appengine before realizing that there is a Java specific group. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Users management for non-google accounts
Sounds like you want OpenId This may help: http://code.google.com/appengine/docs/java/users/ Extract: Note: The 1.3.4 release includes support for authentication via OpenID as an experimental feature. OpenID allows users to authenticate by supplying a URL that identifies them with an OpenID provider, a service where the user has previously created an account. Because OpenID support is an experimental feature, the API may change in future minor releases of the SDK. Let us know what you think! On Jul 23, 4:09 pm, cghersi cristiano.ghe...@gmail.com wrote: Good afternoon, I'm very new to GAE, and I cannot understand how may I merge the account management for users having and not having a Google account. I would like to have a single sign-in page (google style) where users with google accounts can type their Google credentials and enter in my app, while users without google accounts can type their MyApp- customized credentials and enter the same. Is it feaseable? Or do I have to create my own Users table and replicate the users accounts for the users provided with Google accounts? Thank you very much! Bye -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Distributed Transactions
There is always a good deal of debate in this group about transactions - but does anyone know what the status is of the design presented by Daniel Wilkerson at Google I/O 2009? There don't seem to have been any recent updates to either of the following: Design explanation at http://danielwilkerson.com/dist-trans-gae.html code (only) posted at http://code.google.com/p/tapioca-orm/ The video of the presentation is at http://code.google.com/events/io/2009/sessions/DesignDistributedTransactionLayerAppEngine.html and seemed great work which could transform the use of app engine. Has it just proved too difficult to implement on the Google infrastructure? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: String limit in JDO
If you're open to alternatives besides JDO, note that Objectify will auto-convert from String to Text as needed: http://groups.google.com/group/objectify-appengine/browse_thread/thread/48242872863621ff /dmc On Jul 1, 2:21 am, Ian Marshall ianmarshall...@gmail.com wrote: You might want to try the persistent class com.google.appengine.api.datastore.Text as mentioned in http://code.google.com/intl/en/appengine/docs/java/datastore/dataclas... as this class has no specific character length limit. Of course, use of this must still satisfy the overall datastore quotas and limits. I use Text objects to persist string data longer than 250 or 500 characters long. Enjoy, Ian On Jul 1, 4:36 am, Didier Durand durand.did...@gmail.com wrote: Hi, why don't you use blobs ?http://code.google.com/appengine/docs/java/blobstore/overview.html didier On Jun 30, 6:59 pm, Developer cyber.antagon...@gmail.com wrote: Hi! I'm developing blog engine using JSP, servletts and JDO (thru GAE). And I've got a problem. For blog-posts I've developed persistance class Posts with some fields and with main String-field text for content of post. The problem is the max lenght of this field: I can't add blog-posts larger then max size of String. And of cource I cant add them then in datastore. Does anybody have any ideas how to fix it? Because if I don't solve this problem, I would get kind of micro-blog (like Twitter). And I want a normal blog enstead :) Thank you. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Type 'java.lang.Long' was not included in the set of types which can be serialized by this SerializationPolicy
See http://turbomanage.wordpress.com/2009/11/23/gwt-rpc-serialization-gotchas/ HTH, /dmc On Jul 1, 10:40 am, Vik vik@gmail.com wrote: Hie Any idea why i m getting this exception after including Long type in my class? Vik SEVERE: [1277994943477000] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: java.lang.reflect.InvocationTargetException at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeWithCustomSerializer(ServerSerializationStreamWriter.java:760) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:723) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:612) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:129) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:152) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:534) at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:609) at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:467) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:564) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:51) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:349) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:100) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeWithCustomSerializer(ServerSerializationStreamWriter.java:742) ... 38 more Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'java.lang.Long' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = 26 at
[appengine-java] Re: What would you recommend: Objectify or Twig?
This is a difficult question to give a fair answer to - most of us only have time to make a fairly quick assessment then just decide to go with something - which means we only know one of them in any depth. I looked at Twig and Objectify, tried Twig briefly then elected to use Objectify - but that was because I preferred the approach of Objectify for my application, and my way of working and not because I felt there was anything wrong with Twig. I cannot comment on Slim3, I have not tried it. Simon's suggestion above to look at some of the debate threads is still valid I think - it is probably the philosophy which drive your choice. For me it was a case of keeping things simple and transparent in case I run into performance issues. I can say that the Objectify documentation is excellent, and the responses to questions fast and equally good. Twig's documentation was not as thorough when I looked at it but that may have changed, and I do not know what the forum responses are like. On Jun 16, 7:28 pm, Houston startup coder stephenh...@gmail.com wrote: I'm liking Slim3 so far. It has a fast wrapper for the low-level API that does not use reflection (meaning it's even faster than frameworks that do). Plus it has some basic web framework helpers as well. Stephen On Jun 16, 12:34 am, nicolas melendez nfmelen...@gmail.com wrote: +1 Objectify But give a chance to twig too On Tue, Jun 15, 2010 at 1:56 PM, Dan Billings debil...@gmail.com wrote: +1 Objectify On Jun 15, 11:25 am, Simon qila...@gmail.com wrote: There's a big thread athttp:// groups.google.com/group/google-appengine-java/browse_thread/th... where the authors of the two frameworks discuss the respective benefits of their frameworks, for different scenarios. It's probably worth having a read, although it's getting a bit old now. Personally I've found Objectify very good - very thorough documentation and it works for me :) On Jun 15, 9:51 am, Marcel Overdijk marceloverd...@gmail.com wrote: What would you recommend: Objectify or Twig? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Nicolás Meléndez Java Software Developer 1) Google App Engine works: 1.a)http://www.clasificad.com.ar (Local free classifieds for housing, sale, services, local community, curses,jobs, and events - GAE/J + Wicket + YUI) 1.b)http://www.chessk.com (Massive multiplayer chess online GAE/J + Applets + Wicket) 2) Linkedin:http://ar.linkedin.com/in/nicolasmelendez -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: App Engine Scalability
This is relevant too http://code.google.com/p/googleappengine/issues/detail?id=2456 On Jun 10, 11:31 pm, Thomas mylee...@gmail.com wrote: Hi: Please seehttp://groups.google.com/group/google-appengine-java/browse_thread/th... for more detail. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: JAXB
There is an AppEngine plug-in for Apache Commons VFS that lets you store files in the Datastore. http://code.google.com/p/gaevfs/ /dmc http://turbomanage.wordpress.com On May 1, 11:48 pm, m seleron seler...@gmail.com wrote: Hi, I think that it is possible by using memcache or datastore. Though you might already have seen I think that the link where post was done by Duong BaTien is useful. Please try variously. thanks. Thanks saleronm I share your sample application adn its working. I have question, whether is there a possibility that we store file as xml on Google app engine??? If a have file as xml so can i marshal/unmarshal or modify it ?? Your example is wery helpful but can i save result in file ?? Thanks for your help -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Can't decide: JDO, Twig-Persist or Objectify?
Hi Christian That's interesting ... I just felt that I wanted to manage the references (keys) myself, so I could have more control over when and how those references are instantiated - Twig seems to do that for you (great in many ways), but I have some situations with my application where I think that could have a performance impact - I cannot be sure yet, but I wanted to play safe on that. The single developer question is tricky - I suppose it is more risky (he might want a holiday one day!), but on the other hand it is open source. On Apr 25, 1:29 pm, Christian Goudreau goudreau.christ...@gmail.com wrote: I have one question in mind after reading what you wrote, in wich way you have better control in Objectify than Twig ? I'm interested since I moved from Objectify to Twig and didn't end up in that situation, yet. For the cons of only one Developper, he may be alone, but he answer every single one question asked in his mailing list, though righ now he's in only for two weeks. And he works really fast, bug fix are often done in less than two days. Christian On Sun, Apr 25, 2010 at 5:11 AM, David Sowerby david.sowe...@virgin.netwrote: hi jbdhl I wish there was an easy answer too - but I suppose at least we have choice! My experience, which I hope will at least help you a bit For back ground I am transferring a prototype developed using a db4o back end, but had little done for the UI. There are a lot of relationships in the domain layer, and the design was very much OO not RDBMS I started by using JDO thinking it would give me portability. I got it to work, but seemed to end up with some messy code. To be fair, that in part was due to my lack of real understanding of GAE, but I didn't really feel I had achieved portability either - there would still have been changes to make to move elsewhere I therefore abandoned the idea of portability, accepting that I would probably have to re-write the Dao layer anyway, if ever I want to move. I decided that it would be better to spend more time on getting that Dao layer isolated and independent - that would give me reasonable portability without compromising the different strengths of different persistent platforms. I tried Twig - it seemed a good solution, and was certainly easy to set up and use. I found the documentation is bit sparse on property translators, but otherwise I had no real problems. The amount which Twig takes away from you is one of those classic blessing/curse situations - it is a blessing not to have to think about some of the detail, but you lose control. I felt that once I had understood GAE, I may be losing some of benefits by not having enough direct control - for this application. I would certainly consider Twig again for other applications. So I have now migrated to Objectify, which seems fairly straightforward, and I have the level of control I was looking for - with a particular eye on performance since I do not yet have any idea how my application will perform I'm afraid the Twig-Objectify discussions occasionally get a bit like a religious argument, which is a shame because they have both done a great job, but with different approaches - and why not? They serve different needs. You have probably read this already but I found this tremendously useful to understand GAE, which in turn helped me understand the choices I was trying to make (the Objectify reference isn't a plug - it is just a very well written article) http://code.google.com/p/objectify-appengine/wiki/Concepts Good luck - it would be interesting to know what you decide in the end ... On Apr 25, 5:42 am, bufferings bufferi...@gmail.com wrote: Hi I like Slim3.http://sites.google.com/site/slim3appengine/ -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send
[appengine-java] Re: Can't decide: JDO, Twig-Persist or Objectify?
hi jbdhl I wish there was an easy answer too - but I suppose at least we have choice! My experience, which I hope will at least help you a bit For back ground I am transferring a prototype developed using a db4o back end, but had little done for the UI. There are a lot of relationships in the domain layer, and the design was very much OO not RDBMS I started by using JDO thinking it would give me portability. I got it to work, but seemed to end up with some messy code. To be fair, that in part was due to my lack of real understanding of GAE, but I didn't really feel I had achieved portability either - there would still have been changes to make to move elsewhere I therefore abandoned the idea of portability, accepting that I would probably have to re-write the Dao layer anyway, if ever I want to move. I decided that it would be better to spend more time on getting that Dao layer isolated and independent - that would give me reasonable portability without compromising the different strengths of different persistent platforms. I tried Twig - it seemed a good solution, and was certainly easy to set up and use. I found the documentation is bit sparse on property translators, but otherwise I had no real problems. The amount which Twig takes away from you is one of those classic blessing/curse situations - it is a blessing not to have to think about some of the detail, but you lose control. I felt that once I had understood GAE, I may be losing some of benefits by not having enough direct control - for this application. I would certainly consider Twig again for other applications. So I have now migrated to Objectify, which seems fairly straightforward, and I have the level of control I was looking for - with a particular eye on performance since I do not yet have any idea how my application will perform I'm afraid the Twig-Objectify discussions occasionally get a bit like a religious argument, which is a shame because they have both done a great job, but with different approaches - and why not? They serve different needs. You have probably read this already but I found this tremendously useful to understand GAE, which in turn helped me understand the choices I was trying to make (the Objectify reference isn't a plug - it is just a very well written article) http://code.google.com/p/objectify-appengine/wiki/Concepts Good luck - it would be interesting to know what you decide in the end ... On Apr 25, 5:42 am, bufferings bufferi...@gmail.com wrote: Hi I like Slim3.http://sites.google.com/site/slim3appengine/ -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Strange characters showing in incoming emails
Hi, The truth is I cant remember how/if I solved this, I havent played around with email for a long time. I'll get back to you if I find out what the problem is.. Regards, David On Tue, Apr 13, 2010 at 11:18 PM, Esteban Ignacio Masoero emaso...@getsense.com.ar wrote: Hi: I think I'm experiencing the same problem. Strangely, I'm sending unicode (spanish) characters, specially the 'ñ' (spanish N), and I receive them well in the body part but not in the subject part of the email, where they appear as a '?'. I noticed this issue http://code.google.com/p/googleappengine/issues/detail?id=2288 was created, but I'm not really sure where it targets my problem. David, did you finally solve your problem? any ideas about this? Thanks, Esteban On Tue, Dec 1, 2009 at 10:02 AM, david ruescas fastn...@gmail.com wrote: Ive done some more testing and it seems the problem is not limited to character 0008, but that in general strange unencoded characters occasionally show up, apparently without following any pattern. Anyone else encountering this issue? Thank you David On 11/30/09, david ruescas fastn...@gmail.com wrote: I get occasional characters that look like this http://www.fileformat.info/info/unicode/char/0008/index.htm when processing incoming emails. I think its the backspace 0008 character, at least thats how they show up in the app engine log. Any idea where these characters are coming from? Thankyou, David -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Error while Using the Datastore with JDO
I usually find I get this when the class I am trying to persist doesn't have the @PersistenceCapable annotation, or more often, where one of its ancestors hasn't. On Apr 9, 6:47 pm, Ikai L (Google) ika...@google.com wrote: Can you post the class? On Fri, Apr 9, 2010 at 5:49 AM, Smitha namrat...@gmail.com wrote: I'm trying to create a JDO object, create a table and assign values to it. But I'm getting the following error when i try to run it although I have enhanced it and I'm using the Google Plugin for eclipse to build it. The class The class com.store.db.UserDetails is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found. is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found. RequestURI=/signUser Caused by: org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException: The class The class com.store.db.UserDetails is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found. is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found. at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(Nuc leusJDOHelper.java: 241) at org.datanucleus.jdo.JDOPersistenceManager.jdoMakePersistent(JDOPersistenceM anager.java: 674) Please let me know if you need any more details. Thanks in advance. Smitha. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Objectify - Twig - SimpleDS articles
Andreas, first thanks for the article, it was hugely interesting and of course thanks to all who have given us some alternatives to argue about! A few themes seem to come out of this for me 1) Some people are just either happier with what they know (SQL/ RDBMS) - perfectly understandable and probably more productive initially at least, but if someone didn't move the goalposts now and then we would never get any innovative change. 2) Some just have to live with existing code and work with that. That's life I guess. 3) Others see the datastore as a component of a different way of working which overall has some major benefits - making the use of the datastore simple and efficient is just part of the equation. 4) Abstraction is all very well - but if the trade off is a lack of clarity or poor performance then it is in danger of being an objective for its own sake. I don't think anyone has mentioned the famous impedance mis-match between OOP and RDBMS. It seems to me that BigTable is a better match to OOP than an RDBMS is - although I found JDO a struggle. I have the luxury of developing a Java app from scratch, which of course is not the same for everyone. I did get JDO to work but it does feel like I am making life hard for myself by doing so. Now all I have to do is decide which of the alternatives to go for . On Mar 30, 7:33 pm, Jeff Schnitzer j...@infohazard.org wrote: On Tue, Mar 30, 2010 at 8:03 AM, Guillermo Schwarz guillermo.schw...@gmail.com wrote: SQL can be run on top of a file system (fseek, read, write) or on top of a persistent hashmap (datastore). If you create a SQL interface on top of any of those, then it is a relational database, not a fake but a real relational database. Why would I want a relational database? Consistency, for starters. ACID transactions. Set operations. ...except that you *can't* actually create a performant relational database on top of appengine. Let's be realistic here. There is one reason and one reason only why modern RDBMSes can perform at anything remotely like the speeds necessary for web applications: * Lots and lots of RAM, enough to cache whole indexes. You don't have this in appengine. You get, at best, somewhere around 110 megs. How fast do you think an RDBMS is going to perform on a machine that has been lobotomized to 100 megs of RAM??? If you have an antique computer from the 1990s you can find out. I have no doubt that you can create an RDBMS on top of the GAE datastore. I also have no doubt that trying to tune a Hibernate app to run at reasonable speeds will be a nightmare that I never want to experience. Jeff -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Why should app startup times be a problem.
In the mean time, here are some ideas for reducing startup times by shrinking our apps. I went from 8.1s to 2.5s mainly by eliminating Guice, and I would expect similar results with Spring. I can definitely live with 2.5s... http://turbomanage.wordpress.com/2010/03/26/appengine-cold-starts-considered/ /dmc On Mar 30, 3:04 pm, Baz b...@thinkloop.com wrote: Great information, Ikai. I really feel that instances should be completely avoided in concept and language on the GAE. What if the feature was simply an enable/disable deal called Warm Scale. If it were enabled, then your *next* instance would always be warm, regardless of how many instances you already had. This would be most noticeable and suitable for low QPS production apps that are constantly going from 0 to 1 instances (as you mentioned), but it could still be important for others, say, for a super-high-profile site, or a situation where your QPS is right at the threshold of instances and oscillating back and forth between two instances. Whatever the situation, if the solution were generalized like that, and most importantly not tied to a SPECIFIC NUMBER of instances, it would be up to the user to decide how important it was for them and whether to enable it. Cheers, Baz -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Workflow Engine
Has anyone successfully implemented a Java workflow engine on GAE? (or perhaps considering it). I'm thinking of something like Bonita (http://www.bonitasoft.com/) or Enhydra Shark (http://www.enhydra.org/workflow/shark/index.html) and would welcome feedback from anyone who has tried it -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Tweak static file without re-deploying
If you're using GWT, you can at least skip the GWT compile on deploy by using appcfg update instead of the deploy button in Eclipse. /dmc http://turbomanage.wordpress.com On Mar 22, 4:38 pm, Steve Pritchard steve...@gmail.com wrote: Hi all, Is there any way to tweak or add a static file (such as a .css file) using without redeploying the whole application. I do not mean from inside the servlet engine - I understand why this is not allowed. I mean, does the deployer have a 'light-weight' mode that will allow it to 'zap' the present deployment static file. It seems overkill to redeploy the whole application just to modify one or 2 characters in a .css file. Thanks, Steve -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Memory Leak in the EntityManagerFactory?
Hey Max, Took a heap dump using two different scenarios. In test 1, I set the - Xmx to 100M, and in test 2 I set the max to 512M, and am comparing the difference between the number of objects across the two memory scenarios. In my code, I'm running a for-loop that executes 5000 times, and most of the objects present in JHat show up no more than 500 times, and in equal amounts, in either memory scenario (leads me to believe these are not the culprits). However, there are a handful of datastore classes that show a 1:1 relationship between the amount of memory I allow in each test. Following are the outputs from JHat: TEST #1 (100M Max) 101489 instances of class com.google.storage.onestore.v3.OnestoreEntity $PropertyValue 101488 instances of class com.google.storage.onestore.v3.OnestoreEntity $Property 52846 instances of class com.google.storage.onestore.v3.OnestoreEntity $Path$Element 43623 instances of class com.google.storage.onestore.v3.OnestoreEntity $Path 29782 instances of class com.google.storage.onestore.v3.OnestoreEntity $Reference 15944 instances of class com.google.apphosting.api.DatastorePb$Query 13839 instances of class com.google.storage.onestore.v3.OnestoreEntity $EntityProto 9237 instances of class com.google.appengine.api.datastore.dev.LocalCompositeIndexManager $IndexComponentsOnlyQuery 6705 instances of class com.google.appengine.api.datastore.dev.LocalDatastoreService $LiveQuery 4613 instances of class com.google.appengine.api.datastore.dev.LocalDatastoreService$Profile $EntityGroup TEST #2 (512M Max) 579558 instances of class com.google.storage.onestore.v3.OnestoreEntity $Property 579558 instances of class com.google.storage.onestore.v3.OnestoreEntity $PropertyValue 25863 instances of class com.google.storage.onestore.v3.OnestoreEntity $Path$Element 24805 instances of class com.google.storage.onestore.v3.OnestoreEntity $Path 17683 instances of class com.google.storage.onestore.v3.OnestoreEntity $Reference 10564 instances of class com.google.apphosting.api.DatastorePb$Query 8441 instances of class com.google.appengine.api.datastore.dev.LocalDatastoreService $LiveQuery 6065 instances of class com.google.storage.onestore.v3.OnestoreEntity $EntityProto 5002 instances of class com.google.appengine.api.datastore.dev.LocalDatastoreService$Profile $EntityGroup From what I can tell, the OnestoreEntity$Property and OnestoreEntity $PropertyValue classes are growing the most (and somewhat linearly) with the number of Datastore operations I execute (capped only by the amount of memory I allow the JVM). Now, my first inclination is to explain my error away on the grounds that the local datastore is in- memory, and so if I don't allow enough JVM memory for my datastore, this is expected behavior. However, I'm only persisting 5,000 User entities (and not even getting that far). My User is not terribly complicated (6 properties, 4 Lists, and a Preferences object). The lists and preferences are Lazy and empty -- I'm not creating anything for these in my test -- just a Userplus I'm only populating one of the field properties (username) with a very short string. For me to run out of 512MB of memory after creating only 4k-ish users means that each of my User entities is taking up around 125k each. Accounting for other datastore components taking up memory, we could say that my entities are only taking up 100k each, leaving the datastore the other 25k, or 100MB of memory. That still seems like my entities are taking up way too much memory (hence some sort of leak?), though I guess I don't know what's going on with the OnestoreEntity class to simulate the datastore, so I can't say for sure. Any thoughts here would be much appreciated. If I can provide any more data for you, please let me know. Thanks! David On Mar 12, 9:37 pm, Max Ross (Google) maxr+appeng...@google.com wrote: Thanks for the report David, this certainly seems suspicious. There is at least one memory leak I'm aware of but it's related to transactions so that's probably not what you're bumping into. Have you tried taking a heap dump to see what exactly is building up? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: JPA enhancement problem (DataNucleus)
I get this issue pretty often too, although my experience is that you likely have an issue with one of your entities (sometimes your entity can be properly coded, but there could be a fluke with how DataNucleus +GAE interpret a particular feature/annotation, especially with JPA). For example, I had an entity that would fail DataNucleus validation at first, but when I would do a Clean All+Auto Build, the Datanucleus error would go away until some other class (any java class) was re- compiled. I ended up discovering this by iteratively removing JPA features from my Entity one at a time (@OneToOne relationships, etc) until the this class not enhanced errors went away). Eventually I was able to nail down that I was either annotating something incorrectly or DataNucleus/GAE didn't support a particular feature, or in one case an actual bug. Not exactly a clear-cut answer, but that's the path I took. How complex are your entities? david On Mar 11, 7:21 pm, Sekhar sek...@allurefx.com wrote: I'm using the Eclipse Google plugin, and every once in a while after a build I get the dreaded this class is not enhanced! errors for all my entities (even when I don't edit any of them). Any idea why this is? If I touch the files, they get built/enhanced again fine, but this is getting to be a real annoyance. I'd appreciate any pointers you can give! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Memory Leak in the EntityManagerFactory?
Hey Max, Thanks for your reply! I tried to install the eclipse memory profiler (TPTP -- http://www.eclipse.org/tptp/home/downloads/installguide/InstallGuide42.html#install_update_manager) but for whatever reason there seems to be a conflict with the Google Eclipse plugin because now there's no sign of the Google plugins in my eclipse install. I see that the Google plugin and the GWT/GAE plugins are installed (in the installed software window), but I can't access these at all, either from the button menus or the configuration menus. It's as if Eclipse now things my projects is a regular JavaEE project instead of being a Google Plugin project. The Google plugin config menus don't show up in any context menus, or in the project config menus. I'm currently reverting my eclipse configuration to see if I can restore things. Meanwhile, can you recommend a good memory profiler that I could use with the GAE/Google plugin? Thanks! david On Mar 12, 9:37 pm, Max Ross (Google) maxr+appeng...@google.com wrote: Thanks for the report David, this certainly seems suspicious. There is at least one memory leak I'm aware of but it's related to transactions so that's probably not what you're bumping into. Have you tried taking a heap dump to see what exactly is building up? On Fri, Mar 12, 2010 at 1:27 PM, David Fuelling sappe...@gmail.com wrote: I have a JUnit test class that is attempting to test some JPA datastore create operations, and I'm getting results that *seem* to indicate a memory leak in the EntityManagerFactory (?) Basically, if I use test1a (see below), the heap in use by the JUnit test process continually increases until the JUnit test fails with an OutOfMemory error. Test1b suffers from no such problem. I would not expect this type of behavior from test1a because even though I'm creating a new EntityManager upon every for-loop iteration, that em should go away after every for-loop iteration since the variable reference is replaced with a new EntityManager each time. Now, one might argue that my test is just going too fast, and the GC isn't getting a chance to Garbage Collect. However, Test1a takes a pretty long time to execute on my machine ( 120 seconds), so I *should* be getting some GC, right? Unless the EntityManagerFactory is holding onto a reference to each created EntityManager? Any input here would be much appreciated... Thanks! david ps - my UserImpl is a standard JPA entity. /// //Begin JUnit Test #1a /// User user = null; EntityManager em = null; for (int i = 0; i 5000; i++) { //See how I get an em here: http://code.google.com/appengine/docs/java/datastore/usingjpa.html#Ge... em = EMF.get().createEntityManager(); user = new UserImpl(test + i); em.persist(user); em.close(); } /// //End Test #1b /// /// //Begin JUnit Test #1b /// User user = null; EntityManager em = EMF.get().createEntityManager(); for(int i = 0; i 5000; i++) { user = new UserImpl(test + i); em.persist(user); } em.close(); /// //End Test #1b /// -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Reporting on GAE in Java
Update: This website (http://www.jscriptive.org/2009/08/jasperreports-and- google-appengine.html) appears to confirm that it's a real issue rather than simply something I've done wrong or overlooked. This website (http://code.google.com/p/g2-report-engine/wiki/ AppEngineSupport) seems to be a basic reporting tool that's specifically designed to work with GAE/J, albeit without the support of report building tools such as JasperReports' iReport. I'm still on the lookout for alternative reporting solutions if anyone can help me out? Cheers, David -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Reporting on GAE in Java
Hi all, I'm in the process of porting a small java webapp to GAE and I've encountered an issue around my use of JasperReports. I've solved (I think) the original issue I had of how to get the data into the report by passing a collection of JavaBeans rather than a JDBC connection. However I'm now facing the following error message: WARNING: Error for /PODEntry java.lang.NoClassDefFoundError: java.awt.GraphicsEnvironment is a restricted class. Please see the Google App Engine developer's guide for more details. at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java: 51) at net.sf.jasperreports.engine.util.JRStyledTextParser.clinit(JRStyledTextParser.java: 87) snip Is there a workaround I can use to keep using JasperReports? Alternatively is there another reporting package that I could use instead (ideally I'd like to be able output the report in both HTML and PDF format)? Thanks for your help/comments/suggestions. Cheers, David PS Couple of related threads which I tracked down but didn't answer my questions (they seem to be focusing on issues with retrieving the data rather than problems generating the report output): http://groups.google.com/group/google-appengine-java/browse_thread/thread/92b811677670bf0e/bcc733f8488d1222?lnk=gstq=reporting#bcc733f8488d1222 http://groups.google.com/group/google-appengine-java/browse_thread/thread/58bf7d3a3b4458ea/1b533547d8ab6b30?lnk=gstq=reporting#1b533547d8ab6b30 -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: How to get testing working with anything other than the default queue
I found a way to invoke a task servlet using ServletUnit (but not LocalTaskQueue.runTask(), alas) and wrote it up: http://turbomanage.wordpress.com/2010/03/03/a-recipe-for-unit-testing-appengine-task-queues/ /dmc On Mar 2, 11:42 pm, David Chandler turboman...@gmail.com wrote: I'm using the workaround above and it's reading my queue.xml correctly; however, when I call runTask() I am getting a connection refused exception. Does the AppEngine test environment provide a servlet container or mock thereof for running the task servlet? The task servlet is configured in my web.xml and works fine in dev and prod, but not in unit tests, so I'm guessing I need to wire in a lightweight servlet container in test also... would appreciate any pointers. INFO: Local task queue initialized with base urlhttp://localhost:8080 Mar 2, 2010 11:33:05 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect Mar 2, 2010 11:33:05 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request Thank you, /dmc On Feb 16, 6:08 pm, Max Ross (Google) maxr+appeng...@google.com wrote: Sorry Will, we look for ./WEB-INF/queue.xml by default. Anyway glad you got it working with the workaround. I'll get this straightened out for the next release. Max On Tue, Feb 16, 2010 at 11:41AM, Will Bunker w...@thebunkers.com wrote: I put in queue.xml in the test directory and it didn't seem to find it. On Feb 16, 10:47am, Max Ross (Google) maxr+appeng...@google.commaxr%2bappeng...@google.com wrote: I see. In the test environment it looks in . by default so if you place queue.xml in the directory from which you're executing the test it should pick it up.I On Tue, Feb 16, 2010 at 10:35AM, Will Bunker w...@thebunkers.com wrote: I am saying that it is not reading queue.xml. I am testing to make sure a certain function puts x number tasks in a queue that is not the default. It doesn't load the queue.xml file unless I use your workaround (then it works great.) On Feb 16, 10:21am, Max Ross (Google) maxr+appeng...@google.commaxr%2bappeng...@google.com maxr%2bappeng...@google.com maxr%252bappeng...@google.com wrote: By default the LocalTaskQueueTestConfig configures the local task queue service to not automatically execute tasks: http://code.google.com/appengine/docs/java/tools/localunittesting/jav. .. Or are you saying it's not reading queue.xml? On Tue, Feb 16, 2010 at 10:16AM, Will Bunker w...@thebunkers.com wrote: Actually it doesn't seem to be reading the queue at all. It is coming from the standard directory in WAR, but doesn't seem to pick it up. I am on Mac OS if that makes any difference. On Feb 16, 9:35am, Max Ross (Google) maxr+appeng...@google.commaxr%2bappeng...@google.com maxr%2bappeng...@google.com maxr%252bappeng...@google.com maxr%2bappeng...@google.com maxr%252bappeng...@google.com maxr%252bappeng...@google.com maxr%25252bappeng...@google.com wrote: Hi Will, You're loading queue.xml from a different location in your unit tests? This is a use case I didn't thoroughly consider. I can certainly fix this for the next release but let me see if I can find a workaround for you. Thanks, Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com google-appengine-java%252bunsubscr...@googlegroups.comgoogle-appengine-java%25252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google
[appengine-java] Where is my stack trace?
I haven't been able to find my exception stack traces in the app engine logs (from e.printStackTrace()). Checked error, info, warning, etc.. Where should they be logged? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: App Engine cold starts and overly aggressive cycling
Hi.. I apologize for reviving this post, but this problem is really hitting me hard. I have an interactive fiction site (www.friedfiction.com) that has been experiencing some terrible response times over the past month. After investigating, it appears that my app is cold starting almost every two minutes. If someone is filling out a form or reading a story, and they've been idle for more than two minutes -- they have to wait approx 10-20 seconds for the app to cold start before it can process their request. This is giving my site a bad reputation. - What is your application ID? friedfic - How do you know it is being cycled out? You'll need to insert some code that only gets called when the app cold starts. Logging the servlet init - How much time of inactivity does it take before your application is cycled out? Every 2 minutes - What time or days does this seem to happen? All the time - What frameworks or libraries are you loading? GWT, AntiSamy On Jan 15, 6:32 pm, Ikai Lan i...@google.com wrote: Hey everybody, We've been seeing more and more reports of applications being cycled out overly aggressively, resulting in some folks implementing (discouraged) workarounds to keep their application from being cycled out. The primary symptom of this problem is that your application will see lots of loading requests that fire up a new JVM, which, as many of you know can take anywhere from a few seconds with naked servlets to as much as twenty seconds when loading something like Spring MVC, JRuby on Rails or Grails. In theory, there is enough capacity such that as long as you get some traffic every few hours, you should not be getting cycled out, but we have been seeing reports of applications being cycled after only a minute or less. To help us figure out if these are app specific issues or App Engine issues, can you post the following information if you believe this is happening to you? - What is your application ID? - How do you know it is being cycled out? You'll need to insert some code that only gets called when the app cold starts. - How much time of inactivity does it take before your application is cycled out? - What time or days does this seem to happen? - What frameworks or libraries are you loading? Any other information you can provide would be helpful. -- Ikai Lan Developer Programs Engineer, Google App Engine -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: How to get testing working with anything other than the default queue
I'm using the workaround above and it's reading my queue.xml correctly; however, when I call runTask() I am getting a connection refused exception. Does the AppEngine test environment provide a servlet container or mock thereof for running the task servlet? The task servlet is configured in my web.xml and works fine in dev and prod, but not in unit tests, so I'm guessing I need to wire in a lightweight servlet container in test also... would appreciate any pointers. INFO: Local task queue initialized with base url http://localhost:8080 Mar 2, 2010 11:33:05 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect Mar 2, 2010 11:33:05 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request Thank you, /dmc On Feb 16, 6:08 pm, Max Ross (Google) maxr+appeng...@google.com wrote: Sorry Will, we look for ./WEB-INF/queue.xml by default. Anyway glad you got it working with the workaround. I'll get this straightened out for the next release. Max On Tue, Feb 16, 2010 at 11:41AM, Will Bunker w...@thebunkers.com wrote: I put in queue.xml in the test directory and it didn't seem to find it. On Feb 16, 10:47am, Max Ross (Google) maxr+appeng...@google.commaxr%2bappeng...@google.com wrote: I see. In the test environment it looks in . by default so if you place queue.xml in the directory from which you're executing the test it should pick it up.I On Tue, Feb 16, 2010 at 10:35AM, Will Bunker w...@thebunkers.com wrote: I am saying that it is not reading queue.xml. I am testing to make sure a certain function puts x number tasks in a queue that is not the default. It doesn't load the queue.xml file unless I use your workaround (then it works great.) On Feb 16, 10:21am, Max Ross (Google) maxr+appeng...@google.commaxr%2bappeng...@google.com maxr%2bappeng...@google.com maxr%252bappeng...@google.com wrote: By default the LocalTaskQueueTestConfig configures the local task queue service to not automatically execute tasks: http://code.google.com/appengine/docs/java/tools/localunittesting/jav. .. Or are you saying it's not reading queue.xml? On Tue, Feb 16, 2010 at 10:16AM, Will Bunker w...@thebunkers.com wrote: Actually it doesn't seem to be reading the queue at all. It is coming from the standard directory in WAR, but doesn't seem to pick it up. I am on Mac OS if that makes any difference. On Feb 16, 9:35am, Max Ross (Google) maxr+appeng...@google.commaxr%2bappeng...@google.com maxr%2bappeng...@google.com maxr%252bappeng...@google.com maxr%2bappeng...@google.com maxr%252bappeng...@google.com maxr%252bappeng...@google.com maxr%25252bappeng...@google.com wrote: Hi Will, You're loading queue.xml from a different location in your unit tests? This is a use case I didn't thoroughly consider. I can certainly fix this for the next release but let me see if I can find a workaround for you. Thanks, Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com google-appengine-java%252bunsubscr...@googlegroups.comgoogle-appengine-java%25252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more
[appengine-java] Re: Passing parameters in a Task
Also see Deferred.defer() for a fully typesafe way to pass params: http://turbomanage.wordpress.com/2009/11/20/deferred-defer-is-a-thing-of-beauty/ There's a thread on this forum, too. /dmc On Feb 25, 5:52 pm, oceandrive rams...@gmail.com wrote: Perfect , thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: way to interactively query datastore?
On Wed, Feb 24, 2010 at 1:37 AM, vbart vaclav.barta...@spolecne.cz wrote: I can offer only listing solution, based on our free GQL dynamic parser - http://audao.spoledge.com/download.jsp The full JSP you can find here: http://vaclavb.blogspot.com/2010/02/google-app-engine-data-viewer-gql-java.html The GQL parser (class GqlDynamic) converts GQL queries into low-level datastore API calls, so the basic code of fetching entities can be: import com.google.appengine.api.datastore.DatastoreServiceFactory; import com.google.appengine.api.datastore.Entity; import com.spoledge.audao.parser.gql.GqlDynamic; import java.util.List; ... GqlDynamic gqld = new GqlDynamic(); gqld.setDatastoreService( DatastoreServiceFactory.getDatastoreService()); String gql = SELECT * FROM MyEntity WHERE prop1='test' ORDER BY prop2 LIMIT 10; ListEntity result = gqld.prepareQuery( gql ).asList( gqld.getFetchOptions()); Then you just need to render the result in a JSP page. The GQL parser currently does not support operators '!=' and 'IN', but we are going to launch a new version in a few days which will support all GQL features. Vaclav hmm thanks for the tip! i actually was unaware the way to do something like this was to build a google datastore.Query to represent the GQL statement... -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] way to interactively query datastore?
Kind of an appengine noob here... is there something like the datastore viewer (i.e. http://localhost:8080/_ah/admin/datastore), but instead lets you try out arbitrary GQL by typing it in? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Local datastore is empty after migrating to 1.3.1
I just upgraded to 1.3.1 and also hit this issue. I hope someone from the GAE team will soon comment on this behavior. I'm also curious how common a problem this is. Have other people upgraded to 1.3.1 and maintained their local data store? On Feb 17, 3:06 pm, mcrady mcr...@gmail.com wrote: Same here. If I switch back to 1.3.0 the local data is still there. Any workarounds to get to1.3.1with the local data? On Feb 13, 10:45 am, Brian bwa...@gmail.com wrote: My remotedatastorekept the data, mylocalone was wiped. Pretty easy to make a script to load a DB with test data, not really a good idea to rely on yourlocaldatastore... On Feb 12, 6:32 pm, mably fm2...@mably.com wrote: Same thing happened to me. Got an emptylocaldatastoreafterupdating to1.3.1. Hopefully I didn't have much data in it. But it might not be the case for everybody. On 12 fév, 09:35, Al Murauski a.murau...@gmail.com wrote: The Development Console tells Thedatastoreisemptyafterupdating to1.3.1. Any ideas why? I need mylocaldata back. The local_db file is not emoty and contain sthe data it contained before1.3.1migration. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Spring 3.0 + Tiles 2.1.4 + GAE
I've found the solution : http://tiles.apache.org/2.1/framework/tutorial/advanced/el-support.html Just get the jasper-el library from Tomcat, add it to your classpath and it works. Usually running on Tomcat, I never encountered this error with Tiles. Now I'm on GAE with Jetty, it popped-up. Have fun! -- David, new to GAE Spring On 10 fév, 18:29, David F. david.friq...@gmail.com wrote: Hi, I was experiencing the same trouble and your advice solved it. Thank you for that. But it's not the last problem integrating Spring + Tiles on GAE. My stacktrace now shows : org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in ServletContext resource [/WEB-INF/DispatcherServlet-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/ apache/el/ExpressionFactoryImpl at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y.initializeBean(AbstractAutowireCapableBeanFactory.java: 1401) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y.doCreateBean(AbstractAutowireCapableBeanFactory.java: 512) ... All my googling revealed that this class is heavily related to Apache Tomcat but GAE is running on Jetty if I'm not mistaken. Is there any workaround? Thanks. -- David, new to GAE Spring On 10 fév, 02:00, vladjan vlad...@gmail.com wrote: Hi, try usingtiles-2.1.2 Best regards, Vladislav On Feb 8, 12:52 pm, Arun Shanker Prasad arunshankerpra...@gmail.com wrote: Hi All, Any suggestions/thoughts/ideas? Stuck at this now.. Thanks, Arun Shanker Prasad. On Feb 4, 4:23 pm, Arun Shanker Prasad arunshankerpra...@gmail.com wrote: Hi All, I was trying to create a samplespringapplication withSpring3.0 (RELEASE) Tiles2.1.4, but I am getting the following error when I start up the dev server. Has anyone else come across this? Any work around? I had read in the forum about modifying some classes got get the Springform tag to work, but that was for 2.5, anyone else tried Spring3.0? What more problems can I get? I am at the initial phase of planning for my project and just thought to giveSpring3.0 a try since I don't want to learn 2.5 if 3.0 is already there ;) WARNING: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;: java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ ServletContext;)Ljavax/servlet/jsp/JspApplicationContext; at org.apache.tiles.jsp.evaluator.el.JspExpressionFactoryFactory.getExpression Factory(JspExpressionFactoryFactory.java: 62) at org.apache.tiles.evaluator.el.ELAttributeEvaluator.init(ELAttributeEvaluato r.java: 111) at org.apache.tiles.factory.TilesContainerFactory.storeContainerDependencies(T ilesContainerFactory.java: 447) at org.apache.tiles.factory.TilesContainerFactory.initializeContainer(TilesCon tainerFactory.java: 368) at org.apache.tiles.factory.TilesContainerFactory.createTilesContainer(TilesCo ntainerFactory.java: 287) at org.apache.tiles.factory.TilesContainerFactory.createContainer(TilesContain erFactory.java: 231) at org.apache.tiles.startup.BasicTilesInitializer.createContainer(BasicTilesIn itializer.java: 117) at org.apache.tiles.startup.BasicTilesInitializer.initialize(BasicTilesInitial izer.java: 53) at org.springframework.web.servlet.view.tiles2.TilesConfigurer.afterProperties Set(TilesConfigurer.java: 203) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y $5.run(AbstractAutowireCapableBeanFactory.java:1451) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y.invokeInitMethods(AbstractAutowireCapableBeanFactory.java: 1449) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y.initializeBean(AbstractAutowireCapableBeanFactory.java: 1398) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y.doCreateBean(AbstractAutowireCapableBeanFactory.java: 512) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y.createBean
[appengine-java] Cannot deploy - Version not ready
Ive been trying to update my app for the past hour, and I keep getting version not ready errors, the log always shows something like this: Unable to update: java.lang.RuntimeException: Version not ready. at com.google.appengine.tools.admin.AppVersionUpload.commit(AppVersionUpload.java:456) at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:127) at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:56) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:271) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:148) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) I havent changed anything important, so it looks like a temporary glitch, but it doesnt go away.. Any ideas? Thanks David -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Spring 3.0 + Tiles 2.1.4 + GAE
Hi, I was experiencing the same trouble and your advice solved it. Thank you for that. But it's not the last problem integrating Spring + Tiles on GAE. My stacktrace now shows : org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in ServletContext resource [/WEB-INF/DispatcherServlet-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/ apache/el/ExpressionFactoryImpl at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java: 1401) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java: 512) ... All my googling revealed that this class is heavily related to Apache Tomcat but GAE is running on Jetty if I'm not mistaken. Is there any workaround? Thanks. -- David, new to GAE Spring On 10 fév, 02:00, vladjan vlad...@gmail.com wrote: Hi, try usingtiles-2.1.2 Best regards, Vladislav On Feb 8, 12:52 pm, Arun Shanker Prasad arunshankerpra...@gmail.com wrote: Hi All, Any suggestions/thoughts/ideas? Stuck at this now.. Thanks, Arun Shanker Prasad. On Feb 4, 4:23 pm, Arun Shanker Prasad arunshankerpra...@gmail.com wrote: Hi All, I was trying to create a samplespringapplication withSpring3.0 (RELEASE) Tiles2.1.4, but I am getting the following error when I start up the dev server. Has anyone else come across this? Any work around? I had read in the forum about modifying some classes got get the Springform tag to work, but that was for 2.5, anyone else tried Spring3.0? What more problems can I get? I am at the initial phase of planning for my project and just thought to giveSpring3.0 a try since I don't want to learn 2.5 if 3.0 is already there ;) WARNING: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;: java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ ServletContext;)Ljavax/servlet/jsp/JspApplicationContext; at org.apache.tiles.jsp.evaluator.el.JspExpressionFactoryFactory.getExpression Factory(JspExpressionFactoryFactory.java: 62) at org.apache.tiles.evaluator.el.ELAttributeEvaluator.init(ELAttributeEvaluato r.java: 111) at org.apache.tiles.factory.TilesContainerFactory.storeContainerDependencies(T ilesContainerFactory.java: 447) at org.apache.tiles.factory.TilesContainerFactory.initializeContainer(TilesCon tainerFactory.java: 368) at org.apache.tiles.factory.TilesContainerFactory.createTilesContainer(TilesCo ntainerFactory.java: 287) at org.apache.tiles.factory.TilesContainerFactory.createContainer(TilesContain erFactory.java: 231) at org.apache.tiles.startup.BasicTilesInitializer.createContainer(BasicTilesIn itializer.java: 117) at org.apache.tiles.startup.BasicTilesInitializer.initialize(BasicTilesInitial izer.java: 53) at org.springframework.web.servlet.view.tiles2.TilesConfigurer.afterProperties Set(TilesConfigurer.java: 203) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y $5.run(AbstractAutowireCapableBeanFactory.java:1451) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y.invokeInitMethods(AbstractAutowireCapableBeanFactory.java: 1449) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y.initializeBean(AbstractAutowireCapableBeanFactory.java: 1398) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y.doCreateBean(AbstractAutowireCapableBeanFactory.java: 512) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y.createBean(AbstractAutowireCapableBeanFactory.java: 450) at org.springframework.beans.factory.support.AbstractBeanFactory $1.getObject(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getS ingleton(DefaultSingletonBeanRegistry.java: 222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abs tractBeanFactory.java: 287