Re: [appengine-java] Reminder: Google App Engine community support is moving to Stack Overflow

2012-03-08 Thread Shawn Brown
Questions tagged with 'google-app-engine':   http://stackoverflow.com/questions/tagged/google-app-engine I don't understand how to get java specific questions. It's not useful and a huge waste of time to have to sort through the python stuff for me. This sucks and it seems like google is

Re: [appengine-java] Reminder: Google App Engine community support is moving to Stack Overflow

2012-03-08 Thread Shawn Brown
Search for google-app-engine java. I still don't get it. searching pulls up results that are seemingly unordered by time using a Stack Overflow filter (to notify by email or display current results) doesn't find java related posts. YUCK. It'd be nice to be able to just follow the java version

Re: [appengine-java] Reminder: Google App Engine community support is moving to Stack Overflow

2012-03-08 Thread Shawn Brown
When you're searching, you can specify a tag by putting it in square brackets. E.g. if you search for:  [google-app-engine] [java] spring this will retrieve questions tagged with [google-app-engine] and [java], and containing 'spring'. Thanks Amy, It's weird. Here's what worked.

Re: [appengine-java] Mail send from AppEngine application not received by any recipient from past few days

2012-02-23 Thread Shawn Brown
We have two Business application running on AppEngine one of which we have upgraded into HRD instance a couple of months before and other one was upgraded into HRD instance a week before.Everything was working fine on them but from past few days(after Friday) no mail is sending from these

Re: [appengine-java] Implementation question regarding efficient check and lock on datastore

2012-01-12 Thread Shawn Brown
I guess what I want to have is some kind of check and lock. My question is how to implement an efficient lock on a distributed environment like GAE. Transactions? Or better using memcache? Is there a best practise how to implement that? I'm not saying this is best practice but just throwing

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-10 Thread Shawn Brown
We think we know what's happening. This is something that is happening at app upload time. Can you try setting a new version name for your app, then passing the --no_batch option when using appcfg.sh? appcfg.sh --no_batch update [YOUR_WAR_DIRECTORY] Seems to solve it. I can't reproduce the

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-09 Thread Shawn Brown
If someone has a deterministically reproducible case that you can share with us (project files and everything), it'd be very helpful for us to nail this bug. We aren't able to do this with our test apps (big apps, small apps). There's got to be some parameter that's different in your apps. I

[appengine-java] utf-8 log files

2011-09-09 Thread Shawn Brown
Is this the right way to get appengine logs in utf-8? I tried downloading them but ... the file itself was not written as utf-8. So I'm wondering about setting this in appengine-web.xml: system-properties property name=java.util.logging.config.file

[appengine-java] Re: utf-8 log files

2011-09-09 Thread Shawn Brown
Is this the right way to get appengine logs in utf-8? I tried downloading them but ... the file itself was not written as utf-8. So I'm wondering about setting this in appengine-web.xml: system-properties                property name=java.util.logging.config.file

Re: [appengine-java] Set a header of text/cache-manifest when a .manifest file is downloaded.

2011-08-25 Thread Shawn Brown
Hi, It is possible to have the iPhone remember a web page to make it look like an App.  To do this you need to specify a manifest file to tell the iPhone what to cache. I think you are talking about html5 offline support -no? Works with 'droid too right? The .manifest file must have a header

[appengine-java] Server Error : Deployment Failed

2011-08-19 Thread Shawn Brown
Hello, I consistently get: Unable to update: java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/clonefiles?app_id=fluency-upversion=428; 500 Internal Server Error On a related note, are uploads to appengine (meaning deploying) very slow. I was averaging

Re: [appengine-java] DWR 3 doesn't work

2011-06-03 Thread Shawn Brown
Hi, http://code.google.com/p/googleappengine/wiki/WillItPlayInJava I saw that DWR works on GAE. But whezn I do my test, I've this error: This lists Version(s) 2.0.5, 3.0 RC1 as COMPATIBLE I don't know all the details of 2.0.5 but 3.0RC1 creates threads to do session cleanup and that will

Re: [appengine-java] does the Google AppEngine or WebToolkit replace the bootclasspath of the running Java runtime?

2011-03-13 Thread Shawn Brown
Hi, Do you have the contact information for the Apple Engineer? He's contacted you, Toby, off list now. I got cc'd on the mail. Let me know if for some reason you didn't get it. Shawn -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] does the Google AppEngine or WebToolkit replace the bootclasspath of the running Java runtime?

2011-03-12 Thread Shawn Brown
Hi, I used the open-jdk workaround to solve the problems introduced by the latest apple java sdk update but have a question an Apple engineer asked me about the following: http://code.google.com/p/googleappengine/issues/detail?id=4712

Re: [appengine-java] Re: Google App Engine with MySQL Database.

2010-11-26 Thread Shawn Brown
Why use the JDO/JPA? You don't need to use those. For appengine you need to use BigTable. JDO/JPA is one way to use BigTable. There are others (that are easier to use but may not have the same portability): http://code.google.com/p/objectify-appengine/

Re: [appengine-java] Security and Authentication - security-constraint in web.xml annoying error

2010-10-30 Thread Shawn Brown
how can i fix this annoying error ? web-resource-name}' is expected. see the top link in the following search and just add a web-resource-name http://docs.sun.com/app/docs/doc/819-3669/bncbk?a=view Shawn -- You received this message because you are subscribed to the Google Groups Google App

Re: [appengine-java] Disappointment about JPA relationships :(

2010-10-24 Thread Shawn Brown
I'm just here because i feel i need to rant a little. I came here expecting way too much. Been there with JDO -- the docs are not adequate. I don't know your exact requirements but I suspect you'll find many on this list who found objectify to be the simplest convenient interface to the Google

Re: [appengine-java] [Perhaps OT] Oracle vs. Google : Java still a viable language?

2010-08-27 Thread Shawn Brown
Motivation: I am at the early stages of implementing a web app on GAE using Java, but if I need to switch to Python, I shouldn't delay it any more. Anyway, what do you guys think? IANAL but you asked so here goes. I think you are fine using java on GAE. My guess is that since appengine is

Re: [appengine-java] HTTPS on App Engine

2010-08-26 Thread Shawn Brown
I tried it but a call via http is still possible and wil not be automatically redirected to the https protocol. Are you using *.appspot.com? It doesn't work for a custom domain, does it? Also Eclipse doesn't like the url-pattern in web-resource-collection and marks it as error. adding

[appengine-java] Stored Data- how billed?

2010-08-09 Thread Shawn Brown
Hi, About storage costs, If I have say 25 GB in storage, is this right -- 25 GB X $0.15/month = $3.75/month??? The docs here say: http://code.google.com/appengine/docs/billing.html#Billable_Quota_Unit_Cost Stored Data gigabytes per month $0.15 Other quotas are on a daily basis so I'm a

Re: [appengine-java] Instance startup/shutdown and sessions

2010-07-26 Thread Shawn Brown
What happens if between logged in user navigates to another page and the GAE instance was shutdown? I understand a new instance is started but what happened to the session data? AFAIK session data is persisted to big table. Also, how is startup/shutdown of instances related to

[appengine-java] Re: sessions - configured but don't work on first call

2010-07-17 Thread Shawn Brown
Why can't a filter start a session? this.getThreadLocalRequest().getSession(); will find a session created by a filter via request.getSession(true); but  request.getSession(true); doesn't seem so send a cookie to the client. I really can't understand this.  Help please It looks like

Re: [appengine-java] Re: memcache best practice or framework

2010-07-16 Thread Shawn Brown
What's the usage for in-memory caching via stick-cache? It now supports bulk gets for all caches - i.e. memcache and datastore using their respective bulk get methods Aaah, stick-cache has dependencies on twig and http://code.google.com/p/guava-libraries/ The utilities from twig can be

[appengine-java] Why are filters not used on first access?

2010-07-11 Thread Shawn Brown
Hi, I have a filter set for all requests. Yet the first request to GAE seems to bypass the filter. Why/How could that be? I do have a welcome file set welcome-fileMyAppGAE.html/welcome-file but shouldn't that get called by the following filter filter-mapping

Re: [appengine-java] Why are filters not used on first access?

2010-07-11 Thread Shawn Brown
Hi, Please read the second paragraph of: http://code.google.com/appengine/docs/java/gettingstarted/staticfiles.html You'll need to exclude your files from static-files in appengine-web.xml if you are relying on a custom filter for authentication purposes. Thanks. IMHO it should be

Re: [appengine-java] Re: memcache best practice or framework

2010-07-10 Thread Shawn Brown
Hi John, There is also a CompositeCache class that allows you to layer the caches so that it first checks in-memory, then memcache , then the datastore.  Puts go to all levels and cache hits refresh the higher levels.  e.g. if an item is not in-memory and has been flushed from memcache but

Re: [appengine-java] Re: Enabling SSL for a Servlet

2010-07-09 Thread Shawn Brown
Secure Connection Failed An error occurred during a connection to ikai-openid-demo.appspot.com: 80. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) Same on firefox and Chrome on OSX Http works, https fails. Also, is there

Re: [appengine-java] java.lang.RuntimeException: java.io.NotSerializableException: + objectify framework

2010-04-12 Thread Shawn Brown
I am using dwr and objectify framework to get the arraylist of string from datastore. But I am getting error. java.lang.RuntimeException: java.io.NotSerializableException Well beyond that have you really gotten dwr to work in appengine. If so, it must be a pretty old version. AFAIK, dwr

Re: [appengine-java] Re: Why should app startup times be a problem.

2010-03-29 Thread Shawn Brown
It's boggled my mind from day 1 why instances aren't loaded in the background. I always assumed it would be addressed What is difficult to understand? 1 server has X resources warmed instanced require Y resources X - YN = resources left over for the server to fulfill requests. By reducing

Re: [appengine-java] GWT+JDO+GAE enhancement nightmare

2010-03-22 Thread Shawn Brown
This seems pretty basic. Can somebody wake me from this nightmare? Sorry, been there... If I was starting over, I'd seriously think about: http://code.google.com/p/objectify-appengine/ for two reasons: 1) Objectify entities can be used in GWT without the need for Data Transfer Objects. 2) it

Re: [appengine-java] GAE for few requests high processing

2009-12-13 Thread Shawn Brown
My Java App anticipates few requests, but a lot of processing. Hence it was designed to be multi-threaded. Since the multiple threads are not allowed in GAE max request processing time is only 30 secs with Task Queues, I'm looking at my options: 1. How do you develop high background

Re: [appengine-java] Why not use integer primary keys?

2009-12-12 Thread Shawn Brown
Error in meta-data for my.syncdroidserver.Box.boxID: Unsupported primary key type: int http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Keys -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group.

Re: [appengine-java] Re: Why not use integer primary keys?

2009-12-12 Thread Shawn Brown
Well this won't help to use id as an array index but...  * As you've probably figured out, the datastore natively only supports two types of id, Long and String  * Only Long will autogenerate Key will autogenerate too won't it! and from the api: long

Re: [appengine-java] Re: Failed to startup after ver 1.2.8 update

2009-12-06 Thread Shawn Brown
Yes its like a official release I can breathe again. Then move back original question. How should I teach Eclipse of this update? Can't you just update eclipse? Sorry I am writing from japan so Dec-5th is japan time and it means Dec-4th US west coast. Actually I'm in Japan (Tokyo) myself.

Re: [appengine-java] Re: DWR SUPPORT

2009-12-04 Thread Shawn Brown
Hi, Some said GAE did not support DWR while I had read about Will it play in App Engine.It showed that Direct Web Remoting (DWR) Version(s): 2.0.5, 3.0 RC1 Status: COMPATIBLE DWR uses threads for some things like reverse ajax. For sure, that will not work in appengine at least the way

Re: [appengine-java] Re: Failed to startup after ver 1.2.8 update

2009-12-04 Thread Shawn Brown
And So is it become official version at Dec-5th? I think so. Well Dec 4th. http://groups.google.com/group/google-appengine-java/browse_thread/thread/18e49b1559752fae/fdf7c0bc29d6e74d?lnk=gstq=App+Engine+SDK+1.2.8+released+including+new+Admin+Console+features#fdf7c0bc29d6e74d Shawn --

[appengine-java] Re: Exception while trying to run app

2009-10-24 Thread Shawn Brown
see http://tinyurl.com/yzhwl6p It's a known issue with upgrading. Look at the top result. --~--~-~--~~~---~--~~ 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