[appengine-java] Re: App Engine Really Slow after certain time of no requests
http://code.google.com/intl/en/appengine/kb/java.html#What_Is_A_Loading_Request On Nov 12, 1:48 am, GeneralSlaine lennart.ben...@gmail.com 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 application is still very slow when first loading a servlet after a certain amount of time of inactivity (I think about 1 minute). After this period of inactivity it takes from 3 to 6 seconds to load. Next requests take typically 400 MS. The initial load time is not acceptable for the actual application. Anyone any experience with this? How can I avoid this? I already considered implementing following solutions to keep application / servlet in memory 1/ call application every minute from external application 2/ setup a cron job performing a request every minute to actual servlet I think both are a solution but honestly not my preferred solution as I expect performance from this platform. BRL -- 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 email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Discussion on will-it-play-in-app-engine
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 from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Spring application context initialization on every request
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 mdnh...@gmail.com wrote: Hi, I have deployed a small application on appengine using Spring framework. But I have noticed, if my app does not get any request for a after period of time (10 mins perhaps), all the initialization done by Spring vanishes. To serve the next request, it initializes the Spring application context and all the servlet contexts. At the moment, I am preventing this by running a cron that makes a request to my app every minute. Is there any other way? Am I missing something? __ Naim mdnh...@gmail.com -- 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 email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Cannot get guestbook.jsp of Guestbook app to work
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 martin.j.lebor...@gmail.com 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 then develop a guestbook.jsp) I'm able to get the project working - I can manipulate the GuestbookServlet class file to display a welcome message. However, when I attempt to incorporate the guestbook.jsp, I still only see the old display message that I wrote in GuestbookServlet. (I've recompiled, restarted Eclipse, and even restarted computer). 1) Web xml looks like: welcome-file-list welcome-fileguestbook.jsp/welcome-file /welcome-file-list 2) guestbook.jsp is pasted directly from tutorial. 3) Going to http://localhost:8080/guestbook; yields the message I coded in the GuestbookServlet 4) Going directly to:http://localhost:8080/guestbook.jspyields an error: Error running javac.exe compiler RequestURI=/guestbook.jsp Caused by: Error running javac.exe compiler at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExter nalCompile (DefaultCompilerAdapter.java:473) at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute (JavacExternal.java:47) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java: 382) 5) I even trimmed out all jsp code from guestbook.jsp and i get same results - get servlet message from going to /guestbook and get above error from going directly to guestbook.jsp. (And yeap, I recompiled and restarted) . Any thoguhts? Thank you very much for your help. I greatly appreciate it. Martin -- 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 email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=.
[appengine-java] Re: why my app on GAE first access is so slow
i turn it to 1min, the cron job access a servlet that do nothing just for active the app. every 24h it only used 1% of the free cpu-time . now at least when i access my app, it was not slow like before. but sometime the app still be inactive, although the cron job active the app, when i access sush as mainpage, it still took sometime to load the servlet. gae doc wrote: load-on-start doesn't work , the servlet will be load on first accessed. i think use cron job to access mainpage is better. now i have not try ths. On Nov 12, 5:04 am, James H james.hollier...@gmail.com wrote: So, 1-3 minute intervals seem to do the trick? Is this technique still working for you? On Nov 10, 8:24 pm, zhiw...@gmail.com 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 virtual server active. if the virtual server is active, when access the app, there is no need to reinit such as spring listener etc, so delay time is short, that is so simple i think. On Nov 10, 7:30 am, James H james.hollier...@gmail.com wrote: How would a single cron task really help in an environment where multitudes of app servers are involved based on demand, geography, etc? So, how will the task that just ran help someone in U.S. and simultaneously help someone in Russia on the same app? I assume they are potentially running on different app servers. On Nov 10, 1:51 am, m seleron seler...@gmail.com wrote: Thank you for useful information. Though various situations are thought I think that a detailed analysis might be necessary to decrease the CPU TIME. thunks 2009/11/10 zhiw...@gmail.com 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 servlet that do nothing and just for active my app. set the schedule time to 1min is better i think,although it will take some cpu time. On Nov 9, 11:31 pm, m seleron seler...@gmail.com wrote: I'm sorry very much. It examined. ServletContextListener#contextDestoryed was not called. It was necessary to examine it accurately. Nichole. Thank you for advice. Does not the page access speed become early? When you access that 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 zhiw...@gmail.com wrote: 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 joseph.st...@gmail.com wrote: have you noticed if that solves the timeout issue? On Mon, Nov 9, 2009 at 5:04 AM, zhiw...@gmail.com zhiw...@gmail.com wrote: it seems only contextInitialized method can be executed, and contextDestroyed never be executed. so i can not get the time my app alive after it was actived. i have use cron job to access a servlet in my app every 10min to avoid app be inactive, if necessary i will turn the time to 5min or less On Nov 9, 11:40 am, zhiw...@gmail.com zhiw...@gmail.com wrote: thanks , i will try it On Nov 9, 10:18 am, philburk p...@softsynth.com 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 often enough it might keep it resident. http://code.google.com/appengine/docs/java/config/cron.html-Hidequotedtext - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: why my app on GAE first access is so slow
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 zhiw...@gmail.com wrote: i turn it to 1min, the cron job access a servlet that do nothing just for active the app. every 24h it only used 1% of the free cpu-time . now at least when i access my app, it was not slow like before. but sometime the app still be inactive, although the cron job active the app, when i access sush as mainpage, it still took sometime to load the servlet. gae doc wrote: load-on-start doesn't work , the servlet will be load on first accessed. i think use cron job to access mainpage is better. now i have not try ths. On Nov 12, 5:04 am, James H james.hollier...@gmail.com wrote: So, 1-3 minute intervals seem to do the trick? Is this technique still working for you? On Nov 10, 8:24 pm, zhiw...@gmail.com 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 virtual server active. if the virtual server is active, when access the app, there is no need to reinit such as spring listener etc, so delay time is short, that is so simple i think. On Nov 10, 7:30 am, James H james.hollier...@gmail.com wrote: How would a single cron task really help in an environment where multitudes of app servers are involved based on demand, geography, etc? So, how will the task that just ran help someone in U.S. and simultaneously help someone in Russia on the same app? I assume they are potentially running on different app servers. On Nov 10, 1:51 am, m seleron seler...@gmail.com wrote: Thank you for useful information. Though various situations are thought I think that a detailed analysis might be necessary to decrease the CPU TIME. thunks 2009/11/10 zhiw...@gmail.com 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 servlet that do nothing and just for active my app. set the schedule time to 1min is better i think,although it will take some cpu time. On Nov 9, 11:31 pm, m seleron seler...@gmail.com wrote: I'm sorry very much. It examined. ServletContextListener#contextDestoryed was not called. It was necessary to examine it accurately. Nichole. Thank you for advice. Does not the page access speed become early? When you access that 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 zhiw...@gmail.com wrote: 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 joseph.st...@gmail.com wrote: have you noticed if that solves the timeout issue? On Mon, Nov 9, 2009 at 5:04 AM, zhiw...@gmail.com zhiw...@gmail.com wrote: it seems only contextInitialized method can be executed, and contextDestroyed never be executed. so i can not get the time my app alive after it was actived. i have use cron job to access a servlet in my app every 10min to avoid app be inactive, if necessary i will turn the time to 5min or less On Nov 9, 11:40 am, zhiw...@gmail.com zhiw...@gmail.com wrote: thanks , i will try it On Nov 9, 10:18 am, philburk p...@softsynth.com 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 often enough it might keep it resident. http://code.google.com/appengine/docs/java/config/cron.html-Hidequote...- - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: why my app on GAE first access is so slow
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 virtual server active. if the virtual server is active, when access the app, there is no need to reinit such as spring listener etc, so delay time is short, that is so simple i think. On Nov 10, 7:30 am, James H james.hollier...@gmail.com wrote: How would a single cron task really help in an environment where multitudes of app servers are involved based on demand, geography, etc? So, how will the task that just ran help someone in U.S. and simultaneously help someone in Russia on the same app? I assume they are potentially running on different app servers. On Nov 10, 1:51 am, m seleron seler...@gmail.com wrote: Thank you for useful information. Though various situations are thought I think that a detailed analysis might be necessary to decrease the CPU TIME. thunks 2009/11/10 zhiw...@gmail.com 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 servlet that do nothing and just for active my app. set the schedule time to 1min is better i think,although it will take some cpu time. On Nov 9, 11:31 pm, m seleron seler...@gmail.com wrote: I'm sorry very much. It examined. ServletContextListener#contextDestoryed was not called. It was necessary to examine it accurately. Nichole. Thank you for advice. Does not the page access speed become early? When you access that 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 zhiw...@gmail.com wrote: 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 joseph.st...@gmail.com wrote: have you noticed if that solves the timeout issue? On Mon, Nov 9, 2009 at 5:04 AM, zhiw...@gmail.com zhiw...@gmail.com wrote: it seems only contextInitialized method can be executed, and contextDestroyed never be executed. so i can not get the time my app alive after it was actived. i have use cron job to access a servlet in my app every 10min to avoid app be inactive, if necessary i will turn the time to 5min or less On Nov 9, 11:40 am, zhiw...@gmail.com zhiw...@gmail.com wrote: thanks , i will try it On Nov 9, 10:18 am, philburk p...@softsynth.com 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 often enough it might keep it resident. http://code.google.com/appengine/docs/java/config/cron.html-Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: why my app on GAE first access is so slow
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 joseph.st...@gmail.com wrote: have you noticed if that solves the timeout issue? On Mon, Nov 9, 2009 at 5:04 AM, zhiw...@gmail.com zhiw...@gmail.com wrote: it seems only contextInitialized method can be executed, and contextDestroyed never be executed. so i can not get the time my app alive after it was actived. i have use cron job to access a servlet in my app every 10min to avoid app be inactive, if necessary i will turn the time to 5min or less On Nov 9, 11:40 am, zhiw...@gmail.com zhiw...@gmail.com wrote: thanks , i will try it On Nov 9, 10:18 am, philburk p...@softsynth.com 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 often enough it might keep it resident. http://code.google.com/appengine/docs/java/config/cron.html --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: why my app on GAE first access is so slow
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 joseph.st...@gmail.com wrote: have you noticed if that solves the timeout issue? On Mon, Nov 9, 2009 at 5:04 AM, zhiw...@gmail.com zhiw...@gmail.com wrote: it seems only contextInitialized method can be executed, and contextDestroyed never be executed. so i can not get the time my app alive after it was actived. i have use cron job to access a servlet in my app every 10min to avoid app be inactive, if necessary i will turn the time to 5min or less On Nov 9, 11:40 am, zhiw...@gmail.com zhiw...@gmail.com wrote: thanks , i will try it On Nov 9, 10:18 am, philburk p...@softsynth.com 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 often enough it might keep it resident. http://code.google.com/appengine/docs/java/config/cron.html --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: why my app on GAE first access is so slow
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 servlet that do nothing and just for active my app. set the schedule time to 1min is better i think,although it will take some cpu time. On Nov 9, 11:31 pm, m seleron seler...@gmail.com wrote: I'm sorry very much. It examined. ServletContextListener#contextDestoryed was not called. It was necessary to examine it accurately. Nichole. Thank you for advice. Does not the page access speed become early? When you access that 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 zhiw...@gmail.com wrote: 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 joseph.st...@gmail.com wrote: have you noticed if that solves the timeout issue? On Mon, Nov 9, 2009 at 5:04 AM, zhiw...@gmail.com zhiw...@gmail.com wrote: it seems only contextInitialized method can be executed, and contextDestroyed never be executed. so i can not get the time my app alive after it was actived. i have use cron job to access a servlet in my app every 10min to avoid app be inactive, if necessary i will turn the time to 5min or less On Nov 9, 11:40 am, zhiw...@gmail.com zhiw...@gmail.com wrote: thanks , i will try it On Nov 9, 10:18 am, philburk p...@softsynth.com 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 often enough it might keep it resident. http://code.google.com/appengine/docs/java/config/cron.html --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: why my app on GAE first access is so slow
thanks , i will try it On Nov 9, 10:18 am, philburk p...@softsynth.com 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 often enough it might keep it resident. http://code.google.com/appengine/docs/java/config/cron.html --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: why my app on GAE first access is so slow
thanks , i will try it On Nov 9, 10:18 am, philburk p...@softsynth.com 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 often enough it might keep it resident. http://code.google.com/appengine/docs/java/config/cron.html --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: why my app on GAE first access is so slow
thanks , i will try it On Nov 9, 10:18 am, philburk p...@softsynth.com 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 often enough it might keep it resident. http://code.google.com/appengine/docs/java/config/cron.html --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] why my app on GAE first access is so slow
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 also like what i descirbe before; it is as if every time my first access, gae restart the server ,reinit the jsp file . does someone else met the same like me ?? --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: why my app on GAE first access is so slow
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 joseph.st...@gmail.com wrote: I have the same problem with my grails app. GAE is an exciting concept but this issue is so bad that I'm going to seek a different service to host my app. GAE+grails is too new at this point for an actual grails-based production site. On 11/7/09, m seleron seler...@gmail.com wrote: Hi ServletContextListener I do know the approximate time of use. example ServletContextListener#contextInitialized Been called from time to be called doPost/doGet. When I called to check ServletContextListener#contextDestoryed. --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server
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 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 pm, zhiw...@gmail.com 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 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.security.AccessControlContext.checkPermission (AccessControlContext.java:323) at java.security.AccessController.checkPermission (AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java: 532) at com.google.appengine.tools.development.DevAppServerFactory $CustomSecurityManager.checkPermission(DevAppServerFactory.java:139) at java.lang.SecurityManager.checkRead(SecurityManager.java:871) at java.util.zip.ZipFile.(ZipFile.java:109) at java.util.jar.JarFile.(JarFile.java:133) at java.util.jar.JarFile.(JarFile.java:70) .. the exception happend in local server . but when i update my app to app engine server. it runs well . struts 2.1.6 didn't appear this, but version 2.1.8 fixed some things that make struts-convention-plugin can work on app engine and also have offical json plugin. so i have to use v 2.1.8. i have read the 'Will it play in App Engine ' ,it does not have a solution. how can make struts 2.1.8 work well on local server? thanks in advance! --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server
i got the solution. it was because i turn the devMode on constant name=struts.devMode value=true / 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 zhiw...@gmail.com wrote: 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 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 pm, zhiw...@gmail.com 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 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.security.AccessControlContext.checkPermission (AccessControlContext.java:323) at java.security.AccessController.checkPermission (AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java: 532) at com.google.appengine.tools.development.DevAppServerFactory $CustomSecurityManager.checkPermission(DevAppServerFactory.java:139) at java.lang.SecurityManager.checkRead(SecurityManager.java:871) at java.util.zip.ZipFile.(ZipFile.java:109) at java.util.jar.JarFile.(JarFile.java:133) at java.util.jar.JarFile.(JarFile.java:70) .. the exception happend in local server . but when i update my app to app engine server. it runs well . struts 2.1.6 didn't appear this, but version 2.1.8 fixed some things that make struts-convention-plugin can work on app engine and also have offical json plugin. so i have to use v 2.1.8. i have read the 'Will it play in App Engine ' ,it does not have a solution. how can make struts 2.1.8 work well on local server? thanks in advance! --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server
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 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 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.security.AccessControlContext.checkPermission (AccessControlContext.java:323) at java.security.AccessController.checkPermission (AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java: 532) at com.google.appengine.tools.development.DevAppServerFactory $CustomSecurityManager.checkPermission(DevAppServerFactory.java:139) at java.lang.SecurityManager.checkRead(SecurityManager.java:871) at java.util.zip.ZipFile.(ZipFile.java:109) at java.util.jar.JarFile.(JarFile.java:133) at java.util.jar.JarFile.(JarFile.java:70) .. the exception happend in local server . but when i update my app to app engine server. it runs well . struts 2.1.6 didn't appear this, but version 2.1.8 fixed some things that make struts-convention-plugin can work on app engine and also have offical json plugin. so i have to use v 2.1.8. i have read the 'Will it play in App Engine ' ,it does not have a solution. how can make struts 2.1.8 work well on local server? thanks in advance! --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server
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 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 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.security.AccessControlContext.checkPermission (AccessControlContext.java:323) at java.security.AccessController.checkPermission (AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java: 532) at com.google.appengine.tools.development.DevAppServerFactory $CustomSecurityManager.checkPermission(DevAppServerFactory.java:139) at java.lang.SecurityManager.checkRead(SecurityManager.java:871) at java.util.zip.ZipFile.(ZipFile.java:109) at java.util.jar.JarFile.(JarFile.java:133) at java.util.jar.JarFile.(JarFile.java:70) .. the exception happend in local server . but when i update my app to app engine server. it runs well . struts 2.1.6 didn't appear this, but version 2.1.8 fixed some things that make struts-convention-plugin can work on app engine and also have offical json plugin. so i have to use v 2.1.8. i have read the 'Will it play in App Engine ' ,it does not have a solution. how can make struts 2.1.8 work well on local server? thanks in advance! --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server
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 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 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.security.AccessControlContext.checkPermission (AccessControlContext.java:323) at java.security.AccessController.checkPermission (AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java: 532) at com.google.appengine.tools.development.DevAppServerFactory $CustomSecurityManager.checkPermission(DevAppServerFactory.java:139) at java.lang.SecurityManager.checkRead(SecurityManager.java:871) at java.util.zip.ZipFile.(ZipFile.java:109) at java.util.jar.JarFile.(JarFile.java:133) at java.util.jar.JarFile.(JarFile.java:70) .. the exception happend in local server . but when i update my app to app engine server. it runs well . struts 2.1.6 didn't appear this, but version 2.1.8 fixed some things that make struts-convention-plugin can work on app engine and also have offical json plugin. so i have to use v 2.1.8. i have read the 'Will it play in App Engine ' ,it does not have a solution. how can make struts 2.1.8 work well on local server? thanks in advance! --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: struts 2.1.8 met AccessControlException with app engine's local server
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 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 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.security.AccessControlContext.checkPermission (AccessControlContext.java:323) at java.security.AccessController.checkPermission (AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java: 532) at com.google.appengine.tools.development.DevAppServerFactory $CustomSecurityManager.checkPermission(DevAppServerFactory.java:139) at java.lang.SecurityManager.checkRead(SecurityManager.java:871) at java.util.zip.ZipFile.(ZipFile.java:109) at java.util.jar.JarFile.(JarFile.java:133) at java.util.jar.JarFile.(JarFile.java:70) .. the exception happend in local server . but when i update my app to app engine server. it runs well . struts 2.1.6 didn't appear this, but version 2.1.8 fixed some things that make struts-convention-plugin can work on app engine and also have offical json plugin. so i have to use v 2.1.8. i have read the 'Will it play in App Engine ' ,it does not have a solution. how can make struts 2.1.8 work well on local server? thanks in advance! --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---