[appengine-java] Re: app engine server availability
Having the same issue. On Jan 27, 8:49 am, John Goche johngoch...@googlemail.com wrote: Hello, Has anyone been experiencing availability problems when deploying to app engine? Here is what I am getting: Verifying availability: Will check again in 1 seconds. Will check again in 2 seconds. Will check again in 4 seconds. Will check again in 8 seconds. Will check again in 16 seconds. Will check again in 32 seconds. Will check again in 60 seconds. Will check again in 60 seconds. Will check again in 60 seconds. Will check again in 60 seconds. Will check again in 60 seconds. ... Anyone else having this issue? Regards, John Goche -- 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: Which java framework to use?
My suggestion: For datastore access use Objectify: http://code.google.com/p/objectify-appengine/ For your MVC framework go with AJAX/Javascript/HTML5 and use Backbone.js: http://documentcloud.github.com/backbone/ We've used Tapestry5 on App Engine before but without lazy loading and serious optimization you can have 15 second cold starts. -- 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/-/cKzdPhY0JPIJ. 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: Updating Eclipse
My guess is the app engine team has been busy with moving out of preview. I filed an issue #6334: http://code.google.com/p/googleappengine/issues/detail?id=6334thanks=6334ts=1321362902 Anyone reading this should star this issue. On Nov 14, 6:35 pm, jon stevens latch...@gmail.com wrote: Yea, that is obvious, but lame. Every time I restart the container, I get this big message saying that an update is available, but I can't actually auto install 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-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: Updating Eclipse
Filed an issue (#6334): http://code.google.com/p/googleappengine/issues/detail?id=6334sort=-idcolspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log We need to star it to get it fixed... On Nov 14, 6:35 pm, jon stevens latch...@gmail.com wrote: Yea, that is obvious, but lame. Every time I restart the container, I get this big message saying that an update is available, but I can't actually auto install 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-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: SOAP-Samples and the Development Server
I solved the problem by changing the port number in the client projects launch configuration properties (Server-Settings). Now the SOAP-Server port number is (default) and the Client port number ist 8889. -- 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/-/Wc7CQPkGX4YJ. 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] SOAP-Samples and the Development Server
Is it possible to run the soap-samples from within the development server? I changed the soap address location in the wsdl filt to soap:address location=http://localhost:/codelabex5part1/ but it doesn't work... -- 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/-/dKbYLnJ6glMJ. 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] Axis2 soap client implementation doesn't work
When I was researching WS clients for GAE, I found that Axis attempts to open network sockets directly, rather than using HttpUrlConnection. That was a while ago, perhaps a work-around has been found. The AccessControlException you are getting could be a result of that. Chris On 7/14/2011 4:16 PM, kamco wrote: Hello, I am implementing SOAP client implementation on server side of application. I am desperate right now, I allways get error. Does somebody have suggestions? Thank you very much public String type_submit(String number, String type, String name) { RPCServiceClient serviceClient; try { serviceClient = new RPCServiceClient(); Options options = serviceClient.getOptions(); EndpointReference targetEPR = new EndpointReference(http:// lala.com); options.setTo(targetEPR); QName methodName = new QName(ns,three); Class?[] returnTypes = new Class[] { String.class }; Object[] args = new Object[] { number, type, name }; Object[] response = serviceClient.invokeBlocking(methodName, args, returnTypes); String ret = (String) response[0]; return ret; } catch (AxisFault e) { e.printStackTrace(); } return null; } I allways get error.. [ERROR] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String empty.local.hfu.client.rpc.UserTypePageService.type_submit(java.lang.String,java.lang.String,java.lang.String)' threw an unexpected exception: java.security.AccessControlException: access denied (java.io.FilePermission C:\Users\Kamil-hfu\Downloads \eclipse_gwt\plugins \com.google.appengine.eclipse.sdkbundle_1.5.0.r36v201105191508\appengine- java-sdk-1.5.0.1\lib\impl\agent\appengine-agentruntime.jar read) at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java: 385) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 588) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 208) 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.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java: 35) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: 58) 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 com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java: 94) 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: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
[appengine-java] Re: looking for speakers for talks on App Engines
bump On Mar 25, 7:54 am, Chris Westin cwes...@yahoo.com wrote: Hello, I organize the speakers for the SF Bay Area Large-Scale Production Engineering Meetup (http://www.meetup.com/SF-Bay-Area-Large-Scale- Production-Engineering/). For our event on the evening of Thursday April 21st, I'm looking for speakers who can tell us about their use of App Engines (sometimes called Application Containers) in their applications. We want to hear about your experience, limitations you encountered, management, monitoring, or other notable issues with using a public App Engine. Please see the event page for more details: http://www.meetup.com/SF-Bay-Area-Large-Scale-Production-Engineering/... . You can also look at the pages for past events to get a feel for the kinds of topics we've covered in the past. If you will be in the Bay area on April 21st, and can come and speak to us about your experience with an App Engine such as Google App Engine, the Yahoo! Application Platform, AWS Elastic Beanstalk, or others I haven't listed, please message medirectly at cwestin (at) yahoo (dot) com. Thanks! Chris Westin -- 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] Need some help with GWT / GAE and serialization - I'm missing something
I have an app that uses GWT and GAE. I recently looked at it after not having done anything with it for a long time. Since the App Engine SDK and the GWT SDK had new versions since the last time I looked at it I upgraded to the latest: GAE 1.4.2 and GWT 2.2.0. I'm able to run the app locally in development mode and everything is good. But when I deploy it to App Engine and try to run it I'm getting an error saying: ERROR: The serialization policy file '/webtroopmanager/A5CAB72C510469B1D74BD9576D34BED3.gwt.rpc' was not found; did you forget to include it in this deployment? I don't understand where this file is supposed to come from in the App Engine environment. I've got it on my dev system in war/modulename. But the appengine-web.xml has exclude path=**.gwt.rpc /, which I think means it's not going to get deployed along with the app. I'm not clear on what the file is or what's in it, but the error messages suggest that it's supposed to be on the server and it isn't. How is it supposed to get there? Thanks for the 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-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] looking for speakers for talks on App Engines
Hello, I organize the speakers for the SF Bay Area Large-Scale Production Engineering Meetup (http://www.meetup.com/SF-Bay-Area-Large-Scale- Production-Engineering/). For our event on the evening of Thursday April 21st, I'm looking for speakers who can tell us about their use of App Engines (sometimes called Application Containers) in their applications. We want to hear about your experience, limitations you encountered, management, monitoring, or other notable issues with using a public App Engine. Please see the event page for more details: http://www.meetup.com/SF-Bay-Area-Large-Scale-Production-Engineering/events/15481145/ . You can also look at the pages for past events to get a feel for the kinds of topics we've covered in the past. If you will be in the Bay area on April 21st, and can come and speak to us about your experience with an App Engine such as Google App Engine, the Yahoo! Application Platform, AWS Elastic Beanstalk, or others I haven't listed, please message medirectly at cwestin (at) yahoo (dot) com. Thanks! Chris Westin -- 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: 1.4.2: Can't make https call from dev server
If you are seeing this problem: http://permalink.gmane.org/gmane.comp.systems.google-appengine.jre/18014 This is fixed in 1.4.2 - 2011-02-16, look closely at the Location of the App Engine SDK under Preferences - Google - App Engine and make sure you don't have v201102111811. Chris On Feb 15, 12:57 pm, Lior Harsat lior.har...@gmail.com wrote: HI All, I found a very dirty workaround but at least it works for me. I was not aware of the doNotValidateCertificate() API that Fred mentioned. I made a very small change (one line of code) to the SDK appengine- api.jar. I have decompiled com.google.appengine.api.urlfetch.HTTPRequest and added the call to doNotValidateCertificate() on the FetchOptions in the constructor: public HTTPRequest(URL url, HTTPMethod method, FetchOptions fetchOptions) { payload = null; this.url = url; this.method = method; this.fetchOptions = fetchOptions; this.fetchOptions.doNotValidateCertificate(); \\ADDED BY ME headers = new LinkedHashMap(); } Then I repackaged the jar with my change and that solved the issue for me - No certificate validation by default (Only on Dev server). This way I don't have to change every piece of code that uses URLFetchService with https and more important the production env still makes sure the validation occurs. Note that this solution will fix only flows where the URLFetchService is used. I do hope a better fix is provided by the App Engine team soon. Thanx, Lior On Feb 14, 11:22 pm, frew f...@google.com wrote: Hey everybody, In order to help me diagnose the problems, could you respond with what JDK (Platform, JDK manufacturer (e.g. Sun, OpenJDK), and version) you're running? As a temporary stopgap, if you're using URLFetch service, you can use the doNotValidateCertificate() method in FetchOptions (http://code.google.com/appengine/docs/java/javadoc/com/ google/appengine/api/urlfetch/FetchOptions.html) to disable validation. -Fred On Feb 13, 5:02 am, harri mauria hmau...@googlemail.com wrote: I am having similar problems with the recently released version com.google.appengine.eclipse.sdkbundle.1.4.2_1.4.2.v201102111811 Problems happen with the development server, not in production. I am performing Facebook login credentials authentication in the callback url. Interrupt stack is below: HTTP ERROR 500 Problem accessing /loginfacebookcallback. Reason: Could not verify SSL certificate for:https://graph.facebook.com/oauth/access_token?omitted Caused by: javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate for:https://graph.facebook.com/oauth/access_token?omitted at com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc eption(URLFetchServiceImpl.java: 114) at com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService Impl.java: 41) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.fetchResponse(URLFetchServiceStreamHandler.java:418) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.getInputStream(URLFetchServiceStreamHandler.java:297) atwww.superpass.de.server.UrlFetcher.get(UrlFetcher.java:60) Following message is printed to the console: I/O exception (javax.net.ssl.SSLPeerUnverifiedException) caught when processing request: HTTPS hostname invalid: expected 'graph.facebook.com', received '*.facebook.com' Retrying request Regards, Harri On Feb 13, 11:27 am, Lior Harsat lior.har...@gmail.com wrote: I am having a similar problem with https: I have been testing the SDK and I found one bug which seems critical. When I call the URLFetchService.fetch API with a https URL I get a javax.net.ssl.SSLHandshakeException. for example when I fetch https://spreadsheets.google.com/feeds/ list/ I get javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate for:https://spreadsheets.google.com/feeds/list/... When I switch back to an older SDK this doesn't happen. Is there a Help us test Prerelease SDK 1.4.2 thread I can post this to? Can anyone confirm this bug reproduces? Thanx, Lior On Feb 12, 11:57 am, Peter Liu tinyee...@gmail.com wrote: We are using a custom remote delegate to route datastore rpc call to live production test site on appspot. We did this because sometimes we want to develop with live data. However after upgrading to 1.4.2, https outbound call starts failing (see below). If we change to http, then it works again. It seems like some class is marked as restricted in this release. Is it intentional? What's the reason behind not allowing outbound https call? Thanks
[appengine-java] Re: JSP compiling fails after upgrade from 1.3.8 to 1.4.0
Note that the previous post only applies to my local development environment. I just tried using the new version of the SDK on the production server, and it has no problems. -- 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: JDO update only happens if Entity is 'accessed' before makePersistent
Hi hari, Yes, calling account.isEnabled() before makePersistent() seems to be required for the update to happen, but I'm not sure how this relates to the issue of lazy-loading you mentioned. This is a detachable entity (pm.setDetachAllOnCommit(true) + annotation). Maybe that has something to do with it? - Chris On Sep 30, 4:56 am, Hariharan Anantharaman hariharan.ananthara...@gmail.com wrote: Strange. I remember reading that JDO does lazy loading. That means unless you access the same, the object data is not physically loaded. But isn't set enabled means accessing the object? ~hari On Sep 30, 2010 2:17 AM, Chris xop...@gmail.com wrote: Hello. I have a strange issue where I occasionally fail to update the Account object in this method. If I call the isEnabled() method (which returns true or false) before I call makePersistent, the update always happens. But if I don't 'access' the account object before makePersistent(), the update doesn't happen. I have no idea why this happens. public final boolean enableAccount(final String key) { PersistenceManager pm = PersistenceManagerFactoryUtils.getPersistenceManager(pmf, true); pm.setDetachAllOnCommit(true); final Query query = pm.newQuery(Account.class); query.setFilter(enableKey == enableKeyP); query.declareParameters(String enableKeyP); try { ListAccount results = (ListAccount) query.execute(key); if (results.iterator().hasNext()) { for (Account account : results) { if(!account.isEnabled()) { account.setEnabled(true); pm.makePersistent(account); pm.close(); } } } else { return false; } } catch (Exception e) { LOGGER.warn(enableAccount() problem, e); return false; } return true; } -- 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.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Execute CSS files as JSP
Hello, I need to dynamically generate CSS files and would like to do it with JSP. I know that there are various existing solutions to do this with servlets mapped to the .css extension and forwarding to JSPs to generate the content and that would technically work. However, I would like to maintain the css extension so that my IDE correctly loads the css editor with color coding and formatting. Ideally, I would like to map the css extension to the JSP servlet. I did this with the Google developer container in Eclipse (mapped .css - _ah_jsp servlet) and it worked fine. However, when I deployed the app to appengine, I got an error saying the _ah_jsp servlet did not exist. I expect this has to do with JSPs getting precompiled before the app is deployed to appengine. Is there anyway to get my CSS files to execute as JSPs or precompile as JSPs (while maintaining the css extension on my local filesystem for the IDE) for appengine? 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.
[appengine-java] JDO update only happens if Entity is 'accessed' before makePersistent
Hello. I have a strange issue where I occasionally fail to update the Account object in this method. If I call the isEnabled() method (which returns true or false) before I call makePersistent, the update always happens. But if I don't 'access' the account object before makePersistent(), the update doesn't happen. I have no idea why this happens. public final boolean enableAccount(final String key) { PersistenceManager pm = PersistenceManagerFactoryUtils.getPersistenceManager(pmf, true); pm.setDetachAllOnCommit(true); final Query query = pm.newQuery(Account.class); query.setFilter(enableKey == enableKeyP); query.declareParameters(String enableKeyP); try { ListAccount results = (ListAccount) query.execute(key); if (results.iterator().hasNext()) { for (Account account : results) { if(!account.isEnabled()) { account.setEnabled(true); pm.makePersistent(account); pm.close(); } } } else { return false; } } catch (Exception e) { LOGGER.warn(enableAccount() problem, e); return false; } return true; } -- 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: Urgent: Getting only Server Error (500) since ~12:30 am (September 28th)
Hello, Just wanted to let you know that we are aware of the problem and are working as fast as we can to address this issue that cropped up overnight. We think were close to getting it resolved, so we'll be sending periodic updates to let folks know where things stand. Thanks, -Chris On Sep 28, 8:52 am, andy stevko andy.ste...@gmail.com wrote: Ditto on the high error rate on my app too. app_id=ninuku-archivist Whats going on here?? On Tue, Sep 28, 2010 at 8:08 AM, mscwd01 mscw...@gmail.com wrote: I've been getting the second issue you mentioned for the last few days. Sometimes the error rate is above 50%. Don't expect to get any help from Google employees though, I've tried and got nowhere. It makes you wonder if they care any more. On Sep 28, 10:37 am, Lior Harsat lior.har...@gmail.com wrote: Hi , Our production server (application id = farmigo-csa) is experiencing an alarming error rate (close to 100%) for any request processed by App Engine. The log shows a couple of repeating messages: 1. A serious problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. If you see this message frequently, you should contact the App Engine team. 2. Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team. Our server is not under high load. Our customers are already reporting this issue. Please help as soon as possible. -- 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: Urgent: Getting only Server Error (500) since ~12:30 am (September 28th)
Yes Guillaume, We're looking into that, as well as some of the recent outages such as Farmigo (that seems to be back up now). We're still investigating these occasional request aborted issues though. -Chris On Sep 28, 11:06 am, Guillaume Laforge glafo...@gmail.com wrote: I'm seeing some messages like in my logs: Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team. Are these the issues we're discussing here? Guillaume On Tue, Sep 28, 2010 at 19:29, oth other...@gmail.com wrote: Thankyou Chris (Google Employee) for chiming in. It gives me a sense of relief just knowing that somebody is looking into it. On Sep 28, 12:52 pm, Chris (Google Employee) api.ch...@google.com wrote: Hello, Just wanted to let you know that we are aware of the problem and are working as fast as we can to address this issue that cropped up overnight. We think were close to getting it resolved, so we'll be sending periodic updates to let folks know where things stand. Thanks, -Chris On Sep 28, 8:52 am, andy stevko andy.ste...@gmail.com wrote: Ditto on the high error rate on my app too. app_id=ninuku-archivist Whats going on here?? On Tue, Sep 28, 2010 at 8:08 AM, mscwd01 mscw...@gmail.com wrote: I've been getting the second issue you mentioned for the last few days. Sometimes the error rate is above 50%. Don't expect to get any help from Google employees though, I've tried and got nowhere. It makes you wonder if they care any more. On Sep 28, 10:37 am, Lior Harsat lior.har...@gmail.com wrote: Hi , Our production server (application id = farmigo-csa) is experiencing an alarming error rate (close to 100%) for any request processed by App Engine. The log shows a couple of repeating messages: 1. A serious problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. If you see this message frequently, you should contact the App Engine team. 2. Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team. Our server is not under high load. Our customers are already reporting this issue. Please help as soon as possible. -- 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.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.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Guillaume Laforge Groovy Project Manager Head of Groovy Development at SpringSourcehttp://www.springsource.com/g2one -- 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: JSF2 f:ajax does not work for me... Any Ideas Why?
Hi Daniel, For a possible workaround, have you tried manually coding the JavaScript for the Ajax request call? For example, instead of: h:commandButton f:ajax render=foo/ /h:commandButton ... manually coding the JavaScript for the Ajax request call would be: h:commandButton onclick=jsf.ajax.request(this,event, {render:'foo'});return false;/ This was taken from: http://andyschwartz.wordpress.com/2009/07/31/whats-new-in-jsf-2/#ajax-declarative Also, is this the only JSF2 tag that you've encountered that does't appear to be working in App Engine? -Chris On Sep 24, 8:31 am, Daniel vedm...@gmail.com wrote: I tried also mojarra-2.0.3-FCS-binary.zip but without any luck also.. no ajax for me :/ On Sep 23, 9:22 pm, Daniel vedm...@gmail.com wrote: Hi this does not help... same behavior... i got my jsf jars from here :http://javadocs.wordpress.com/2009/10/17/mojarra-jsf-2-0-rc2-and-goog... and followed the setting of web.xml from herehttps://sites.google.com/a/wildstartech.com/adventures-in-java/Java-P... maybe you used different sources? if you do please let me know, also maybe you can post your web.xml ? might be i missed something... any other ideas are welcomed. Thanks ahead Daniel On Sep 23, 3:24 pm, Jaziel Leandro jaziel...@gmail.com wrote: I have the same error few times ago. Try this, make you Bean implements Serializable. 2010/9/23 Daniel vedm...@gmail.com I'm want to use the f:ajax tag of the JSF 2 on app engine... but without any luck I tried some very simple examples taken from http://mkblog.exadel.com/2010/04/learning-jsf-2-ajax-in-jsf-using-faj... all of them works perfectly on local Tomcat (not GAE) But when i try the same on GAE, nothing works, im not getting any errors.. its just do nothing... Here the simplest example On each char type I'm supposed to sea the same char typed beneath and beneath it a counter of chars (text length) - again.. this works perfectly on tomcat server... (not GAE) Any ideas what am i missing? h:form h:panelGrid h:inputText value=#{bean.text} f:ajax event=keyup render=text count listener=#{bean.countListener}/ /h:inputText h:outputText id=text value=#{bean.text} / h:outputText id=count value=#{bean.count} / /h:panelGrid /h:form java code: package general; import javax.faces.bean.ManagedBean; import javax.faces.event.AjaxBehaviorEvent; @ManagedBean(name = bean) public class Bean { private String text; // getter and setter private Integer count; public void countListener(AjaxBehaviorEvent event) { count = text.length(); } public String getText() { return text; } public void setText(String text) { this.text = text; } public Integer getCount() { return count; } public void setCount(Integer count) { this.count = count; } } Thanks ahead. Daniel -- 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: Need help choosing a frontend framework for a GAEj app, GWT seems like overkill
Hi Mike, I think the reason we don't explicitly publish a list of frontend frameworks that play well with App Engine is because there really is no technical barrier between front end frameworks that work in the browser such as JQuery, etc and the backend (App Engine). Many App Engine users make full use of a myriad of front end technologies/ frameworks for UI creation ranging from HTML5/JS/CSS to flash etc. JQuery is especially popular for a variety of Web app usages, so if that works for you, I'd definitely continue trying it out. Hope this helps, -Chris On Sep 9, 10:43 am, tempy fay...@gmail.com wrote: Hello all, A little background... I'm mostly new to web frontend development, I come from a mostly backend and desktop background. I have a GAEj app that provides the backend for a rather sophisticated desktop/mobile app. This backend will also drive a website in addition to the desktop/mobile app. The website will show a small subset of the data in the system. I started with GWT, but it doesn't seem to be quite right. The website is for presentation of a small subset of the system's data only, and users do not interact with the data in any way other than searching for it. As the data is mostly unstructured text and some images, I feel most comfortable formatting it with plain old html/css. In fact, the layout of the site will be minimal and look a lot like a blog. As such, the website should certainly not feel like a single-page web application a la gmail. With GWT, I have little use for widgets and find myself constantly fighting with it to get a non-application look- and-feel. The only functionality that I thus really need from GWT is the RPC component, the page should be AJAX, I don't want to do round trips to the server for every navigation event. So, I'm not quite sure which framework to use with the GAEj backend. At first GWT seemed like a natural fit, but now seems like overkill. I'm doing some research on jquery, but I haven't seen a list of frontend frameworks that play well on GAEj anywhere. Thanks for any advice, Mike -- 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: Does JSF Session Bean are supported ?
Hi Hadrien, You should definitely make sure you've turned on session support in your app: ?xml version=1.0 encoding=utf-8? appengine-web-app xmlns=http://appengine.google.com/ns/1.0; application/application version1/version sessions-enabledtrue/sessions-enabled !-- Configure java.util.logging -- system-properties property name=java.util.logging.config.file value=WEB-INF/ logging.properties/ /system-properties /appengine-web-app In general you can see how JSF is supported in GAE by checking this page: https://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine?pli=1 There's also this page as well focuses purely on JSF and GAE. https://sites.google.com/a/wildstartech.com/adventures-in-java/Java-Platform-Enterprise-Edition/JavaServer-Faces/sun-javaserver-faces-reference-implementation/configuring-jsf-20-to-run-on-the-google-appengine Hope this helps, -Chris On Sep 2, 2:00 pm, hadf hadrien.for...@gmail.com wrote: I'm a newbie in JSF and AppEngine technology. I've created a simple form which redirect to a summary page that displays the form data. The trouble is that form data is lost during redirect as if session beans were not supported. So I would like to know how to deal with session data. Here is my JSF config : managed-bean managed-bean-nameuser/managed-bean-name managed-bean-classfr.hadf.test.login.User/managed-bean-class managed-bean-scopesession/managed-bean-scope /managed-bean And my AppEngine config : sessions-enabledtrue/sessions-enabled -- 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: Applets in GAE
Applets should be fine as long as the applet jar file(s) are not too big. (10M) If they are bigger, you'll need to upload and deploy your app via the command line appcfg with option --enable_jar_splitting specified. For networking you should be able to send REST request from your applet to your server using standard Java networking. You could create a test servlet on the server to listen for your applet. Hope this helps, -Chris On Sep 2, 1:43 pm, GuruK guruko...@gmail.com wrote: Does anyone have a good tutorial on how to use applets in gae? Also, would it be possible to use the applet to send stuff to the datastore? 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.
[appengine-java] Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.
Hi, I've got a strange problem with (I believe) my servlet mapping. I'm trying to map all requests for /mountain/* to a JSP file called mountain.jsp. It works fine when I run it on my localhost, but when I upload the project to AppEngine, I get errors like the following: /mountain/5429370/index.html/index.html/index.html/index.html/ index.html/index.html/index.html/index.html/...etc The /index.html is repeated over and over until Chrome gives me the following error: Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects. Chrome suggests clearing the cookies for the site, but I there are no cookies to clear. Here is my web.xml: ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-namemountain/servlet-name jsp-filemountain.jsp/jsp-file /servlet servlet-mapping servlet-namemountain/servlet-name url-pattern/mountain/*/url-pattern /servlet-mapping !-- Default page to serve -- welcome-file-list welcome-filePeakPeekSite.html/welcome-file /welcome-file-list /web-app Has anyone seen this problem or understand what is going on? Thanks much, Chris -- 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 deploying GWT application on google app engine.
Hi Reena, It looks like you have a problem with your web.xml file. I believe I had a similar issue where I can run locally, even with a slightly invalid web.xml file. You might want to doublecheck that your war/WEB-INF/web.xml file is syntactically correct. If you're curious what a clean one looks like, you can always just create a new project using the Eclipse plugin, and generate a new app with both GWT and GAE checkboxes checked. You could then compare and contrast between the two. Hope that helps, -Chris (Google) On Jan 7, 1:49 am, reena libranre...@gmail.com wrote: Hi all, I have simply created a new GWT project (standard StockWatcher application) and trying to deploy it on google app server. But I am getting an error while deploying it. Error says -An internal error occurred during: Deploying StockWatcher to Google.Received IOException parsing the input stream for C:/Documents and Settings/ smartGWT/StockWatcher/war\WEB-INF/web.xml I am able to compile it and run it locally.But getting error while deploying it on google app server. Can you please help me here. -- 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: Web based application in java.
Hi Yadav, I would recommend stepping through the Getting Started tutorial on the main docs pages for App Engine. In addition to providing some basic getting started info, you get to build a simple guestbook application that updates and queries data from the Datastore. http://code.google.com/appengine/docs/java/gettingstarted/introduction.html Hope this helps, -Chris On Jan 5, 1:22 am, yadav au.su...@gmail.com wrote: Hi.. I am trying to develop a small application in java on google apps.it is mainly depends on data base.my question is how to create entities and how to retrieve the data from 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: One To Many. JDO. Error while save data.
Here's some ideas to try... I see that you have a if statement in your JSP.. if(request.getContentLength() 0) { ... Are you sure this condition is true in your case? Otherwise the JSP will never attempt to save the object. If that's not it, you could always create a new JSP and just drop the exact servlet code into the page via a scriptlet and work backwards from there. Hope this helps.. -Chris (Google) On Jan 3, 2:50 am, webus webus...@gmail.com wrote: Hi to all! I have problem. I have JDO objects: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class MenuButton { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long uid; @Persistent private String name; @Persistent(mappedBy=menuButton) private ListTopic topicSets; @Persistent private boolean isEnabled; @Persistent private String toURL; public Long getUid() { return uid; } public void setUid(Long uid) { this.uid = uid; } public String getName() { return name; } public void setName(String name) { this.name = name; } public ListTopic getTopicSets() { return topicSets; } public void setTopicSets(ListTopic topicSets) { this.topicSets = topicSets; } public boolean isEnabled() { return isEnabled; } public void setEnabled(boolean isEnabled) { this.isEnabled = isEnabled; } public String getToURL() { return toURL; } public void setToURL(String toURL) { this.toURL = toURL; } } @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Topic { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key uid; @Persistent private MenuButton menuButton; @Persistent private String topicTheme; @Persistent private Text topicText; public Key getUid() { return uid; } public void setUid(Key uid) { this.uid = uid; } public MenuButton getMenuButton() { return menuButton; } public void setMenuButton(MenuButton menuButton) { this.menuButton = menuButton; } public String getTopicTheme() { return topicTheme; } public void setTopicTheme(String topicTheme) { this.topicTheme = topicTheme; } public Text getTopicText() { return topicText; } public void setTopicText(Text topicText) { this.topicText = topicText; } } I have Manager class to help me save or update data. public class Manager { PersistenceManager pm = null; public Manager() { pm = PMF.get().getPersistenceManager(); } public PersistenceManager getPersistenceManager(){ return pm; } public boolean Save(Object obj) { Transaction tx = null; try { tx = pm.currentTransaction(); tx.begin(); pm.makePersistent(obj); tx.commit(); System.out.println(õÓÐÅÛÎÏ ÓÏÈÒÁÎÉÌÉ ÔÒÁÎÚÁËÃÉÀ!); return true; } catch(Exception ex) { System.out.println(ex.getMessage()); System.out.println(ex.getLocalizedMessage()); if(tx.isActive()) tx.rollback(); System.out.println(ïÔËÁÔÉÌÉ ÔÒÁÎÚÁËÃÉÀ ÐÏ ÉÓËÌÀÞÅÎÉÀ); return false; } } public boolean Delete(Object obj){ Transaction tx = null; try { tx = pm.currentTransaction(); tx.begin(); pm.deletePersistent(obj); tx.commit(); return true; } catch(Exception ex){ System.out.println(ex.getMessage()); return false; } finally { if(tx.isActive()) tx.rollback(); } } public Object getObjects(Object obj) { Query query = pm.newQuery(obj.getClass()); Object reObj = query.execute(); return
[appengine-java] Re: Session problem
Is the object you're trying to save onto the session serializable? Does it implement serializable? (although just making the class implement serializable will not always work) I believe that you can have a class bypass validation for this when running locally - so you may not be seeing the serialization error because of this. In any case, I would definitely make sure you can actually serialize the object that you're saving. -Chris On Jan 5, 7:41 am, avdhesh avdhesh.ya...@gmail.com wrote: I got following exception wehn i deploy a application to google apps engineEverything works fine with EclipsePlugin...May be EclipsePlugin not able to catch this.. I filed a Bug report... http://code.google.com/p/googleappengine/issues/detail?id=2606 java.lang.RuntimeException: java.io.NotSerializableException: com.google.apphosting.utils.jetty.AppEngineWebAppContext $AppEngineServletContext at com.google.apphosting.runtime.jetty.SessionManager.serialize (SessionManager.java:361) at com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession (SessionManager.java:341) at com.google.apphosting.runtime.jetty.SessionManager $AppEngineSession.save(SessionManager.java:162) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter (SaveSessionFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter (TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle (SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle (SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle (ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle (AppVersionHandlerMap.java:238) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 506) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete (HttpConnection.java:830) at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable (RpcRequestParser.java:76) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques t (JettyServletEngineAdapter.java:135) at com.google.apphosting.runtime.JavaRuntime.handleRequest (JavaRuntime.java:235) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:5235) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:5233) at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest (BlockingApplicationHandler.java:24) at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: 363) at com.google.net.rpc.impl.Server$2.run(Server.java:838) at com.google.tracing.LocalTraceSpanRunnable.run (LocalTraceSpanRunnable.java:56) at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan (LocalTraceSpanBuilder.java:536) at com.google.net.rpc.impl.Server.startRpc(Server.java:793) at com.google.net.rpc.impl.Server.processRequest(Server.java:368) at com.google.net.rpc.impl.ServerConnection.messageReceived (ServerConnection.java:448) at com.google.net.rpc.impl.RpcConnection.parseMessages (RpcConnection.java:319) at com.google.net.rpc.impl.RpcConnection.dataReceived (RpcConnection.java:290) at com.google.net.async.Connection.handleReadEvent(Connection.java: 466) at com.google.net.async.EventDispatcher.processNetworkEvents (EventDispatcher.java:759) at com.google.net.async.EventDispatcher.internalLoop (EventDispatcher.java:205) at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: 101) at com.google.net.rpc.RpcService.runUntilServerShutdown (RpcService.java:251) at com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run (JavaRuntime.java:394) at java.lang.Thread.run(Unknown Source) -- 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
[appengine-java] Creating an app with Fusion tables an Visualization
Hi App Engine community I am wanting to get some advice on an app I am looking to create. Basically the app is going to show analytics (google visualizations) to an authenticated user. These are the components that I am looking to employ. -send structured data from an external source into a google fusion table. -based on the user that logs in, query the data and display visualizations to them. Would fusion tables, GWT, GAE, Visualizations be the best components to use and are there any good code examples out there? I have stepped through a few other examples Stockwatcher example, gdata example, message board example, so have a basic grasp of the technologies Any thoughts? -- 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] Class Cast Exception: can't figure out what's wrong.
Hi All, I was trying to play around with the blobstore API and am getting the following exception from the java api: java.lang.ClassCastException: com.google.apphosting.api.ApiProxy $FeatureNotEnabledException cannot be cast to javax.servlet.ServletException I would assume that there is more information which the exception would give me about what's wrong, but it seems to be masked by the ClassCastException. Anyone seen this before and may be able to point me in the right direction as to what may be wrong? Thanks, -Chris -- 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] Class Cast Exception: can't figure out what's wrong.
Looks like it was a temp error from not having billing set up. Not a very good error for figuring that out, though... - chris On Dec 22, 2009 12:24 PM, Chris ccmy...@gmail.com wrote: Hi All, I was trying to play around with the blobstore API and am getting the following exception from the java api: java.lang.ClassCastException: com.google.apphosting.api.ApiProxy $FeatureNotEnabledException cannot be cast to javax.servlet.ServletException I would assume that there is more information which the exception would give me about what's wrong, but it seems to be masked by the ClassCastException. Anyone seen this before and may be able to point me in the right direction as to what may be wrong? Thanks, -Chris -- 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] 5000 row query
Hi, I'm trying to return 5000 rows by using 5 sets of 1000. However the CPU utlization is really high. I need to get the full 5000 to work out a calculation based on the data. This prevents me from performing any paging operations. I don't need to display all the data at once but simply getting the rows is causing some issues. I don't want the high cpu utilization to cause the requests to timeout. Does anyone know of anything i could try? Regards Chris -- 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] I have deleted all indexes but can not add any new ones?
Hi, I have removed all indexes for an app but now when I come to add a new one it says I am over ym quota. What can I do to resolve this? 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] Simplest web framework + ORM for GAE/J?
What's the simplest web framework + ORM combination that works well on GAE/J? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---