[appengine-java] Can an Integer be a primary key for JDO?
I was just wondering whether I could use an Integer for a primary key in JDO, as it would be a great convenience in my application. I couldn't really find an answer to this in the documentation, so I ask you. Can I? -- 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 analogue of GQL
DatastoreService ds = DatastoreServiceFactory.getDatastoreService(); Query query = new Query(Table1); query.addFilter(cid, Query.FilterOperator.EQUAL, l); // was not very clear documented how dates are saved in DB // query.addFilter(ctime, Query.FilterOperator.GREATER_THAN_OR_EQUAL, DATE(2009, 12, 1)); // query.addFilter(ctime, Query.FilterOperator.GREATER_THAN_OR_EQUAL, new Date(2009, 12, 1)); query.addFilter(ctime, Query.FilterOperator.GREATER_THAN_OR_EQUAL, new Date(2009, 12, 1).getTime()); query.addSort(ctime); query.setKeysOnly(); FetchOptions options = FetchOptions.Builder.withLimit(1000); PreparedQuery p1 = ds.prepare(query); Iterable it = p1.asIterable(options); I hope it will help someone. On Jan 16, 12:53 pm, Max max.seven@gmail.com wrote: Hi, I can't write JDO query but I can make that query in GQL SELECT __key__ FROM Table1 WHERE cid = and ctime = DATE ('2009-12-1') ORDER BY ctime LIMIT 1000 -- Query query = pm.newQuery(SELECT FROM + Table1.class.getName() + WHERE cid == cid1 ctime = ctime1 + parameters Long cid1, java.util.Date ctime1 + order by ctime + RANGE 0, 10 ); List ids = (List) query.execute(l, new Date(2009, 12, 1)); JDO return nothing and error when I try something like Query query = pm.newQuery(SELECT key FROM + Table1.class.getName () + WHERE cid == cid1 ctime = ctime1 + parameters Long cid1, java.util.Date ctime1 + order by ctime + RANGE 0, 10 ); List ids = (List) query.execute(l, new Date(2009, 12, 1)); or Query query = pm.newQuery(SELECT __key__ FROM + Table1.class.getName() + WHERE cid == cid1 ctime = ctime1 + parameters Long cid1, java.util.Date ctime1 + order by ctime + RANGE 0, 10 ); List ids = (List) query.execute(l, new Date(2009, 12, 1)); Primary Key is key Cheers, 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.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: JDO analogue of GQL
I just seen that my last code is working! Only first filder is working. query.addFilter(cid, Query.FilterOperator.EQUAL, l); Second filter is ignored. query.addFilter(ctime, Query.FilterOperator.GREATER_THAN_OR_EQUAL, new Date(2009, 12, 1).getTime()); How should I specify dates ? On Jan 16, 2:13 pm, Max max.seven@gmail.com wrote: DatastoreService ds = DatastoreServiceFactory.getDatastoreService(); Query query = new Query(Table1); query.addFilter(cid, Query.FilterOperator.EQUAL, l); // was not very clear documented how dates are saved in DB // query.addFilter(ctime, Query.FilterOperator.GREATER_THAN_OR_EQUAL, DATE(2009, 12, 1)); // query.addFilter(ctime, Query.FilterOperator.GREATER_THAN_OR_EQUAL, new Date(2009, 12, 1)); query.addFilter(ctime, Query.FilterOperator.GREATER_THAN_OR_EQUAL, new Date(2009, 12, 1).getTime()); query.addSort(ctime); query.setKeysOnly(); FetchOptions options = FetchOptions.Builder.withLimit(1000); PreparedQuery p1 = ds.prepare(query); Iterable it = p1.asIterable(options); I hope it will help someone. On Jan 16, 12:53 pm, Max max.seven@gmail.com wrote: Hi, I can't write JDO query but I can make that query in GQL SELECT __key__ FROM Table1 WHERE cid = and ctime = DATE ('2009-12-1') ORDER BY ctime LIMIT 1000 -- Query query = pm.newQuery(SELECT FROM + Table1.class.getName() + WHERE cid == cid1 ctime = ctime1 + parameters Long cid1, java.util.Date ctime1 + order by ctime + RANGE 0, 10 ); List ids = (List) query.execute(l, new Date(2009, 12, 1)); JDO return nothing and error when I try something like Query query = pm.newQuery(SELECT key FROM + Table1.class.getName () + WHERE cid == cid1 ctime = ctime1 + parameters Long cid1, java.util.Date ctime1 + order by ctime + RANGE 0, 10 ); List ids = (List) query.execute(l, new Date(2009, 12, 1)); or Query query = pm.newQuery(SELECT __key__ FROM + Table1.class.getName() + WHERE cid == cid1 ctime = ctime1 + parameters Long cid1, java.util.Date ctime1 + order by ctime + RANGE 0, 10 ); List ids = (List) query.execute(l, new Date(2009, 12, 1)); Primary Key is key Cheers, 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.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: JDO analogue of GQL
I found what was wrong. It is a really good reason never to use deprecated API anymore. 2009-12-1 is new Date(109, 11, 1); But not new Date(2009,12,1) or new Date(9,12,1) or new Date(109,12,1) On Jan 16, 2:17 pm, Max max.seven@gmail.com wrote: I just seen that my last code is working! Only first filder is working. query.addFilter(cid, Query.FilterOperator.EQUAL, l); Second filter is ignored. query.addFilter(ctime, Query.FilterOperator.GREATER_THAN_OR_EQUAL, new Date(2009, 12, 1).getTime()); How should I specify dates ? On Jan 16, 2:13 pm, Max max.seven@gmail.com wrote: DatastoreService ds = DatastoreServiceFactory.getDatastoreService(); Query query = new Query(Table1); query.addFilter(cid, Query.FilterOperator.EQUAL, l); // was not very clear documented how dates are saved in DB // query.addFilter(ctime, Query.FilterOperator.GREATER_THAN_OR_EQUAL, DATE(2009, 12, 1)); // query.addFilter(ctime, Query.FilterOperator.GREATER_THAN_OR_EQUAL, new Date(2009, 12, 1)); query.addFilter(ctime, Query.FilterOperator.GREATER_THAN_OR_EQUAL, new Date(2009, 12, 1).getTime()); query.addSort(ctime); query.setKeysOnly(); FetchOptions options = FetchOptions.Builder.withLimit(1000); PreparedQuery p1 = ds.prepare(query); Iterable it = p1.asIterable(options); I hope it will help someone. On Jan 16, 12:53 pm, Max max.seven@gmail.com wrote: Hi, I can't write JDO query but I can make that query in GQL SELECT __key__ FROM Table1 WHERE cid = and ctime = DATE ('2009-12-1') ORDER BY ctime LIMIT 1000 -- Query query = pm.newQuery(SELECT FROM + Table1.class.getName() + WHERE cid == cid1 ctime = ctime1 + parameters Long cid1, java.util.Date ctime1 + order by ctime + RANGE 0, 10 ); List ids = (List) query.execute(l, new Date(2009, 12, 1)); JDO return nothing and error when I try something like Query query = pm.newQuery(SELECT key FROM + Table1.class.getName () + WHERE cid == cid1 ctime = ctime1 + parameters Long cid1, java.util.Date ctime1 + order by ctime + RANGE 0, 10 ); List ids = (List) query.execute(l, new Date(2009, 12, 1)); or Query query = pm.newQuery(SELECT __key__ FROM + Table1.class.getName() + WHERE cid == cid1 ctime = ctime1 + parameters Long cid1, java.util.Date ctime1 + order by ctime + RANGE 0, 10 ); List ids = (List) query.execute(l, new Date(2009, 12, 1)); Primary Key is key Cheers, 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.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
- What is your application ID? wcondominios - 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. I just see incredibly long response times. This, for instance: # 01-16 04:29AM 02.107 / 302 4752ms 6718cpu_ms 126api_cpu_ms 0kb Mozilla/ 5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0,gzip(gfe) See details While the usual, once the app is warm is more like this: # 01-16 04:30AM 20.341 / 302 183ms 191cpu_ms 95api_cpu_ms 0kb Mozilla/ 5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0,gzip(gfe) See details - How much time of inactivity does it take before your application is cycled out? Very random, from a few seconds to a few hours. - What time or days does this seem to happen? Random - What frameworks or libraries are you loading? None. Plain JSPs and Servlets Hope this helps. This is one of the major concerns i have after having adopted GAE to host this app. I see this as an issue in the current preview GAE and I am confident it will be solved some time soon. Thanks, Jorge Gonzalez On Jan 15, 5: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] String as Primary key in JDO
I am using String as primary key in JDO. But it is case sensitive. It considers name and NAME as different. Can I make it case sensitive? -- Regards Sahil Mahajan -- 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] Using a Key in a query filter
Hi, I'm trying to use a Key inside a query filter. I am using this to enforce uniqueness on a field (GAE does not support unique constraint) . In my query I try to fetch from ser a user with same name as the entered one, but with different key (if I get no result - user name is not taken). This approach works like wonders in the development environment, but crashes and burns in the deployed environment. I get an exception: Nested in org.springframework.web.util.NestedServletException: Request processing failed; nested exception is javax.jdo.JDOFatalUserException: Illegal argument NestedThrowables: java.lang.IllegalArgumentException: __key__ filter value must be a Key: javax.jdo.JDOFatalUserException: Illegal argument at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException (NucleusJDOHelper.java:344) at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:275)... again - this works in development environment. any suggestions? -- 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] RESTfull - JAX-RS and GAE/J
Hi there, Has anyone seen any examples on using only JAX-RS on GAE. Implementing the javax.ws.rs.core.Application and A resource Class etc? Thanks in advance Regards ChrisDane -- 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] App Engine cold starts and overly aggressive cycling
Should my application be cycling even if it receives steady traffic? I average about 1 hit per second, yet my app seems to bootstrap several times every hour at an erratic rate. Appid is mobca-st. Look in the logs for ConfigurationBootstrap at level Info. This is the Resteasy bootstrap. The cycling seems to happen all the time with no obvious reason. The only heavy framework (ie, that does classpath scanning) is Resteasy. It doesn't even use JDO/JPA. Startup time is usually 10-15s. Jeff On Fri, Jan 15, 2010 at 3: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. -- 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] RESTfull - JAX-RS and GAE/J
JBoss Resteasy works fine without any special customization for GAE. I use it extensively. http://www.jboss.org/resteasy Jeff On Sat, Jan 16, 2010 at 1:09 PM, ChrisDane gregersen@gmail.com wrote: Hi there, Has anyone seen any examples on using only JAX-RS on GAE. Implementing the javax.ws.rs.core.Application and A resource Class etc? Thanks in advance Regards ChrisDane -- 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] Re: Using GWT RPC for Browser client on GAE - and RESTful to access data from Android/iPhone
I mentioned Resteasy in your other thread, but you might also want to consider Hessian. I recently patched the Caucho impl and now both client server work on GAE (we use Hessian for server-server RPC, and JAX-RS to the phones). If you're creating internal protocols, Hessian is way easier than creating REST services. Much more like the GWT-RPC experience. I'd love to switch the phone protocol over too. The only problem is that all the existing Hessian client libraries are synchronous, which isn't very useful on a phone. If your ObjectiveC team is strong, maybe we could start an opensource project to create an asynchronous version of HessianKit? Jeff On Sat, Jan 16, 2010 at 1:23 PM, ChrisDane gregersen@gmail.com wrote: Thanks Jason, Restlet seems to the choice for most. Have you seen any simple example using just JAX-RS? Thanks Regards ChrisDane On Jan 12, 10:01 pm, Jason (Google) apija...@google.com wrote: Hi ChrisDane. Certainly, there's nothing stopping you from deploying a RemoteServiceServlet and HttpServlet to the same application if I'm understanding you correctly. You can define a wide range of servlets to handle incoming HTTP requests from your mobile app and wire them to the appropriate URLs manually using web.xml. You can also use a framework for this purpose. I believe other developers have had success with Restlet -- links available inhttp://groups.google.com/group/google-appengine-java/web/will-it-play... . - Jason On Mon, Jan 11, 2010 at 5:30 PM, ChrisDane gregersen@gmail.com wrote: Hi there, Having a browser client and a phone client(running native app) on the same data: Having GWT RPC returning Ajax data from GAE seems like the perfect match for a browser client - but I would not use GWT RPS from the iPhone or Android? So, would it be good coding having both a RemoteServiceServlet and a HttpServlet running in the same App spot. HttpServlet serving the Phones and RemoteServiceServlet serving GWT RPC? Then how to use RESTful on the HttpServlet? Any directions/links or samples? Thanks in advance Regards ChrisDane -- 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. -- 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: RESTfull - JAX-RS and GAE/J
Thanks Jeff, Thanks, I am just trying to set it up: 1) Downloaded the latest(1.2.1.GA) 2) In Eclipse created a new GAE Project 3) I have been looking in the book RESTful Java with JAX-RS, 1st Edition - found the sample code for oreilly-workbook/ex03_1 4) Copied the ( Customer.java CustomerResource.java ShoppingApplication.java ) classes to my new GAE project. 5) Added to Class Path: serverlet-api-2.5.jar webserver-1.3.3.jar jsr311-api-1.1.jar 6) Changed the web.xml serverlet to : web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 display-nameArchetype Created Web Application/display-name servlet servlet-nameResteasy/servlet-name servlet- classorg.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher/ servlet-class init-param param-namejavax.ws.rs.Application/param-name param- valuecom.restfully.shop.services.ShoppingApplication/param-value /init-param /servlet servlet-mapping servlet-nameResteasy/servlet-name url-pattern/*/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.html/welcome-file /welcome-file-list /web-app 7) And I am getting an Error: .. com.google.apphosting.utils.jetty.JettyLogger warn WARNING: EXCEPTION java.lang.ClassNotFoundException: org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher . Can you point out anything in my steps that I am doing wrong? Lastly, would I loos anything if I figured out to implement my own javax.ws.rs.Application? Thanks again Regards ChrisDane On Jan 16, 10:23 pm, Jeff Schnitzer j...@infohazard.org wrote: JBoss Resteasy works fine without any special customization for GAE. I use it extensively. http://www.jboss.org/resteasy Jeff On Sat, Jan 16, 2010 at 1:09 PM, ChrisDane gregersen@gmail.com wrote: Hi there, Has anyone seen any examples on using only JAX-RS on GAE. Implementing the javax.ws.rs.core.Application and A resource Class etc? Thanks in advance Regards ChrisDane -- 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: Using GWT RPC for Browser client on GAE - and RESTful to access data from Android/iPhone
Thanks for introducing me to Hessian - I just looked at the HessianKit: http://hessian.caucho.com Though I would love to do an opensource project, I am the only one working on the iPhone. And I am running short on time :-) I will let you know if I turn to an async Hessian. Sorry, my java is not that strong - but it sounds like you did JAX-RS for the phones on GAE/J is that correct? If so, do you loos anything, like cashing or anything implementing the javax.ws.rs.Application class? /Chris On Jan 16, 10:43 pm, Jeff Schnitzer j...@infohazard.org wrote: I mentioned Resteasy in your other thread, but you might also want to consider Hessian. I recently patched the Caucho impl and now both client server work on GAE (we use Hessian for server-server RPC, and JAX-RS to the phones). If you're creating internal protocols, Hessian is way easier than creating REST services. Much more like the GWT-RPC experience. I'd love to switch the phone protocol over too. The only problem is that all the existing Hessian client libraries are synchronous, which isn't very useful on a phone. If your ObjectiveC team is strong, maybe we could start an opensource project to create an asynchronous version of HessianKit? Jeff On Sat, Jan 16, 2010 at 1:23 PM, ChrisDane gregersen@gmail.com wrote: Thanks Jason, Restlet seems to the choice for most. Have you seen any simple example using just JAX-RS? Thanks Regards ChrisDane On Jan 12, 10:01 pm, Jason (Google) apija...@google.com wrote: Hi ChrisDane. Certainly, there's nothing stopping you from deploying a RemoteServiceServlet and HttpServlet to the same application if I'm understanding you correctly. You can define a wide range of servlets to handle incoming HTTP requests from your mobile app and wire them to the appropriate URLs manually using web.xml. You can also use a framework for this purpose. I believe other developers have had success with Restlet -- links available inhttp://groups.google.com/group/google-appengine-java/web/will-it-play... . - Jason On Mon, Jan 11, 2010 at 5:30 PM, ChrisDane gregersen@gmail.com wrote: Hi there, Having a browser client and a phone client(running native app) on the same data: Having GWT RPC returning Ajax data from GAE seems like the perfect match for a browser client - but I would not use GWT RPS from the iPhone or Android? So, would it be good coding having both a RemoteServiceServlet and a HttpServlet running in the same App spot. HttpServlet serving the Phones and RemoteServiceServlet serving GWT RPC? Then how to use RESTful on the HttpServlet? Any directions/links or samples? Thanks in advance Regards ChrisDane -- 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 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: String as Primary key in JDO
Just String#toLowerCase() the key when you store them On Jan 17, 1:11 am, sahil mahajan sahilm2...@gmail.com wrote: I am using String as primary key in JDO. But it is case sensitive. It considers name and NAME as different. Can I make it case sensitive? -- Regards Sahil Mahajan -- 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: Cannot have a java.lang.Long primary key and be a child object
You cannot create a data model in JDO-GAE that is agnostic of its environment. Twig allows your domains classes to use any key type you want or even none at all. class Parent { String name; @Entity(relation=child) Child child; } class Child { String name; } This will be correctly stored without any extra configuration http://code.google.com/p/twig-persist/ Its an option if your time is worth more than the small degree of portability you gain using a standard. On Jan 15, 9:24 pm, Carl Ballantyne carlballant...@gmail.com wrote: Hi All, I have two classes, a Parent and a Child. (See below for code) The Parent class contains a reference to a Child instance. However when I try and save a Parent instance I get the following error: Cannot have a java.lang.Long primary key and be a child object. The error is clear enough and upon searching around I have found the solution is to convert the primary key of my Child class to Key. However this just does not sit well with me that I have to modify my domain classes with proprietary google classes to suit the datastore. Is there no other way to do this without resorting to custom APIs at the domain level? Or is this a limitation of JDO and I need to do a bit more research? Cheers, Carl. @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Parent { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent private String name; @Persistent private Child child; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Child getChild() { return child; } public void setChild(Child child) { this.child = child; } } @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Child { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent private String name; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } } -- 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 as Primary key in JDO
Isn't there any other way. I want to avoid toLowerCase(). I want String to be case insensitive for database, but while displaying String to user I would like it to conserve case.. I can compare strings through equalsIgnoreCase. But then I won't be able to make effective use of primary key. On Jan 17, 11:34 am, jd jdpatter...@gmail.com wrote: Just String#toLowerCase() the key when you store them On Jan 17, 1:11 am, sahil mahajan sahilm2...@gmail.com wrote: I am using String as primary key in JDO. But it is case sensitive. It considers name and NAME as different. Can I make it case sensitive? -- Regards Sahil Mahajan -- 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: String as Primary key in JDO
Queries must go with indexes ( http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html) For the column, you can store it as lowercase/uppercase, For the display column, you can store the original value. On Sun, Jan 17, 2010 at 2:15 PM, Sahil Mahajan sahilm2...@gmail.com wrote: Isn't there any other way. I want to avoid toLowerCase(). I want String to be case insensitive for database, but while displaying String to user I would like it to conserve case.. I can compare strings through equalsIgnoreCase. But then I won't be able to make effective use of primary key. On Jan 17, 11:34 am, jd jdpatter...@gmail.com wrote: Just String#toLowerCase() the key when you store them On Jan 17, 1:11 am, sahil mahajan sahilm2...@gmail.com wrote: I am using String as primary key in JDO. But it is case sensitive. It considers name and NAME as different. Can I make it case sensitive? -- Regards Sahil Mahajan -- 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.
Re: [appengine-java] Re: Class XXX has multiple relationship fields of type YYYY
One more thing- I get this error the first time I hit this code after idling or starting up, but subsequent runs work ok. Dan On Sat, Jan 16, 2010 at 2:51 AM, Daniel Benamy dben...@gmail.com wrote: I think I'm hitting this check since updating to 1.2.8. I've got something like: class A { B bVar; ListB bList; } Should I be getting this error? I haven't noticed a problem with my app using this setup. Thanks! Dan On Dec 5 2009, 12:52 am, Max Ross (Google) maxr +appeng...@google.com wrote: SDK 1.2.8 contains a new check that detects if one of your JDO or JPA model objects has two relationship fields of the same type. For example: class A { ListB bList; ListB anotherBList; } Unfortunately I was a little too aggressive with this check, so the following also run afoul of the check: abstract class B {} class C extends B {} class D extends B {} class A { ListC cList: ListD dList; } If you get an exception that says Class XXX has multiple relationship fields of type . This is not yet supported. and your class hierarchy resembles the one above, you can disable this check by with the following config property: property name=datanucleus.appengine.multipleRelationsOfSameTypeAreErrors value=true/ We'll get this fixed shortly. Sorry for the trouble, 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.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.
[google-appengine] remote_api error / datastore problem
Downloading data from remote datastore returns always this error and I don't know what the exact problem is. It seems there is a problem with one specific item in the datastore. The same remote_api call worked before until it stopped working at some point. Has anyone an idea how to fix it? 01-13 07:56AM 05.226 /remote_api 200 4040ms 65cpu_ms 12api_cpu_ms 0kb Google-remote_api/1.0 Darwin/9.7.0 Python/2.5.1.final.0,gzip(gfe) 0.0.0.0 - user.name [13/Jan/2010:07:56:09 -0800] POST /remote_api HTTP/1.1 200 271 - Google-remote_api/1.0 Darwin/9.7.0 Python/ 2.5.1.final.0,gzip(gfe) myappid.appspot.com E 01-13 07:56AM 09.241 Exception while handling service_name: datastore_v3 method: RunQuery request \n\013myappid\032\013GalleryItemKR\007__key__X\001L\200\001d \250\001\000\270\001d\310\001\001 Traceback (most recent call last): File /base/python_lib/versions/1/google/appengine/ext/remote_api/ handler.py, line 303, in post response_data = self.ExecuteRequest(request) File /base/python_lib/versions/1/google/appengine/ext/remote_api/ handler.py, line 334, in ExecuteRequest response_data) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 78, in MakeSyncCall return apiproxy.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 278, in MakeSyncCall rpc.CheckSuccess() File /base/python_lib/versions/1/google/appengine/api/ apiproxy_rpc.py, line 111, in CheckSuccess raise self.exception ApplicationError: ApplicationError: 5 -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Django form caching
i am observing a strange behavior in djangoforms. I am using the default django provided in latest AppEngine SDK. The datastore is updated by the entries i put, but when i view them in a form, the latest ones are not shown. It takes some time (approx 5 minutes) before the latest entries show up. Has any one faced this django form caching issue? What is the workaround? Any specific coding guidelines? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Scalability problem in GAE
Recently, we have been running into frequent performance problems, especially between 7-10pm IST. Requests that used to take 600ms are taking almost 4 secs. - Has anyone faced similar problems recently? - What is the limit for memcache per account? How do we find the cache expiry pattern? (actual expiry Vs specified expiry) thanks, mani -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Claiming my appid as my gmail account
Hi, I recently registered the Google App Engine appid wntdin using a Google Apps email account. Since I was allowed to register this appid, I know no one must have the email wnt...@gmail.com. Is there a way for me to claim that gmail address? When I try to create it through the normal process, the system says the email id is not available. Thanks in advance, Vijay -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] A REALLY strange problem
Hi, everyone! I have link my domain name www.visame.org to my app engine application: visameblog.appspot.com. However, after I update my CSS file, only visameblog.appspot.com gets updated. which means: http://www.visame.org/static/css/style.css is different form http://visameblog.appspot.com/static/css/style.css Only the latter is updated. But they are supposed to be same! They are actually one site with different domain names. Weird... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] adapter4appengine - java.lang.NoClassDefFoundError
Hi, Hope someone can help me to get this Gilead adapter4appengine to work. I keep getting java.lang.NoClassDefFoundError when running my app. I'm using the adapter4appengine-1.0M3, inherited it in the project.gwt.xml. I also tried the SampleAppEngine.JDO application which seems to work fine. I compared this project file by file with my own project but can't find any relevant differences. Compiling my app is no problem. Anyone who had this experience as well? Hope someone can help me out. Thanks -- Initializing AppEngine server 16-jan-2010 17:57:18 com.google.apphosting.utils.jetty.JettyLogger warn WARNING: failed shoppingsServiceServlet java.lang.NoClassDefFoundError: net/sf/gilead/adapter4appengine/ EngineRemoteService 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$000(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:151) at java.lang.ClassLoader.loadClass(Unknown Source) at org.mortbay.util.Loader.loadClass(Loader.java:91) at org.mortbay.util.Loader.loadClass(Loader.java:71) at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:73) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java: 233) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:40) at org.mortbay.jetty.servlet.ServletHandler.initialize (ServletHandler.java:612) at org.mortbay.jetty.servlet.Context.startContext(Context.java:139) at org.mortbay.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart (ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java: 448) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart (HandlerWrapper.java:117) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart (HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:40) at com.google.appengine.tools.development.JettyContainerService.startContainer (JettyContainerService.java:188) at com.google.appengine.tools.development.AbstractContainerService.startup (AbstractContainerService.java:120) at com.google.appengine.tools.development.DevAppServerImpl.start (DevAppServerImpl.java:217) at com.google.appengine.tools.development.gwt.AppEngineLauncher.start (AppEngineLauncher.java:86) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:377) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:938) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:690) at com.google.gwt.dev.DevMode.main(DevMode.java:251) Caused by: java.lang.ClassNotFoundException: net.sf.gilead.adapter4appengine.EngineRemoteService 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:151) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 35 more And many more of the same errors. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Support for Netbeans
When will google officially support netbeans, and publish a plugin? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re:Re: [google-appengine] [OT]appspot 都不能访 问了??
my appspot still works.I am in shanghai. 在2010-01-16?08:50:42,风笑雪?kea...@gmail.com?写道: Right?now,?*.appspot.com?are?not?working?in?China: Pinging?appspot-china.l.google.com?[74.125.127.141]?with?32?bytes?of?data: Request?timed?out. Request?timed?out. Request?timed?out. Request?timed?out. Ping?statistics?for?74.125.127.141: Packets:?Sent?=?4,?Received?=?0,?Lost?=?4?(100%?loss), But?ghs?works?fine: Pinging?ghs.l.google.com?[72.14.203.121]?with?32?bytes?of?data: Reply?from?72.14.203.121:?bytes=32?time=69ms?TTL=51 Reply?from?72.14.203.121:?bytes=32?time=70ms?TTL=51 Reply?from?72.14.203.121:?bytes=32?time=70ms?TTL=51 Reply?from?72.14.203.121:?bytes=32?time=68ms?TTL=51 Ping?statistics?for?72.14.203.121: Packets:?Sent?=?4,?Received?=?4,?Lost?=?0?(0%?loss), Approximate?round?trip?times?in?milli-seconds: Minimum?=?68ms,?Maximum?=?70ms,?Average?=?69ms I?tested?via?chinanet?shanghai?province?network,?and?in?the?past, you'll?get?different?result. Almost?no?single?day?they?both?work?fine?in?China?last?year. If?you?really?want?handle?it,?you?can?build?a?reverse?proxy,?but?it takes?much?money?and?increases?latency. Otherwise,?you?can?use?a?proxy?to?visit?your?site?for?yourself,?but?it dose?nothing?to?your?visitors. For?all?the?*.appspot.com,?you?can?set?google.cn:80?as?a?http?proxy. 2010/1/15?杨浩?skzr@gmail.com: ?:?may?be! ?The?XXX.appspot.com?dns?is?unstable! ?I?try?request?XXX.appspot.com?many?time?can?request?ok! ?But?I?found?that,my?other?yyy.appspot.com?can?work?very?good,?and?request ?XXX.appspot.com?is?good?pass?of?the?U.S?http?proxy! ?So?that's?GFW?of?China?intercept?my?XXX.appspot.com?DNS! ?That's?luckly,my?XXX.org?domain?can?dns?to?my?XXX.appsot.com,It's?say?the ?GHS.GOOGLE.COM?is?work?good?in?the?China?:) ?2010/1/15?李超?lewise@gmail.com ?appspot?都不能访问了?? ?-- ?Best?regards, ?Lewise ?-- ?You?received?this?message?because?you?are?subscribed?to?the?Google?Groups ?Google?App?Engine?group. ?To?post?to?this?group,?send?email?to?google-appeng...@googlegroups.com. ?To?unsubscribe?from?this?group,?send?email?to ?google-appengine+unsubscr...@googlegroups.com. ?For?more?options,?visit?this?group?at ?http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: [OT]appspot 都不能访问 了??
你才发现吗?? 连谷歌网上论坛都是翻墙过来的-- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Cancel Google App Engine
you cannot. create a new account and request google to activate it. https://appengine.google.com/waitlist/sms_issues 2010/1/16 AFGE afge2...@gmail.com I signed up for Google App Engine using a co-workers account with my mobile phone number. Now I can not sign up for Google App Engine with my Google Account. How can I disable my mobile phone number and reuse it with my account. Thanks, -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: [OT]appspot 都不能访 问了??
you can vist groups.google.com with https://groups.google.com! Good luck! 2010/1/16 小鑫 amoiz.sh...@gmail.com 你才发现吗?? 连谷歌网上论坛都是翻墙过来的 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] EntityProto instance to Model instance?
Does anyone have an answer for this? Google guys? 2010/1/15 Kapil Kaisare kksm19820...@gmail.com As an aside: what is an EntityProto, and is there a link in the GAE documentation for it? Regards, Kaisare, Kapil Sadashiv On Fri, Jan 15, 2010 at 09:37, Nickolas Daskalou n...@daskalou.comwrote: How can I convert an EntityProto to a Model instance? I have a Model method, pre_put(), that I want to call on each Model instance before it's Put into the Datastore, using hooks (eg: http://code.google.com/appengine/articles/hooks.html). My hook code looks like this: def hook(service, call, request, response): assert service == 'datastore_v3' if call == 'Put': for entity in request.entity_list(): entity.pre_put() When the hook is called and runs, I get this error: AttributeError: EntityProto instance has no attribute 'pre_put' Is there any way to convert the entities in request.entity_list() to their original Models, manipulate them, and then convert them back to an EntityProto instance? Or even better, if the EntityProto instances have references to the actual Model instances which we can access and manipulate? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Proxying your urlfetch requests so that they come from a static IP
Hello everyone. I saw the question what IPs do the urlfetch request come from a couple of times on the list (most recently I think it was in the context of the delicio.us API which does whitelisting based on the IP). I've done a small writeup about how my application (http:// www.thetwitfeeder.com/) uses a VPS + a PHP script to ensure that requests to the Twitter API come from a static IP: http://blog.thetwitfeeder.com/2010/01/proxying-url-fetch-requests-from-google.html HTH PS. I'm considering launching a small commercial service around this (ie. operating a proxy on one or more static IPs and selling bandwidth). If somebody would be interested in such a service, I would ask them to contact me in private. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] A REALLY strange problem
Did you try refreshing your browser cache? Press CTRL+F5 or even better go to browser options and clear the cache. Regards, Abhinav On Sun, Jan 17, 2010 at 3:12 AM, Visame kank...@gmail.com wrote: Hi, everyone! I have link my domain name www.visame.org to my app engine application: visameblog.appspot.com. However, after I update my CSS file, only visameblog.appspot.com gets updated. which means: http://www.visame.org/static/css/style.css is different form http://visameblog.appspot.com/static/css/style.css Only the latter is updated. But they are supposed to be same! They are actually one site with different domain names. Weird... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.