Re: [appengine-java] Too many open files
> Do you have a link to a bug / issue in a tracker or a page that describes > this fault (and which versions of Jasper it might be in)? > Here it is: http://code.google.com/p/googleappengine/issues/detail?id=2980 Which version of Jasper? I am using App Engine SDK 1.3.1 But does anybody actually deals with these bugs? I have reported the intermittent time zone issue (bug 2330) months ago, and it is still 'New'. > > >> >> Simple redeployment of the webapp resolved the problem, but today it has >> appeared again. My guess is that about a week ago some new version of the >> App Engine was deployed, and it uses a faulty Jasper. >> >> I wonder if it can be fixed? This server error on the most popular page >> doesn't do anything good for my webapp. >> >> Thanks, >> >> Alex >> >> >> On Tue, Mar 16, 2010 at 7:54 AM, Henning wrote: >> >>> Hello, >>> >>> my apps should have had a quota reset 1 hour ago. It says now: "Next >>> reset in 23 hours". But no reset has taken place during the last hour >>> at all. >>> >>> What's wrong? >>> >>> Henning >>> >>> www.study-hebrew-online.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. >>> >>> >> -- >> 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. >> > > -- > 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. > -- 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.
Re: [appengine-java] Re: Time zones implementation is broken in Java AppEngine
Don, The problem is intermittent, it appears and disappears from time to time. I just know that when users start bombarding me with emails telling me that Netherland Antilles aren't in the same as Netherlands or that time in New Zealand isn't GMT, I know that time zones in App Engine are broken again. So I just try to explain that to the users and ask them to wait a little bit. We all hope you will fix this one day, guys. A war file is not needed. Here is the code that I am running on my test page, and the problem is that at times it displays all the major time zones properly but at the other times it displays GMT for most time zones of the world: <% String[] tzones = TimeZone.getAvailableIDs(); Arrays.sort(tzones); for (String tzId : tzones) { TimeZone tz = TimeZone.getTimeZone(tzId); String displayName = tz.getDisplayName(); int dst = tz.getDSTSavings() / 360; int offset = tz.getOffset(new Date().getTime()) / 360; boolean inDst = tz.inDaylightTime(new Date()); %> <%= tzId %> <%= offset %> <%= inDst %> <%= dst %> <%= displayName %> <% } %> The problem is not in the code, it's on your side guys and I hope you'll be able to fix it. Cheers, Al;ex On Wed, Nov 18, 2009 at 11:26 PM, Don Schwarz wrote: > I can't reproduce this. Can you attach a war file to the issue (or just > send it to me directly) ? > > Receiving GMT is what I would expect us to do if we didn't support the > timezones you were specifying, but if you're just iterating over > getAvailableIDs() I can't think of a reason this would happen: > > > http://java.sun.com/j2se/1.5.0/docs/api/java/util/TimeZone.html#getTimeZone(java.lang.String) > > > On Wed, Nov 18, 2009 at 2:52 PM, Alexander Kolesnikov < > otry.it...@gmail.com> wrote: > >> Issue 2330 - still nothing is done about this. >> >> On Tue, Oct 27, 2009 at 6:55 PM, Jason (Google) wrote: >> >>> At the very least, the local and production environments should have >>> identical behavior, and I agree that App Engine should not be returning GMT >>> for well-established time zones. Please file a new issue in the tracker: >>> >>> http://code.google.com/p/googleappengine/issues/list >>> >>> - Jason >>> >>> >>> On Sat, Oct 24, 2009 at 10:14 AM, Alexander Kolesnikov < >>> otry.it...@gmail.com> wrote: >>> >>>> I have just found that, while everything works fine locally, the real >>>> AppEngine returns GMT for most time zones. I wonder if this is going to be >>>> fixed. Below see the local output and then the one I am having after >>>> uploading the app. >>>> >>>> Thanks, >>>> >>>> Alex >>>> >>>> LOCAL: >>>> >>>> Asia/Aden3false0Arabia Standard Time >>>> Asia/Almaty6false0Alma-Ata Time >>>> Asia/Amman3true1Eastern European Time >>>> Asia/Anadyr12false1Anadyr Time >>>> Asia/Aqtau5false0Aqtau Time >>>> Asia/Aqtobe5false0Aqtobe Time >>>> Asia/Ashgabat5false0Turkmenistan Time >>>> Asia/Ashkhabad5false0Turkmenistan Time >>>> Asia/Baghdad3false0Arabia Standard Time >>>> Asia/Bahrain3false0Arabia Standard Time >>>> Asia/Baku5true1Azerbaijan Time >>>> Asia/Bangkok7false0Indochina Time >>>> >>>> ONLINE: >>>> >>>> Asia/Aden3false0Arabia Standard Time >>>> Asia/Almaty0false0Greenwich Mean Time >>>> Asia/Amman0false0Greenwich Mean Time >>>> Asia/Anadyr0false0Greenwich Mean Time >>>> Asia/Aqtau0false0Greenwich Mean Time >>>> Asia/Aqtobe0false0Greenwich Mean Time >>>> Asia/Ashgabat0false0Greenwich Mean Time >>>> Asia/Ashkhabad0false0Greenwich Mean Time >>>> Asia/Baghdad0false0Greenwich Mean Time >>>> Asia/Bahrain0false0Greenwich Mean Time >>>> Asia/Baku5true1Azerbaijan Time >>>> Asia/Bangkok0false0Greenwich Mean Time >>>> >>>> >>>> >>> >>> --~--~-~--~~~---~--~~ >>> You received this message because you are subscri
[appengine-java] Please fix the buggy Jasper
Dear App Engine team, Could you please fix the buggy Jasper that keeps causing the 'Too many open files' problem when jsp:include is used on the page. This problem didn't happen for months before, but it happened a few days ago, now it reappeared after just one hour. Please fix it. Thanks, Alex -- 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] Too many open files
I believe this is something that needs attention of the App Engine Team. My webapp was working fine for months, but a few days ago one of the pages started to report server error with logs like this one: Uncaught exception from servlet java.io.FileNotFoundException: /base/data/home/apps/myapp/1.340488091741834760/inc/somefile.txt (Too many open files) This page is different from the others only in the way of using a few jsp:include tags, and it is quite popular too. I've read around and found a reasonable suggestion that a problem like this can happen because of a faulty Jasper implementation - the tag handler doesn't close the file properly. Simple redeployment of the webapp resolved the problem, but today it has appeared again. My guess is that about a week ago some new version of the App Engine was deployed, and it uses a faulty Jasper. I wonder if it can be fixed? This server error on the most popular page doesn't do anything good for my webapp. Thanks, Alex On Tue, Mar 16, 2010 at 7:54 AM, Henning wrote: > Hello, > > my apps should have had a quota reset 1 hour ago. It says now: "Next > reset in 23 hours". But no reset has taken place during the last hour > at all. > > What's wrong? > > Henning > > www.study-hebrew-online.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. > > -- 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.
Re: [appengine-java] Re: Time zones implementation is broken in Java AppEngine
Issue 2330 - still nothing is done about this. On Tue, Oct 27, 2009 at 6:55 PM, Jason (Google) wrote: > At the very least, the local and production environments should have > identical behavior, and I agree that App Engine should not be returning GMT > for well-established time zones. Please file a new issue in the tracker: > > http://code.google.com/p/googleappengine/issues/list > > - Jason > > > On Sat, Oct 24, 2009 at 10:14 AM, Alexander Kolesnikov < > otry.it...@gmail.com> wrote: > >> I have just found that, while everything works fine locally, the real >> AppEngine returns GMT for most time zones. I wonder if this is going to be >> fixed. Below see the local output and then the one I am having after >> uploading the app. >> >> Thanks, >> >> Alex >> >> LOCAL: >> >> Asia/Aden3false0Arabia Standard Time >> Asia/Almaty6false0Alma-Ata Time >> Asia/Amman3true1Eastern European Time >> Asia/Anadyr12false1Anadyr Time >> Asia/Aqtau5false0Aqtau Time >> Asia/Aqtobe5false0Aqtobe Time >> Asia/Ashgabat5false0Turkmenistan Time >> Asia/Ashkhabad5false0Turkmenistan Time >> Asia/Baghdad3false0Arabia Standard Time >> Asia/Bahrain3false0Arabia Standard Time >> Asia/Baku5true1Azerbaijan Time >> Asia/Bangkok7false0Indochina Time >> >> ONLINE: >> >> Asia/Aden3false0Arabia Standard Time >> Asia/Almaty0false0Greenwich Mean Time >> Asia/Amman0false0Greenwich Mean Time >> Asia/Anadyr0false0Greenwich Mean Time >> Asia/Aqtau0false0Greenwich Mean Time >> Asia/Aqtobe0false0Greenwich Mean Time >> Asia/Ashgabat0false0Greenwich Mean Time >> Asia/Ashkhabad0false0Greenwich Mean Time >> Asia/Baghdad0false0Greenwich Mean Time >> Asia/Bahrain0false0Greenwich Mean Time >> Asia/Baku5true1Azerbaijan Time >> Asia/Bangkok0false0Greenwich Mean Time >> >> >> > > --~--~-~--~~~---~--~~ > 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 > -~--~~~~--~~--~--~--- > > -- 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: Time zones implementation is broken in Java AppEngine
Thanks Jason. Issue 2330. Time zones worked for a few days but today most of the world is GMT again... Alex On Tue, Oct 27, 2009 at 6:55 PM, Jason (Google) wrote: > At the very least, the local and production environments should have > identical behavior, and I agree that App Engine should not be returning GMT > for well-established time zones. Please file a new issue in the tracker: > > http://code.google.com/p/googleappengine/issues/list > > - Jason > > > On Sat, Oct 24, 2009 at 10:14 AM, Alexander Kolesnikov < > otry.it...@gmail.com> wrote: > >> I have just found that, while everything works fine locally, the real >> AppEngine returns GMT for most time zones. I wonder if this is going to be >> fixed. Below see the local output and then the one I am having after >> uploading the app. >> >> Thanks, >> >> Alex >> >> LOCAL: >> >> Asia/Aden3false0Arabia Standard Time >> Asia/Almaty6false0Alma-Ata Time >> Asia/Amman3true1Eastern European Time >> Asia/Anadyr12false1Anadyr Time >> Asia/Aqtau5false0Aqtau Time >> Asia/Aqtobe5false0Aqtobe Time >> Asia/Ashgabat5false0Turkmenistan Time >> Asia/Ashkhabad5false0Turkmenistan Time >> Asia/Baghdad3false0Arabia Standard Time >> Asia/Bahrain3false0Arabia Standard Time >> Asia/Baku5true1Azerbaijan Time >> Asia/Bangkok7false0Indochina Time >> >> ONLINE: >> >> Asia/Aden3false0Arabia Standard Time >> Asia/Almaty0false0Greenwich Mean Time >> Asia/Amman0false0Greenwich Mean Time >> Asia/Anadyr0false0Greenwich Mean Time >> Asia/Aqtau0false0Greenwich Mean Time >> Asia/Aqtobe0false0Greenwich Mean Time >> Asia/Ashgabat0false0Greenwich Mean Time >> Asia/Ashkhabad0false0Greenwich Mean Time >> Asia/Baghdad0false0Greenwich Mean Time >> Asia/Bahrain0false0Greenwich Mean Time >> Asia/Baku5true1Azerbaijan Time >> Asia/Bangkok0false0Greenwich Mean Time >> >> >> > > > > --~--~-~--~~~---~--~~ 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: Time zones implementation is broken in Java AppEngine
Well, I don't know exactly how you implement your application. In my case, the users select their location by country/city and that location has a time zone ID associated with it. The ID is standard as defined in Java, say Asia/Jakarta is the time zone for Jakarta, Indonesia. As soon as they selected their location (which means the time zone too) I can set this time zone to any Calendar or DateFormat I use in my application and it works great - summer time is taken into account where it exists and so on. This is how it works on my machine where I have a proper Java implementation which knows exactly what Asia/Jakarta zone is. When I upload my application to the AppEngine however, Asia/Jakarta (and most other time zones defined in Java) becomes the same as GMT and all the finely crafted logic goes to hell... So in your case if you want your app to display time properly you need a way to find out where your user is coming from. One way is to find out from their IP address which isn't 100% reliable. Another way is to allow the users to make their choice. I follow the second option. You can see how it works (oh, well, doesn't work for most locations thanks to AppEngine's interpretation of Java) at http://lunarium.co.uk. Alex On Sat, Oct 24, 2009 at 8:29 PM, Rusty Wright wrote: > > Alex, if I'm in California, USA, and I'm deploying my web application to a > server in Greece, and someone in Japan uses my application, which time zone > should the web application use, and how should the web server determine > which time zone to use? > > > Alexander Kolesnikov wrote: > > I have just found that, while everything works fine locally, the real > > AppEngine returns GMT for most time zones. I wonder if this is going to > > be fixed. Below see the local output and then the one I am having after > > uploading the app. > > > > Thanks, > > > > Alex > > > > LOCAL: > > > > Asia/Aden3false0Arabia Standard Time > > Asia/Almaty6false0Alma-Ata Time > > Asia/Amman3true1Eastern European Time > > Asia/Anadyr12false1Anadyr Time > > Asia/Aqtau5false0Aqtau Time > > Asia/Aqtobe5false0Aqtobe Time > > Asia/Ashgabat5false0Turkmenistan Time > > Asia/Ashkhabad5false0Turkmenistan Time > > Asia/Baghdad3false0Arabia Standard Time > > Asia/Bahrain3false0Arabia Standard Time > > Asia/Baku5true1Azerbaijan Time > > Asia/Bangkok7false0Indochina Time > > > > ONLINE: > > > > Asia/Aden3false0Arabia Standard Time > > Asia/Almaty0false0Greenwich Mean Time > > Asia/Amman0false0Greenwich Mean Time > > Asia/Anadyr0false0Greenwich Mean Time > > Asia/Aqtau0false0Greenwich Mean Time > > Asia/Aqtobe0false0Greenwich Mean Time > > Asia/Ashgabat0false0Greenwich Mean Time > > Asia/Ashkhabad0false0Greenwich Mean Time > > Asia/Baghdad0false0Greenwich Mean Time > > Asia/Bahrain0false0Greenwich Mean Time > > Asia/Baku5true1Azerbaijan Time > > Asia/Bangkok0false0Greenwich Mean Time > > > > > > > > > --~--~-~--~~~---~--~~ 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: A matter in local time
The problem might be in the fact that AppEngine doesn't implement most of the time zones properly. Here I am outputting a number of attributes for different time zones. This code works fine locally but look what happens when I am running it on a deployed site. LOCAL: Asia/Seoul9false0Korea Standard Time Asia/Shanghai8false0China Standard Time Asia/Singapore8false0Singapore Time Asia/Taipei8false0China Standard Time Asia/Tashkent5false0Uzbekistan Time Asia/Tbilisi4false0Georgia Time Asia/Tehran3false1Iran Standard Time Asia/Tel_Aviv2false1Israel Standard Time Asia/Thimbu6false0Bhutan Time Asia/Thimphu6false0Bhutan Time Asia/Tokyo9false0Japan Standard Time DEPLOYED TO APPENGINE: Asia/Seoul0false0Greenwich Mean Time Asia/Shanghai0false0Greenwich Mean Time Asia/Singapore0false0Greenwich Mean Time Asia/Taipei0false0Greenwich Mean Time Asia/Tashkent0false0Greenwich Mean Time Asia/Tbilisi0false0Greenwich Mean Time Asia/Tehran0false0Greenwich Mean Time Asia/Tel_Aviv0false0Greenwich Mean Time Asia/Thimbu0false0Greenwich Mean Time Asia/Thimphu0false0Greenwich Mean Time Asia/Tokyo0false0Greenwich Mean Time Hey Google guys, could you at least provide the Etc/GMT zones so that I could use them as a temporary parch? Right now it goes like this: Etc/GMT+00false0Greenwich Mean Time Etc/GMT+10false0Greenwich Mean Time Etc/GMT+100false0Greenwich Mean Time Etc/GMT+110false0Greenwich Mean Time Etc/GMT+120false0Greenwich Mean Time Etc/GMT+20false0Greenwich Mean Time Etc/GMT+30false0Greenwich Mean Time Etc/GMT+40false0Greenwich Mean Time Etc/GMT+50false0Greenwich Mean Time Etc/GMT+60false0Greenwich Mean Time Etc/GMT+70false0Greenwich Mean Time Etc/GMT+80false0Greenwich Mean Time Etc/GMT+90false0Greenwich Mean Time Etc/GMT-00false0Greenwich Mean Time Etc/GMT-10false0Greenwich Mean Time Etc/GMT-100false0Greenwich Mean Time Etc/GMT-110false0Greenwich Mean Time Etc/GMT-120false0Greenwich Mean Time Alex On Thu, Sep 3, 2009 at 2:19 PM, Aron wrote: > > I guess problem is that after deploying to GAE, any try will retrieve > the time zone > information *on the Google Servers*! Google can't find out what > timezone > your local developer box is located in. > > Aron > > On Sep 2, 1:08 pm, le anh wrote: > > On Sep 2, 2:24 pm, leszek wrote: > > > > > If you delete double declaration (String formattedDate) and add proper > > > imports and declaration 'Calendar cal = Calendar.getInstance()); it > > > should work. > > > But you are having this problem while running in local environment > > > (in your machine) or it does not work after deploying to google > > > (production) environment ? > > > > It's also not correct when I change " Date date=new Date() " to > > Calendar cal = Calendar.getInstance(). They are same result. > > > > The code does not work correct after deploying to google (production) > > environment , meaning it does not work in Web Application Project of > > AppEngine . > > > --~--~-~--~~~---~--~~ 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] Time zones implementation is broken in Java AppEngine
I have just found that, while everything works fine locally, the real AppEngine returns GMT for most time zones. I wonder if this is going to be fixed. Below see the local output and then the one I am having after uploading the app. Thanks, Alex LOCAL: Asia/Aden3false0Arabia Standard Time Asia/Almaty6false0Alma-Ata Time Asia/Amman3true1Eastern European Time Asia/Anadyr12false1Anadyr Time Asia/Aqtau5false0Aqtau Time Asia/Aqtobe5false0Aqtobe Time Asia/Ashgabat5false0Turkmenistan Time Asia/Ashkhabad5false0Turkmenistan Time Asia/Baghdad3false0Arabia Standard Time Asia/Bahrain3false0Arabia Standard Time Asia/Baku5true1Azerbaijan Time Asia/Bangkok7false0Indochina Time ONLINE: Asia/Aden3false0Arabia Standard Time Asia/Almaty0false0Greenwich Mean Time Asia/Amman0false0Greenwich Mean Time Asia/Anadyr0false0Greenwich Mean Time Asia/Aqtau0false0Greenwich Mean Time Asia/Aqtobe0false0Greenwich Mean Time Asia/Ashgabat0false0Greenwich Mean Time Asia/Ashkhabad0false0Greenwich Mean Time Asia/Baghdad0false0Greenwich Mean Time Asia/Bahrain0false0Greenwich Mean Time Asia/Baku5true1Azerbaijan Time Asia/Bangkok0false0Greenwich Mean Time --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---