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! GROUPS Title: App instance recycling and response times - is there solution?

[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 da

[appengine-java] Re: Youtube api issues - too many recent calls only on GAE

2010-01-14 Thread Kishore Jaladi
Hi Jason, - The GAE Application ID is aslituberprod - Yes, we are caching youtube data and refreshing it only 6 times an hour (not exactly once an hour). - And yes, I am using googe data client library for java to read data from Youtube. - I used to get "yt:quotatoo_many_recent_calls" very frequent

[appengine-java] Re: Compiling JSP with gdata: java.lang.NoClassDefFoundError: com/google/gdata/data/DateTime

2010-01-14 Thread Blessed Geek
Make sure all the jars found in your build path is also found in your war/WEB-INF/lib folder. -- 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 unsubscrib

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

2010-01-14 Thread Joel Weight
Wow, biggest code review ever for me. As a disclaimer, this is my first app-engine app, and I'm learning as I go along with the rest of you, so I'm sure there are plenty of shortcomings in this approach that I'll have to address as I get further along in my development. Also, since that link poin

Re: [appengine-java] entity collections and equals/hashCode

2010-01-14 Thread Rusty Wright
That's my understanding. For example, if your objects have collections, when you add a new object to the collection its id isn't set, then after you persist the outer object the new object is persisted and its id is set. jopaki wrote: Using GAE/J JDO, must one implement equals/hashCode based

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] Re: Ant and providing email / password

2010-01-14 Thread steveb
Here's how I did it... -- You received this message because you are subscribed t

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 杨浩 > 代理 支持ssl: > proxy.kerkgroep-hopjestad.com 3128 > jwe219.internetdsl.tpnet.pl 3128 > webmail.mwit.ac.th 80 > > 我一般用第一个,他不是很稳定! > > 2010/1/13 yjun hu > >> which proxy are u using now? >> >> 2010/1/12 杨浩 >> >>> 在中国appspot的https无法正

[appengine-java] Re: Chat Time transcript for January 6, 2009

2010-01-14 Thread Jason (Google)
Make that January 6th, 2010. :) - Jason On Jan 14, 5:30 pm, "Jason (Google)" wrote: > Last Wednesday, the App Engine team hosted the latest session of its > bimonthly IRC office hours. A transcript of the session and a summary > of the topics covered is provided below. The next session will take

[appengine-java] Chat Time transcript for January 6, 2009

2010-01-14 Thread Jason (Google)
Last Wednesday, the App Engine team hosted the latest session of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next session will take place next Wednesday, January 20th from 9:00-10:00 a.m. PST in the #appengine channel on irc

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 杨浩 : > create a cron:every one minutes to run for keep your app online in

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 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 instance is down t

[appengine-java] Build a desktop application to upload

2010-01-14 Thread istaous
Hi, I see it's possible to upload an application with appcfg.sh Is it possible to write my own swing desktop application to make that ? How ? What are the jar to include in classpath ? is there a maven repository for them ? Thanks. -- You received this message because you are subscribed to the

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

2010-01-14 Thread AJ Chen
Since app engine does not allow file writing, it probably does not expect any new file during run time. That's why you see the new file only after restarting the server. To "write new file" in app engine, I would think it as "put new file content into datastore". -aj On Thu, Jan 14, 2010 at 9:53 A

[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 C

[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 =

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 a

[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 q

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: http://code.google.com/appengine/docs/java

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 sti

[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 zip-b

[appengine-java] Ant and providing email / password

2010-01-14 Thread Marcel Overdijk
I have above ant target to update the app. But when run I get this message: [java] Your authentication credentials can't be found and may have expired. [java] Please run appcfg directly from the command line to re- es

[appengine-java] Ant and --enable_jar_splitting

2010-01-14 Thread Marcel Overdijk
I'm using the target as above but I get message: Found a jar file too large to upload. Consider using -- enable_jar_splitting. Did I specified something wrong in the above target to enable jar splitting? -- You received this

[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 cachin

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] Re: Question about inbound mail.

2010-01-14 Thread Thanasis
Anyone, pls? On Jan 14, 9:18 am, Thanasis wrote: > Hi all, > > I guess my question is directed to Google Engineers - unless someone > has previous experience. > > Hypothetical scenario: > > My application gets an inbound email. GAE starts the specified mail- > handling servlet, but this is affect

Re: [appengine-java] Re: Datanucleaus enhancement not run when non-persistent superclass modified

2010-01-14 Thread Miguel Méndez
This sounds like http://code.google.com/p/googleappengine/issues/detail?id=1941. On Wed, Jan 13, 2010 at 6:56 PM, Blessed Geek wrote: > OK Google, > what's the trigger? > > I erroneously thought that datanucleaus was a project of Google. Never > bothered to read what datanucleaus was all about.

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 t

[appengine-java] Compiling JSP with gdata: java.lang.NoClassDefFoundError: com/google/gdata/data/DateTime

2010-01-14 Thread Chris Roat
Hi, I've run through the example StockWatcher app, now attempting to extend it by turning it into a JSP to add some server side functionality with the java gdata client library. I can add a simple appengine User service based piece of code and even create a URL object: <%@ page import="com.googl

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 > which proxy are u using now? > > 2010/1/12 杨浩 > >> 在中国appspot的https无法正常工作,因为gfw屏蔽了这部分,你寻找一个https代理,然后再测试应该就没有问题了! >> > > > > -- > dream or truth > > -- You

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

2010-01-14 Thread 杨浩
治本只能等GAE的升级了,这样确实只能保证你的应用不会因为两分钟没有请求被关闭! 不知道GAE收费版本是不是没有这个问题 2010/1/13 yjun hu > 治标不治本 > > On Wed, Jan 13, 2010 at 1:24 PM, 杨浩 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 or truth > > -- Yo

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 > 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 value of your ThreadL

[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 wro

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

2010-01-14 Thread Stephan Hartmann
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 value of your ThreadLocal to null, prefferably in a finally block. 2010/1/14

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 > 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 final ThreadLocal

[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 G

[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] Re: Eclipse hangs at startup, Ubuntu

2010-01-14 Thread pgoetz
On Jan 14, 11:41 am, Blessed Geek 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 time. > > And do you

[appengine-java] Problem running GAE + GWT wizzard project

2010-01-14 Thread Ice13ill
Hello, i'm using gwt + gae in Eclipse Galileo and i'm trying to run the project created with the Web Application wizzard. After the project is created using GWT and GAE sdk (2.0 and 1.3.0) i tried running the application, but i get this exception when loading the page: Initializing AppEngine serve

[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 conn

[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 f

[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 prob

[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 i

[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 en