Re: [appengine-java] Too many open files

2010-03-17 Thread Alexander Kolesnikov
 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 henning2...@hotmail.de 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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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: [google-appengine] Re: Error: Server Error

2010-03-17 Thread Alexander Kolesnikov
Can you see any exceptions thrown in the logs?

On Wed, Mar 17, 2010 at 3:26 PM, riq ricardoques...@gmail.com wrote:



 On Mar 16, 10:47 am, Alexander Kolesnikov otry.it...@gmail.com
 wrote:
  Check your logs. I wonder if you will find in them something like Too
 many
  open files.

 I didn't find any log with the word many.
 What's strange is that I didn't push any modification. The server is
 still throwing that error, and I don't know how to fix it.
 Any ideas ? Thanks.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] Too many open files

2010-03-16 Thread Alexander Kolesnikov
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 henning2...@hotmail.de 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.comgoogle-appengine-java%2bunsubscr...@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: [google-appengine] Re: Error: Server Error

2010-03-16 Thread Alexander Kolesnikov
Check your logs. I wonder if you will find in them something like Too many
open files.

On Tue, Mar 16, 2010 at 1:08 PM, riq ricardoques...@gmail.com wrote:

 Since yesterday I'm getting this error as well. But according to
 AppEngine status (http://code.google.com/status/appengine) everything
 is working fine.

 Any idea ? Thanks

 My application is: http://www.cocoslive.net

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [appengine-java] Re: Time zones implementation is broken in Java AppEngine

2009-11-18 Thread Alexander Kolesnikov
Issue 2330 - still nothing is done about this.

On Tue, Oct 27, 2009 at 6:55 PM, Jason (Google) apija...@google.com 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.comgoogle-appengine-java%2bunsubscr...@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] Time zones implementation is broken in Java AppEngine

2009-10-24 Thread Alexander Kolesnikov
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

2009-10-24 Thread Alexander Kolesnikov
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 aron.gom...@gmail.com 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 leanhduc1...@gmail.com wrote:
  On Sep 2, 2:24 pm, leszek leszek.ptokar...@gmail.com 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] Re: Time zones implementation is broken in Java AppEngine

2009-10-24 Thread Alexander Kolesnikov
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 rwright.li...@gmail.comwrote:


 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
-~--~~~~--~~--~--~---