[appengine-java] I met an very strange thing when i try to persist entity and use jcache

2009-09-06 Thread zhiw...@gmail.com
two entities: Post and Category, i user jpa. @Entity public class Post implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key id; @ManyToOne private Category category; } @Entity public class Category implements Serializable, Cloneable{

[appengine-java] Re: I met an very strange thing when i try to persist entity and use jcache

2009-09-07 Thread zhiw...@gmail.com
thank you , the DataNucleus have the similiar cache level with hibernate. i did not found it before. so i will not have to dircetly use cache api myself. i think i should read DataNucleus carefully sometime --~--~-~--~~~---~--~~ You received this message because

[appengine-java] struts 2.1.8 met AccessControlException with app engine's local server

2009-10-31 Thread zhiw...@gmail.com
when i use struts 2.1.8 and app engine sdk 1.2.6(1.2.5 also the same) , when web app start, it throw the exception java.security.AccessControlException: access denied (java.io.FilePermission jar:file:\F:\mysrc\Guestbook\build\web\WEB-INF \lib\struts2-core-2.1.8.1.jar read) at java.secu

[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server

2009-10-31 Thread zhiw...@gmail.com
now i have to use 2.1.6 in my computer and replace the lib to 2.1.8 when i update to app engine server On Oct 31, 10:56 pm, "zhiw...@gmail.com" wrote: > when i use struts 2.1.8 and app engine sdk 1.2.6(1.2.5 also the > same)  ,   when web app start, it thr

[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server

2009-10-31 Thread zhiw...@gmail.com
now i have to use 2.1.6 in my computer and replace the lib to 2.1.8 when i update to app engine server On Oct 31, 10:56 pm, "zhiw...@gmail.com" wrote: > when i use struts 2.1.8 and app engine sdk 1.2.6(1.2.5 also the > same)  ,   when web app start, it thr

[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server

2009-10-31 Thread zhiw...@gmail.com
now i have to use 2.1.6 in my computer and replace the lib to 2.1.8 when i update to app engine server On Oct 31, 10:56 pm, "zhiw...@gmail.com" wrote: > when i use struts 2.1.8 and app engine sdk 1.2.6(1.2.5 also the > same)  ,   when web app start, it thr

[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server

2009-10-31 Thread zhiw...@gmail.com
now i have to use 2.1.6 in my computer and replace the lib to 2.1.8 when i update to app engine server On Oct 31, 10:56 pm, "zhiw...@gmail.com" wrote: > when i use struts 2.1.8 and app engine sdk 1.2.6(1.2.5 also the > same)  ,   when web app start, it thr

[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server

2009-11-01 Thread zhiw...@gmail.com
oh my god. i bulid a new web app and it runs well , does not throw that exception again. On Nov 1, 10:27 am, "zhiw...@gmail.com" wrote: > now i have to use 2.1.6 in my computer and replace the lib to 2.1.8 > when i update to app engine server > > On Oct 31, 10:56 

[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server

2009-11-01 Thread zhiw...@gmail.com
i got the solution. it was because i turn the devMode on when i delete it from struts.xml, every thing work well. isn't it a bug for struts 2.1.8 ? On Nov 1, 4:29 pm, "zhiw...@gmail.com" wrote: > oh my god.   i bulid a new web app and it runs well , does not throw >

[appengine-java] why my app on GAE first access is so slow

2009-11-07 Thread zhiw...@gmail.com
i deploy my app on gae. every time i access it , it may take 10~20 second to open the page on the first time, then i access other link in my app or simply refresh it, it is normal ,very fast only take few second. but then i stop access the page, after some time, i access the page again, it will

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-07 Thread zhiw...@gmail.com
yes, i think so. GAE is an exciting concept but this issue is so bad. if the app is an official business app, nobody can tolerate the first time access, it is too slow On Nov 8, 7:00 am, Joseph Stano wrote: > I have the same problem with my grails app.  GAE is an exciting > concept bu

[appengine-java] Re: receiving mail demo

2009-11-07 Thread zhiw...@gmail.com
Properties props = new Properties(); Session session = Session.getDefaultInstance(props, null); Message message = new MimeMessage(session, request.getInputStream()); String subject = message.getSubject(); DataHandler dataHandler = messa

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-08 Thread zhiw...@gmail.com
thanks , i will try it On Nov 9, 10:18 am, philburk wrote: > > The logging/query idea is probably the best workaround, but I don't have > > such a client to do this querying.  If I did, I'd just host my app on it :) > > You could schedule a cron job in GAE that tickled your app. If it ran > ofte

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-08 Thread zhiw...@gmail.com
thanks , i will try it On Nov 9, 10:18 am, philburk wrote: > > The logging/query idea is probably the best workaround, but I don't have > > such a client to do this querying.  If I did, I'd just host my app on it :) > > You could schedule a cron job in GAE that tickled your app. If it ran > ofte

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-08 Thread zhiw...@gmail.com
thanks , i will try it On Nov 9, 10:18 am, philburk wrote: > > The logging/query idea is probably the best workaround, but I don't have > > such a client to do this querying.  If I did, I'd just host my app on it :) > > You could schedule a cron job in GAE that tickled your app. If it ran > ofte

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-08 Thread zhiw...@gmail.com
thanks , i will try it On Nov 9, 10:18 am, philburk wrote: > > The logging/query idea is probably the best workaround, but I don't have > > such a client to do this querying.  If I did, I'd just host my app on it :) > > You could schedule a cron job in GAE that tickled your app. If it ran > ofte

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-09 Thread zhiw...@gmail.com
On Nov 9, 11:40 am, "zhiw...@gmail.com" wrote: > thanks , i will try it > > On Nov 9, 10:18 am, philburk wrote: > > > > > > The logging/query idea is probably the best workaround, but I don't have > > > such a client to do this querying.  If I

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-09 Thread zhiw...@gmail.com
i set the time to 5min , but i can still find the contextInitialized info, seems gae's time-out is very short, now i test set it to 3min On Nov 9, 10:18 pm, Joseph Stano wrote: > have you noticed if that solves the timeout issue? > > > > On Mon, Nov 9, 2009 at 5:04 AM, zhiw

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-09 Thread zhiw...@gmail.com
i set the time to 5min , but i can still find the contextInitialized info, seems gae's time-out is very short, now i test set it to 3min On Nov 9, 10:18 pm, Joseph Stano wrote: > have you noticed if that solves the timeout issue? > > > > On Mon, Nov 9, 2009 at 5:04 AM, zhiw

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-09 Thread zhiw...@gmail.com
I think access speed is open in since the second > times always > because by the thing that keeps being accessed with cron > > If the display speed is still slow, the cause might be different. > > thanks, > > On Nov 9, 11:30 pm, "zhiw...@gmail.com" wrote: >

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-10 Thread zhiw...@gmail.com
led analysis might be necessary to decrease the CPU > > TIME. > > > thunks > > > 2009/11/10 zhiw...@gmail.com : > > > > now i set the schedule time to 3min, it seems work, every time i > > > access my app, i can hardly feel slow. my cron job access a

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-11 Thread zhiw...@gmail.com
ick?  Is this technique > still working for you? > > On Nov 10, 8:24 pm, "zhiw...@gmail.com" wrote: > > > > > i think the gae cloud envrionment does not have the region concept. > > every app run on a virtual server , the cron job is used to make the >

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-11 Thread zhiw...@gmail.com
i only test it in my country, i don't know whether it is still effective for request that from a foreign country. but to me it is enough On Nov 12, 10:30 am, "zhiw...@gmail.com" wrote: > i turn it to 1min, the cron job access a servlet that do nothing just > for active

[appengine-java] Re: Cannot get guestbook.jsp of Guestbook app to work

2009-11-14 Thread zhiw...@gmail.com
1. make sure use jdk1.5 or 1.6 2. uninstall your jre , only let jdk in your computer. On Nov 15, 8:10 am, Martin wrote: > Hello - I'm trying to work through the Guestbook tutorial of Google > App Engine tutorial.  (Using Eclipse), but getting stuck at the > section where I develop jsps (and the

[appengine-java] Re: Spring application context initialization on every request

2010-01-03 Thread zhiw...@gmail.com
have a look at this link: http://groups.google.com/group/google-appengine-java/browse_thread/thread/603cc766d1e1c3d4/88913abfcb6351e8 On Dec 31 2009, 6:17 pm, Naim wrote: > Hi, > > I have deployed a small application on appengine using Spring > framework. > But I have noticed, if my app does not

[appengine-java] Discussion on will-it-play-in-app-engine

2010-02-11 Thread zhiw...@gmail.com
jersey 1.1.5 final now fully support gae http://blogs.sun.com/sandoz/entry/jersey_1_1_5_is -- 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

[appengine-java] Re: App Engine Really Slow after certain time of no requests

2010-11-13 Thread zhiw...@gmail.com
http://code.google.com/intl/en/appengine/kb/java.html#What_Is_A_Loading_Request On Nov 12, 1:48 am, GeneralSlaine wrote: > Hi all, > > I have had a number of performance issues on initial loading of my app > engine application. Part of it is already solved by using Caching. > However, my applicat