[appengine-java] Re: Metadata in Datastore Statistics

2012-03-04 Thread Peter Han
Indexes... On Mar 2, 11:25 am, Aswath Satrasala aswath.satras...@gmail.com wrote: Hello, I am looking at the Datastore Statistics screen What is Metadata, that is showing in the pie chart in that screen -Aswath -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: JPA Query setMaxResult vs DB Read Ops number

2012-02-24 Thread Peter Han
amen :-) On Feb 24, 3:13 pm, Matthew Jaggard matt...@jaggard.org.uk wrote: The first one :-) On 22 February 2012 21:01, Peter Han devifr...@gmail.com wrote: situation: - user entities in db (properties id, name, sex, age) - you want to get the oldest of them with min. age 10

[appengine-java] JPA Query setMaxResult vs DB Read Ops number

2012-02-23 Thread Peter Han
situation: - user entities in db (properties id, name, sex, age) - you want to get the oldest of them with min. age 10 createQuery(select u from User u where u.age=10 order by age desc) query.setMaxResults(1) !!! query.getResultList(); how GAE handles this situation? 1. search in index table

[appengine-java] cross group transactions java sdk 1.6.1.1 ant compile fails with missing method transactionsoptions.builder.withXG(boolean)

2012-01-25 Thread peter
I can not create a transactionoptions object with transactionoptions.builder.withXG(true) I get missing method error withXG(boolean) I can create a transactionoptions object with transactionoptions.builder.withDefaults() But apart from that not enabling cross group transactions, the

[appengine-java] Using email service and avoiding spam

2012-01-24 Thread Peter Kuhar
that? The from email is one of the registered admins of the app. br, Peter -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/_dUeVKI_J2UJ

[appengine-java] Re: StackOverflowError when using remote API

2011-11-18 Thread Peter Turovskij
It seems we are the only ones facing this issue... -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/BDMR1e6RhzEJ. To post to this

[appengine-java] Re: StackOverflowError when using remote API

2011-11-16 Thread Peter Turovskij
Hi! I face exactly the same issue (using latest SDK 1.6.0). Have you managed to find any workaround or a way to solve this issue? P.S. There is no such issue in GAE bug tracker, could you please register one. -- You received this message because you are subscribed to the Google Groups Google

[appengine-java] Re: calling backend servlet from a corn job servlet

2011-10-23 Thread Peter Dev
?xml version=1.0 encoding=UTF-8? cronentries cron url/long-task/url description/description scheduleevery 30 minutes/schedule targetname-of-the-backend/target /cron /cronentries On Oct 20, 4:16 am, fachhoch fachh...@gmail.com wrote: I have a heavy duty servlet whihc

[appengine-java] Re: calling backend servlet from a corn job servlet

2011-10-23 Thread Peter Dev
http://www.pdjamez.com/2011/05/google-app-engine-backends-part-deux/ On Oct 23, 5:42 pm, Peter Dev dev133...@gmail.com wrote: ?xml version=1.0 encoding=UTF-8? cronentries   cron     url/long-task/url     description/description     scheduleevery 30 minutes/schedule     targetname

[appengine-java] Re: Memcache objects remain only 5 minutes

2011-10-07 Thread Peter Nees
Thanks, examination of these statististics learned me that had during the handling of one service call multiple (unnecessary) puts and gets of the same object to memcache. I changed this that I have maximum one read, and one put. Avoiding this unnecessary activity increased the time in cache

[appengine-java] Re: Memcache objects remain only 5 minutes

2011-10-07 Thread Peter Nees
Thanks, examination of these statististics learned me that had during the handling of one service call multiple (unnecessary) puts and gets of the same object to memcache. I changed this that I have maximum one read, and one put. Avoiding this unnecessary activity increased the time in cache

[appengine-java] Re: Memcache objects remain only 5 minutes

2011-10-07 Thread Peter Nees
Thanks, examination of these statististics learned me that had during the handling of one service call multiple (unnecessary) puts and gets of the same object to memcache. I changed this that I have maximum one read, and one put. Avoiding this unnecessary activity increased the time in cache

[appengine-java] DB API read Quota vs. sessions-enabled true

2011-10-03 Thread Peter Dev
sessions-enabledtrue/sessions-enabled App Engine stores session data in the datastore and memcache, all values stored in the session must implement the java.io.Serializable interface. in java session.getAttribute(XY) calls Datastore API READ if data in Memcache not found? (free limit

[appengine-java] Re: GAE - Vote counting system

2011-09-30 Thread Peter Dev
After each vote we want to send back the actual state of voted object (actual votes)... so, we need to store the number of votes and not only the deltas. Actual state of the votes we could store in backends cache, and in batch write changes in db. What do you think about this solution? I

[appengine-java] Re: GAE - Vote counting system

2011-09-29 Thread Peter Dev
Price: - with backends lets say 3 B2 machines = 350USD/Month - UrlFetch Data Sent/Received 0,15USD/GB Limit: - URL Fetch Daily Limit 46,000,000 calls this can be a problem...but I see it is possible to request an increase Write data parallel in DB: Task Queue with rate

[appengine-java] Re: GAE - Vote counting system

2011-09-27 Thread Peter Dev
Shared counter is cool and I use it... but if you have millions of objects I cannot imagine how to manage them. 1 000 000 obj x 100 shards = 10 000 000 counters 1. How to reset them to 0 in specified periods? 2. How to set the shared sum for each object to show top 100 objects? 3. Too much DB API

[appengine-java] Re: GAE - Vote counting system

2011-09-27 Thread Peter Dev
Sorry, 100 000 000 counters On Sep 27, 4:53 pm, Peter Dev dev133...@gmail.com wrote: Shared counter is cool and I use it... but if you have millions of objects I cannot imagine how to manage them.1 000 000obj x 100 shards =10 000 000counters 1. How to reset them to 0 in specified periods

[appengine-java] Memcache objects remain only 5 minutes

2011-09-27 Thread Peter Nees
My objects remain in the memcache only for about 5 minutes. I know that there is no guarantee about the caching period, but this seems abnormal. I've read that lack of memory could be the reason. The size of one object is about 50K, and I typically cache less as 50 objects. I have no flush

[appengine-java] Re: Using async-session-persistence

2011-09-26 Thread Peter Dev
http://code.google.com/appengine/articles/managing-resources.html For Java HTTP sessions, write asynchronously - HTTP sessions (Java) lets you configure your application to asynchronously write http session data to the datastore by adding async-session-persistence enabled=true/ to your

[appengine-java] GAE - Vote counting system

2011-09-26 Thread Peter Dev
We are developing an application, where users can vote for many objects. (for example, voting the best music video of the week) - This means, we have millions of possible objects to vote for, and millions of users To our best knowledge, after taking in consideration different options, the best

[appengine-java] Datastore APIs new pricing - Query (FirstResult/MaxResults)

2011-09-26 Thread Peter Dev
Datastore APIs new pricing - Query (FirstResult/MaxResults) http://code.google.com/appengine/kb/postpreviewpricing.html#two_entities_fetched_operations_consumed - one more question. Query like this: Query query = session.createQuery(select u from User u order by u.age); query.setFirstResult(10);

[appengine-java] Datastore APIs new pricing - Query (FirstResult/MaxResults)

2011-09-26 Thread Peter Dev
http://code.google.com/appengine/kb/postpreviewpricing.html#two_entities_fetched_operations_consumed *** Query like this: Query query = session.createQuery(select u from User u order by u.age); query.setFirstResult(10); query.setMaxResults(30); = 30 read ops (first 10 skipped) or 40 read ops (GAE

[appengine-java] Re: GAEJ down!

2011-08-12 Thread Peter Liu
Do you happen to be deleting a lot of entities? It happens to me before (can't access console) and it's a know bug, thou I am not sure it's fixed or not. Can you access other admin pages? Sometimes the bookmarked link become invalid and need to relogin from the login page. On Aug 12, 1:01 am,

[appengine-java] Re: Development server deletes automatically-generated datastore indices

2011-07-25 Thread peter
I've noticed the same problem today. I hope the SDK will be updated to make life easier for developers. On Jul 1, 9:29 am, Ian Marshall ianmarshall...@gmail.com wrote: Yes, the essence of what you describe below is what I plan to do - what a pain, though. It's a pity that the dev app server

[appengine-java] Re: gaeom - new option for lightweight, high performance object mapping

2011-07-21 Thread Peter Murray
Hi Roberto, I should have a complete example ready for posting in the next couple of days. The application I'm currently working on is using Spring for request routing and Codehaus Jackson for JSON encoding - seems to work pretty well. Since gaeom does not alter the classes or wrap them in

[appengine-java] gaeom - new option for lightweight, high performance object mapping

2011-07-20 Thread Peter Murray
Greetings Java Appengine folks, I've just released the first beta of gaeom 1.0.0-b1. gaeom (google app engine object mapper) is a lightweight, easy to use, and performant object / datastore mapping framework. The framework is under active development towards 1.0, and has solidified to the

Re: [appengine-java] gaeom - new option for lightweight, high performance object mapping

2011-07-20 Thread Peter Murray
Hi Ikai, Nah - I bought that dragon logo at a clip-art site. I think it was originally intended to be a tattoo design - it might look good on my left shoulder... Best, pete -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

[appengine-java] Deploying My Web Application in google App engine

2011-05-27 Thread peter jerald
? If yes, Please provide documentation to go ahead for deploying. Regards, A. Peter Jerald. -- 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

[appengine-java] Re: How to make an unindexed property, indexed

2011-05-07 Thread Peter Ondruška
Define property as indexed and re-put every entity (use mapreduce for that). -- 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

[appengine-java] Re: Are GAE servers multicore ?

2011-04-30 Thread Peter Ondruška
http://code.google.com/appengine/docs/java/overview.html : The JVM runs in a secured sandbox environment to isolate your application for service and security. The sandbox ensures that apps can only perform actions that do not interfere with the performance and scalability of other apps. For

[appengine-java] Berkeley DB JE

2011-04-23 Thread Peter Ondruška
you cannot use bdbje in gae. use datastore to store data. -- 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

[appengine-java] Does user id need to go through createKey?

2011-04-14 Thread Peter
); Appreciate your help. Regards, Peter Regards, -- 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

[appengine-java] Any GqlQuery example for Java?

2011-04-12 Thread Peter
Folks, I found quite a few Python examples for GqlQuery but couldn't find any for Java. Can someone point me in the right direction? For starters, what is the namespace to import? Thank you in advance for your help. Regards, Peter -- You received this message because you are subscribed

[appengine-java] Federated ID versus User ID

2011-04-12 Thread Peter
() and getUserId(). Which of these two can be used as the primary key for storing per-user information. Thank you in advance for your help. Regards, Peter -- 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] Datastore - best way to insert/update a record

2011-04-08 Thread Peter
and set counter value to 1 3. If record found, increment the counter value and save it back. I am wondering what is the best way to achieve this in Java. Thank you in advance for your help. Regards, Peter -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: [appengine-java] Best practice for multithreaded access/update to entity

2011-04-07 Thread Peter Backx
better as it is specifically designed for it. Thanks every one for your answers Peter -- 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

Re: [appengine-java] Best practice for multithreaded access/update to entity

2011-04-07 Thread Peter Backx
Perfect, exactly the info I needed! Thanks a lot Jeff. Peter -- 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

Re: [appengine-java] How to authenticate from iPhone client to App Engine server

2011-04-06 Thread Peter
Ikai, Thank you for your help. Regards, Peter -- 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] Breakpoint not being hit in Eclipse

2011-04-05 Thread Peter
the web page works as expected. I am wondering if I am missing something. Thank you in advance for your help. Regards, Peter -- 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

[appengine-java] How to authenticate from iPhone client to App Engine server

2011-04-05 Thread Peter
if you can point me in the right direction. Also, if there is a better way to handle authentication, please share it with me. Regards, Peter -- 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

Re: [appengine-java] Breakpoint not being hit in Eclipse

2011-04-05 Thread Peter
Thank you for your help. I am already in debug perspective. Regards, Peter -- 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

[appengine-java] Best practice for multithreaded access/update to entity

2011-04-03 Thread Peter Backx
a version column is added. Before updating a row, the version number in the database is compared to the one in memory. I suppose I can implement something like that on GAE too, but I was wondering whether there are better/other options available in the NoSQL world. Regards, Peter -- You received

[appengine-java] how to cancel uploading request by url created by createUploadUrl()

2011-03-03 Thread peter hong
. But after aborting ajax request, uploading process is still on going on server side, and finished successfully. Is there any way to stop the uploading process? I need to find a way to stop the request before a callback is made. Please help me out. It would be greatly appreciated. Peter -- You

[appengine-java] Re: Protocol Buffer in Google app engine

2011-02-22 Thread Peter Ondruška
Just a note on Java-to-Java serialization: This is not going to work 100% while protobuf serialization should work. -- 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

[appengine-java] Re: Why I alwayas stop after I fetch a url?

2011-02-17 Thread Peter Hulsen
Hi Martin, Try closing the reader or reading the complete response data. Peter -- 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

[appengine-java] 1.4.2: Can't make https call from dev server

2011-02-12 Thread Peter Liu
We are using a custom remote delegate to route datastore rpc call to live production test site on appspot. We did this because sometimes we want to develop with live data. However after upgrading to 1.4.2, https outbound call starts failing (see below). If we change to http, then it works again.

[appengine-java] Re: java.lang.OutOfMemoryError: Java heap space

2011-02-12 Thread Peter Liu
Try using the low level API and do keys only query with limit of 1000 (and delete them) repeatedly instead of retrieving whole objects. I am guessing the out of memory is due to large amount of objects returned by the query. Keys only query also use much less api cpu. On Feb 12, 9:22 pm,

[appengine-java] Re: How to produce a synchronized timestamp?

2011-02-05 Thread Peter Ondruška
I would be interested on Google's answer whether instances' clock are guaranteed to be in sync.. I would hope so. -- 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

Re: [appengine-java] Re: Incoming Email - DKIM Verification needs AE-support/whitelisting-DNS-lookup

2011-02-03 Thread Peter Ondruska
http://code.google.com/p/googleappengine/issues/detail?id=4501 -- 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

[appengine-java] Re: Incoming Email - DKIM Verification needs AE-support/whitelisting-DNS-lookup

2011-02-02 Thread Peter Ondruska
Is there issue for this? I would love to star it! -- 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

[appengine-java] Using the Python datastore replication in Java

2011-01-25 Thread Peter Liu
http://code.google.com/appengine/docs/adminconsole/datastoreadmin.html#Copying_Entities_to_Another_Application Anyone successfully transfer a table from one app to another? I need to update a test app with data from a production app, and the bulk download utility just take too long (and too many

[appengine-java] How to get external URL from servlet?

2010-12-13 Thread Peter Savelyev
I can't figure, how to get external absolute URL from internal relative address. Can somebody help? -- 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

Re: [appengine-java] Re: How to get external URL from servlet?

2010-12-13 Thread Peter Savelyev
selected when registering the app. regards didier On Dec 14, 2:38 am, Peter Savelyev laialnar...@gmail.com wrote: I can't figure, how to get external absolute URL from internal relative address. Can somebody help? -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: Output encoding / JPEG does not seem to work

2010-11-16 Thread Peter Liu
Are you using dev server? The image service on dev server does the most basic thing possible and ignore most params. You might have issue working with PNG files as well. Deploy to a live test server and the image service should work. By default, jpeg encoding is quality 85 (according to my

[appengine-java] Re: Simulating 500 error code

2010-11-03 Thread Peter Ondruska
def get(self) self.error(500) should work but never triwd myself Ice13ill napsal(a): Is it possible in App engine Java to simulate on development mode (or production mode) the 500 internal server error ? -- You received this message because you are subscribed to the Google Groups Google App

[appengine-java] Re: Does ImageService support join image?

2010-11-02 Thread Peter Liu
I think what you are looking for is Composite. Look at the javadoc of the image service and service factory, there's a way to create composite and there's a function to take a list of composites to compose a single image. On Nov 1, 4:33 am, Secret mafa...@gmail.com wrote: I have try the API.

[appengine-java] Re: Eclipse plugin insists on copying DataNucleus jars to war/WEB-INF/lib

2010-10-27 Thread Peter Liu
Hi Max, Does it copy on startup or build? I am using Eclipse 3.5 , 3.6 and it doesn't copy to lib always. It happens when SDK is changed or maybe on startup. Regardless, I wanted to do the same thing and what I did is write an ANT task that runs every build. The ANT task removed the libs that I

[appengine-java] Handle internal 500 error gracefully

2010-10-26 Thread Peter Liu
In doc for java: Note: At present, you cannot configure custom error handlers for some error conditions. Specifically, you cannot customize the 404 response page when no servlet mapping is defined for a URL, the 403 quota error page, or the 500 server error page that appears after an App Engine

[appengine-java] Re: CreateProcess error=87

2010-10-22 Thread Peter
Thx for your quick answer. After I posted this message I found a solution for my problem: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/4c89f5df36e4fe7b I moved my App Engine SDK-s jars to another folder with sorter path, and replaced my original App Engine library with

[appengine-java] CreateProcess error=87

2010-10-21 Thread Peter
Hi I have a strange problem. Eclipse cannot clean and build my Google App Engine project. It says: DataNucleus Enhancer has encountered a problem. Cannot run program C:\Program Files\Java\jdk1.6.0_20\bin \javaw.exe (in directory location_of_my_project): CreateProcess error=87, The parameter is

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

2010-10-19 Thread Peter Liu
think it's my setting issue. Can anyone verify? On Oct 18, 10:41 pm, Peter Liu tinyee...@gmail.com wrote: 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

[appengine-java] Re: alishascardwall.com Forbidden 403 Error

2010-10-19 Thread Peter Ondruska
Try again to delete www mapping to GAE, create mapping to some dummy sites.google.com, and then delete sites and create mapping to GAE. See if that works. It is kind of strange as usually if the mapping is wrong you get error 404 not 403. On Oct 17, 6:17 am, Aditya Yadav aditya.ya...@gmail.com

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

2010-10-18 Thread Peter Liu
entities long time ago and it was inconsequential. On Oct 17, 2:50 am, Peter Liu tinyee...@gmail.com wrote: I had the same problem. I fix it by deleting the entries of the 2 map reduce table. Go to to the datastore viewer and there's 2 Kind used by map reduce. By the way, how to mark

[appengine-java] Re: JPEG Quality OutputSettings NoClassDefFoundError

2010-10-18 Thread Peter Liu
:02 pm, Peter Liu tinyee...@gmail.com wrote: 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

[appengine-java] Re: JPEG Quality OutputSettings NoClassDefFoundError

2010-10-18 Thread Peter Liu
 pm, Peter Liu tinyee...@gmail.com wrote: 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

[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: How to get rid of a hanging mapreduce job?

2010-10-17 Thread Peter Liu
I had the same problem. I fix it by deleting the entries of the 2 map reduce table. Go to to the datastore viewer and there's 2 Kind used by map reduce. By the way, how to mark the task as completed? When my task is done it always end with the Unknown state. I asked this question before but

[appengine-java] Re: alishascardwall.com Forbidden 403 Error

2010-10-16 Thread Peter Ondruska
Go to Google Apps domain control panel a remove www mapping to your GAE application and add it again. On Oct 16, 5:13 am, Aditya Yadav aditya.ya...@gmail.com wrote: I purchased a domain alishascardwall.com for my appid: alishascardwall and removed Sites and enabled www mapping for my appid.

[appengine-java] Re: alishascardwall.com Forbidden 403 Error

2010-10-16 Thread Peter Ondruska
What does nslookup tell about your DNS name: nslookup -q=cname www.kaibo.eu. (replace kaibo.eu with your domain name) On Oct 16, 8:37 am, Aditya Yadav aditya.ya...@gmail.com wrote: Peter, Thanks for the reply. I have already tried that before posting. I went into Google Apps and tried

[appengine-java] Re: alishascardwall.com Forbidden 403 Error

2010-10-16 Thread Peter Ondruska
I presume you do not have anything in your application logs (error 403), do you? On Oct 16, 10:30 am, Aditya Yadav aditya.ya...@gmail.com wrote: C:\Documents and Settings\adityayadav76nslookup -q=cnamewww.alishascardwall.co m *** Can't find server name for address 192.168.1.1: Non-existent

[appengine-java] Re: SDK 1.3.8 released!

2010-10-15 Thread Peter Ondruska
Apparently the newer version of SDK is not available yet. On Oct 15, 3:14 pm, Cyrille Vincey crll...@gmail.com wrote: Am I the only one who cannot download the eclipse 1.3.8 update ? On 15/10/10 14:51, Guillaume Laforge glafo...@gmail.com wrote: Excellent, thank you! The instances view is

[appengine-java] Re: App Engine and IP Addresses

2010-10-11 Thread Peter Ondruska
, Peter Ondruska peter.ondru...@gmail.comwrote: When connecting to IP address you need to use HTTP host header so that GAE knows which application/virtual server you want. On Oct 9, 6:26 pm, Benjamin bsaut...@gmail.com wrote: I've been working on a challenge over the past couple

[appengine-java] Re: App Engine and IP Addresses

2010-10-09 Thread Peter Ondruska
When connecting to IP address you need to use HTTP host header so that GAE knows which application/virtual server you want. On Oct 9, 6:26 pm, Benjamin bsaut...@gmail.com wrote: I've been working on a challenge over the past couple of days and I could really use a knowledge transfer on App

[appengine-java] Re: Tell data store not to selected index properties on bulkupload

2010-10-04 Thread Peter Ondruska
Just define entity properties with indexed=False, e.g. class Authorization(db.Model): domain = db.StringProperty(required=True) code = db.StringProperty(required=True, indexed=False) # update = db.DateTimeProperty(required=True, auto_now_add=True) and then bulkload On Oct 4, 6:26 

[appengine-java] Re: IOException instead of 404

2010-09-21 Thread Peter Ondruska
It is expected behavior to throw IOE if you cannot connect. HTTP status 404 can only be sent after connection succeeded. Peter On Sep 21, 7:08 am, hector hrov...@gmail.com wrote: I'm using the URLFetchService to access some web services from my domain.  Today I was testing the connection to one

[appengine-java] Re: How to implement global address book/list in google app engine

2010-09-14 Thread Peter Ondruska
Sign up for Google Apps and use Contacts API http://code.google.com/p/gdata-java-client/ to manipulate shared contacts. On Sep 13, 11:29 am, Saurabh Saxena saurabhsaxena.saur...@gmail.com wrote: Hi, Can some one help me how to implement global address book or list in google app engine.

[appengine-java] Re: Query BlobInfo in Java?

2010-09-07 Thread Peter Liu
in appengine? I'm wondering if I can use the blobstore service even with a free account. If not, are there other alternatives for blobstore so that I can upload and retrieve a file? Thanks On Tue, Sep 7, 2010 at 2:57 AM, Peter Liu tinyee...@gmail.com wrote: Just what I needed. Thank you

[appengine-java] Query BlobInfo in Java?

2010-09-06 Thread Peter Liu
Hi all, Anyone know a simple way to query BlobInfo? Simple use case will be query the BlobInfo that has a specific file name. It seems there's a method to query BlobInfo for Python but I can't find it for java. Thanks! -- You received this message because you are subscribed to the Google

[appengine-java] Re: Can't flush response

2010-09-06 Thread Peter Ondruska
It will not work, GAE in production will send response at once. See http://code.google.com/appengine/docs/java/runtime.html#Responses On Sep 6, 10:42 am, Sergio Lopes slo...@gmail.com wrote: Hi everybody I'm trying to use flushBuffer() of HttpServletResponse. I have some use case here where I

[appengine-java] Re: Query BlobInfo in Java?

2010-09-06 Thread Peter Liu
(FetchOptions.Builder.withLimit(1)); Hope that helps... On 6 set, 05:13, Peter Liu tinyee...@gmail.com wrote: Hi all, Anyone know a simple way to query BlobInfo? Simple use case will be query the BlobInfo that has a specific file name. It seems there's a method to query BlobInfo for Python

[appengine-java] Re: The title of email displays wrongly in localization

2010-08-27 Thread Peter Ondruska
Have try encoding to quoted printable this way: msg.setSubject(MimeUtility.encodeText(_subject, UTF-8, Q)); http://groups.google.com/group/google-appengine-java/browse_thread/thread/7479beb80a97992f/36156bbdee1b9fa2?lnk=gstq=encode+subject#36156bbdee1b9fa2 On Aug 26, 3:23 am, Tony

[appengine-java] Re: Invalidating users session

2010-08-10 Thread Peter Ondruska
http://code.google.com/p/googleappengine/issues/detail?id=3049 On Aug 10, 1:25 pm, Ice13ill andrei.fifi...@gmail.com wrote: Still, it seams that _ah_SESSION objects are not always cleaned automatically... On Aug 7, 12:53 pm, Hariharan Anantharaman hariharan.ananthara...@gmail.com wrote:

[appengine-java] Re: Uploading Data on Development Server(On local machine)

2010-07-31 Thread Peter Ondruska
http://code.google.com/appengine/docs/python/tools/uploadingdata.html Loading Data Into the Development Server If you'd like to test how your data works with the app before uploading it, you can load it into the development server. Use the -- url option to point the tool at the development server

[appengine-java] Update on Datastore Performance Status

2010-07-28 Thread Peter Ondruska
Charging for Datastore CPU usage will be re-enabled on Tuesday, August 3rd http://googleappengine.blogspot.com/2010/07/update-on-datastore-performance-status.html -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this

[appengine-java] Re: Documentation amendment request: allowed sender E-mail addresses

2010-07-15 Thread Peter Ondruska
Raise an issue for that please and send the link, I'd start it right away. On Jul 15, 10:52 am, Ian Marshall ianmarshall...@gmail.com wrote: Is this the right place to make a documentation amendment request? If not, should I raise an issue instead? On Jul 14, 1:48 pm, Ian Marshall

[appengine-java] Re: Documentation request: case sensitivity of sender E-mail addresses

2010-07-15 Thread Peter Ondruska
:-) Raise an issue for that please and send the link, I'd start it right away as well. On Jul 15, 10:52 am, Ian Marshall ianmarshall...@gmail.com wrote: Is this the right place to make a documentation amendment request? If not, should I raise an issue instead? On Jul 14, 2:09 pm, Ian Marshall

[appengine-java] Response character encoding

2010-06-18 Thread Peter
web page is not UTF-8. What can I do? Can I set the given JVM option to my application somehow? Thx Peter -- 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

[appengine-java] Re: Unnecessary memcache request from jetty SessionManager?

2010-06-08 Thread Peter Ondruska
How I understand memcache: cache.containsKey(some-key) tells you whether there is such key in memcache and cache.get(some-key) retrieves the value for key You could skip asking for existence of the key in memcache only in case you expect to return non-null values (and null being non-existent

[appengine-java] Eclispe deploy version check failed but deployed?

2010-06-06 Thread Peter Liu
The admin console have the new version available but the check in eclipse keep failing. It's somewhat annoying because I have to quit eclipse to stop the check. Uploaded 12 files. Initializing precompilation... Deploying new version. Will check again in 1 seconds. Will check again in 2 seconds.

[appengine-java] Datastore Performance Growing Pains

2010-06-04 Thread Peter Ondruska
http://googleappengine.blogspot.com/2010/06/datastore-performance-growing-pains.html So until performance has returned to a state we are proud of, and that you are satisfied with, your applications will not be charged for Datastore CPU costs effective on your May 31st bill. When we are convinced

[appengine-java] Re: AppEngine does not shut down application gracefully

2010-05-27 Thread Peter Ondruska
It does not say in docs (yet, maybe an issue should be raised on this) but Google's statement regarding destroy: http://groups.google.com/group/google-appengine-java/browse_thread/thread/e18a454a1479b14a/b011dfa9a17c18c5 On May 27, 8:08 am, dmitrygusev dmitry.gu...@gmail.com wrote: Hi, I wrote

[appengine-java] Re: AppEngine does not shut down application gracefully

2010-05-27 Thread Peter Ondruska
Actually there is an issue already destroy() is never called by the servlet container http://code.google.com/p/googleappengine/issues/detail?id=2164 so just star it to get the docs fixed. On May 27, 8:08 am, dmitrygusev dmitry.gu...@gmail.com wrote: Hi, I wrote a simple servlet to count

[appengine-java] GAE/J 1.3.4 in http://dl.google.com/eclipse/plugin/3.5

2010-05-21 Thread Peter Ondruska
Hello, is there any chance 1.3.4 will make it into Eclipse? Thanks. Peter -- 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

[appengine-java] How to hide static file from the user

2010-05-20 Thread Peter
hidden but there are times that it is not that convenient e.g. JSF :-) Peter -- 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

[appengine-java] Re: Billed CPU time by far too high

2010-05-12 Thread Peter Ondruska
Henning, you must have misunderstood Ikai’s answer :-) You were given discount previously and now you are billed as others ;-) On May 12, 1:58 pm, Henning Dierolf henning2...@hotmail.de wrote: Hi Ikai, it's also possible that you were being *underbilled* previously and that  we've corrected

[appengine-java] Re: when session expires in the data store

2010-05-10 Thread Peter Ondruska
()); } } } } On May 8, 8:20 pm, Joe Fawzy joewic...@gmail.com wrote: Hi Peter thanks for your reply and for the link to the other thread it will be great if u posted the code thanks a lot Joe On May 8, 7:50 pm, Peter Ondruska peter.ondru...@gmail.com wrote: expires

[appengine-java] Re: when session expires in the data store

2010-05-08 Thread Peter Ondruska
expires field is long and can be used as Date.getTime(). See http://groups.google.com/group/google-appengine-java/browse_thread/thread/b146bd93c417561c# and if you need hint on code for cleaning up expired sessions let me know. I can post the source. On May 8, 3:54 pm, Joe Fawzy

[appengine-java] How to fix missing jars problem?

2010-05-04 Thread Peter
of these warnings? Thank you in advance for your help. Regards, Peter -- 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

[appengine-java] Re: Skipping files when deploying?

2010-05-02 Thread Peter Ondruska
code.google.com/appengine/docs/java/config/appconfig.html On May 2, 5:38 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: When deploying a Python app files can be filtered-out from the deployment process (i.e. not uploaded to GAE), as described

[appengine-java] GAE Blog: Making your app searchable using self merge-joins

2010-04-26 Thread Peter Ondruska
http://googleappengine.blogspot.com/2010/04/making-your-app-searchable-using-self.html -- 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

  1   2   >