[appengine-java] Re: Unable to deploy 1.3.8 project

2010-10-18 Thread Peter Liu
Ok. I installed a new Eclipse (Helios), install the Google plugin with only 1.3.8, created a new project, deploy to production, and still, the version is still Google App Engine/1.3.7. You can hit the url that print the version here: http://9.latest.vikispottest.appspot.com/vikispot9 I don't thin

[appengine-java] Unable to deploy 1.3.8 project

2010-10-18 Thread Peter Liu
I created a brand new project with 1.3.8 sdk, deploy to live server, and the SystemProperty.version is still: "Google App Engine/1.3.7". Can anyone help? How do I verify what version of jars I deployed to production? @SuppressWarnings("serial") public class VikiSpot8Servlet extends HttpServlet {

[appengine-java] Re: JPEG Quality OutputSettings NoClassDefFoundError

2010-10-18 Thread Peter Liu
I created a brand new project with 1.3.8 sdk, deploy to live server, and the SystemProperty.version is still: "Google App Engine/1.3.7". Can anyone help? @SuppressWarnings("serial") public class VikiSpot8Servlet extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletRe

[appengine-java] Re: HttpURLConnection problem

2010-10-18 Thread TL
Check the value of the cookie. If it contains more than one cookie at a time, then sessionId = session_value.split(";"); may not return the cookie value. See Issue 3379 http://code.google.com/p/googleappengine/issues/detail?id=3379 If you think this is the problem (it was for me) then star it b

[appengine-java] Re: JPEG Quality OutputSettings NoClassDefFoundError

2010-10-18 Thread Peter Liu
It appears that I keep deploying 1.3.7 when my dev is 1.3.8. I try switching versions back and forth and getting the new updated plugin in Eclipse (Helios), and it's still deploying 1.3.7. I will try to create a brand new project and deploy it to see which version it deployed... On Oct 18, 9:02

[appengine-java] How are static files handled in the servlet container?

2010-10-18 Thread TL
Hi, I have a servlet filter on /* (everything). It does not get called when I access a static file that exists in a public folder. A couple of questions: 1. Are static files part of the normal servlet pipeline? 2. When I configure appengine-web.xml to cache certain files such as

Re: [appengine-java] Change Auth method

2010-10-18 Thread Gal Dolber
Thanks, I saw that. I was wondering if it can be done after you create the app. But I think thats not possible On Mon, Oct 18, 2010 at 10:41 PM, SebaGra wrote: > Hi Gal, according to documentation you can only select GoogleApps domain > authentication when you're creating your app. > > Check thi

[appengine-java] Re: JPEG Quality OutputSettings NoClassDefFoundError

2010-10-18 Thread Peter Liu
Anyone have this working? -- 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...

Re: [appengine-java] Change Auth method

2010-10-18 Thread SebaGra
Hi Gal, according to documentation you can only select GoogleApps domain authentication when you're creating your app. Check this doc: http://code.google.com/appengine/docs/java/users/overview.html#Authentication_Options

[appengine-java] Datastore query for embedded classes

2010-10-18 Thread hendrix.jason
I have two @PersistenceCapable classes: Document.java: http://pastebin.com/3MbEk8qw DocumentSearchKeyValue.java http://pastebin.com/QuUzZrLf How would I create a query that would return all "Document" objects that, in their "documentSearchKeyValues" field, contain a "documentSearchKeyValue" havi

[appengine-java] Need to disable GAE account and reclaim my mobile number....

2010-10-18 Thread Johnny
A former associate owns a domain and has a domain account with Google (e.g. @coolapp.com). I was given an email account with the domain and I registered for GAE with that email and tied the account to my personal mobile. I ended up parting with the associate and he has disabled the email he had giv

[appengine-java] Re: HttpURLConnection problem

2010-10-18 Thread pman
http://code.google.com/p/googleappengine/issues/detail?id=1704 On Oct 17, 9:18 am, 欧万翔 wrote: > hi: > 1、i use HttpURLConnection login ,then remember cookie > url = new > URL("http://passport.cnfol.com/accounts/Login?username=ouwx&password=accou... > ?"); > httpurlconnection = (HttpURLC

[appengine-java] Re: MailService::sendToAdmins, what should To look like?

2010-10-18 Thread alesj
The solution is here: MailService.Message msg = new MailService.Message(); msg.setSender(sender); msg.setSubject(subject); msg.setTextBody(textBody); mailService.sendToAdmins(msg); On Oct 18, 12:11 am, alesj wrote: > Reading this: > *http://code.goog

[appengine-java] Change Auth method

2010-10-18 Thread Gal Dolber
I have an app using Authentication Options: Google Accounts API. The app is already configured with google apps. I will like to change it to use the GoogleApps domain users to authenticate, but I don't see that as an option, I only see FederatedLogin as an option. How can I do that? -- You receiv

[appengine-java] Re: Execute CSS files as JSP

2010-10-18 Thread hipwit
Any input on this Google? Should I log it as an issue? On Sep 29, 1:56 pm, Chris Wilson wrote: > Hello, > > I need to dynamically generate CSS files and would like to do it with > JSP. I know that there are various existing solutions to do this with > servlets mapped to the .css extension and fo

Re: [appengine-java] Datastore latencies problems

2010-10-18 Thread Miroslav Genov
Does the selected kind has any relationships to another kind ? Do you have many conditional statements in your query ? I don't think that anyone could help you with this information. Please provide some more information about the definition of your entities and also whether you are using JDO,

[appengine-java] Re: Join selection between two entities in JPA

2010-10-18 Thread hadf
Thank you for your response SebaGra. :'( On 18 oct, 13:47, SebaGra wrote: > As far as I know, join's are not available in GAE. > Take a look at this: > > http://code.google.com/appengine/docs/java/datastore/relationships.html > > 2010/10/18 hadf > > > I have two entities : > > > @Entity > > pub

Re: [appengine-java] Re: 1.3.8 upgrade delete datastore contents

2010-10-18 Thread Christian Goudreau
Same here and that's kinda problematic, I had a lot of test data and it would take days to reinitialize everything... I guess I'll have no other choice but to come back to AppEngine 1.3.7 since the datastore.bin doesn't seem to be affected. Cheers, On Mon, Oct 18, 2010 at 2:29 AM, Vlad Skarzhevs

[appengine-java] Datastore latencies problems

2010-10-18 Thread Ice13ill
Hello, I need some help from the app engine team. I'm having problems when accessing the datastore for my application. The runquery requests cat take about 10 to 25 seconds, and sometimes i get DeadlineExcededException or 500 error code. I was wondering if this is happening to other developers or

[appengine-java] Re: Need advice on a design for an easily queryable key-value user preferences datamodel

2010-10-18 Thread Brad
Mike, Why keep a List of user Keys? I believe you would rather want: Setting { String key; String value; Key userKey; } Each setting for each user is a separate object. This keeps your queries simple and you dont have to worry about the object size directly scaling with the number of users you h

[appengine-java] Re: How to get rid of a hanging mapreduce job?

2010-10-18 Thread Peter Liu
Did you clear the Default queue as well? It's possible that the task queue backed off due to failure and retry at later time. But then it if it happens long time ago the queue should have given up already. On Oct 17, 5:37 am, burnayev wrote: > I deleted the mapreduce-related entities long time a

[appengine-java] How to count datastore queries for JUnit test

2010-10-18 Thread Jonas Gehring
Hello. I have implemented a method that does a few datastore queries. For performance I decided to cache the results of the queries and use the cache on every next method call. Now I would like to test whether my cache works within a JUnit test. But for this I must count the datastore queries and

[appengine-java] Spring 3.0 + Tiles 2.2 app works locally only

2010-10-18 Thread Andrei Staravoitau
Hi everyone, I created a simple Spring + Tiles app and everything works fine locally untill I deploy this app to the GAE account. I am getting the following error: Uncaught exception from servlet org.apache.tiles.impl.CannotRenderException: JSPException including path '/WEB-INF/jsp/header.jsp'.

[appengine-java] HttpURLConnection problem

2010-10-18 Thread 欧万翔
hi: 1、i use HttpURLConnection login ,then remember cookie url = new URL(" http://passport.cnfol.com/accounts/Login?username=ouwx&password=account88&act=login&usertype=0&return=http://www.cnfol.com ?"); httpurlconnection = (HttpURLConnection) url.openConnection(); httpurlconnection.se

[appengine-java] HttpURLConnection problem

2010-10-18 Thread fly
hi: 1、i use HttpURLConnection login ,then remember cookie url = new URL("http://passport.cnfol.com/accounts/Login? username=ouwx&password=account88&act=login&usertype=0&return=http:// www.cnfol.com?"); httpurlconnection = (HttpURLConnection) url.openConnection();

[appengine-java] create_bulkloader_config not reading entities

2010-10-18 Thread Gregg Reynolds
Hello, My datastore contains a few records; I see them in both the /remote_api and the GAE admin app. But create_bulkloader_config seems to think there are no entities there. $ appcfg.py create_bulkloader_config --filename=bulkloader.yaml --url=/remote_api --application= result: Creating b

[appengine-java] User api has a cuota?

2010-10-18 Thread Franco
hi all, anyone knows if there is quota for using the users api? thanks a lot! Franco -- 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] Need advice on a design for an easily queryable key-value user preferences datamodel

2010-10-18 Thread tempy
Hello all, In my app, the root element is a user, with which I want to associate a simple key-value structure for storing user preferences. It should be such a structure because I really can't foresee what preferences will be added in the future. At first I thought of using a simple @serialized

Re: [appengine-java] Join selection between two entities in JPA

2010-10-18 Thread SebaGra
As far as I know, join's are not available in GAE. Take a look at this: http://code.google.com/appengine/docs/java/datastore/relationships.html 2010/10/18 hadf > I have two entities : > > @Entity > public class Modele { >private Long id; >private Long marque; > >[...] > } > > @Ent

[appengine-java] Join selection between two entities in JPA

2010-10-18 Thread hadf
I have two entities : @Entity public class Modele { private Long id; private Long marque; [...] } @Entity public class Marque { private Long id; private String label; [...] } My entities are not directly associated because I don't want to use Key ids. I want to retriev

[appengine-java] File size when downloading files is missing

2010-10-18 Thread rapher
Hello, when serving files from the Blobstore with blobstoreService.serve(blobKey, res) the original filename and the filesize is missing, so no download progress bar and calculations how long the download will last is possible. How can i fix this? -- You received this message because you are su

[appengine-java] JPEG Quality OutputSettings NoClassDefFoundError

2010-10-18 Thread Peter Liu
I am having a strange problem when testing the new JPEG quality feature in the ImagesService API. The com/google/appengine/api/images/ OutputSettings class is not defined on GAE, but it's defined in dev. I checked that the class is in WEB-INF/lib/appengine-api-1.0- sdk-1.3.8.jar, but somehow it's

[appengine-java] Re: protobuf storage with JDO

2010-10-18 Thread l.denardo
I agree. Using protocol buffers directly is not necessary (btw datastore should use them internally, as Nick Johnson explains here: http://blog.notdot.net/2010/09/Under-the-hood-with-App-Engine-APIs). Use them only if usual datastore APIs don't satisfy your needs and you have to resort to serializ