[appengine-java] Re: Why is Stored Data Usage increasing even though no data was added?

2009-09-11 Thread Don
That could be. Thanks. On Sep 11, 8:30 am, fat bold cyclop fat.bold.cyc...@gmail.com wrote: Do anybody know why is Stored Data Usage increasing even though no data was added? When there is no data persisted by my appilcation, the only thing that makes my datastore grow is _ah_SESSION

[appengine-java] Re: Unable to deploy with 1.2.5 SDK (.jsp' does not match expression '^(?!\^)/|\.|(\(.).*(?!\$).$')

2009-09-11 Thread Don
Awesome! I am glad it works for you. On Sep 11, 8:22 am, fat bold cyclop fat.bold.cyc...@gmail.com wrote: When you upgrade the SDK, make sure that the SDK under Google/App Engine in Preferences is also changed.  If possible, remove the old SDK in Preferences.  And check to make sure that

[appengine-java] app engine session variable

2009-11-23 Thread Don
Hi, I am trying to store an object in the session in servlet by req.getSession().setAttribute(portofolio, portofolio); where portofolio is an object with about 10variables and functions. However, App engine behaves strangely when I do this, so I resorted to just saving strings into session

[appengine-java] Re: Can't send mail with attachment using JavaMail API

2009-11-26 Thread Don
thanks Don On Nov 24, 10:15 am, Ikai L (Google) ika...@google.com wrote: Don, First, a word of caution: you'll probably want to contact the creators of the site you are trying to fetch the image from if you haven't done so already. Their terms of service prohibit the use of automatic downloading

[appengine-java] redirect /file.jsp

2009-11-27 Thread Don
Hi, Trivial question for the gurus here, if i do: response.redirect(bla.jsp) I get WARNING: Can not serve /bla.jsp directly. You need to include it in static-files in your appengine-web.xml. on development server (localhost) Everything is ok when it is run on the cloud. Why?? I know I

[appengine-java] GAE eclipse plugin save password

2009-12-05 Thread Don
Hi, Is it possible to save my password, so I don't have to type it everytime I click deploy on GAE Eclipse plugin? Many thanks Don -- 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] HttpUnit with GAE

2009-12-09 Thread Don
Hi, I am trying to tweak HttpUnit 1.7.2 to run under GAE, and stumbled accross the URLStreamHandler error. As HttpUnit uses URLStreamHandler to process javascript and https, removing URLStreamHandler means I can only access plain html website. How do I use GAE UrlFetch service to replace

[appengine-java] Re: Can't send mail with attachment using JavaMail API

2009-12-15 Thread Don
(ticker.png); I'll need to do some research into the Java mail spec to see if we are matching it. Could be a bug if we aren't. On Thu, Nov 26, 2009 at 12:48 PM, Don lydonchan...@gmail.com wrote: Thanks Ikai. It did NOT work before because I set the dataHandler before I set the FileName. Just

[appengine-java] Grails GoogleAppEngine no metadata problem

2010-01-11 Thread Don
Hi I am trying to run grails on google app engine using JDO, but I got this: org.codehaus.groovy.runtime.InvokerInvocationException: javax.jdo.JDOFatalUserException: No meta data for Book. Perhaps you need to run the enhancer on this class? NestedThrowables:

[appengine-java] Re: Grails GoogleAppEngine no metadata problem

2010-01-11 Thread Don
Hi I believe the grails app-engine plugin uses annotation and should take care of this? I see in my log: Enhancing JDO classes [enhance] ... [enhance] DataNucleus Enhancer completed with success for 1 classes. Timings : I tried to enhance it manually too, but I got lost following the GAE

[appengine-java] Concatenate 2 images into one image

2010-02-14 Thread Don
Hi, Is there way to concatenate 2 images into one image using ImagesService? Thanks -- 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

[appengine-java] Sort order, collating sequence and more.

2011-01-09 Thread Don
would like to here you opinions about all these and other limitations. Perhaps I do not understand things right at this point. Thanks in advance Don -- 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

[appengine-java] Re: On deployment error

2009-08-18 Thread Don Schwarz
App Engine was in read-only mode during maintenance for a brief period: http://code.google.com/status/appengine Uploads should be re-enabled now. Please try again. On Tue, Aug 18, 2009 at 12:10 PM, Xlorep DarkHelm ch...@darkhelm.orgwrote: I also am having this problem. I'm thinking there

[appengine-java] Re: AppEngine no longer shows any content

2009-08-20 Thread Don Schwarz
This will be fixed in the next release. Sorry about the inconvenience. On Thu, Aug 20, 2009 at 1:58 PM, DrMorten morten.dalgaard.niel...@gmail.com wrote: / returns HTTP-code 200 but no content (0 byte response), when I check the logs I get the following stacktrace: Error for /

[appengine-java] Re: Performance optimization of insert into datastore (cpu_ms/api_cpu_ms showing red)

2009-08-21 Thread Don Schwarz
What is your app id? Do you have a large number of indexes defined for this entity kind? FYI, it's certainly a good idea to optimize for performance, but I wouldn't worry too much about the particular point at which warnings appear in the request logs. These are just guidelines to let you know

[appengine-java] Re: Quota Details show calls made to Memcahe and Datastore, even though I'm not using that

2009-09-01 Thread Don Schwarz
Do you have HTTP sessions enabled? HTTP Sessions are stored in the datastore behind the scenes, and cached in memcache. On Tue, Sep 1, 2009 at 8:12 AM, barak barak.ya...@gmail.com wrote: Hello, I've deployed an application into GAE (that uses compass). After few invocations, I've checked

[appengine-java] Re: Quota Details show calls made to Memcahe and Datastore, even though I'm not using that

2009-09-01 Thread Don Schwarz
:-) Is this documented somewhere? On Sep 1, 5:02 pm, Don Schwarz schwa...@google.com wrote: Do you have HTTP sessions enabled? HTTP Sessions are stored in the datastore behind the scenes, and cached in memcache. On Tue, Sep 1, 2009 at 8:12 AM, barak barak.ya...@gmail.com wrote

[appengine-java] Re: Appengine Jetty Stuck at checking for update

2009-09-08 Thread Don Schwarz
You can disable this check in a few different ways. If you're running from Eclipse then the easiest thing to do is probably to create a file named .appcfg_no_nag in your home directory (i.e. the value of the user.home Java system property). The contents of this file do not matter. On Tue, Sep

[appengine-java] Re: new stack traces after upgrading to SDK 1.2.5

2009-09-08 Thread Don Schwarz
I would recommend setting: com.google.appengine.repackaged.com.google.common.base.FinalizableReferenceQueue.level=WARNING in your logging.properties file to disable this log message. It's harmless, but annoying. On Tue, Sep 8, 2009 at 12:49 PM, anjolight anjoli...@gmail.com wrote: I got the

[appengine-java] Re: Startup takes forever

2009-09-11 Thread Don Schwarz
will be warmed up. If you manage to gather any further details, please let us know. Thanks, Don --~--~-~--~~~---~--~~ 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

[appengine-java] Re: Accessing Memcache in more than one servlet

2009-09-14 Thread Don Schwarz
No, that sounds like a fine approach. You could even create multiple Cache instances and they would still be backed by the same underlying store (assuming they have the same namespace). On Mon, Sep 14, 2009 at 9:18 AM, Jeff jeffarba...@gmail.com wrote: For above Memcache question, I simply

[appengine-java] Re: Session destruction events, API availability therein

2009-09-14 Thread Don Schwarz
It's worth noting that session data isn't cleaned up by default. This means that you can implement your own session cleanup logic and perform any other cleanup logic hat you need to do at the same time. On Mon, Sep 14, 2009 at 5:50 PM, Jason (Google) apija...@google.com wrote: Yes, this seems

[appengine-java] Re: Wrong default urls in TaskQueue. Bug?

2009-09-16 Thread Don Schwarz
Yes, this is a bug. Please file an issue in our issue tracker and I'll see to it that this gets fixed. On Wed, Sep 16, 2009 at 2:43 PM, Vince Bonfanti vbonfa...@gmail.com wrote: I've noticed the same problem. I think it's a bug. Vince On Wed, Sep 16, 2009 at 1:53 PM, oizo m...@oizo.biz

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Don Schwarz
To be clear, you're getting these two log statements in the same request? Or subsequent requests? On Thu, Sep 17, 2009 at 1:48 AM, Vik vik@gmail.com wrote: hie any updates on this please? yeah I did what you suggested by putting a log statement.. and what I get are two different

[appengine-java] Re: System.out.println behavior in production

2009-09-18 Thread Don Schwarz
Are you switch the logging level in the Admin Console to Info? By default it only shows errors. Do you have a logging.properties file? If so, what is your default .level set to? System.out would be logged at INFO, so if you are specifying this make sure it is INFO or lower. Finally, I would

[appengine-java] Re: ...appengine.api.users.User object missing getUserId method

2009-09-21 Thread Don Schwarz
1.2.5 is the latest version. Please upgrade and make sure that you are copying the latest API jar (appengine-api-1.0-sdk-1.2.5.jar) into your application's WEB-INF/lib directory. On Mon, Sep 21, 2009 at 11:48 AM, chris chrismiddl...@gmail.com wrote: I'm probably just overlooking something,

[appengine-java] Re: deployment jar issues - do I have to upload jars that seems default in system?

2009-09-24 Thread Don Schwarz
Yes, if you are using JDO/JPA, these files need to be present in your WEB-INF/lib directory. However, the Eclipse plugin is smart enough to only send files that have changed with each deployment, so you there is no real cost to you. If you deploy the same application twice in a row you should

[appengine-java] Re: AppEngine down?

2009-09-25 Thread Don Schwarz
, and we're currently working on some longer term changes that will dramatically speed up class loading for all applications and hopefully make this kind of issue much less common. Sorry for the inconvenience, Don On Fri, Sep 25, 2009 at 7:11 PM, hansamann sven.hai...@googlemail.comwrote: Hi all

[appengine-java] Re: java.lang.NullPointerException cannot be cast to javax.servlet.ServletException

2009-10-19 Thread Don Schwarz
Yes, this is: https://issues.apache.org/bugzilla/show_bug.cgi?id=31171 We need to bundle a later version of Jasper with the App Engine SDK to fix this. On Mon, Oct 19, 2009 at 10:24 AM, Marc Guillemot mguille...@yahoo.frwrote: Hi, any progress on this issue? Is it possible that it comes

[appengine-java] Re: receiving mail demo

2009-10-19 Thread Don Schwarz
Prashant, are you following the directions at: http://code.google.com/appengine/docs/java/mail/receiving.html ? On Mon, Oct 19, 2009 at 3:42 AM, Prashant antsh...@gmail.com wrote: msg.getContent () should return Multipart but here in GAE it returns ByteArrayInputStream . i tried reading

[appengine-java] Re: MemcacheService - get all keys

2009-10-19 Thread Don Schwarz
As far as I know we have no plans to support this. However, feel free to star this issue to register your need for this functionality: http://code.google.com/p/googleappengine/issues/detail?id=2015 On Mon, Oct 19, 2009 at 1:37 PM, fx.mueller fr.x.muel...@gmail.com wrote: I am currently facing

[appengine-java] Re: GAE Performance

2009-10-19 Thread Don Schwarz
) then the performance is dire as I described originally. Please tell me it isn't so! On Oct 19, 11:10 am, Don Schwarz schwa...@google.com wrote: It's 1-10 updates per second per Entity Group: http://code.google.com/appengine/docs/java/datastore/transactions.htm... You need to break your

[appengine-java] Re: Errors 500 and 409 while updating application

2009-10-22 Thread Don Schwarz
The 500 errors in the Admin Console are a general issue that we're looking into. The 409's indicate that you have a pending update that needs to be rolled back (via appcfg.sh rollback) due to one of the 500 errors. After rolling the update back you can try to deploy again. On Thu, Oct 22, 2009

[appengine-java] Re: I can't see my Google App Engine application

2009-10-26 Thread Don Schwarz
Clear your cookies and then try logging in at: https://appengine.google.com/a/mangnhen.com On Sun, Oct 25, 2009 at 12:10 PM, a...@mangnhen.com a...@mangnhen.com wrote: I add and add, and add application, if i add application now, i have Cannot create any more apps. , but i don't see any one

[appengine-java] Re: Key and KeyFactory - privacy concern related

2009-10-26 Thread Don Schwarz
I would suggest that rather than using email + somethingelse as your key names, you use F(email + somethingelse) where F is either an encryption function or a one-way hash function. You can use the javax.crypt package for this purpose. Alternatively, you could implement your own Key - String

[appengine-java] Re: BlobKey and exceeding 1MB blobs in low-level API

2009-11-11 Thread Don Schwarz
Ah, that's leakage from an upcoming feature. Specifically the one labeled Service for storing and serving large files on our public roadmap: http://code.google.com/appengine/docs/roadmap.html This won't be available for a little while. If you only need 10MB files, in the mean time I suggest

Re: [appengine-java] google app engine exception affected app's performance

2009-11-30 Thread Don Schwarz
http://xkcd.com/552/ The FinalizableReferenceQueue exception is indeed harmless, but happens during the first request on a particular JVM. These requests are slow because they need to perform class loading, hotspot compilation, etc. We are working on ways of better reporting and speeding up

Re: [appengine-java] load-on-startup not working for a generic servlet

2009-11-30 Thread Don Schwarz
You want to override init(), not service(). On Mon, Nov 30, 2009 at 2:49 PM, Tahir Akram tahirakra...@gmail.com wrote: I want to initialize a generic servlet on load-on-startup = 1. I read on GAE docs that this feature is supported but happen only when first request comes, not prior to it.

Re: [appengine-java] Re: Do we really need to upload the jar files under war/lib folder?

2009-12-01 Thread Don Schwarz
Right. However, we have optimized application deployment and storage based on the assumption that many common java libraries will be shared by a large number of applications. This gives many of the advantages that you are looking for (e.g. you won't upload foo-1.2.3.jar if at least one other

Re: [appengine-java] Re: How many cache can I create using JCacheFactory

2009-12-02 Thread Don Schwarz
Memcache quotas are so high that you're unlikely to hit them. You may get *latency* benefits from having your own first-level cache in memory, but bear in mind that you don't have a whole lot of space to work with, and the hit rates will decrease significantly as your traffic increases (unlike

Re: [appengine-java] Re: Text Search Support for Java

2009-12-02 Thread Don Schwarz
FYI, it should be possible to port SearchableModel to Java and run it on top of our low-level datastore API. We have no immediate plans to do that, but it would make a nice open-source contribution. You may want to play around with SearchableModel in Python first to ensure that its performance

Re: [appengine-java] Re: how do i use Admins Emailed quota?

2009-12-03 Thread Don Schwarz
http://code.google.com/appengine/docs/java/mail/usingjavamail.html#Features_of_the_Low_level_API On Thu, Dec 3, 2009 at 8:00 AM, Prashant antsh...@gmail.com wrote: anyone??? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

Re: [appengine-java] Re: how do i use Admins Emailed quota?

2009-12-03 Thread Don Schwarz
On Thu, Dec 3, 2009 at 12:02 PM, Prashant antsh...@gmail.com wrote: no, no, I meat to say that, suppose there are 3 admins and I want to send mail to only one admin using admin quota. this is not possible, rite? Correct. And, does following work for XMPP?

Re: [appengine-java] unable to deploy new versions after upgrade to 1.2.8

2009-12-04 Thread Don Schwarz
Yes, it should be fixed now. Let us know if you're still having trouble. On Fri, Dec 4, 2009 at 11:35 AM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: On Fri, Dec 4, 2009 at 6:32 PM, jacek.ambroziak jacek.ambroz...@gmail.com wrote: I am going through all the usual motions and

Re: [appengine-java] Re: JAXB doesn't work for me in 1.2.8

2009-12-04 Thread Don Schwarz
Can one of you post a full stack trace? Thanks, Don On Fri, Dec 4, 2009 at 12:42 PM, javaprime javapr...@gmail.com wrote: Same problem here. On Dec 4, 8:16 am, Jeremy Blythe jeremybly...@gmail.com wrote: I get this error: Constructor threw exception; nested exception

Re: [appengine-java] possible to split web.xml ?

2009-12-07 Thread Don Schwarz
No, this is not currently possible. I believe Servlet 3.0 adds support for web.xml fragments, which is likely what you want. On Mon, Dec 7, 2009 at 8:03 AM, Prashant antsh...@gmail.com wrote: Hi, I have some (eclipse) projects which extend a main project, in other words, a project is

Re: [appengine-java] Repeated Request was aborted errors

2009-12-07 Thread Don Schwarz
What's your app id? On Sun, Dec 6, 2009 at 10:19 AM, jd jdpatter...@gmail.com wrote: Hi, I am getting errors on every other request like this: Request was aborted after waiting too long to attempt to service your request. Most likely, this indicates that you have reached your simultaneous

Re: [appengine-java] How to set the output format for the Image service?

2009-12-08 Thread Don Schwarz
ImagesService.applyTransform() and ImagesService.composite() take an optional OutputEncoding argument. On Tue, Dec 8, 2009 at 10:07 AM, hzqtc hzqtc1...@gmail.com wrote: In the documents, it says: The service accepts image data in the JPEG, PNG, GIF (including animated GIF), BMP, TIFF and ICO

Re: [appengine-java] Re: BlobstoreService, No image data is available.

2009-12-16 Thread Don Schwarz
Yes, you don't have access to the dimensions of the uploaded image. Luckily, if you're just trying to create a thumbnail you don't need them -- the resize transformation preserves the aspect ratio automatically. You just need to pass in the maximum width and maximum height. On Tue, Dec 15, 2009

Re: [appengine-java] memcache exception

2009-12-17 Thread Don Schwarz
You probably want your class to implement Serializable. Memcache is a distributed cache so we need to have some way to send your object between servers. On Wed, Dec 16, 2009 at 9:48 PM, Andrei gml...@gmail.com wrote: Why do i get this exception when trying to put entry in cache? Thanks

Re: [appengine-java] --enable_jar_splitting

2009-12-22 Thread Don Schwarz
I would recommend that you simply split it into arbitrary pieces yourself. --enable_jar_splitting is a workaround to have the deployment tool do this itself, but this can cause problems with some libraries (e.g. if it expects to find a resource file and a class file in the exact same jar) so I

Re: [appengine-java] Re: Can I make GAE send an e-mail with Resent-To header ?

2009-12-22 Thread Don Schwarz
Unfortunately we only support a fixed set of headers on outbound email messages, and these headers are not currently supported. Please file a feature request in our issue tracker: http://code.google.com/p/googleappengine/issues/list On Tue, Dec 22, 2009 at 9:06 AM, minor-undroid

Re: [appengine-java] Re: What does precompilation-enabledtrue/precompilation-enabled do?

2009-12-22 Thread Don Schwarz
on, and work on tuning the parameters that we use for dividing your code into individual chunks. Thanks, Don On Mon, Dec 14, 2009 at 5:19 PM, David Fuelling sappe...@gmail.com wrote: Is there any drawback to using precompilation? Just wondering why it's opt-in for now. david On Dec 7, 11:18 pm

Re: [appengine-java] Re: wrong redirection to google sites

2009-12-23 Thread Don Schwarz
Your index.html file contains this: meta http-equiv=REFRESH content=0; URL= http://www.sakshum.com/ui/page/index.html;/HEAD and www.sakshum.com is evidently mapped to Google Sites in your Google Apps management console. Is that correct? On Wed, Dec 23, 2009 at 9:36 AM, Vik vik@gmail.com

Re: [appengine-java] VerifyError Stack size too large on deployed method

2009-12-23 Thread Don Schwarz
I can't seem to reproduce this. Please file a bug in our issue tracker and include the actual .class file that is failing to verify. http://code.google.com/p/googleappengine/issues/list Thanks, Don On Tue, Dec 22, 2009 at 2:52 AM, Fady fady.moussal...@gmail.com wrote: Hi, I have

Re: [appengine-java] Handling HardDeadlineExceededError

2009-12-23 Thread Don Schwarz
You cannot catch HardDeadlineExceededError. DeadlineExceededException should be thrown first. Perhaps some code you are using is silently catching and ignoring it? On Wed, Dec 23, 2009 at 4:08 AM, Lior Harsat lior.har...@gmail.com wrote: Hi, I am trying to build some mechanism for handling

[appengine-java] Re: Blacklist creation error on boot

2009-12-27 Thread Don Park
ln -s plugin.jar plugin2.jar also works. -- 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

Re: [appengine-java] Re: wrong redirection to google sites

2009-12-28 Thread Don Schwarz
to work again. br, Roman On Dec 24, 12:33 pm, Didier Girard didier.gir...@gmail.com wrote: Hello Don, I have the same problem for my web site:www.onGWT.com. I hope you can find the team that can help us to solve this problem... Thanks in advance, Didier On Dec 23, 6:53 pm, Don Schwarz

Re: [appengine-java] Re: hijacked domain

2009-12-28 Thread Don Schwarz
Here's an update that includes a workaround: http://www.google.com/support/forum/p/Google+Apps/thread?tid=66513228ad68b941hl=en On Mon, Dec 28, 2009 at 4:55 AM, Roman roman.bo...@gmail.com wrote: I just fixed it and my site http://www.dailydev.org is back! What I did was, that I disabled Web

Re: [appengine-java] Wrong calculation of week in App Engine

2009-12-28 Thread Don Schwarz
I suspect that WEEK_OF_YEAR and YEAR do not generally behave the way you want. See this bug for more details: http://bugs.sun.com/view_bug.do?bug_id=4267450 As for why this works for you locally and not when deployed to App Engine, I don't have a satisfactory answer. Have you verified that the

Re: [appengine-java] AppEngine Blob data type limits

2009-12-28 Thread Don Schwarz
Datastore Blob fields are limited to approximately 1M each: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Blob.html If you need to store data larger than 1M, you'll need to use the new Blobstore API: http://code.google.com/appengine/docs/java/blobstore/

Re: [appengine-java] 1K results query limit removed?

2009-12-28 Thread Don Schwarz
You can get more than 1K entities as long as you iterate over them. You just can't fetch more than 1K entities in a single batch (e.g. via PreparedQuery.asList()). On Mon, Dec 28, 2009 at 3:54 AM, Stas Chizhov schiz...@gmail.com wrote: Hi, I'm able to get much more than just 1K entities in

Re: [appengine-java] Wrong calculation of week in App Engine

2009-12-28 Thread Don Schwarz
/2008/01/javautilgregoriancalendar.html On Mon, Dec 28, 2009 at 3:57 PM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: On Mon, Dec 28, 2009 at 6:04 PM, Don Schwarz schwa...@google.com wrote: I suspect that WEEK_OF_YEAR and YEAR do not generally behave the way you want. See this bug

Re: [appengine-java] Wrong calculation of week in App Engine

2009-12-28 Thread Don Schwarz
No problem. And yeah, I used the word bug loosely -- I agree that this is just missing functionality. On Mon, Dec 28, 2009 at 6:02 PM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: On Mon, Dec 28, 2009 at 11:34 PM, Don Schwarz schwa...@google.com wrote: The bug I referenced

Re: [appengine-java] Servlet filter not being called?

2009-12-30 Thread Don Schwarz
From http://code.google.com/appengine/docs/java/gettingstarted/staticfiles.html: Any request for a URL whose path matches a static file serves the file directly to the browser—even if the path also matches a servlet or filter mapping. You can configure which files App Engine treats as static

Re: [appengine-java] Set cache expiration time for many static files (GAE+GWT)

2010-01-04 Thread Don Schwarz
I believe that the suggested configuration for GWT is: static-files include path=**.nocache.* expiration=1s/ include path=** expiration=30d/ /static-files Does that work? If not, please send me your web.xml and appengine-web.xml (privately if you want) and I'll determine why this

Re: [appengine-java] user by default

2010-01-05 Thread Don Schwarz
No, we cannot share a user's email address with an application until the user has explicitly logged into your application. On Tue, Jan 5, 2010 at 7:33 AM, Acerezo acerezoguil...@gmail.com wrote: Can I get the user account by default if the user is al ready loggin in igoogle, gmail, etc? --

Re: [appengine-java] Datanucleus initialization performance

2010-01-05 Thread Don Schwarz
Have you tried enabling offline precompilation? On Tue, Jan 5, 2010 at 8:52 AM, Todd Lindner todd.lind...@gmail.com wrote: Since Google App Engine will power down the app if there aren't any requests for ~10 minutes, it has to re-initialize your application often. Not a problem I was

Re: [appengine-java] Re: getting wrong presence status for XMPP users

2010-01-05 Thread Don Schwarz
Did you try calling XMPPService.getPresence(JID, JID) with your bot's JID as the second argument? On Sat, Jan 2, 2010 at 11:54 AM, Sahil Mahajan sahilm2...@gmail.com wrote: Hi I am facing same problem. Did you find any solution to this problem? getPresence is always returning false. On

Re: [appengine-java] Html to image in java

2010-01-06 Thread Don Schwarz
That sounds like an interesting feature request. Feel free to file it in our issue tracker: http://code.google.com/p/googleappengine/issues/list On Wed, Jan 6, 2010 at 8:18 AM, tal tal.j@gmail.com wrote: Hi, In my app I need to capture Html into image. All solutions, code, third party

Re: [appengine-java] Re: Increased reliability issues on AppEngine for the past 48h

2010-01-08 Thread Don Schwarz
What's your app id? (privately if you'd like) On Fri, Jan 8, 2010 at 11:58 AM, Jerome jerome.mou...@gmail.com wrote: I forgot to add that as you can see on the graph that is attached to the previous email, our request/sec rate which has been at about 5 queries/sec for the past few weeks is

Re: [appengine-java] Re: App instance recycling and response times - is there solution?

2010-01-12 Thread Don Schwarz
Make sure you are using offline precompilation. We are always working on optimizations to decrease the latency of loading requests, but here are some other tips: http://googleappengine.blogspot.com/2009/12/request-performance-in-java.html On Tue, Jan 12, 2010 at 3:01 PM, Locke

Re: [appengine-java] a description of cron job bug! It's not support for UTF-8

2010-01-13 Thread Don Schwarz
Please file an issue in our issue tracker: http://code.google.com/p/googleappengine/issues/list Thanks, Don 2010/1/5 时空之蕊 skzr@gmail.com Thanks for your healp: my cron.xml: ?xml version=1.0 encoding=UTF-8? cronentries cron url/cron/flushCache.do/url descriptionThis's a Chinese

Re: [appengine-java] Re: java.lang.NullPointerException cannot be cast to javax.servlet.ServletException

2010-01-13 Thread Don Schwarz
vette...@googlemail.com wrote: Hey there, I still get this ClassCastException. When will the JVM be fixed? It's Dec and the issue was raised in Jul. Is there any progress? Thanks, Alexander On Oct 22, 10:13 am, Marc Guillemot mguille...@yahoo.fr wrote: Don, I've tried

Re: [appengine-java] serious java loader problem: Hello world killed for latency

2010-01-19 Thread Don Schwarz
Can you respond privately with the app id you used to do this testing? Thanks, Don On Tue, Jan 19, 2010 at 8:25 AM, Locke locke2...@gmail.com wrote: I was testing the load times in various languages last night, as shown in another group: http://groups.google.com/group/google-appengine

Re: [appengine-java] Re: Status Of Issue 1899 - Async Http Requests For Java

2010-01-19 Thread Don Schwarz
This issue wasn't marked with the Language-Java label, so it didn't get accepted properly. I've accepted it now, and all indications are that asynchronous URLFetch support will be available in the next release. On Tue, Jan 19, 2010 at 7:35 AM, Locke locke2...@gmail.com wrote: Using the

Re: [appengine-java] equal rights for Java URLFetch

2010-01-19 Thread Don Schwarz
I just responded to the other thread you pinged, but I'll respond here too for completeness. I've now marked http://code.google.com/p/googleappengine/issues/detail?id=1899 as Acknowledged. It is currently on schedule to be included in the next release. If you want to help us test it out before

Re: [appengine-java] access denied

2010-01-19 Thread Don Schwarz
Please post the full stack trace. 2010/1/19 Andrés Cerezo acerezoguil...@gmail.com I'm deploying my application in appengine but I have a problem: 1. In host mode all is ok. 2. However when I deploy my application a I get this error: java.security.AccessControlException: access denied

Re: [appengine-java] Re: equal rights for Java URLFetch

2010-01-20 Thread Don Schwarz
. This doesn't appear to be documented very well. I'll make sure this is mentioned for both Python and Java. On Jan 19, 2:13 pm, Don Schwarz schwa...@google.com wrote: I just responded to the other thread you pinged, but I'll respond here too for completeness. I've now markedhttp

Re: [appengine-java] why is this? Unable to update app: Version not ready.

2010-01-21 Thread Don Schwarz
We're experiencing increased deployment latencies at the moment. This should be resolved shortly. On Thu, Jan 21, 2010 at 4:07 PM, Andrei gml...@gmail.com wrote: [java] 90% Deploying new version. [java] 95% Will check again in 1 seconds [java] 98% Will check again in 2 seconds

Re: [appengine-java] Request was aborted after waiting too long to attempt to service your request.

2010-01-22 Thread Don Schwarz
simultaneous requests; this default limit is in place to prevent a poorly performing or malicious app from hoarding resources.* I suggest that you calculate the maximum number of simultaneous requests that you need to serve and fill out the above form. Thanks, Don -- You received this message

Re: [appengine-java] CPU Quota Service is working?

2010-01-26 Thread Don Schwarz
This will be fixed in the next release. On Tue, Jan 26, 2010 at 10:08 AM, takeru sasaki sasaki.tak...@gmail.comwrote: Hi, I tried quota service. http://code.google.com/intl/ja/appengine/docs/java/javadoc/com/google/appengine/api/quota/QuotaService.html CODE(jruby): def current_quotas qs

Re: [appengine-java] Can't run the Java version of GAE.

2010-01-26 Thread Don Schwarz
Does 127.0.0.1 not resolve to localhost on your box? If not, try passing -a hostname to dev_appserver.sh. Can you ping appengine.google.com? If not you may need to specify a proxy with --proxy when deploying. On Tue, Jan 26, 2010 at 2:58 PM, Tordek ked...@gmail.com wrote: I wanted to try out

Re: [appengine-java] Retrieve User object by UserId string

2010-01-28 Thread Don Schwarz
Why not just store the User object in the datastore property directly? 2010/1/28 Grégoire Galinand gregoire.galin...@gmail.com: Hi, I store on the datastore the UserId (who is a String that i get with the method User.getUserID()) and I want to retrieve the Object User corresponding to this

Re: [appengine-java] Re: Does precompilation work ?

2010-02-01 Thread Don Schwarz
The next release has a few additional fixes for precompilation stability. However, we also plan to turn precompilation on by default so I'd like to get to the bottom of any failures that you're having (especially if they are reproducible). Can anyone experiencing problems zip up their WAR

Re: [appengine-java] Can't run the Java version of GAE.

2010-02-02 Thread Don Schwarz
Sorry, I don't really have any theories. No one else has ever reported this, so lets start with what makes your machine unique. What JRE are you running? Can you try a Sun 1.5 or 1.6 VM if you're not already using one? Is there anything special about the networking on your machine? IPv6

Re: [appengine-java] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-04 Thread Don Schwarz
The Java prerelease SDK was missing useful javadoc. That will be fixed in the actual release. On Thu, Feb 4, 2010 at 12:37 PM, Ikai L (Google) ika...@google.com wrote: There should be docs shipping with the SDK in the docs directory. On Thu, Feb 4, 2010 at 1:24 AM, phraktle phrak...@gmail.com

Re: [appengine-java] Question on request duration / quota / HardDeadlineExceededError

2010-02-08 Thread Don Schwarz
You should be able to catch a DeadlineExceededException and have ~400ms in which to return from your request before a HardDeadlineExceededError is thrown. Are you sure that you are not catching and ignoring the DeadlineExceededException? If so, can you create a small reproducible test case for

Re: [appengine-java] DataStore Error 1000000 characters, but I'm not persisting

2010-02-10 Thread Don Schwarz
How much data are you storing in your session? Currently, the serialized representation of a sessions contents must be the 1MB entity limit. On Tue, Feb 9, 2010 at 12:46 PM, Jake jbrooko...@cast.org wrote: Hello, I'm getting the following error: java.lang.IllegalArgumentException: string

Re: [appengine-java] Re: DataStore Error 1000000 characters, but I'm not persisting

2010-02-10 Thread Don Schwarz
that particular session has been evicted from memcache, but mutating the session state will incur some additional latency at the end of the request due to a datastore put call. On Feb 10, 11:23 am, Don Schwarz schwa...@google.com wrote: How much data are you storing in your session? Currently, the serialized

Re: [appengine-java] Deadlock on the development server.

2010-02-10 Thread Don Schwarz
synchronously instead of sending out requests simultaneously, everything works fine. That makes sense. Can you use that as a workaround until 1.3.2 is released? Feel free to file a bug in the issue tracker. We'll update it when the fix is rolled out. Thanks, Don -- You received this message

Re: [appengine-java] Re: App Engine SDK 1.3.1 is out!

2010-02-10 Thread Don Schwarz
Yes, it is implemented in the low-level API, so it affects all datastore accesses regardless of the API used. On Wed, Feb 10, 2010 at 8:18 PM, Peter Liu tinyee...@gmail.com wrote: App Engine now automatically retries all datastore calls (with the exception of transaction commits) when your

Re: [appengine-java] Why does this error happen??

2010-02-12 Thread Don Schwarz
Can you provide the full error you're getting? Ideally with a stack trace? On Fri, Feb 12, 2010 at 9:13 AM, Jongmin Yoon zect...@gmail.com wrote: 'com.google.appengine.tools.development.agent.runtime.Runtime.reject' It is occur error when include any class. After upload to 'appspot.com',

Re: [appengine-java] Re: Handling HardDeadlineExceededError

2010-02-16 Thread Don Schwarz
, Esteban On Thu, Dec 24, 2009 at 4:24 AM, Lior Harsat lior.har...@gmail.comwrote: Hi Don, thanx for your quick reply. I am pretty sure I am not catching DeadlineExceededException anywhere in the code (but I'll check again...). I've seen some posts in the past and some bugs submitted

Re: [appengine-java] Re: App Engine and Spring slow start up

2010-02-18 Thread Don Schwarz
Have you deployed your application with the 1.3.1 SDK? That release turned on offline precompilation by default, which is an optimization that may help. On Thu, Feb 18, 2010 at 7:59 AM, Alex chasov...@gmail.com wrote: Hi, It appeared that long init problem is well known for Grails users:

Re: [appengine-java] Re: web.xml Question in GAE

2010-02-19 Thread Don Schwarz
I think the problem is that you had an index.html file in your web application, and static files always override filters and servlets in App Engine. See the second paragraph of: http://code.google.com/appengine/docs/java/gettingstarted/staticfiles.html You can either remove the index.html

Re: [appengine-java] Re: Request was aborted after waiting too long to attempt to service your request.

2010-03-03 Thread Don Schwarz
Here's some good advice: http://googleappengine.blogspot.com/2009/12/request-performance-in-java.html On Tue, Mar 2, 2010 at 5:41 PM, Kroc vincent.legen...@gmail.com wrote: I have found I usually get this error when my app is loading and takes more than 10 seconds while another request

Re: [appengine-java] Re: Expires header automatically added (bug?)

2010-03-03 Thread Don Schwarz
, which may cause session leak (e.g. let you read someone else's email). On Mon, Mar 1, 2010 at 7:09 AM, George Moschovitis george.moschovi...@gmail.com wrote: I don NOT want to set an Expires header. I am just curious with the header is added (and messes up with my caching

Re: [appengine-java] Servlet Destroy - does it run? I wish it did.

2010-03-05 Thread Don Schwarz
No, we do not implement any of the destruction lifecycle (for servlets, filters, servlet context, etc.) I thought that we mentioned this explicitly in the documentation but I don't see it now. I'll get that fixed. On Fri, Mar 5, 2010 at 1:17 PM, Steve Pritchard steve...@gmail.com wrote: Based

Re: [appengine-java] Extending GAE's Jetty config

2010-03-09 Thread Don Schwarz
No, at the moment we specifically disable jetty-web.xml for security purposes. Feel free to file a feature request in our issue tracker asking us to re-enable it. On Tue, Mar 9, 2010 at 9:52 AM, alesj ales.jus...@gmail.com wrote: Does GAE use JettyWebXmlConfiguration to allow for WebAppContext

  1   2   >