[appengine-java] Re: What CPU times should I expect in the logs?

2010-02-19 Thread Blake
Thanks John. I did do that, but after reading the documentation, it seems that if you query for 10 objects with "|| key=='abc' || key=='def' || key=='ghi'", then it'll actually perform 10 queries under the hood. I'm noticing a lot of slow-down in my app from these GAE exceptions that I think are

Re: [appengine-java] Null Pointer Exception at the time of transaction commit.

2010-02-19 Thread Sushama Khadilkar
Thanks, But i'm not getting wat are u saying so can u plz explain clearly... -- 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 grou

[appengine-java] Re: Using GAE Platform Outside of Google

2010-02-19 Thread Greg Marine
Thanks Jeff! I'll have a look at this. I really appreciate it! Greg On Feb 19, 1:59 pm, Jeff Schnitzer wrote: > There is this: > > http://appscale.cs.ucsb.edu/http://code.google.com/p/appscale/ > > I have no idea how mature or stable it is. > > JeffOn Thu, Feb 18, 2010 at 2:58 PM, Greg Marine

[appengine-java] Re: Parsing files uses too much cpu loading

2010-02-19 Thread Blake
Create a task (for the task queue) - we'll call it SomeTaskServlet that imports a section of the file between two line numbers that are passed into it. In this task above, here's what you'd do: 1. count how many lines are in the file - let's say 105 2. divide that by ten (make sure to handle the r

Re: [appengine-java] Re: Google maps geocoder responds with 620 error since last nights server maintenance

2010-02-19 Thread Jeff Schnitzer
It doesn't seem to be working. Not only am I still seeing a ton of 620s, but half the time I'm also getting something that doesn't parse as JSON. It contains an unexpected '<'. I'm guessing it's some sort of error message getting rendered in html or xml. org.codehaus.jackson.JsonParseException:

Re: [appengine-java] log4j init fails

2010-02-19 Thread Rusty Wright
I think you can simply put the log4j.properties file in the WEB-INF/classes dir and you don't need any appengine-web.xml stuff for it. Log4j looks for its configuration file "on the classpath" which means it looks in WEB-INF/classes (and also in all of the jars in the lib directory). AJ Chen

Re: [appengine-java] Problem whit upload form multipart

2010-02-19 Thread yjun hu
maybe this will be helpful http://hapeblog.appspot.com/blog.shtml?id=2002 On Wed, Feb 17, 2010 at 1:01 PM, John Patterson wrote: > Do you have a different version of the jar in your lib directory to the one > on your build path? > > > On 17 Feb 2010, at 09:11, NIko Judo wrote: > > Hola he probad

Re: [appengine-java] Re: Compass on Google App Engine

2010-02-19 Thread yjun hu
i have a blog with compass on GAE, and i implement the searchable function here.. http://hapeblog.appspot.com/ On Thu, Feb 18, 2010 at 2:11 AM, a.maza wrote: > did you experience the problems in production environment or already > in the development environment? > > May the indexing problem be

Re: [appengine-java] Re: Google maps geocoder responds with 620 error since last nights server maintenance

2010-02-19 Thread Ikai L (Google)
The configuration changes have been made and should be live shortly if not immediately. Can you check and let me know if they are working? I'd give it about ~30 minutes if it doesn't work right away. On Fri, Feb 19, 2010 at 10:56 AM, Ikai L (Google) wrote: > I think there's a version in the main

[appengine-java] Re: Google Apps Support in GAE

2010-02-19 Thread Peter Ondruska
I use http://code.google.com/p/gdata-java-client/ On Feb 19, 5:16 pm, g3 insight wrote: > I want to provide Google Apps search and document upload service in my > GAE application. > Is there any API/Service can support this function in GAE application? -- You received this message because you a

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

2010-02-19 Thread luijar
I believe my development environment was on 1.3.0. That might be something to look at, although it seems that probably it's a very small overhead, do you have any metrics that would give some evidence as to how much overhead is "offline precompilation" adding? Thanks On Feb 18, 2:04 pm, Don Schw

Re: [appengine-java] Using GAE Platform Outside of Google

2010-02-19 Thread Jeff Schnitzer
There is this: http://appscale.cs.ucsb.edu/ http://code.google.com/p/appscale/ I have no idea how mature or stable it is. Jeff On Thu, Feb 18, 2010 at 2:58 PM, Greg Marine wrote: > Hello All! > > I am evaluating GAE/Java for some of my projects and came across a > scenario I can't seem to find

Re: [appengine-java] Re: Google maps geocoder responds with 620 error since last nights server maintenance

2010-02-19 Thread Ikai L (Google)
I think there's a version in the main group. I'll post to that one first if it exists. On Fri, Feb 19, 2010 at 10:56 AM, Ikai L (Google) wrote: > Hey guys, > > I just wanted to let everyone know that I'm working on this. Stay tuned. > I'll post to this thread when I have updates. > > > On Fri, F

Re: [appengine-java] Re: Google maps geocoder responds with 620 error since last nights server maintenance

2010-02-19 Thread Ikai L (Google)
Hey guys, I just wanted to let everyone know that I'm working on this. Stay tuned. I'll post to this thread when I have updates. On Fri, Feb 19, 2010 at 10:51 AM, Jeff Schnitzer wrote: > It helps to have some links... please star these issues! > > http://code.google.com/p/googleappengine/issues/

Re: [appengine-java] Re: Google maps geocoder responds with 620 error since last nights server maintenance

2010-02-19 Thread Jeff Schnitzer
It helps to have some links... please star these issues! http://code.google.com/p/googleappengine/issues/detail?id=2806 http://code.google.com/p/gmaps-api-issues/issues/detail?id=2186 This problem is a really big deal, several features of my app depend on reverse geocodes. It looks like a simpl

Re: [appengine-java] Parsing files uses too much cpu loading

2010-02-19 Thread John Patterson
I see about 10 times that cpu usage when loading data so that is not unusual. I imagine most of your cpu is api_cpu? Index creation seems to be the main culprit so turning off indexing on properties you don't need to query on is a good start. On 19 Feb 2010, at 04:31, novarse wrote: Hel

Re: [appengine-java] What CPU times should I expect in the logs?

2010-02-19 Thread John Patterson
You could try to batch the get of your "ObjectBeingFollowed" entities so you only do two gets. Is most of your cpu time api_cpu? On 19 Feb 2010, at 12:29, Blake wrote: I'm relatively new to GAE. My queries so far have for single entities with owned relationships, queried by key, which has

[appengine-java] Re: Google maps geocoder responds with 620 error since last nights server maintenance

2010-02-19 Thread Anders
Same problem here. No problems for 4 months with unchanged mapping code and as of the last day mostly 620 results. I am running on the python appengine but as previously said this is probably an issue with the geocoder IP limit. On 19 Feb, 07:21, Ivan Pardo wrote: > ive entered this is a bug on

[appengine-java] Using GAE Platform Outside of Google

2010-02-19 Thread Greg Marine
Hello All! I am evaluating GAE/Java for some of my projects and came across a scenario I can't seem to find any information on. I am porting an application I would normally have available through GAE, but have a client who wants to keep everything housed onsite. I'm assuming the development server

[appengine-java] cron job or scheduled tasks

2010-02-19 Thread nag
i have a leave database having casual leaves 1.5 i need it will automatically add 1.5 at every month 15Th ex Date casual Leaves on jan 14 0 jan 15 1.5 jan 30 1.5 feb 141.5 Feb 15 3.0 can any one help how to achieve this... Please dont

[appengine-java] What CPU times should I expect in the logs?

2010-02-19 Thread Blake
I'm relatively new to GAE. My queries so far have for single entities with owned relationships, queried by key, which has been great - no orange or red screaming in my logs. More recently, I've been working on a simple page that does this: 1. get a list of 10 of the user's "Following" entities -

[appengine-java] Performance testing my App

2010-02-19 Thread Sandeep
Hi, I wanted to know what is the procedure/notifications that need to be followed to communicate to Google App support team in case I want to run a performance test where I am going to be putting a load of 1000 users with 50 concurrent users. Any inputs are appreciated! Thanks in advance, Sandee

[appengine-java] Google Apps Support in GAE

2010-02-19 Thread g3 insight
I want to provide Google Apps search and document upload service in my GAE application. Is there any API/Service can support this function in GAE application? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, s

[appengine-java] Parsing files uses too much cpu loading

2010-02-19 Thread novarse
Hello, I'm trying to get data from csv files into my datastore tables. My app is showing cpu loadings of 30356ms 20023cpu_ms 11480api_cpu_ms from the dash board and I was wondering if someone could see how I could improve this situation. I'm pretty new to Java. sample line from file: -470,16/12/

[appengine-java] Re: Google maps geocoder responds with 620 error since last nights server maintenance

2010-02-19 Thread Anders
Same problem here. But besides getting 620 results I'm also seeing the bot issue page: "We're sorry... ... but your computer or network may be sending automated queries." Guess it must be problem with the geocoder and whitelist of appengine IPs On 19 Feb, 07:21, Ivan Pardo wrote: > ive entered

Re: [appengine-java] Re: JavaMail doesn't work

2010-02-19 Thread bimbo jones
Hi, msg.setFrom(new InternetAddress("ad...@example.com", "Example.com Admin")); Change "ad...@example.com" to a valid admin/developer email in app overview The way i use it, i don't know if it is in the right way, i just add the " someth...@thedomain.com", to the list of admin of the app in the

Re: [appengine-java] Editing records in datastore (using JAVA)

2010-02-19 Thread Scott Hernandez
If you would like a very simple interface to the app engine datastore (not JPA/JDO) then Objectify might be for you. It doesn't sound like you need to use JDO/JPA. Here is an example of exactly what you want: http://code.google.com/p/objectify-appengine/wiki/IntroductionToObjectify#Basic_Operations

Re: [appengine-java] A List property - Can we filter 'null' and '[null]' values separately ?

2010-02-19 Thread Scott Hernandez
To summarize the issue, you cannot search for a null (list) if you store a null value in any instance of that (list) property. This is due to the way indexing is done for lists/arrays in the datastore. The short answer is no. You will have to store another property as a marker that you have a null

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 (sound

[appengine-java] Re: JavaMail doesn't work

2010-02-19 Thread A1programmer
JavaMail works fine once the app is deployed to App Engine. http://code.google.com/appengine/docs/java/mail/usingjavamail.html On Feb 18, 10:08 am, Raghu wrote: > Hi All, > > I struck at JavaMail application. I tested remotely and locally also. > It's not working. please help me. Please share a

Re: [appengine-java] Re: vs-accounting.appspot.com - datastore viewer error

2010-02-19 Thread Toby Reyelts
You still have phone entities that are empty. On Fri, Feb 19, 2010 at 8:40 AM, aswath satrasala < aswath.satras...@gmail.com> wrote: > Hello Toby > I am still not able to use the 'Datastore Viewer'. > It simply displays message > > Server Error > > A server error has occurred. > > I cleaned up my

[appengine-java] A List property - Can we filter 'null' and '[null]' values separately ?

2010-02-19 Thread vbart
Hello, I'm using low-level datastore API and its Query class to filter entities. I put two entities to datastore: the first has set a property 'list' to null and the second has the same property set to [null] (a list containing one null value). The following query will find both of them - that's

Re: [appengine-java] update to sdk1.3.1

2010-02-19 Thread Miguel Méndez
No, it won't auto-update today. The following link explains how to switch the SDK that a project is using: http://code.google.com/eclipse/docs/using_sdks.html. On Thu, Feb 18, 2010 at 11:46 PM, AJ Chen wrote: > I ran an update from eclipse. The sdk1.3.1 is installed in the > eclipse/plugin dir,

Re: [appengine-java] Re: vs-accounting.appspot.com - datastore viewer error

2010-02-19 Thread aswath satrasala
Hello Toby I am still not able to use the 'Datastore Viewer'. It simply displays message Server Error A server error has occurred. I cleaned up my entities that are using PhoneNumber, Email etc. -Aswath On Sat, Feb 6, 2010 at 1:06 AM, Toby Reyelts wrote: > You have an "empty" property of type

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

2010-02-19 Thread Ian Marshall
You're welcome. It's amazing how a prod from someone else can get the coding moving again, even if the prod was not completely on target! -- 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-a

[appengine-java] Re: Editing records in datastore (using JAVA)

2010-02-19 Thread Manjoor
Dear Sushama Khadilkar, I am trying my hand in JDO..I have not thought to using JPA yet On Feb 19, 12:10 pm, Sushama Khadilkar wrote: > If you want to update the record using EntityManager , then just use > em.merge(Object). > This the link to the > Example::http://www.javabeat.net/article

[appengine-java] Map Reduce

2010-02-19 Thread John Patterson
Hi, I am curious about what will be possible with the planned map reduce functionality. Could this be used as the basis of a free text search or facetted break down of search results? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" g

[appengine-java] Re: Editing records in datastore (using JAVA)

2010-02-19 Thread Manjoor
datanucleus, Please can you show me how a setter tell JDO that it is called and JDO need to update it??? I am sorry but i am new to java. (Just for app-engine) On Feb 19, 1:49 pm, datanucleus wrote: > > PS: I have added pm.close(); after pm.makePersistent(u); > > still it does not update the r

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

2010-02-19 Thread nicolas melendez
Ian Marshall Thanks for your reply! NM On Fri, Feb 19, 2010 at 9:52 AM, nicolas melendez wrote: > Hi now it works, but there was a strange behaviour here (maybe a bug) but > i can't reproduce it anymore. > The problem was that /* url-pattern didn't work, but /mp3Rapidshare/* > worked. > > Here

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

2010-02-19 Thread nicolas melendez
Hi now it works, but there was a strange behaviour here (maybe a bug) but i can't reproduce it anymore. The problem was that /* url-pattern didn't work, but /mp3Rapidshare/* worked. Here is how i Fix it: the original web.xml was: http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.s

[appengine-java] Re: Editing records in datastore (using JAVA)

2010-02-19 Thread Manjoor
Dear Alexander Arendar , I have tried it. My listing deleting and adding works fine... Just getting stuck in editing part.. On Feb 19, 1:53 pm, Alexander Arendar wrote: > Hi Manjoor, > > you should also call after all these pm.close() and you'll see the result :) > JDO persist the object reall

[appengine-java] Re: Editing records in datastore (using JAVA)

2010-02-19 Thread Manjoor
datanucleus, I have created SMSUser class like this @PersistenceCapable(identityType = IdentityType.APPLICATION) public class SMSUser { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) public Key UserId; @Persistent public User sUser; @Persistent pu

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

2010-02-19 Thread Ian Marshall
Hello there, A fellow Wicket user! I use the following filter mappings in my web.xml, which work for me; they might work for you too... WicketApplication /wicket/* WicketApplication /* Do let us know how you get on. -- You received this message because you are

[appengine-java] good workaround for securely accessing my domain?

2010-02-19 Thread Houston startup coder
What solutions are people trying when they have an app running under their domain and they need HTTPS functionality? I've starred the issue here: http://code.google.com/p/googleappengine/issues/detail?id=792&q=https&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component

[appengine-java] Re: sending mail in google app engine in java

2010-02-19 Thread lakshmi
hi, My special thanks to Alex,Conor,Sreekanth,Henning and Ikai. Finally i solved my problem. I send emails from my application. - Here is the process. My code is correct and don't send mails from that application. create another application.redirect from that applicati

Re: [appengine-java] Re: Performance of count entity

2010-02-19 Thread Jeff Schnitzer
countEntities() won't work because there's no way the datastore can compute (iterate through the index) the result in 30s. I can say this about counting results without entity groups: Expect to be able to process 20-30k keys-only values in each 30s window before you restart the task. At that rat

Re: [appengine-java] Re: Editing records in datastore (using JAVA)

2010-02-19 Thread Alexander Arendar
Hi Manjoor, you should also call after all these pm.close() and you'll see the result :) JDO persist the object really at the moment when you are closing the persistence manager. On Fri, Feb 19, 2010 at 7:44 AM, Manjoor wrote: > Thanks for the reply but it does not work. Have a look at this. >

[appengine-java] Re: Editing records in datastore (using JAVA)

2010-02-19 Thread datanucleus
> PS: I have added pm.close(); after pm.makePersistent(u); > still it does not update the record... Why should it ? You have gone and updated fields directly so how does the object *know* that it has been updated ? Either mark the class updating the fields as @PersistenceAware, or update via sette

[appengine-java] NullPointerException while running a new app

2010-02-19 Thread Alberty Pascal
Hi all, while updating my application, I got the following stack for all request made on it. I try to deploy a really simple new application (created with Eclipse and its plugin) and got the same stack. Any idea ? Thanks Pascal java.lang.NullPointerException at com.google.appengine.run

[appengine-java] Re: Performance of count entity

2010-02-19 Thread Max
Someone told me DatastoreService.prepare(query).countEntities(); can only count 1000 entities at most. I solved this problem by applying a shard counter On Feb 4, 7:06 am, David Chandler wrote: > Or would this would be more efficient if all you need is a count? > > DatastoreService.prepare(query