[appengine-java] persistence of static values between instances
Hi all! I have a question regarding persistence of static values between server instances. If I declared a static value in a class, will this value be available for all instances GAE might start? If not, is there a way (besides storing the value in the datastore) to achieve this goal. Thanks, meiaestro -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/TtFfaG6IrbAJ. 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: The JavaScript file is not found to the JSF2 application that has been deployed
Thank you of your response, Mr. John Patterson. I think the cause of this problem isn't caching by the following reason. From the beginning of deploying, this application hasn't been able to find the JavaScript file, so, any JavaScript file hasn't been cached. I think, the cause of this problem is as followings. (1)Including description of JavaScript file This application is composed of the templating and composite components by using MyFaces 2.0, and it includes the JavaScript file by the following tag. The JavaScript file of the following path is included by this tag. /resources/javascript/JavaScript file name In the path, "javascript" and "JavaScript file name" are defined in the preceding tag, but "resources" is fixed, not defined anywhere. This is the custom introduced from JSF2. (2)Local execution In the local execution by GAE Java SDK plug-in in eclipse, the preceding path of the JavaScript file is maintained. So, this application is able to find the JavaScript file. (3)Execution on the deployed server On the deployed server, deployed static files are placed (distributed) according to GAE policy, and the real paths of them are not maintained. So, this application is not able to find the JavaScript file included in static-files tag. On the other hand, GAE supports the preceding custom introduced from JSF2 as resource files. So, this application is able to find the JavaScript file included in resource-files tag. that's all. On 9月7日, 午前10:32, John Patterson wrote: > On 07/09/2011 07:19, Minehiko Ohya wrote:> I reviewed appengine-web.xml, > and found that the JavaScript file was > > defined as "static-files" in it. > > I should have been more clear - that's what I meant by caching. For > static resources you specify the length of time you want Google to cache > it for you. -- 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.
Re: [appengine-java] Some Java classes are not uploaded during deploy
Your issue is likely related to this: http://code.google.com/p/googleappengine/issues/detail?id=5812 I just posted to the downtime-notify list about this. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Sep 7, 2011 at 2:13 PM, Paul Schmidt wrote: > >I just added three new classes to my application; they're very similar > to existing ones. The functionality works in the dev environment, but not > live: at least one class is missing from the deploy. It (like many others) > is loaded via Class.forName and newInstance. > > I see the .class files in the staging directory, but once deployed the app > throws a java.io.FileNotFoundException when it tries to load it. > > Are there limits to the number of classes in a package or something? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine-java/-/5uMSJk4Si7AJ. > 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. > -- 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.
Re: [appengine-java] Compiled jsp file: FileNotFoundException
I just posted to downtime notify, though we've already completed rolling back the change we made to high replication apps. We're working on rolling back the change for master/slave apps. I'll be updating both downtime-notify and this bug here: http://code.google.com/p/googleappengine/issues/detail?id=5812 -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Sep 7, 2011 at 4:41 PM, Anders wrote: > This is clearly a GAE bug, because the file is there in other > instances/requests. From the log: > > java.lang.RuntimeException: java.io.FileNotFoundException: > /base/data/home/apps/s~tweetvote2/1.353082386135622494/_ah/java_compiled/WEB-INF/classes/org/apache/jsp/about_jsp.class > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine-java/-/Jq4ELxgA7eoJ. > 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. > -- 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] Compiled jsp file: FileNotFoundException
This is clearly a GAE bug, because the file is there in other instances/requests. From the log: java.lang.RuntimeException: java.io.FileNotFoundException: /base/data/home/apps/s~tweetvote2/1.353082386135622494/_ah/java_compiled/WEB-INF/classes/org/apache/jsp/about_jsp.class -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/Jq4ELxgA7eoJ. 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] Some Java classes are not uploaded during deploy
I just added three new classes to my application; they're very similar to existing ones. The functionality works in the dev environment, but not live: at least one class is missing from the deploy. It (like many others) is loaded via Class.forName and newInstance. I see the .class files in the staging directory, but once deployed the app throws a java.io.FileNotFoundException when it tries to load it. Are there limits to the number of classes in a package or something? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/5uMSJk4Si7AJ. 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: Can't set URL Fetch Timeout to a value higher than 5 seconds
Hi Lads, Anyone has any idea what could be going on there? As this issue is becoming a major bottleneck, it's quite urgent. I would really appreciate any idea or feedback on this. Thanks in Advance Killian -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/8Mcx4XyPA2UJ. 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: 1.5.4 SDK Prerelease
Is there a probability that some changes affected the new deployments (on small applications maybe). I have some strange errors when loading a new deployed app (many classes cannot be found). A thread was opened here: http://groups.google.com/group/google-appengine/browse_thread/thread/25e6f9c0b128e380# On Sep 7, 5:39 pm, Nischal wrote: > In python I can see there's async memcache calls! Is it available in Java > already or will you guys be introducing it probably in the next release? -- 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 : Re: Re : Importing Google Hosted Projects
Sorry, I read too fast. Thought you where talking about appengine projects.. :-) -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/rv0IsS_gvZoJ. 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.
Re: [appengine-java] Importing Google Hosted Projects
Google Project Hosting supports SVN, Hg, and git, so you can get the matching Eclipse plugin (like Subclipse for SVN), add a new repository with the URL from the GPH Source tab, and right-click on the new repo to "Check out as a new project." If it's a Maven project and you have m2eclipse installed (now built in to Indigo), you can initiate the import through the Maven plugin and the project will be all ready to go. HTH, /dmc On Wed, Sep 7, 2011 at 9:00 AM, Alex wrote: > Hi, > > The Google for Eclipse plugin has a nice wizard to import projects > hosted at Google Project Hosting. > Unfortunately the wizard only shows projects of which I'm a member. > Is there an easy (wizard supported) way to import projects hosted on > Google Project Hosting of which I'm not a member within Eclipse? > > Alex > > PS: I know that than I'm not able to commit changes, but that fine. > > -- > 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. > > -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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: 1.5.4 SDK Prerelease
In python I can see there's async memcache calls! Is it available in Java already or will you guys be introducing it probably in the next release? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/a541asIe_xMJ. 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: Re : Importing Google Hosted Projects
The code on Google Hostings is open source code so everybody has access to it. I could check out the code using a command line. I know that there are also plugins for Eclipse to checkout the code using a GUI. The GUI of the Google for Eclipse plugin lacks an option to checkout projects of which I'm not a member. So I'm looking for an alternative that is as easy to use as the Google for Eclipse plugin to checkout the code. On Sep 7, 3:09 pm, Gaël Oberson wrote: > Do you really think everybody wants to allow everybody to download app > source code ?? Where are you coming from ? ;-) -- 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 : Importing Google Hosted Projects
Do you really think everybody wants to allow everybody to download app source code ?? Where are you coming from ? ;-) -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/-gGmfajbxiAJ. 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] Importing Google Hosted Projects
Hi, The Google for Eclipse plugin has a nice wizard to import projects hosted at Google Project Hosting. Unfortunately the wizard only shows projects of which I'm a member. Is there an easy (wizard supported) way to import projects hosted on Google Project Hosting of which I'm not a member within Eclipse? Alex PS: I know that than I'm not able to commit changes, but that fine. -- 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.