[appengine-java] The class "idv.petrie.prtm.model.Tweet" is not persistable.

2010-11-08 Thread Petrie Wong
Sorry. I am just facing this defeat. I just followed the instructions startup page and modified it. I try to google this but cannot find the answer. Any one can help me? package idv.petrie.prtm.model; import java.util.Date; import javax.jdo.annotations.IdGeneratorStrategy; import javax.jdo.anno

[appengine-java] Request was aborted after waiting too long to attempt to service your request: Request queued for less than 30 seconds

2010-04-25 Thread Wong
I get "Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team." when there is another request co

[appengine-java] Re: Having aggressive instance restarts?

2010-03-05 Thread Wong
This is a post from GAE Developer on 15 Jan 2010. Until now the problem still persists. From: Ikai Lan Date: Fri, 15 Jan 2010 15:32:58 -0800 Local: Sat, Jan 16 2010 7:32 am Subject: App Engine cold starts and overly aggressive cycling Reply | Reply to author | Forward | Print | Individual messa

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-04 Thread Wong
e see http://code.google.com/appengine/docs/quotas.html for more details." On Mar 4, 11:56 am, yjun hu wrote: > Sorry, i'm using spring+struts , action class means controller in spring > mvc. > run cron job to make reactive, it's a temporary way, just make this problem &g

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
; > On Thu, Mar 4, 2010 at 11:01 AM, Wong wrote: > > > I used to run cron to make request every 1 min to a jsp which only > > write out a line of text. I uses a HttpSessionListener to listen for > > any "loading request"/startup. Even ping every 1 min the loading >

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
; > Hitting a url every 1 miute, i did this ,that's all i did. > > > > On Thu, Mar 4, 2010 at 10:16 AM, Wong wrote: > > > This problem normally happens "In the case of loading requests, > > though, the execution time is artificially longer due to the ex

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
ldn't happen to be using > Spring, would you? > > On Mar 3, 7:57 pm, Wong wrote: > > > Hi, > > > I am using Spring MVC. The application being cycled out overly > > aggressively (sometimes less than 1 min) > > >http://groups.google.com/group/goog

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
pp running properly meanwhile waiting for Google for solution. On Mar 4, 8:57 am, Wong wrote: > Hi, > > I am using Spring MVC. The application being cycled out overly > aggressively (sometimes less than 1 min) > > http://groups.google.com/group/google-appengine-java/browse_th

[appengine-java] Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
Hi, I am using Spring MVC. The application being cycled out overly aggressively (sometimes less than 1 min) http://groups.google.com/group/google-appengine-java/browse_thread/thread/b57e6c4895333fa8/6ef609f7da203ab3?lnk=gst&q=overly#6ef609f7da203ab3 I register an HttpSessionListener to listen f

[appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-03-03 Thread Wong
I am experiencing the same problem. I am using Spring MVC. When is the expected date for solution? I am waiting for solution for long. If this problem persists, I have to switch to other platform. On Mar 3, 6:41 pm, SRF wrote: > I'm also seeing my app being cycled too quickly. > > - What is y

[appengine-java] Re: Two ManyToOne relationships in one class

2010-02-04 Thread Wong
  > correct representation? > > On 4 Feb 2010, at 12:25, Wong wrote: > > > > > I guess I have to opt for option 1. As the Venue and Person have > > already been persisted (e.g. Venue(12087) and Person(1)) before a Tip > > is created (posted on a venue by a person). In th

[appengine-java] Re: Two ManyToOne relationships in one class

2010-02-03 Thread Wong
> 2. Restructure your entity groups. Remember that these are in a tree-like > hierarchy with a root entity and child entities. This limits the way you can > design one-to-many relationships without using keys, as entities cannot be > part of multiple entity groups. Our docs on this are &g

[appengine-java] Two ManyToOne relationships in one class

2010-01-31 Thread Wong
In my application I have bi-directional one-to-many relationship between Venue and Tip. @Entity public class Venue implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key key; @OneToMany(cascade = CascadeType.ALL, mappedBy="v

[appengine-java] Re: Error creating EntityManagerFactory bean occasionally

2010-01-08 Thread Wong
I suspect the cause of the problem is the ping cron every 3 minutes. I also get the following warning: "This request used a high amount of CPU, and was roughly 1.2 times over the average request CPU limit. High CPU requests have a small quota, and if you exceed this quota, your app will be tempor

[appengine-java] Error creating EntityManagerFactory bean occasionally

2010-01-08 Thread Wong
Having problem in creating EntityManagerFactory bean occasionally on the production server. There is only one entityManagerFactory bean defined in my setup. I have a cron to ping a URL every 3 minutes which just print out a short text to solve the issue of slowness on first ti

[appengine-java] Re: SUBSTRING function for JPA

2010-01-04 Thread Wong
Thanks for your answer. I have post the bug. On Jan 5, 2:10 am, "Max Ross (Google)" wrote: > It's not implemented.  Could you please file a bug? > > http://code.google.com/p/datanucleus-appengine/issues/list > > Thanks, > Max > > On Sun, Jan 3, 2010 a

[appengine-java] SUBSTRING function for JPA

2010-01-03 Thread Wong
SUBSTRING function for JPA is not working. entityManager.createQuery("SELECT SUBSTRING(v.name, 1, 3) from Venue v") return v.name but NOT the substring. Anyone has any idea? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To po

[appengine-java] Re: Spring + Tiles : java.lang.NoClassDefFoundError: javax/el/ELContext

2009-12-08 Thread Wong
thin eclipse. I only got problem after deploying onto the appspot server. On Dec 9, 4:24 am, Rusty Wright wrote: > Do you have an EL jar in your lib directory?  For example, the > geronimo-el_1.0_spec-1.0.1.jar that comes with the app engine sdk? > > Wong wrote: > > Hi, > >

[appengine-java] Re: Spring + Tiles : java.lang.NoClassDefFoundError: javax/el/ELContext

2009-12-07 Thread Wong
bisociety' On Dec 6, 7:53 am, Rusty Wright wrote: > What do you mean by "no log"?  I often need to change the console web page's > filter level to debug to see some error messages. > > Wong wrote: > > Points to add > > > I'm using Spring 3.

[appengine-java] Re: Spring + Tiles : java.lang.NoClassDefFoundError: javax/el/ELContext

2009-12-01 Thread Wong
s.xml On Dec 1, 10:28 am, Wong wrote: > Hi, > > I'm trying to configure an environment with Spring and tiles. So far I > manage to be successful running the local web server within eclipse > but when I upload > my appspot

[appengine-java] Spring + Tiles : java.lang.NoClassDefFoundError: javax/el/ELContext

2009-12-01 Thread Wong
Hi, I'm trying to configure an environment with Spring and tiles. So far I manage to be successful running the local web server within eclipse but when I upload my appspot and run it I get this error: # Nested in javax.servlet.ServletException: org.springframework.beans.factory.BeanCreationExce

[appengine-java] Re: app console returns server error

2009-08-18 Thread Gabriel Wong
Don, Thanks for the update. On Aug 18, 12:10 pm, Don Schwarz wrote: > We're working on it.  No ETA yet. > > > > On Tue, Aug 18, 2009 at 2:08 PM, repairman wrote: > > >http://appengine.google.com/ returns server error.  The latest (8/18) > > maintenance must have broke the system.     Deployme