[appengine-java] Maven example: Datanucleus 2.0.0-RC2 and JPA2 in SDK 1.6.1
Today SDK 1.6.1 has been released. I'm looking for a nice Maven example where I can see how datanucleus 2.0.0-RC2 works. The *helloorm* example is still(?) using JPA1 and datanucleus 1.0.10 which doesn't support JPA2. -- 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/-/G3hX-QQTQ-kJ. 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] Indexes - how to deal with them?
Hi, I am looking through my app and there are many index writes, way too many. How to handle them properly? I guess I should set unindexed to most properties, can I do it for whole entity and then just set false on fields that I want indexed? Will that work? @Extension(vendorName datanucleus, key gae. unindexed, valuetrue) Is there any way to see what is indexed and where do my index write operations come from? My other problem is that even when I am not doing any db operations, I have few hundred index write ops per day. The only thing that is happening is pingdom testing my login page, without doing anything. How can I track what is doing that operations? -- 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] App is very slow on production - how to fix it?
Hi, My app is very fast and smooth when run locally, no lag at all. But when I deploy it on server it gets really slow. Response times are few times of the acceptable ones. Pages load in 20-80ms locally, but average in production is about 500-800ms. Acceptable time would be around 100ms for most operations. I have appstats on my app, but I cannot really get what is causing the problem. I check details in appstats and I see 3 things: datastore_v3.Get11ms (8ms api) RPC Total 11ms (8ms api) Grand Total 525ms (8ms cpu+api) There are details only about datastore_v3.Get, which is not a thing causing all that lag. How can I determine what is the cause of all that? I am using 1.5.3 SDK, HR datastore and Apache Wicket framework. -- 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] KeyStore and TrustStore on App Engine
How do I set certificate for making SSL connections to other servers? Do I use the following code in my servlet: System.setProperty(javax.net.ssl.keyStore, WEB-INF/blah.ks); System.setProperty(javax.net.ssl.trustStore, WEB-INF/blah-blah.ks); or use the appengine-web.xml: property name=javax.net.ssl.keyStore value=WEB-INF/blah.ks/ property name=javax.net.ssl.trustStore value=WEB-INF/blah-blah.ks/ On the development server, neither seems to make any difference. From looking at the SSL debug trace, keystore and truststore are not set. But if I put these properties as JVM options to the dev_appserver command line then they show up in the debug trace. Thanks. -- 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/-/PbMUvkFnZIkJ. 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] Blobstore method not found
Hi, I'm little bit confused in blobstore java doc is written: getUploadedBlobs(HttpServletRequest request) is deprecated and getUploadas should be used instead. But I don't see it. I haven't found it even in appengine src. Where's the catch? Did I miss something here? Btw I'm using appengin 1.6.0 Thanks for answer -- 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/-/2m6tuFoIYikJ. 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] How to make someone an admin for your app.
Hi coders, I've just managed to deploy my first app to my Google Apps domain (utilitiessavings.co.uk), and it seems to be working ok, BUT I now realise that being an admin for the google apps domain does not make me an admin for the application itself, and I can't work out how to add myself as an admin for the app. I am using my regular gmail account to deploy the app, and I went to Administration Permissions in the control panel and added my google apps email as a developer, then clicked the link in the email and boom! Admin away! Yeah, I don't need help, but this is one of those situations where I solved it as I was writing the post, so I thought it might help someone in the future if I just posted it anyway. Happy coding! Drew -- 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/-/bieSsZiU4Q8J. 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] Design principles for a class with a lot of parameters
I am designing the model of an app that needs a lot of values to be stored and I am thinking about which is the best in terms of retrieving-time: - define an array with all of them inside - define a property for each of them My fear is that in the second case I will have a lot of column in the datastore: which are the differences in terms of retrieving an Entity with a lot of property or an entity with just 1 array? I read a lot of documentation but it talks only about the difference between the get and the query and not about the properties' number. Thank you Michele -- 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: Blobstore method not found
getUploads is in the 1.6.1 release, not the 1.6.0 release. -- 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/-/ZGMOTu6j-AQJ. 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] Design principles for a class with a lot of parameters
There are 2 main differences: 1. Indexes. You probably want to mark most of the items as unindexed to lower the cost of a datastore write and datastore storage. 2. Possible serialization/deserialization time. Items are stored as protocol buffers (http://code.google.com/p/protobuf/). I don't know off the top of my head how this performs with large arrays versus individual properties. My suspicion is that there shouldn't be a real world difference, but I haven't verified this with my own testing, and I don't know how many properties you have in mind. The documentation talks about query speed vs. get by key because that's where the bulk of the time will be spent (cross machine RPCs). -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 14, 2011 at 8:19 AM, Miguel doctormig...@gmail.com wrote: I am designing the model of an app that needs a lot of values to be stored and I am thinking about which is the best in terms of retrieving-time: - define an array with all of them inside - define a property for each of them My fear is that in the second case I will have a lot of column in the datastore: which are the differences in terms of retrieving an Entity with a lot of property or an entity with just 1 array? I read a lot of documentation but it talks only about the difference between the get and the query and not about the properties' number. Thank you Michele -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] How to make someone an admin for your app.
... I was about to write an answer, too. Thanks for the laugh! -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 14, 2011 at 7:18 AM, Drew Spencer slugmand...@gmail.com wrote: Hi coders, I've just managed to deploy my first app to my Google Apps domain ( utilitiessavings.co.uk), and it seems to be working ok, BUT I now realise that being an admin for the google apps domain does not make me an admin for the application itself, and I can't work out how to add myself as an admin for the app. I am using my regular gmail account to deploy the app, and I went to Administration Permissions in the control panel and added my google apps email as a developer, then clicked the link in the email and boom! Admin away! Yeah, I don't need help, but this is one of those situations where I solved it as I was writing the post, so I thought it might help someone in the future if I just posted it anyway. Happy coding! Drew -- 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/-/bieSsZiU4Q8J. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] App is very slow on production - how to fix it?
Could this be startup time? A loading request? This is when we have to start up the JVM and the Wicket framework. Do subsequent requests return much faster? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 14, 2011 at 1:17 AM, Paul pgronkiew...@gmail.com wrote: Hi, My app is very fast and smooth when run locally, no lag at all. But when I deploy it on server it gets really slow. Response times are few times of the acceptable ones. Pages load in 20-80ms locally, but average in production is about 500-800ms. Acceptable time would be around 100ms for most operations. I have appstats on my app, but I cannot really get what is causing the problem. I check details in appstats and I see 3 things: datastore_v3.Get11ms (8ms api) RPC Total 11ms (8ms api) Grand Total 525ms (8ms cpu+api) There are details only about datastore_v3.Get, which is not a thing causing all that lag. How can I determine what is the cause of all that? I am using 1.5.3 SDK, HR datastore and Apache Wicket framework. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Indexes - how to deal with them?
Every property creates 2 indexes, so if you don't want to incur write operations, mark properties you will never query on (select from people where age=26 - you need both an ASC and DESC index on the age property) as unindexed. Here's an old but good talk about how these indexes are used and why they are needed: http://www.youtube.com/watch?v=tx5gdoNpcZM -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 14, 2011 at 1:09 AM, Paul pgronkiew...@gmail.com wrote: Hi, I am looking through my app and there are many index writes, way too many. How to handle them properly? I guess I should set unindexed to most properties, can I do it for whole entity and then just set false on fields that I want indexed? Will that work? @Extension(vendorName datanucleus, key gae. unindexed, valuetrue) Is there any way to see what is indexed and where do my index write operations come from? My other problem is that even when I am not doing any db operations, I have few hundred index write ops per day. The only thing that is happening is pingdom testing my login page, without doing anything. How can I track what is doing that operations? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Master/Slave - High Replication migration experience
I believe namespaces should work. What doesn't work is blobstore entities (datastore blobs DO work). -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Dec 13, 2011 at 11:17 PM, andrew andrew.macken...@bcntouch.comwrote: Ikai, Any additional information available on the features of this new tool? Specifically, support for copying all/multiple namespaces from one datastore to another... 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. -- 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: ConcurrentModificationException question
I think you are mistaken about ConcurrentModificationException meaning it will eventually commit. If you get a ConcurrentModificationException, then that means the entity *failed* to write (because another write has modified the update timestamp on that entity group). You must catch that exception and try to write again (unless you don't want to overwrite). You can see this behavior first hand here: http://gaetestjig.appspot.com/ and click on the Unique Constraint tab. Click the Advance Alice button four times, and click the Advance Bobby button four times (in any order). Now click on either button a fifth time and it will write the entity to the data store, and clicking the other button will experience a ConcurrentModificationException. Broc On Dec 13, 5:48 pm, coltsith conla...@gmail.com wrote: I recently got a ConcurrentModificationException, and the documentation states that this will be committed and eventually will be applied successfully. However I got to thinking of a possible outcome: Request A modifies entity Request B modifies entity and receives ConcurrentModificationException D Request E modifies entity ConcurrentModificationException D commits and is applied, which overwrites Request E's work. Can this happen? Or does Request E get its own ConcurrentModificationException since (D) hasn't been committed yet? Many 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] connection time out when uploading simple app with lone html page
I got error when uploading a simple app with a lone html page to the google app - java.net.ConnectException: Connection timed out Since I am behind firewall and proxy and read this post I changed the appcfg but now have new issue - java.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found Post - http://groups.google.com/group/google-appengine-java/browse_thread/thread/f695c92c000616a/e3bfa431adf6a4cf?hide_quotes=no#msg_e3bfa431adf6a4cf Please advise if need trusted certificate locally? -- 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] google app engine for java- using low level API to fetch data-how to send message after initially connecting to remote url
In a Google App Engine for Java web app, I am trying to use the low level api to invoke an XML RPC ...After looking at the docs, I figured out the following code to connect using low level API-the reason why I want to use Low Level API is so that I can set the timeout value myself-- String mrtime=120; java.lang.Double maxresponsetime; maxresponsetime = Double.valueOf(mrtime).doubleValue(); HTTPRequest req= new HTTPRequest(url, HTTPMethod.GET, disallowTruncate().setDeadline(maxresponsetime)); HTTPResponse response= com.google.appengine.api.urlfetch.URLFetchServiceFactory.getURLFetchService().fetch(req); String line=; String resp=; resp=new String(response.getContent(), UTF-8); The above code is suitable for a scenario where the remote URL is accessed by GAE...However I have to also send an XML message containing name of function as well as input parameters (these are stored in variable named 'message')... How do I send that message to the remote URL, and after that obtain the response? This is normally taken care of by the HTTP Connection object by setting its inputstream and outputstream... Regards, Arvind. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Master/Slave - High Replication migration experience
Alas, bad timing, I suppose. We pulled the trigger because we found we could make up tons of excuses to put it off if we set our minds to it. Wait to see if anyone else had issues, wait until new pricing takes effect, wait until the migration tool is available, etc, etc. So we sucked it up. I guess the advice I have is to make sure you have a backup plan in place just in case. -- 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/-/j8pW5j0fKSIJ. 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] connection time out when uploading simple app with lone html page
Vivek you need to set the proxy settings in your eclipse ide in the preferences. That should fix it. No need to change your appcfg Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Thu, Dec 15, 2011 at 3:21 AM, vivek.nama vivek.n...@gmail.com wrote: I got error when uploading a simple app with a lone html page to the google app - java.net.ConnectException: Connection timed out Since I am behind firewall and proxy and read this post I changed the appcfg but now have new issue - java.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found Post - http://groups.google.com/group/google-appengine-java/browse_thread/thread/f695c92c000616a/e3bfa431adf6a4cf?hide_quotes=no#msg_e3bfa431adf6a4cf Please advise if need trusted certificate locally? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] basic question about deploy application
oh,I deploy my application on app engine,following the help,but I can't visit the guestbook and I don't see the hello world http://eropsycongroo.appspot.com http://eropsycongroo.appspot.com/guestbook This sample is the same to the help -- 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/-/IIDkCpqtg8oJ. 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: Sample Application using SOAP and webservices using Google App Engine Project
Hi, Thxs for the link but i cant able to run the sample application after deploying it in the google application and the follows errors are fired when i try to access the webpage . HTTP ERROR 500 Problem accessing /hellosoapclient. Reason: The server sent HTTP status code 404: OK Can u have any idea on this Regards, Suresh -- 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/-/L9_B7cgxqbcJ. 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] Exception while running the sample SOAP Project in Google Engine
Hi all, HTTP ERROR 500 Problem accessing /hellosoapclient. Reason: The server sent HTTP status code 404: OK This is the exception i am getting when i try to run the sample soap application in the google app engine. Any ideas, warmly welcome Regards, Suresh -- 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/-/bRUSTP5Q_FoJ. 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: Sample Application using SOAP and webservices using Google App Engine Project
Hi Simon, How to find whether JMS supports HTML protocol ? I am purely new to JMS. Regards, Suresh -- 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/-/O2_Iuo7oPEwJ. 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: basic question about deploy application
Hi, For me too check this yaar http://demosoapcligreet.appspot.com/ http://demosoapcligreet.appspot.com/HelloSoapClient.html Any idea about this exception. Please enter some Text and select one from drop down and submit. Regards, Suresh -- 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/-/pQBPKszUlHEJ. 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] Basic Question Regarding Deploying the apps with Google Engine
Hi, I had deployed the application in the google app engine and i am not able to access the page and exception fired as below pls check the given url for the same. Url: http://1.demosoapcligreet.appspot.com/HelloSoapClient.html Exception : HTTP ERROR 500 Problem accessing /hellosoapclient. Reason: The server sent HTTP status code 404: OK Caused by: com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 404: OK -- 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/-/ml1mDuedgvEJ. 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: Sample Application using SOAP and webservices using Google App Engine Project
Hi, A lot of the answers to your questions can be found by using a search engine, Suresh, and doing some work for yourself. JMS does not support HTTP by default - you'll have to find a JMS provider which has an HTTP connector. As for the 500 error, you need to look in your appengine console logs. Cheers, Simon -- 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/-/YRzN4vAPao4J. 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: Basic Question Regarding Deploying the apps with Google Engine
Hi, Do you normally do development Suresh, or are you just getting into it? If it's the latter, I'd suggest not using GAE as your first attempt, as it really isn't the easiest development or test environment to start on. The error you're getting is because the target of your SOAP call doesn't exist - whatever URL you've set up in your app is incorrect. If you try accessing the same URL in your browser, you will get the same error response code. Cheers, Simon -- 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/-/L_w0D-cjgjgJ. 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: Securing cron urls / task urls using UserService and not using web.xml
And we can submit an enhancement request and all star it. Seems silly that isUserAdmin() works sometimes and others not. Existing issue reported is fixed as use the header. -- 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: ConcurrentModificationException question
Hi Broc, thanks for the reply. This sounds great to me. I'm concerned about one small note on this page: http://code.google.com/appengine/docs/java/datastore/transactions.html If your app receives an exception when submitting a transaction, it does not always mean that the transaction failed. You can receive DatastoreTimeoutException, ConcurrentModificationException, or DatastoreFailureException exceptions in cases where transactions have been committed and eventually will be applied successfully. Whenever possible, make your datastore transactions idempotent so that if you repeat a transaction, the end result will be the same. Doesn't that mean I can still get a ConcurrentModificationException even if the write was/will be successful? And if so then that example I outlined could still be possible? Thanks On Dec 14, 4:43 pm, Broc Seib broc.s...@gmail.com wrote: I think you are mistaken about ConcurrentModificationException meaning it will eventually commit. If you get a ConcurrentModificationException, then that means the entity *failed* to write (because another write has modified the update timestamp on that entity group). You must catch that exception and try to write again (unless you don't want to overwrite). You can see this behavior first hand here:http://gaetestjig.appspot.com/ and click on the Unique Constraint tab. Click the Advance Alice button four times, and click the Advance Bobby button four times (in any order). Now click on either button a fifth time and it will write the entity to the data store, and clicking the other button will experience a ConcurrentModificationException. Broc On Dec 13, 5:48 pm, coltsith conla...@gmail.com wrote: I recently got a ConcurrentModificationException, and the documentation states that this will be committed and eventually will be applied successfully. However I got to thinking of a possible outcome: Request A modifies entity Request B modifies entity and receives ConcurrentModificationException D Request E modifies entity ConcurrentModificationException D commits and is applied, which overwrites Request E's work. Can this happen? Or does Request E get its own ConcurrentModificationException since (D) hasn't been committed yet? Many 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.