[appengine-java] Any examples for low level datastore? or suggest another way?

2010-01-14 Thread philip
Hi All, I want to use the low level datastore, I looked at the documentation and it looks ... complex. http://code.google.com/intl/zh-HK/appengine/docs/java/javadoc/com/google/appengine/api/datastore/package-summary.html Basically, I have a client program which needs to create tables and their

[appengine-java] Re: Any examples for low level datastore? or suggest another way?

2010-01-14 Thread datanucleus
Basically, I have a client program which needs to create tables and their entities dynamically, so the columns would change over time. This does not fit well with JDO as it works for fixed column entitys that are annotated. Not necessarily. Annotations are just one way of specifying what is

[appengine-java] Eclipse hangs at startup, Ubuntu

2010-01-14 Thread pgoetz
Hi group, I have a problem with the Google Eclipse Plugin. I am developing an application for the Google App Engine (Eclipse JEE Galileo, Google Plugin 1.2.0, Google App Engine SDK 1.3.0, OS Ubuntu 9.10). Yesterday I reinstalled the Google Plugin and Google App Engine SDK after I got the same

[appengine-java] sudden errors

2010-01-14 Thread aswath satrasala
I was just checking my application. Suddenly I started getting the errors for the same links I was clicking earlier. I looked into the dashboard for the logs, to find an error. com.veersoft.action.LoginInterceptor intercept: com.google.apphosting.api.ApiProxy$UnknownException: An error occurred

[appengine-java] Re: Eclipse hangs at startup, Ubuntu

2010-01-14 Thread Blessed Geek
Is any of your resources sitting in a foreign file system like smb, ntfs or nfs? And do you have many projects mounted like I do? I had the same problem and I had to kill/restart the connector process to the foreign file system, whenever this happens. I would notice thrashing going own in the

[appengine-java] Re: Eclipse hangs at startup, Ubuntu

2010-01-14 Thread pgoetz
On Jan 14, 11:41 am, Blessed Geek blessedg...@gmail.com wrote: Is any of your resources sitting in a foreign file system like smb, ntfs or nfs? No, all of my resources are local. They are attached to a SVN repository, but the subversion plugin does not communicate with the repository at that

[appengine-java] Java DNS cache

2010-01-14 Thread Max
Do you know any issues with Java, DNS and AppEngine. If I run java app on non google appengine and my app will use app engine app as web service. e.g. http://myapp2475687236458.appspot.com Have any one experienced problem that google will update DNS for myapp2475687236458.appspot.com domain and

[appengine-java] entity collections and equals/hashCode

2010-01-14 Thread jopaki
Using GAE/J JDO, must one implement equals/hashCode based on non- primary key properties for entities designed to co-exist in a collection in the same manner as Hibernate ORM requires? Ref: https://www.hibernate.org/109.html -- You received this message because you are subscribed to the Google

Re: [appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-14 Thread Prashant Gupta
anyone??? 2010/1/12 Prashant Gupta nextprash...@gmail.com Hi, Thanks guys for looking into this. All requests to my app pass through a single servlet, say *Main*. So, I thought I need not to add additional filter and I used a ThreadLocal variable to store session id : public static

[appengine-java] Re: Integration with Ning App (authentication)

2010-01-14 Thread Pion
I have just found the following: http://wiki.opensocial.org/index.php?title=Introduction_To_Signed_Requests http://wiki.opensocial.org/index.php?title=Validating_Signed_Requests https://opensocialresources.appspot.com/certificates/ I'll try it if it works with Ning. On Jan 13, 3:45 pm, Pion

Re: [appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-14 Thread Prashant Gupta
ok, thanks a lot. 2010/1/14 Stephan Hartmann hartm...@metamesh.de Threads do not end when they finished serving a request. Instead they will catch up another request in the queue and serve it. So basically at the end of your service method of your servlet you should explicitly set the

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

2010-01-14 Thread 杨浩
治本只能等GAE的升级了,这样确实只能保证你的应用不会因为两分钟没有请求被关闭! 不知道GAE收费版本是不是没有这个问题 2010/1/13 yjun hu itswa...@gmail.com 治标不治本 On Wed, Jan 13, 2010 at 1:24 PM, 杨浩 skzr@gmail.com wrote: create a cron:every one minutes to run for keep your app online in the GAE! I try it,and it is work very good! -- dream

Re: [appengine-java] Re: Task Queue problems

2010-01-14 Thread 杨浩
代理 支持ssl: proxy.kerkgroep-hopjestad.com 3128 jwe219.internetdsl.tpnet.pl 3128 webmail.mwit.ac.th 80 我一般用第一个,他不是很稳定! 2010/1/13 yjun hu itswa...@gmail.com which proxy are u using now? 2010/1/12 杨浩 skzr@gmail.com 在中国appspot的https无法正常工作,因为gfw屏蔽了这部分,你寻找一个https代理,然后再测试应该就没有问题了! --

Re: [appengine-java] Wildcard must appear at the end of the expression string (only prefix matches are supported)

2010-01-14 Thread Max Ross (Google)
Thanks for the report Steve, looks like a bug. The information in the error message is still relevant though. The datastore does not support real regular expression matching, but rather just startsWith filters. So, if your regex can be rewritten to use GrpName.startsWith() then you can use that

Re: [appengine-java] Java DNS cache

2010-01-14 Thread Ikai L (Google)
Oh man, I've been bitten by Java's DNS cache before as well. This should have been addressed in Java 6, which is what we run in production. Here's a quick blog post on the subject: http://www.mattryall.net/blog/2005/03/javas-awful-dns-caching You shouldn't run into this in production. Let us know

[appengine-java] Use Google login cred to logon in one GAE in other GAE app

2010-01-14 Thread Wouter
Hi, I have a question regarding Google cookies and REST security. I have 2 apps both running on GAE (java) where 1 application is a GWT based app which communicates with another app that is a REST (Restlet 2) based that provides backend services. This works really good (especially when using

[appengine-java] Ant and --enable_jar_splitting

2010-01-14 Thread Marcel Overdijk
target name=update description=Uploads the application to App Engine. appcfg action=update war=war options arg value=--enable_jar_splitting / /options /appcfg /target I'm using the target as above but I get message: Found a jar file

[appengine-java] Ant and providing email / password

2010-01-14 Thread Marcel Overdijk
target name=update description=Uploads the application to App Engine. appcfg action=update war=war options arg value=--enable_jar_splitting / /options /appcfg /target I have above ant target to update the app. But when run I get

[appengine-java] have a solution to create docx and xlsx Microsoft Office files on GAE by using GaeVFS to generate zip files

2010-01-14 Thread Houston startup coder
I posted to this list a long time ago to ask about creating Microsoft Word and Excel files on Google App Engine since traditional Java libraries like Apache POI are not supported. Thought I'd be helpful and share a solution that works for me. Basically, I'm leveraging GaeVFS to generate the

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

2010-01-14 Thread Stephan Hartmann
Jeff, in one point i disagree. In a high available einvironment you would have a cluster of load balanced application servers and you would deploy new versions of your app in turn, one at a time. So if one instance is down the other(s) will continue serving your users (though it might require

Re: [appengine-java] Re: A running app does not detect newly created files.

2010-01-14 Thread Jason (Google)
Thanks for the extra information re: your use of Narwhal. I don't have too much experience with it, but can you implement the Blobstore docs demo without Narwhal to see if it works for you as it does for me? This is the doc I used to implement my version:

[appengine-java] Using geocoding service throws G_GEO_TOO_MANY_QUERIES

2010-01-14 Thread Willem
I use the static MAPS API to geolocate cities and use my registered API key. I notice the G_GEO_TOO_MANY_QUERIES is thrown very fast on App Engine. Even when i do 1 request each 5 seconds I get this error after 5 calls. Strangely this never happens on my local GAE environment where I can perform

Re: [appengine-java] Doubt with detachability...

2010-01-14 Thread Jason (Google)
Thank you for the extra information. If you enable debug output for the ORM layer, you may see an explanation for why you don't need to detach your object again after retrieving it from memcache. Since it works for you without the second detachment, I recommend omitting the second detachCopy call

[appengine-java] Order clause and missing entities

2010-01-14 Thread Kyrre
Hi, In both the DataViewer and in my app using JDO, I'm seeing a strange difference in the number of results returned depending on whether I add an order by clause: 62 results: SELECT * FROM ListEntry where appId = '323629596' and latest = false 38 results: SELECT * FROM ListEntry where appId =

[appengine-java] How to store/retrieve inheritance and composition in Datastore

2010-01-14 Thread Federico Keen
Hi guys, I'm trying to use the datastore with a model like this: Class A extends C { @Persistent private String a1; } Class B extends C { @Persistent private String b1; @Persistent private D dAttribute; } Class D { @Persistent private String d1; } Class

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

2010-01-14 Thread Jeff Schnitzer
On Thu, Jan 14, 2010 at 12:59 PM, Stephan Hartmann hartm...@metamesh.de wrote: Jeff, in one point i disagree. In a high available einvironment you would have a cluster of load balanced application servers and you would deploy new versions of your app in turn, one at a time. So if one

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

2010-01-14 Thread 风笑雪
I've tried this, but after 1 day, GAE recycled my instance every 40 seconds. Then I used task queue to request my site per 30 seconds, but GAE started to recycle every 20 seconds. So I don't think it's a good way. 2010/1/13 杨浩 skzr@gmail.com: create a cron:every one minutes to run for keep

Re: [appengine-java] Re: Task Queue problems

2010-01-14 Thread yjun hu
thanks. also u can use GPass+SKYPE(or ssh) replace 2010/1/15 杨浩 skzr@gmail.com 代理 支持ssl: proxy.kerkgroep-hopjestad.com 3128 jwe219.internetdsl.tpnet.pl 3128 webmail.mwit.ac.th 80 我一般用第一个,他不是很稳定! 2010/1/13 yjun hu itswa...@gmail.com which proxy are u using now? 2010/1/12 杨浩

[appengine-java] Re: Ant and providing email / password

2010-01-14 Thread steveb
Here's how I did it... java classname=com.google.appengine.tools.admin.AppCfg inputstring=${appengine.password} sysproperty key=appengine.sdk.root value=${sdk.dir} / classpath fileset

Re: [appengine-java] Any examples for low level datastore? or suggest another way?

2010-01-14 Thread Rusty Wright
Joel Weight wrote a data store service that I thought was easy to understand. Reading his code made me realize that what's in the data store is basically the fields of the object, without the object itself; therefore to re-hydrate an object from the data store, you first instantiate/new the

[appengine-java] Unable to open DataViewer

2010-01-14 Thread Saurabh Mehta
Hi, We have 2 applications, which we are using for demo for one of our customers.. - snugcampus-dtu-btech2010-demo - snugcampus-admissions-dtu-demo In both the applications we are facing the below issues which we need to address ASAP, before we have the next demo. 1) After we enter some test

Re: [appengine-java] Re: After how much time of no traffic does GAE shut-down the instance

2010-01-14 Thread 杨浩
the other talk about your problem!https://groups.google.com/group/google-appengine-java/msg/2c425aa60b091f5d?dmode=print GROUPS Title: App instance recycling and response times - is there solution?