[appengine-java] Initialize local datastore exception

2010-04-05 Thread antcasq
I would like to initialize my local data store with some data using a regular Java program (I do not want to start the Development Server and call a service/servlet), and I'm getting the following exception »»» EXCEPTION ««« Exception in thread main java.lang.NullPointerException: No API

[appengine-java] Blogger API

2010-04-05 Thread Jeevan
hello am developing an application which is to be hosted on app engine,i wanna make use of blogger api, i am not able to run the blogger data api,am not able to understand how do i make use of the same please help me... thanks -- You received this message because you are subscribed to the

Re: [appengine-java] Re: How to upload pics in appengine java

2010-04-05 Thread Nagarjuna CH
Hi Friends i try to use the below code but i got an error at *PhotoServlet as* * * *Photo photo = PhotoDao.getInstance().getById(Long.parseLong(id));* The method getById(long) is undefined for the type PhotoDao can any body help for this?

[appengine-java] Viewing Emails in dev using log4j

2010-04-05 Thread Eurig Jones
Hi, From http://code.google.com/appengine/docs/java/mail/overview.html#Development_Server ... When an application running in the development server calls the Mail service to send an email message, the message is printed to the log. The Java development server does not send the email message.

[appengine-java] Re: news on remote_api for java ?

2010-04-05 Thread Lorenzo Dee
Just a follow-up on this. I deployed the Guestbook app (from Java SDK) to run on GAE/J with the said web.xml changes (for /remote_api). I ran appcfg.py download_data... against the deployed Guestbook app. It works! I'm not getting any authentication failures. Does this mean that RemoteApiServlet

Re: [appengine-java] Re: Update to GAE/J 1.3.2 - Project in Eclipse broken

2010-04-05 Thread Miguel Méndez
Can you file a bug with a project that reproduces the problem? I think that will be the best way to get to bottom of what is going on. On Sun, Apr 4, 2010 at 7:34 AM, Moritz mor...@cloudme.org wrote: … not. again I have the same problem. It always jumps back to Specific SDK

[appengine-java] Re: java.lang.VerifyError

2010-04-05 Thread Shyam Visamsetty
Hi, Thanks for the reply. Definitely sounds like related to the issue posted. Is there a work around for this that you know of? Thanks, Shyam On Apr 4, 1:31 pm, KarthikR soumya.karth...@gmail.com wrote: Hi This may be related

[appengine-java] URLFetch to localhost counts as out/inbound traffic?

2010-04-05 Thread Arny
Hi, are the URLFetches to localhost count as in/outbound traffic? 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-j...@googlegroups.com. To unsubscribe from this group,

[appengine-java] How to find an object which uses a Key as its primary key?

2010-04-05 Thread Mark
Hi, I set up a persistent class like this: @PersistenceCapable public class Farm { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key mKey; } I might send a representation of this object down to a client browser. I imagine it could be in

[appengine-java] Re: How to find an object which uses a Key as its primary key?

2010-04-05 Thread Thomas
Hi Mark: The KeyFactory.keyToString and KeyFactory.stringToKey should be what you want. KeyFactory.keyToString converts a Key instance to a plain String which can be passed to browser and then be sent back to server later by another user request. The server can convert it to a Key by calling

[appengine-java] Singleton class become double instance in GAE

2010-04-05 Thread g3 insight
We are meeting one strange thing when we do testing on GAE. The problem is that we implemented a GameCenter class as below. It is a singleton class in system, but we found it always initialize multiple instances based on logs. Please check the source code and info log below. Could you explain why

[appengine-java] Trying a clean compile gives The parameter is incorrect

2010-04-05 Thread John V Denley
What is this message telling me? 'DataNucleus Enhancer' has encountered a problem Cannot run program C:\Program Files\Java\jre6\bin\javaw.exe (in directory C:\Documents and Settings\John\My Documents\_DeBa\ideba \iDeBanet): CreateProcess error=87, The parameter is incorrect Cannot run program

[appengine-java] appcfg.sh update keeping asking for email/password

2010-04-05 Thread Bendanpa
I am very sure that I gave correct email/password. Anybody have the same issue? Thanks, Bendanpa -- 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

[appengine-java] Anti-aliasing/Image Quality with Java Image Service

2010-04-05 Thread Jim
Hi there, First a bit of background: I'm building an app that maintains a number of images. Once the images are uploaded I use the images service to scale the images down so I can present my users with a thumbnail later. The problem is that the image quality after scaling is quite bad since the

[appengine-java] text Search

2010-04-05 Thread RAVENDRA CHAUDHARY
no find givin text search this code: please send code who is find text search code. this code search find full name: PersistenceManager pm = PMF.get().getPersistenceManager(); Query query = pm.newQuery(Candidate.class); query.setFilter(Name == pName);

[appengine-java] Re: Singleton class become double instance in GAE

2010-04-05 Thread Peter Ondruska
GAE/J starts as many JVM instances as required. Multiple JVMs ~ multiple Singletons. On Apr 5, 4:48 pm, g3 insight insigh...@gmail.com wrote: We are meeting one strange thing when we do testing on GAE. The problem is that we implemented a GameCenter class as below. It is a singleton class in

[appengine-java] Re: How to find an object which uses a Key as its primary key?

2010-04-05 Thread Mark
Thanks! On Apr 5, 7:34 am, Thomas mylee...@gmail.com wrote: Hi Mark:     The KeyFactory.keyToString and KeyFactory.stringToKey should be what you want. KeyFactory.keyToString converts a Key instance to a plain String which can be passed to browser and then be sent back to server later by

[appengine-java] Re: Singleton class become double instance in GAE

2010-04-05 Thread Thomas
Multiple JVMs (high requests/s) and loading request (low requests/ s) are two possible reasons why you see many 'init' log messages. But when loading request happens, only one singleton exists at that moment. -- You received this message because you are subscribed to the Google Groups

[appengine-java] Adding more than one servlet

2010-04-05 Thread joradom
Hello I'm trying to add another Servlet in eclipse with the wizard , but it doen't get the name of the project, and th project name field appears grayed. I'm using Eclipse Ganimedes for Java EE, with the google plugin for eclipse 3.5, app sdk 1.3.2 and gwt sdk 2.0.3 I can add a new class, but

[appengine-java] Re: Trying a clean compile gives The parameter is incorrect

2010-04-05 Thread John V Denley
Im on the train now... hoping my connection holds up, but just incase it helps, I have now rolled back to a version of the code that I comiled and deployed successfully last night, and Im still getting this error, so something else has changed, and its not me thats changed it... this must be

Re: [appengine-java] Re: Eclipse Update not working

2010-04-05 Thread Jason Parekh
Hi Kasra, Could you paste the full stack trace, if it is available (you should be able to find it in the WORKSPACE/.metadata/.log file)? There's another exception that's the root cause for the failure to load WebAppLaunchDelegate. Alternatively, could you zip up and send us your project? As a

[appengine-java] Re: java.lang.VerifyError

2010-04-05 Thread KarthikR
Hi The issue has the following suggested workaround: --- start Comment 14 by neiltolson, Mar 30 (5 days ago) Just like mgo1977 said above, start the app in a DeferredCommand in the EntryPoint: public void onModuleLoad() { DeferredCommand.addCommand( new

[appengine-java] Server Error A server error has occurred. - Whilst Deleting app version.

2010-04-05 Thread Eurig Jones
Hi, I'm getting a... Server Error A server error has occurred. Whilst trying to delete a particular version of an app. For the others it's no problem, but this particular version I cannot delete and I'm getting the Server error. Can anyone suggest what I can do about this? (Or where to report

[appengine-java] index for both asc and desc on same property?

2010-04-05 Thread Stevko
is there a way to index an object on the same field in both ascending and descending directions? I've tried to use this in my datastore-indexes.xml but the app engine does not reflect the update_indexes command. before: datastore-index kind=MyObject ancestor=true source=auto property

[appengine-java] Re: index for both asc and desc on same property?

2010-04-05 Thread Stevko
After closely reading http://code.google.com/appengine/docs/java/config/indexconfig.html I realize my second attempt would not work... Trying to separate them into two different datastore-index tags. On Apr 5, 12:23 pm, Stevko andy.ste...@gmail.com wrote: is there a way to index an object on

Re: [appengine-java] Adding more than one servlet

2010-04-05 Thread Ikai L (Google)
Did you just start seeing this in 1.3.2? What happens if you create a new project? What about a new project with 1.3.1? On Mon, Apr 5, 2010 at 8:51 AM, joradom jora...@gmail.com wrote: Hello I'm trying to add another Servlet in eclipse with the wizard , but it doen't get the name of the

Re: [appengine-java] Adding more than one servlet

2010-04-05 Thread Ikai L (Google)
Er, excuse me. What I meant to ask was: did you recently see this in an updated version of the plugin? On Mon, Apr 5, 2010 at 12:50 PM, Ikai L (Google) ika...@google.com wrote: Did you just start seeing this in 1.3.2? What happens if you create a new project? What about a new project with

Re: [appengine-java] Server Error A server error has occurred. - Whilst Deleting app version.

2010-04-05 Thread Ikai L (Google)
What's your application ID and the version you are trying to delete? On Mon, Apr 5, 2010 at 11:20 AM, Eurig Jones eurigjo...@gmail.com wrote: Hi, I'm getting a... Server Error A server error has occurred. Whilst trying to delete a particular version of an app. For the others it's no

[appengine-java] having trouble implementing gwt in existing gae app

2010-04-05 Thread zackmac
I'm using Eclipse 3.4.1, GAE 1.3.1 and trying to use GWT 2.0.3. I've been working on my GAE app some time and that's working well - just want to spice up the front-end a little. I added a new GWT module, entry point class and HTML page from File - New and then copied the appropriate js head

[appengine-java] JDO Relationship Performance Problems - what am I doing wrong?

2010-04-05 Thread Matt Hall
Hi Everyone, I've been trying for the past while to get our relatively simple JDO based site to run at a reasonable speed, but I'm failing and I'd love any suggestions. I'll describe it as succinctly as possible to hopefully keep your interest :) * The basic structure is a User - Order - Line

Re: [appengine-java] Anti-aliasing/Image Quality with Java Image Service

2010-04-05 Thread John Patterson
On 5 Apr 2010, at 18:39, Jim wrote: Hi there, First a bit of background: I'm building an app that maintains a number of images. Once the images are uploaded I use the images service to scale the images down so I can present my users with a thumbnail later. The problem is that the image

Re: [appengine-java] text Search

2010-04-05 Thread yjun hu
hi, you can try compass,a simple summary here. http://www.hapeblog.com/blog.shtml?id=7002 On Mon, Apr 5, 2010 at 6:26 PM, RAVENDRA CHAUDHARY chaudharyraven...@gmail.com wrote: no find givin text search this code: please send code who is find text search code. this code search find full

[appengine-java] uncaught exception from servlet

2010-04-05 Thread Jeevan
Am developing an app for ma college called cloud based teaching system and am making use of blogger data api. Am getting an severe error in the appengine Logs called uncaught exception fron servlet here is the issue Uncaught exception from servlet javax.servlet.UnavailableException:

[appengine-java] Re: App Engine Beginner + JDO beginner... Strange issue with Query

2010-04-05 Thread Guit
I have still this problem... Nobody have an idea? On Apr 3, 6:55 pm, Guit lemoin...@gmail.com wrote: Here is the Espace.java, When you see comment it means that i have try other alternative that doesn't work too : package com.phonitive.isalon.model; import java.util.Date; import

[google-appengine] Re: File referenced by handler not found

2010-04-05 Thread .........
Thanks djidjadji very much. It works! On 3月31日, 下午5時35分, djidjadji djidja...@gmail.com wrote: Just use this - - url: /mypicpickup_(.+?)\.jpg  script: mypicpickup.py - script

Re:[google-appengine] JSP session beans

2010-04-05 Thread 西城
Do you solve the problem?I have the same tproblem with you! If solved,please tell me too.thank you -- Original -- From: Sneha Satavsneha.sa...@gmail.com; Date: Sun, Apr 4, 2010 01:15 PM To: Google App Enginegoogle-appengine@googlegroups.com;

[google-appengine] Re: Appengine Apps Vs Google bot web crawler

2010-04-05 Thread Mikhail Kashkin
There is nothing special with GAE hosting. Add your site to https://www.google.com/webmasters/tools/ and check what it say to you. On Apr 5, 8:41 am, $ÂÑЀ€P sandeep.kod...@gmail.com wrote: Sorry for the mistake in post please check its 'trak.in' instead of 'hover.in' please make note of this,

[google-appengine] Incoming email being bounced

2010-04-05 Thread ccjensen
Hi, I have a service running on my appengine which parses and performs actions on incoming emails. I have setup my gmail account to forward ALL emails that are sent to my gmail address, but very few of them ever are received by my service. This is due to most of them being bounced by the

[google-appengine] remote_api throws HTTP Error 302: Found when authenticating against Google Apps domain

2010-04-05 Thread swinton
Hi all, I'm trying to use remote_api to access the datastore of my app remotely via a console (i.e. as described here: http://code.google.com/appengine/articles/remote_api.html) This is working fine for my apps that use Google account authentication, but for apps that use Google Apps

[google-appengine] Singleton class become double instance in GAE

2010-04-05 Thread g3 insight
We are meeting one strange thing when we do testing on GAE. The problem is that we implemented a GameCenter class as below. It is a singleton class in system, but we found it always initialize multiple instances based on logs. Please check the source code and info log below. Could you explain why

[google-appengine] Instance ID and pagination

2010-04-05 Thread azazeal
Hi everyone, Lately I've been trying to develop some aspects of an app that could really use pagination. I've Google it again and again and I've come up with no viable solution as of this time. Most of the pagination approaches that are out there seem to get stuck around the non unique

[google-appengine] distribution and users

2010-04-05 Thread Jenn Andrews
Hi all, I'd really like to use the Google Web Tools to create an application that I can distribute to our users. However, the documentation on setting up access seems really anemic. I have a few questions: - I'd like to set up a Google app that I can direct users to from our web site. It seems

[google-appengine] Help with xampp api

2010-04-05 Thread Abhishek Anand
I have created a group chat application https://instantshout.appspot.com for gtalk and other clients. Though its not present in the api, I would like to know is there a way to know the status of a user who has accepted the invitation from my app. Knowing the available/busy/idle status would be

[google-appengine] Re: Singleton class become double instance in GAE

2010-04-05 Thread Keith
If you're app is idle for a period of time it could have got shut down to save resources and then restarted which is why you see the second message. Also App Engine can start multiple instances of your app if does get busy which would also mean multiple distributed instanes. On Apr 5, 3:49 pm, g3

Re: [google-appengine] Do Task Queues dream of MapReduce?

2010-04-05 Thread Ikai L (Google)
Very cool! Is there a video of this somewhere (the slides are pretty good themselves, but it'd be nice to match it up with audio). On Fri, Apr 2, 2010 at 6:18 PM, kazunori_279 kazunori...@gmail.com wrote: Hi all, FYI, here's my presentation slides for my session in DevFest in Japan last

Re: [google-appengine] Newbie: How to incorporate a html with .js to the index.html?

2010-04-05 Thread Ikai L (Google)
Do you mean include a subtemplate? This documentation is for a newer version of Django templates than ships with App Engine: http://docs.djangoproject.com/en/dev/ref/templates/builtins/ http://docs.djangoproject.com/en/dev/ref/templates/builtins/But this section still applies: {% include

Re: [google-appengine] RedirectTooLongError

2010-04-05 Thread Ikai L (Google)
This looks like an issue with your friend connect implementation. It looks like it's appending URL parameters over and over. Have you asked your question in their forum? http://groups.google.com/group/google-friend-connect-developers On Sat, Apr 3, 2010 at 10:27 PM, Sargis Dallakyan

Re: [google-appengine] Re: Google App Engine Supported Language

2010-04-05 Thread Ikai L (Google)
Take these with a grain of salt: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html http://www.tiobe.com/index.php/content/paperinfo/tpci/index.htmlLooks like Perl (to my incredible horror) is still growing. Kidding, I know Perl is pretty good for many things, but there are many

Re: [google-appengine] Some scenario with Group by concept's need.

2010-04-05 Thread Ikai L (Google)
Grouping is a SQL operation that is not supporting by the datastore. This is precisely the type of operation MapReduce is perfect for. Check out this presentation I saw posted in the groups this morning: http://prezi.com/rewcweixasyj/do-task-queues-dream-of-mapreduce/ On Sun, Apr 4, 2010 at 6:20

[google-appengine] Re: Do Task Queues dream of MapReduce?

2010-04-05 Thread nickmilon
Nice presentantion Kaz ! On Apr 3, 4:18 am, kazunori_279 kazunori...@gmail.com wrote: Hi all, FYI, here's my presentation slides for my session in DevFest in Japan last month, where I discussed about how to utilize the parallelism of the App Engine via Task Queue:

Re: [google-appengine] Instance ID and pagination

2010-04-05 Thread Ikai L (Google)
The non-unique timestamps is an issue as far as maintaining a constant page size is concerned, but it doesn't prevent you from building an application that showcases data in chunks of similar sizes. You can build forwardly paginated only set of pages using datastore cursors:

Re: [google-appengine] Problem when uploading to new Version

2010-04-05 Thread Ikai L (Google)
Can you try an SVN export? I've reproduced this issue before, but it's been filed here: http://code.google.com/p/googleappengine/issues/detail?id=3051 It doesn't seem to actually prevent your app from running, however. Can you verify if this is the case? On Mon, Apr 5, 2010 at 12:24 AM,

[google-appengine] Re: Looking for a library to sanitize input, transcode to UTF-8

2010-04-05 Thread Brian
Tim, Thanks for the tip. Adding request.get.charset = 'utf8' seems to do the trick. Brian McC On Mar 31, 6:19 pm, Tim Hoffman zutes...@gmail.com wrote: Hi Have a look at webobhttp://pythonpaste.org/webob/reference.html#unicode-variables and note if your running as an API server your api

[google-appengine] Re: Performance Profiling Url

2010-04-05 Thread ravi
You could download the 'appstats' library written by Guido Van Rossum here(https://sites.google.com/site/appengineappstats/) and include it in your app. Then you could map whatever URL you want to the stats. On Mar 31, 7:36 am, vivpuri v...@vivekpuri.com wrote: AppEngine team, thanks for adding

[google-appengine] number of models limit?

2010-04-05 Thread 'Αλκης Ευλογημένος
Is there a limit in the number of model kinds per application? I am considering a design where the number of models is going to be in the order of 500k. I understand the model viewer in the admin console will be completely unusable but other than that is there going to be a problem in general? If

[google-appengine] Easy way to import/export data from BigTable?

2010-04-05 Thread slenno1
Hey everyone, I am currently working with a project on the AppEngine and I was wondering if there is any easy way to export and import data from BigTable. I have been searching around and I have found some information on bulkloader.py, but I havent had much success with it yet. The main reason

[google-appengine] Cannot add a developer

2010-04-05 Thread Shinichi Nakanishi
Hi. My client has been trying to add me as a developer but not succeeding. My client says that when they click on the button, the status changes to 'Pending'. Then they click on the link in the invitation e-mail from google to confirm, then the developer's email just disappears... They have

Re: [google-appengine] Re: easily clear the datastore in a deployed application

2010-04-05 Thread Karl Ostmo
I'm not familiar with Java App Engine yet, sorry. Karl On Mon, Apr 5, 2010 at 12:21 PM, Peter Liu tinyee...@gmail.com wrote: This is great! I been wiping out datastore with script and manually. Anyway to deploy admin pages in python but app in Java? On Apr 3, 11:04 pm, kostmo

[google-appengine] Re: Do Task Queues dream of MapReduce?

2010-04-05 Thread kazunori_279
Thanks for checking the slide. Although they were taking video for the sessions at DevFest, my session was in Japanese and they may not publish the video. Thanks, Kaz On Apr 6, 1:52 am, Ikai L (Google) ika...@google.com wrote: Very cool! Is there a video of this somewhere (the slides are

[google-appengine] Re: Instance ID and pagination

2010-04-05 Thread Zarko
Hi, Check this out 'Query Cursors' (it's a new feature): http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Query_Cursors Zarko On Apr 5, 9:48 am, azazeal psiat...@gmail.com wrote: Hi everyone, Lately I've been trying to develop some aspects of an app that could

Re: [google-appengine] Adobe Flash, SSL and IE

2010-04-05 Thread Wesley C (Google)
i haven't tested this, but just from the advice given by Adobe, it seems that it could be as simple as altering the headers as described... if 'Pragma' in self.response.headers: # should also check 'pragma' del self.response.headers['Pragma'] self.response.headers['Cache-control'] =

[google-appengine] uncaught exception from servlet

2010-04-05 Thread Jeevan
Am developing an app for ma college called cloud based teaching system and am making use of blogger data api. Am getting an severe error in the appengine Logs called uncaught exception fron servlet here is the issue Uncaught exception from servlet javax.servlet.UnavailableException:

Re: [google-appengine] Singleton class become double instance in GAE

2010-04-05 Thread Mr. Rajiv Bakulesh Shah
Hi there. Are you sure that you have a problem? Remember that Google App Engine is a cloud, and that your app could be running on multiple independent individual nodes. Each node could initialize one single instance of your singleton, as expected. Good luck, Raj On Apr 5, 2010, at 9:49 AM,