[appengine-java] Re: Why I encountered this error : The class java.lang.String is not persistable.

2010-03-11 Thread Ian Marshall
DataNucleus: OK. Jolam: how did you fix your problem? -- 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

Re: [appengine-java] log4j init fails

2010-03-11 Thread AJ Chen
I have the default log4j.properties in WEB-INF/classes dir. but the warning always comes up. the file is visible because I can change the log level to ERROR to get rid of the warning. -aj On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright rwright.li...@gmail.comwrote: I think you can simply put the

Re: [appengine-java] How to query objects with criterias defined in child entities

2010-03-11 Thread Jeff Schnitzer
On Wed, Mar 10, 2010 at 7:39 PM, John Patterson jdpatter...@gmail.com wrote: On 11 Mar 2010, at 03:40, Jeff Schnitzer wrote: That is an empty claim with no example or evidence.  Every comparison we have see so far is cleaner  and more readable in Twig. Nonsense.  The only example that was

[appengine-java] Re: Why I encountered this error : The class java.lang.String is not persistable.

2010-03-11 Thread Jolam
Actually i have encounter new problems...I will ask for help in a new post... On Mar 11, 4:01 pm, Ian Marshall ianmarshall...@gmail.com wrote: DataNucleus: OK. Jolam: how did you fix your problem? -- You received this message because you are subscribed to the Google Groups Google App Engine

[appengine-java]confusion about entities group and transaction.

2010-03-11 Thread Jolam
I have defined two classes named TotalInformation and UrlInformation: TotalInformation: @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private int urlNumber; UrlInformation

[appengine-java] Re: confusion about entities group and transaction.

2010-03-11 Thread Jolam
What i'm gonna ask is how can i store two class with no reference to each other in a single transaction and how can i retrieve them , edit and store them in a single transaction. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

[appengine-java] Re: Where can i specify my log file name in Google Web App ?

2010-03-11 Thread mallubk
Thank you Ian Marshall, I want to log all diagnostic messages in a file by specify file name in Log4j.properties file as below: log4j.appender.myapp.file=C:/MyTestAppLogs.log but its not working... any idea ? Thanks, MallikarjunBK On Mar 11, 1:54 am, Ian Marshall ianmarshall...@gmail.com

Re: [appengine-java] Objectify - Twig - approaches to persistence

2010-03-11 Thread John Patterson
On 11 Mar 2010, at 16:27, Jeff Schnitzer wrote: On Wed, Mar 10, 2010 at 7:39 PM, John Patterson jdpatter...@gmail.com wrote: On 11 Mar 2010, at 03:40, Jeff Schnitzer wrote: That is an empty claim with no example or evidence. Every comparison we have see so far is cleaner and more

[appengine-java] Re: confusion about entities group and transaction.

2010-03-11 Thread Ian Marshall
I think that the only way to do this is to have both of your instances in the same entity group. So, even though each instance will have no (direct) reference to each other, they will need to share an entity ancestor (which will ensure that your instances are in the same entity group (the same

[appengine-java] Re: Where can i specify my log file name in Google Web App ?

2010-03-11 Thread Ian Marshall
In fact, I have two log4j.properties files: one for my build environment and one for running GAE/J (either the development server on my computer or in the production (cloud) environment). In my earlier post I mentioned my running properties file only. BUILD ENVIRONEMNT EXTRACT

[appengine-java] Precompilation fails

2010-03-11 Thread guillaume
Hi, I manage the Google App Engine module for the Play! java web framework (http://www.playframework.org). While generated applications run correctly on the local and production runtimes, the precompilation process always fail. It seems that any war generated by play cannot be precompiled (So

[appengine-java] Re: Not able to write string arrays in data store

2010-03-11 Thread Ganesh
Hi, Thanks for your response...I dont have my code with me right now..I will post it in a day or two. Meanwhile, do you have any example of handling two dimensional arrays into two separate lists of ArrayList? -Thanks Ganesh On Mar 10, 5:17 pm, Robert Lancer robert.lan...@gmail.com wrote: Just

[appengine-java] Re: Not able to write string arrays in data store

2010-03-11 Thread datanucleus
I tried changing the string array object to java.util.arraylist (gave serizable = 'true' option). This time I was able to write the data successfully. But when I tried to retrieve it, I am facing null pointer exception. Perhaps if you actually posted the NPE+stack trace, and code used to

[appengine-java] Cloud2db - JDBC driver for Google Android platform

2010-03-11 Thread Sandeep
Hi Everyone, Cloud2db is pleased to announce the availability of Cloud2db JDBC driver for Google Android platform. With this driver you will be able to access your Cloud2db instance from the Android applications using standard JDBC concepts. Please download the Cloud2db Server and JDBC driver

[appengine-java] Re: elegant way of implementing sequence generator

2010-03-11 Thread legendlink
Hi blake, could you give me simple example on how to use the @version, or any reference material? thanks! On Mar 9, 11:35 pm, Blake blakecaldw...@gmail.com wrote: You could also go with the sharded counter strategy.  The more shards you have, the less the chance that you'll have a collision,

[appengine-java] 30 second error after commit transaction

2010-03-11 Thread legendlink
Could someone confirm if my thinking is correct regarding the status of datastore if the 30 seconds timeout occurs in the timeline below? start of servlet ... some process ... transaction start ... --- a) 30 second timeout! some process ... --- b) 30 second timeout! commit transaction ... --- c)

Re: [appengine-java] log4j init fails

2010-03-11 Thread Rajeev Dayal
If you have your log4j.properties file at the root of your source tree, it should automatically be copied over to war/WEB-INF/classes whenever Eclipse performs a build of your project; you should not have to copy it over manually. I'm not sure why you're getting the error with regard to

[appengine-java] Re: App instance recycling and response times - is there solution?

2010-03-11 Thread James
I setup some pings of my add a few minutes ago, and I'm still seeing recycling :( My ping setup can't go lower than 60s intervals, so I have two running concurrently. Here's a sample of 20 log entries over 10 minutes, with . Three recyclings occur, and they happen less than 10s after a previous

Re: [appengine-java] Re: How exactly do the App Engine Logs work?

2010-03-11 Thread Don Schwarz
On Wed, Mar 10, 2010 at 8:05 PM, Spines kwste...@gmail.com wrote: Sorry, I don't think I really understood the task queue approach. To ensure no loss of data, would the task have to update in the datastore every time? And the benefit over just doing it directly in the servlet handler would

[appengine-java] Re: elegant way of implementing sequence generator

2010-03-11 Thread datanucleus
could you give me simple example on how to use the @version, The DataNucleus docs define that, and much more http://www.datanucleus.org/products/accessplatform/jdo/orm/versioning.html -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Re: confusion about entities group and transaction.

2010-03-11 Thread Jolam
It's the kind-hearted man Ian Marshall again. :) I have solved the problem mentioned above by setting the key of a class to be stored a key with common ancestor like u said. But there's one thing i think we should noticed that if we retrieve a entity by a key with no parents ,say we create it by

Re: [appengine-java] log4j init fails

2010-03-11 Thread AJ Chen
yes, log4j.properties is copied by the build. the app uses it. the warning message is weird. thanks. On Thu, Mar 11, 2010 at 8:10 AM, Rajeev Dayal rda...@google.com wrote: If you have your log4j.properties file at the root of your source tree, it should automatically be copied over to

Re: [appengine-java] Re: App instance recycling and response times - is there solution?

2010-03-11 Thread Don Schwarz
Can you respond privately with your app id? On Thu, Mar 11, 2010 at 10:10 AM, James jamesk...@gmail.com wrote: I setup some pings of my add a few minutes ago, and I'm still seeing recycling :( My ping setup can't go lower than 60s intervals, so I have two running concurrently. Here's a

[appengine-java] Re: Not able to write string arrays in data store

2010-03-11 Thread Robert Lancer
Setting: ListString arrayDim1 = new ArrayListString(); ListString arrayDim2 = new ArrayListString(); entity.setUnindexedProperty(ArrayDim1, arrayDim1 ); entity.setUnindexedProperty(ArrayDim2, arrayDim2 ); Unless your looking to run queries against the lists use the setUnindexedProperty.

[appengine-java] Re: Objectify - Twig - approaches to persistence

2010-03-11 Thread Bob
I've recently converted from JDO to Twig. I've been able to remove an optimization hack that queried the datastore every 15 minutes to cache data from a 1+ minute operation. I can now have end users execute essentially that same logic in real time. Have not tried Objectify so I can't comment on

[appengine-java] Unable to replace JPACallbackHandler

2010-03-11 Thread Thom Nichols
I'm attempting to build a simple Java app, but as soon as I call pm.makePersistent( entity ) I get this error. I've only seen a couple other instances of this problem (here's one: http://groups.google.com/group/google-appengine-java/browse_thread/thread/ec3beda8fbd9c154 ). I don't believe this

[appengine-java] Equality operator with range uery not working properly

2010-03-11 Thread Abhi
Hi All, I am facing problem with a query when i am adding filter with equality operator (== set) and providing range, it gives all the records. Please help me. Thanks, Abhi -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

[appengine-java] Re: Equality operator with range uery not working properly

2010-03-11 Thread datanucleus
when i am adding filter with equality operator (== set) and providing range, it gives all the records. You don't quote the query, nor the query mechanism (local API, JDO, JPA, who knows what) so am doubting you will get a reply without such infos -- You received this message because you are

Re: [appengine-java] Newwwwbie

2010-03-11 Thread Ikai L (Google)
Quick thing to try: run the server as Debug and not Run. This allows for hot class reloading. On Thu, Mar 11, 2010 at 12:27 AM, Thanks in Advance mikeashie...@gmail.com wrote: I started at:   http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html but am laughably stuck at

Re: [appengine-java] Unable to upload app: Error posting to URL:

2010-03-11 Thread Ikai L (Google)
Yes, you will have to specify your proxy settings. On Tue, Mar 9, 2010 at 8:32 AM, WillSpecht willspe...@gmail.com wrote: I am getting the following error when trying to upload my app to app engine.  What does the 302 Redirected mean?  I am behind a proxy could this be part of the problem?

Re: [appengine-java] Simple query

2010-03-11 Thread Ikai L (Google)
The dev appserver is a simulator, not a true emulator. It'll run much slower locally than in production because in production Google uses BigTable, scalable email service, scalable XMPP, scalable task executor, etc. On a side note, this is the lesser of two evils, anyway. Anyone that has done

[appengine-java] How to delete all entities of a kind with the datastore viewer

2010-03-11 Thread Spines
I'm only able to delete 20 entities at a time, I have over 500 entities of a certain kind. Is there a way I can delete them all from the admin console? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send

Re: [appengine-java] Objectify - Twig - approaches to persistence

2010-03-11 Thread Jeff Schnitzer
I'll try to ignore the blatent trolls. But you want things easier to do in Objectify than Twig, so here's a few: - How, in Twig, do you rename a field? Objectify lets you import data from a variety of historical formats; as you load and save data it will naturally be transformed in format:

[appengine-java] Re: datanucleus enhancer keeps running

2010-03-11 Thread lp
i tried using gae sdk 1.3.1 but still got enhancer looping. it seems to happen when i include spring 3.x libs i dunno giving up and going for ant task. -lp On Mar 3, 1:43 am, Rajeev Dayal rda...@google.com wrote: Seehttp://code.google.com/p/googleappengine/issues/detail?id=2115. This may

[appengine-java] Re: How do I write data in my Google App Engine Datastore to com.google.appengine.api.datastore.Text

2010-03-11 Thread Tristan
Lloyd, String reallyLong = It was the best of times, it was the worst of times. (...) ..; Text myText = new Text(reallyLong); I don't understand your reference to setMethod(). Cheers! On Mar 10, 10:53 pm, Lloyd cled...@gmail.com wrote: I have persistent object, with a string property

[appengine-java] Re: Not able to write string arrays in data store

2010-03-11 Thread Ganesh
This is the class which I wanted to write into datastore: import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; import java.util.List; import java.util.Arrays; import

[appengine-java] Cryptography on App Engine

2010-03-11 Thread Spines
Anyone know of a reliable Java library for cryptography that works on the app engine? I want to encrypt with AES. -- 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

[appengine-java] Re: Reporting on GAE in Java

2010-03-11 Thread David
Update: This website (http://www.jscriptive.org/2009/08/jasperreports-and- google-appengine.html) appears to confirm that it's a real issue rather than simply something I've done wrong or overlooked. This website (http://code.google.com/p/g2-report-engine/wiki/ AppEngineSupport) seems to be a

[appengine-java] Re: Cryptography on App Engine

2010-03-11 Thread Spines
I think bouncy castle is a good library to use, does anyone know if it works on the 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

Re: [appengine-java] Objectify - Twig - approaches to persistence

2010-03-11 Thread John Patterson
On 12 Mar 2010, at 05:45, Jeff Schnitzer wrote: How, in Twig, do you rename a field? I'm glad you brought this up. I've found simple renames are better handled at the low level - no need to rehydrate them into instances just to rename a property. But for typesafe changes large or small

Re: [appengine-java] what if I hit memory limit ?

2010-03-11 Thread John Patterson
I've also put the source for my layered cache here: http://code.google.com/p/stick-cache/ You basically have one interface and 3 implementations: memcache, datastore, in-memory (LRU ReadWrite locks) One quite handy thing it does is handle blocking for expensive items. You can pass a

Re: [appengine-java] How to delete all entities of a kind with the datastore viewer

2010-03-11 Thread 杨浩
in the admin console:clike the next 20 entity,then change the brower's location.href set *size=200* and *offset=0*, enter^ ^ The offset's max is *1000* Good luck! 2010/3/12 Spines kwste...@gmail.com I'm only able to delete 20 entities at a time, I have over 500 entities of a certain kind. Is

Re: [appengine-java] Objectify - Twig - approaches to persistence

2010-03-11 Thread John Patterson
On 12 Mar 2010, at 13:01, Scott Hernandez wrote: We have a different idea about live systems and managing upgrades/deployments. To answer the question below, you can always upgrade the data in place because you will always need a way to load that data into the current object representation. It

[appengine-java] appcfg.sh not uploading new jars

2010-03-11 Thread Josh H
Hi, I've uploaded my app numerous times without any problems. But now when I add a new jars to the WEB-INF/lib dir and then run appcfg.sh it says 40% Uploading 0 files.. I know for a fact these jars have never been uploaded as part of this app before. And when I run the app I get a

[google-appengine] Re: DNS providers that support wildcard CNAME's?

2010-03-11 Thread Albert
Hi Waleed! I don't think I did anything special really. I decided to take a look into my configurations, and I realized that I really didn't do anything at all. I set that app about a year ago, and I haven't touched it since, so I had to look into my configurations again. And after some testing,

[google-appengine] Request processing slow today

2010-03-11 Thread vivpuri
Requests are getting processed really slow today. Error rate for my app is way up for the past 6 hours without any significant code changes. Quite a few requests are ending up with - Request was aborted after waiting too long to attempt to service your request Anyone else facing similar

[google-appengine] Re: GAE and Apps Marketplace

2010-03-11 Thread Tim Hoffman
Hi I don't think you would need it. An app engine app can already use the apps domain to authenticate. That page you are referring to is for applications not running in app engine (say on ec2, that want to use the users google apps account to login to that third party service). By the way there

[google-appengine] Re: GAE and Apps Marketplace

2010-03-11 Thread Roberto Saccon
I think this needs clarification from a Google employee. By reading the documentation, it is nowhere mentioned that appengine hosted app get a special treatment (no need for the OpenID stuff), because they already have authentication built in. On Mar 11, 9:08 am, Tim Hoffman zutes...@gmail.com

[google-appengine] Re: GAE and Apps Marketplace

2010-03-11 Thread Wooble
You can only have your app authenticate to a single apps domain, and you have to choose that domain when you create the application. This makes it kind of impossible to sell integration to a google apps domain you weren't aware of when you wrote the app, let alone 2 or more of them. On Mar 11,

[google-appengine] Re: Request processing slow today

2010-03-11 Thread Mike Wesner
Normally you get those errors because of the simultaneous request limitation. Check out http://code.google.com/appengine/docs/python/runtime.html#Quotas_and_Limits * An application can process around 30 active dynamic requests simultaneously. This means that an application whose average

[google-appengine] Cloud2db - JDBC driver for Google Android platform

2010-03-11 Thread Sandeep
Hi Everyone, Cloud2db is pleased to announce the availability of Cloud2db JDBC driver for Google Android platform. With this driver you will be able to access your Cloud2db instance from the Android applications using standard JDBC concepts. Please download the Cloud2db Server and JDBC driver

[google-appengine] Re: Request processing slow today

2010-03-11 Thread vivpuri
Thanks for your response. Yes, but why today. As i mentioned, there are hardly any code changes to cause that. Even Admin Console was throwing HTTP 500 earlier today. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group,

[google-appengine] Re: How reliable are the App Engine Logs?

2010-03-11 Thread Mike Wesner
That is a really strange way to persist and retrieve data. I think logging is fairly reliable, but I don't see any reason to do it that way when the datastore is available. -mike On Mar 10, 5:38 pm, Spines kwste...@gmail.com wrote: I'm wondering how reliable are the app engine logs?  If I call

[google-appengine] Re: How reliable are the App Engine Logs?

2010-03-11 Thread vivpuri
I have experienced that Logger.info() logs dont always show up in the logs when viewed via Admin Console after few mins. Note, my app goes through lot of requests in short amount of time, hence the time span is minutes. For lesser number of requests, it might be longer time span that Logger.info()

[google-appengine] Re: How reliable are the App Engine Logs?

2010-03-11 Thread Spines
Ahh, didn't think about disabling the indexing on all columns, thats a good idea! On Mar 11, 8:11 am, vivpuri v...@vivekpuri.com wrote: I have experienced that Logger.info() logs dont always show up in the logs when viewed via Admin Console after few mins. Note, my app goes through lot of

[google-appengine] Index Building Stuck

2010-03-11 Thread Ramakrishna Mission Vidyalaya
One of the indexes in my app (id# vidyalayaresults) is stuck in Building state for a very long time. can you please help me in fixing this? -- 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-appengine] merge join difference between sdk1.3.0 and 1.3.1

2010-03-11 Thread Kenji Ishii
Hi. I am trying two inequality filters with tricky way as below, because I want to search for entities which have start and end property by condition that If some value is between start and end. The code is as follows (A means start, B means end) DatastoreService datastore =

[google-appengine] Need help-Blob Keys

2010-03-11 Thread Nick
Hi, In my project there is a file uploading part using blobs. My requirement is to upload an image to the cloud and at the dame time display it on the client-side GUI. But in this project no JSP files are allowed to use. (I have created the Upload class(servlet) and the Serve class(servlet) at

[google-appengine] Remove my Phone Number

2010-03-11 Thread northdeca
Hi there, I was at first testing google app engine and when I signed-up I used my one and only mobile number. I want to open an google app engine account through my Google Apps for my domain but I can't type in my phone # since it has already been activated on this account. Is there a way for me

[google-appengine] Deleting indexes stuck

2010-03-11 Thread Mehdi
I've been trying to clean up some indexes since yesterday and it seems to be stuck. I first created it yesterday. It got stuck in the building state. Then, I vacuumed them, It got stuck in the Error state for the whole night. Then, I deleted them this morning, and it seems to be stuck in the

[google-appengine] Re: Deleting indexes stuck

2010-03-11 Thread Mehdi
By the way, the app id is : one-dirac On Mar 11, 10:13 am, Mehdi mehdi.aitouf...@gmail.com wrote: I've been trying to clean up some indexes since yesterday and it seems to be stuck. I first created it yesterday. It got stuck in the building state. Then, I vacuumed them, It got stuck in the

Re: [google-appengine] Re: GAE and Apps Marketplace

2010-03-11 Thread Ikai L (Google)
Can you guys also ask here? http://www.google.com/support/forum/p/apps-apis?hl=en I apologize if it seems like I'm punting the question a bit, but this really isn't a subject I have much familiarity with. Trying to keep up with all the different Google APIs is more than a full-time job in and of

Re: [google-appengine] Remove my Phone Number

2010-03-11 Thread Ikai L (Google)
Go ahead and just add yourself here: https://appengine.google.com/waitlist/sms_issues We'll manually enable your second account. On Wed, Mar 10, 2010 at 6:37 PM, northdeca nghsd...@gmail.com wrote: Hi there, I was at first testing google app engine and when I signed-up I used my one and

[google-appengine] Emails, attachments and the blobstore

2010-03-11 Thread Lucian Baciu
What if my app receives email messages with attachments, and I want to save these attachments in the blobstore. How do I do that? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

Re: [google-appengine] Is it possible to change a datastore object key name after it was created?

2010-03-11 Thread Eli Jones
You cannot change the key_name for an entity.. At best, you could put a new entity into the datastore using the new key_name and the old entities properties.. and just delete the old entity. On Thu, Mar 11, 2010 at 2:55 PM, Shedokan shedok...@gmail.com wrote: In my app I create an object and

Re: [google-appengine] I need to build a very custom application upon google applications and enterprise

2010-03-11 Thread Ikai L (Google)
Note that you don't have to write this for App Engine: you can write an Apps Marketplace application in any language. You may also want to ask this question in the Marketplace groups. On Wed, Mar 10, 2010 at 3:05 AM, Ali full.thro...@gmail.com wrote: Hi - I've been doing a bit of reading on

Re: [google-appengine] Re: groc module

2010-03-11 Thread Wesley C (Google)
peter et. al, i can't believe i didn't notice this the first time when you asked about your problem several months ago. if you take a careful look at the files, you'll see that your permissions are not set correctly: : -r-xr-x---   1 admin  admin    646 Dec 14 15:22 __init__.py

Re: [google-appengine] Re: Can i run a regular tomcat servlet in app engine?

2010-03-11 Thread Ikai L (Google)
You could probably just put the code into a package, JAR it up and import it as needed into a new Eclipse Google App Engine project. On Wed, Mar 10, 2010 at 7:16 AM, Mats Svensson matsxsvens...@gmail.com wrote: OK, thanks. My servlet are all stateless, so it shouldn't be a problem. But do i

[google-appengine] Re: App Engine not listing my apps

2010-03-11 Thread Hendy Irawan
Thanks Prashant! That clears it for me. Though I haven't tried logging in to that Google Apps before, I tried it after reading your reply and my apps are listed there. It seems GAE are authenticating email address instead of actual Google accounts. It's clearly a bug. In addition, I can't log

Re: [google-appengine] Re: GAE and Apps Marketplace

2010-03-11 Thread Rajkumar Radhakrishnan
Hi Guys, While there seems to be this related thread on the forum Ikai Lan has mentioned, which you may follow / add to the thread as need be.. http://www.google.com/support/forum/p/apps-apis/thread?tid=52e36f012c2436c3hl=en ..I think our options for the moment are pretty clear. For developers

[google-appengine] Re: Accounting for Datastore Metadata/seeking advice on how to reduce metadata size

2010-03-11 Thread PK
Thanks Robert. I agree that the difference between 705MB and 2.31 GB is most likely due to indexes. However, I do not think that the property names is the issue for the metadata. I now believe that the metadata is also such a big percentage because of exploding indexes. I expected that for