[appengine-java] Re: javax.annotation.Resource Spring 3.0.0.Release declarative DI on Google App Engine

2010-01-12 Thread Marcel Overdijk
Just read your post carefully now and notices that some parts of JSR-250 are supported. I'm wondering now the same why @Resource is not supported. Maybe GAE team can shed some light on this. Cheers, Marcel On 2 jan, 12:27, Ralf Sigmund ralf.sigm...@gmail.com wrote: Hi, i am a newbie to App

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

2010-01-12 Thread 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 ThreadLocalString sessionID = new ThreadLocalString(); And for

[appengine-java] Re: Grails GoogleAppEngine no metadata problem

2010-01-12 Thread datanucleus
The log tells you way more than that ... at enhancement and at runtime ... ***at DEBUG level***. The input classes are a start point, but you need to post them. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group,

[appengine-java] Re: Problem running on datastore first time

2010-01-12 Thread Ian Marshall
Visit the Google App Engine Administration Console at https:// appengine.google.com, sign in, select your application, and select Main | Logs. -- 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] HardDeadlineExceededError stack trace

2010-01-12 Thread jd
Hi, From a task servlet I catch DeadlineExceededException put another task on the queue to continue the work. This was working well until a few days ago - recently it has been throwing a HardDeadlineExceededError after the new ask is added to the queue resulting in many tasks executing (i.e. the

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

2010-01-12 Thread 杨浩
在中国appspot的https无法正常工作,因为gfw屏蔽了这部分,你寻找一个https代理,然后再测试应该就没有问题了! -- 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

Re: [appengine-java] Appengine::Login Error

2010-01-12 Thread Bhim Khadka
Dear, custmor, thank you very much sent Your login is wrong Please retry only On 1/3/10, sathish12345678 sathishp...@gmail.com wrote: Hi, I just would like to notify an error message which I got while navigating from login page of appengine. Error Message: Error: Server Error The

[appengine-java] Serious problem with DataNuclues and JPA EntityManager in Eclipse

2010-01-12 Thread Marcel Overdijk
I'have a serioud problem to het DataNuclues and JPA EntityManager to work in combination with Spring 3. I have this exception: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/ spring.xml]: Invocation of init method failed; nested exception is

[appengine-java] Re: Serious problem with DataNuclues and JPA EntityManager in Eclipse

2010-01-12 Thread Marcel Overdijk
H, My bad I configured the wrong output folder for test classes in Eclipse. They were written to /WEB-INF/classes. After writing them to a custom /target/test-classes folder I could start the app successfully. So it seems to work. In my test code I can see entitymanager was not injected yet,

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

2010-01-12 Thread Konrad
Hi, I decided to do some long-run performance tests on my application. I created some small client hitting app every 5-30 minutes and I run 3-5 of threads with such client. I noticed huge differenced in response times and started to investigate issue. I found reason very quick. I am experiencing

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

2010-01-12 Thread George Moschovitis
When testing my app with the DevServer I face the following problem: If I add a new file in the war/ directory *after* the application has started the application cannot access it: java.security.AccessControlException: access denied (java.io.FilePermission WEB-INF/src/path/to/newfile.ext read)

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

2010-01-12 Thread Konrad
I asked same question on Stack Overflow (http://stackoverflow.com/ questions/2051036/google-app-engine-application-instance-recycling-and- response-times). So far proposed solutions (in SO thread and found on other websites) do not satisfy me. Creating cron or any other kind of periodic HTTP

Re: [appengine-java] Re: Unexpected error during precommit, with owned relation, if childList is null

2010-01-12 Thread Max Ross (Google)
Hi Kemal, thanks for the report. I can reproduce the exception and I can make the exception go away by removing the column = F_PK attributes from the @Persistent annotations. I don't yet know why this is causing a problem but overriding the name of a primary key column doesn't do anything (the

[appengine-java] Starting the Dev Server

2010-01-12 Thread tf
hi i have just installed the java sdk. after extracting the files from the appengine-java-sdk-1.3.0 jar, I am trying to start the server with at the command line with the following: C:\Program Files\GoogleAppEngine\appengine-java- sdk-1.3.0\bindev_appserver.cmd C:\Program Files\GoogleAppEngine

[appengine-java] GAE

2010-01-12 Thread amit rathod
GAE has a limitation of allowing applications to store not more than 10MB of a single large file on it’s server. This may not be a problem for some of the web applications. This is a serious issue for many web applications which assume sufficiently large underlying storage, -- You received this

[appengine-java] Re: Task Queue problems

2010-01-12 Thread misterm
Translates to: In China appspot the https does not work, because gfw shielding this section, you find an https proxy, and then testing should be no problem! On 12 Jan., 12:29, 杨浩 skzr@gmail.com wrote: 在中国appspot的https无法正常工作,因为gfw屏蔽了这部分,你寻找一个https代理,然后再测试应该就没有问题了!-- You received this message

[appengine-java] Starting the Dev Server

2010-01-12 Thread tf
hi i have just installed the java sdk. after extracting the files from the appengine-java-sdk-1.3.0 jar, I am trying to start the server with at the command line with the following: C:\Program Files\GoogleAppEngine\appengine-java- sdk-1.3.0\bindev_appserver.cmd C:\Program Files\GoogleAppEngine

[appengine-java] Starting the Dev Server

2010-01-12 Thread tf
hi i have just installed the java sdk. after extracting the files from the appengine-java-sdk-1.3.0 jar, I am trying to start the server with at the command line with the following: C:\Program Files\GoogleAppEngine\appengine-java- sdk-1.3.0\bindev_appserver.cmd C:\Program Files\GoogleAppEngine

[appengine-java] Re: BlobstoreService:Must call one of set*BlobStorage() first.

2010-01-12 Thread GMap
Hello , I'm having the same problem , any solution ? Thanks Regards Buminda On Dec 20 2009, 5:21 pm, CHEN ncow...@gmail.com wrote: i am using appengine-java-sdk-1.3.0 with eclipse now. in my page,when i click the SUBMIT button,it shows this message:

Re: [appengine-java] Re: Blobstore - delete record from apps console

2010-01-12 Thread Jason (Google)
What application ID are you using, and what kind of error do you see when you try to delete the blob? Can you clarify how you were able to delete the blob from mediastore apps but not the apps console (which I assume refers to the Admin Console for your app)? If you weren't successful in deleting

Re: [appengine-java] Using GWT RPC for Browser client on GAE - and RESTful to access data from Android/iPhone

2010-01-12 Thread Jason (Google)
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

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

2010-01-12 Thread Don Schwarz
Make sure you are using offline precompilation. We are always working on optimizations to decrease the latency of loading requests, but here are some other tips: http://googleappengine.blogspot.com/2009/12/request-performance-in-java.html On Tue, Jan 12, 2010 at 3:01 PM, Locke

Re: [appengine-java] Re: Unexpected error during precommit, with owned relation, if childList is null

2010-01-12 Thread Max Ross (Google)
Fixed in trunk On Tue, Jan 12, 2010 at 12:56 PM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com wrote: Sure, glad I could help. On Tue, Jan 12, 2010 at 12:52 PM, Kemal Dogan kemal.m...@gmail.comwrote: hi max, thanks you very much. On Tue, Jan 12, 2010 at 10:44

Re: [appengine-java] why memcache doesn't saves @NonPersistent child object of a detached parent?

2010-01-12 Thread Jason (Google)
Hi Prashant. This doesn't appear to have anything to do with memcache. Your complaint is that @NotPersistent-annotated fields are reassigned to null when the object is detached. I'm not familiar enough with the JDO specification to say whether this is expected, but I've filed a bug and Max will

Re: [appengine-java] Building Scalable Complex App

2010-01-12 Thread Jason (Google)
Can you be more specific about what you're trying to accomplish so we don't have to search through the video to find what you're looking for? Or, at least provide a timeline reference that we can refer to in the video. :) Thanks, - Jason On Mon, Jan 11, 2010 at 7:29 AM, Duong BaTien

Re: [appengine-java] hello when i used Google App Engine for Java I get this question

2010-01-12 Thread Jason (Google)
1) I wasn't able to reproduce this in either the development or production environments. I created a very simple PersistenceCapable JDO object, persisted 10 of them, then queried for these changing the values of setRange as I did so, using 0, then 2, then up to 9, and every time, the query

Re: [appengine-java] Re: Beginner question: one to many relationship

2010-01-12 Thread Jason (Google)
If you're using JDO, then just as Juan said, you can fetch the author's books when you fetch the author entities themselves. Just make sure to specify that the books field is in the default fetch group: @Persistent(defaultFetchGroup = true) private ListBook books; //... public ListBook

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

2010-01-12 Thread Jason (Google)
First, what is your application ID? Second, how do you guarantee that you only make the call once per hour? Do you have it set up as a cron job or are you just making the call once a memcache value expires or are you using another mechanism? What kind of call are you making to the YouTube API and

Re: [appengine-java] Building Scalable Complex App

2010-01-12 Thread Duong BaTien
Hi Jason, the author Brett Slatkin and others: 1) For the list property, the video shows simple example of standard 1:n Message Receivers in python and Java. It then demonstrates a very efficient technique of Message and MessageIndex with the query of MessageIndex in python (NO Java from then

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

2010-01-12 Thread Jeff Schnitzer
I've been thinking about this issue a little. It's not quite as straightforward as just keeping an instance warm. Even if you have an app that gets multiple hits per second, there will still be cold starts: * When a new instance comes online to serve more demand. * When you redeploy a version

[appengine-java] Re: Blobstore - delete record from apps console

2010-01-12 Thread YONG
What application ID are you using, and what kind of error do you see when you try to delete the blob? my app ID is yong8128. When I try to delete it from Admin Console, Blob Viewer, I got the Server Error A server error has occurred. Return to Applications screen » I had uploaded a few blob

[appengine-java] Is it working in singleton model?

2010-01-12 Thread jay
Hello, I am using spring framework in my project, there are couples of Singlton Beans. I save some information in the properties of these beans and change them at runtime. I am not sure appengnine supports singleton or not? I heard about that appengine has more than one servers serve to one

Re: [appengine-java] QuotaService

2010-01-12 Thread John Patterson
One very minimal report made: http://code.google.com/p/googleappengine/issues/detail?id=2639 On 13 Jan 2010, at 04:39, Don Schwarz wrote: Sorry for the slow response. Yes, there appears to be a bug here. Please file an issue in our issue tracker:

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

2010-01-12 Thread Jeff Schnitzer
This is a tragedy of the commons. It may in fact work for you right now, and will continue to work... until it doesn't. It will stop working when enough people figure it out and millions of zombie applications push the working applications out of memory. Or Google pulls the plug on this

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

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

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

2010-01-12 Thread yjun hu
治标不治本 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! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group.

Re: [appengine-java] org.datanucleus.exceptions.NucleusUserException: Object of type xxx and identity yyy was not detached correctly.

2010-01-12 Thread Prashant Gupta
Hi, I changed Owned one-to-many relationship to Unowned one-to-many but still getting same error. I have explained it here - http://groups.google.com/group/google-appengine-java/browse_thread/thread/ed5ab46f0f0be3f7 2010/1/13 Jason (Google) apija...@google.com Hi Prashant. Please paste your

[appengine-java] Java Agent

2010-01-12 Thread Kartik
Hi, I would like to add my own java agent to instrument my code, but there seems to be no place where I can specify the -javaagent option. Is there a plan to support Java agent? Thanks. -Kartik -- You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] Re: HardDeadlineExceededError stack trace

2010-01-12 Thread Wesley Chun (Google)
john, HardDeadlineExceededError cannot be caught. you should see DeadlineExceededException and catch that instead... as explained in this thread below, seeing HardDeadlineExceededError means that something has caused DeadlineExceededException to get discarded or it's going so fast, that there