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. [goog

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 ver

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 los

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 t

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

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.

Re: [appengine-java] GWT + GAE + Cloud SQL

2011-10-25 Thread Shawn Brown
> I am getting this error "java.lang.NoClassDefFoundError: > java.lang.management.ManagementFactory is a restricted class." Have you looked at http://code.google.com/appengine/docs/java/jrewhitelist.html Shawn -- You received this message because you are subscribed to the Google Groups "Googl

[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: > > > >                 value="WEB-INF/logging.properties" /> >                 >                 > D

[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: Anyone know? Shawn -- You received this message beca

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 hea

[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-up&version=428&; 500 Internal Server Error On a related note, are uploads to appengine (meaning deploying) very slow. I was averaging aro

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] com.google.gwt.dev.DevMode exit with 138 and 139 code

2011-03-13 Thread Shawn Brown
> I'm running eclipse in snow leopard all was working until the last OS > upgrade, maybe you should see http://code.google.com/p/googleappengine/issues/detail?id=4712 Shawn -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post

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"

Re: [appengine-java] Re: GAE on Mac OS X not working on local Jetty

2011-03-12 Thread Shawn Brown
> Just found another thread about this error which seems to have solution for > this problem (I haven't tried it yet): > http://code.google.com/intl/de-DE/appengine/forum/java-forum.html?place=topic%2Fgoogle-appengine-java%2FWiImnzVb9Fo%2Fdiscussion > I suggest we continue over there. Yeah to fix

[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 http://code.google.com/p/google-web-toolkit/issues/detail?id=6

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/ http://sites.google.com/site/slim3appe

Re: [appengine-java] Security and Authentication - 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

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 Goog

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

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 in and marks it as > error. adding asdf resolved that for me >

[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

[appengine-java] Unmatched encountered. in script from dev mode

2010-08-08 Thread Shawn Brown
Hi, **[safari plugin seems broken]** In Dev mode when accessing my page, I immdiately see [The HTML that caused this error was generated by a script.] Unmatched encountered. Ignoring tag. Then inexplicably, I see .gif files not being resolved. They are there when deployed and I can actuall

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 session-t

[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 lik

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] Re: sessions - configured but don't work on first call

2010-07-13 Thread Shawn Brown
Maybe this should be a gwt question. I was thinking getThreadLocalRequest().getSession() was appengine related but maybe that's not the case. Shawn -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send emai

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

2010-07-13 Thread Shawn Brown
Hello, A call to my app invokes a filter which starts a session via request.getSession(true); here is the id: czbgfo2bp5vs Then it proceeds to serve a non-static page, but the client shows no JSESSION id. Then the client make an rpc call which again generates a new session via the filter. id:

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 in appengine-web.xml > if you are relying on a custom filter for authentication purposes. Thanks. IMHO it should be documented here h

[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 MyAppGAE.html but shouldn't that get called by the following filter AuthenticationFilter /* Using a url like (running lo

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 bu

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

2010-07-09 Thread Shawn Brown
> This is strange. SSL connects on port 443, not port 80. Point your browser > here: > https://ikai-openid-demo.appspot.com:443 no go under osx: Firefox and Chrome : immediately redirect to https://ikai-openid-demo.appspot.com/ Safari: I get to https://ikai-openid-demo.appspot.com:443/openidde

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 the

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, dw

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

[appengine-java] authentication

2009-12-21 Thread Shawn Brown
Hi, Is anyone doing their own (not Google's) authentication perhaps via a servlet perhaps using jaas. It seems a lot of the jaas classes are whitelisted. I've used spring security before but that seems a little heavy weight - I mean startup from a dead stop or too add another "instance". Any id

Re: [appengine-java] SQL front end

2009-12-13 Thread Shawn Brown
> I'd like to use the GAE more like a conventional database, eg., I'd > like to be able to send very simple INSERT, UPDATE, DELETE and even > CREATE TABLE statements to my app via HTTP and have them processed. > Does anyone know of available product or code that does anything > similar, or is anyon

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 pro

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 com.google.appengine.api.datastore.Key

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" gro

Re: [appengine-java] Now available: JDO/JPA preview release with inheritance support

2009-12-08 Thread Shawn Brown
> Hi Shawn, > > My apologies, but ... > pm.getObjectById(TestDN.class, key) will fail if the persistent type of the > entity referenced by key is not TestDN.class. Hey no problem. All is well. We can determine the class by the key (key.getKind()) and use that to do the lookup if(key.getKind().

Re: [appengine-java] Now available: JDO/JPA preview release with inheritance support

2009-12-07 Thread Shawn Brown
> You can find information on using inheritance in JDO here: > http://www.datanucleus.org/products/accessplatform_1_1/jdo/orm/inheritance.html > Note that app engine _only_ supports the 4th option, "complete-table." According to that link, this should work to query subclasses: tx.begin(); Extent

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) m

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=gst&q=App+Engine+SDK+1.2.8+released+including+new+Admin+Console+features#fdf7c0bc29d6e74d Shawn --

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 lea

[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 goo

[appengine-java] Re: GAE Performance

2009-10-18 Thread Shawn Brown
Hi, > I have read that a particular User can process 1-10 request per > second.  Is this a limit of the free quota or does paid quota also > have this limitation. Where and what did you read? That doesn't seem consistent with the published limits. I guess it depends on what they were doing wit