[appengine-java] Re: Datastore W/O JDO or JPA??

2009-12-29 Thread datanucleus
I think its the only one that doesn't make you deal with Keys (including JDO) ... correct me if Im wrong here.  You just use normal object references to other entities and define them as @Parent's @Child'ren or even @Component's so that its properties are embedded. No reason why you can't do

[appengine-java] Re: JDO enhancer does not process the annotations

2009-12-29 Thread javajeff
I have the same problem, and it appears I have the same environment. It's almost as if it's simply not finding my annotations. On Dec 19, 6:25 pm, Sydney sydney.henr...@gmail.com wrote: I followed the tutorial on the DataNucleus web site but I am stuck at the enhancement part. I defined a class

[appengine-java] Re: JDO enhancer does not process the annotations

2009-12-29 Thread datanucleus
I'm sure the *full* log would tell you way more ... the one where you have things logged at DEBUG level, with the verbose flag set to the enhancer. -- 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] problem running my app

2009-12-29 Thread Vik
Hie By mistake i deleted my eclipse folder. So i freshly got a copy and installed google plugin for eclipse and opened my project. Now when i run it fails giving following exception Error occurred during initialization of VM agent library failed to init: instrument Error opening zip file or JAR

[appengine-java] Re: Spring Security with GAE - Adding object into HttpServletRequest does not appear to be working

2009-12-29 Thread tal
Hi, I'm also trying to get Spring security to work on GAE. regarding your problem: 1. there is an issue with Spring Security 2.0.5 on GAE, you can find a fix here: http://www.google-app-engine.com/blog/post/Spring-security-fix-for-google-app-engine.aspx 2. I couldn't entirely substantiate it, but

Re: [appengine-java] jdoql contains method

2009-12-29 Thread Chau Huynh
http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Introducing_Queries In Query Filters section, it mentions that A filter specifies a field name, an operator, and a value. The value must be provided by the app; it cannot refer to another field, or be calculated in terms

[appengine-java] I think it is the bug of Google App Gallery

2009-12-29 Thread Steven Lee
1. does not convert uppercase to lowercase in tags 2. does not support space for example, when I use Search for apps by tag, if I search pdf, it does not include the apps with tag PDF. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] WARNING: No file found for:

2009-12-29 Thread Dana
Can't seem to get a simple app running. I am using Eclipse 3.4 with the Google plugin. I created a (default) app called App2. I have made no changes to the default code provided by the wizard. First I got the error that favicon.ico was not found. So I added an icon to the war folder. Now I am

Re: [appengine-java] Unittesting a connection to the application

2009-12-29 Thread Ikai L (Google)
For servlet unit testing, I've heard success from folks using HTTPUnit, though I have not used it myself. You can also set up JUnit using EasyMock for the HTTPServletRequest and HTTPServletResponse objects. On Sat, Dec 26, 2009 at 2:32 AM, John Adams jhnj...@gmail.com wrote: Hi Is it possible

[appengine-java] Re: JDO Query for properties with null values

2009-12-29 Thread dantuluri
Hi, I have the following code: query = pm.newQuery(File.class); query.setFilter(parentKey == parentKeyParam); ListFile storedFiles = (ListFile)query.execute((Key)null); This query is returning all the Files including those with parentKey not null. What is wrong with this query? I am

[appengine-java] OpenID

2009-12-29 Thread nunojpg
I plan to implement OpenID login on my App. I've found openid4java, joid and dyuproject and can't decide what to use. Also, any of this takes care of authentication cache? Regads -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

[appengine-java] Re: 401 error

2009-12-29 Thread Max
I found the problem. On Dec 28, 9:45 pm, Max max.seven@gmail.com wrote: I made mistake in subject line. 405 not 401 On Dec 28, 9:45 pm, Max max.seven@gmail.com wrote: I am developing bulk uploader. I delete all objects from datastore and upload data then delete and upload

Re: [appengine-java] Re: need comment on using @transactional on service layer

2009-12-29 Thread Rusty Wright
the jdo-gae-context.xml is only used for integration tests. Yes, it duplicates the transactions defined in the service layer, but it's configured so that any transaction already started by the service layer will be inherited by the dao layer, so it won't start a new transaction. The

[appengine-java] data loads for tests

2009-12-29 Thread Rusty Wright
I'm working on a gizmo for making it easier to load data into the local data store (e.g., desktop) when doing tests. The file format is xml; a sample follows. I'm using Apache Xerces and SAX; this is my first adventure with parsing an xml file. Basically, the structure of the xml is that the

[appengine-java] Do JPA objects show up in the admin colsole ?

2009-12-29 Thread newbie100
Hi, I have just written my very first app, and it attempts to store an object using JPA. The code is as below. with the Employee and EMF classes copy / pasted from the docs. These lines were added to a default project, created with GWT support. snip Employee emp = new

Re: [appengine-java] Do JPA objects show up in the admin colsole ?

2009-12-29 Thread Raphael André Bauer
On Wed, Dec 30, 2009 at 12:51 AM, newbie100 shahed...@gmail.com wrote: Hi, I have just written my very first app, and it attempts to store an object using JPA. The code is as below. with the Employee and EMF classes copy / pasted from the docs. These lines were added to a default project,

[appengine-java] Re: Code does not run server side.

2009-12-29 Thread rubeey
Hi , I have a request for gae-j, is it not a good idea to have an 1) appengine simulator as a java eclipse plugin or sandbox account for testing app on the server , so that it is easier to debug ... i have come across numerous scenario where thing work locally and dont work on app engine, it

[appengine-java] New issue tracker template for production issues

2009-12-29 Thread Jason (Google)
Hi Everyone. Just a note that Googler replies may be slower over the next couple of weeks as we take a short pause to welcome the new year. During this break, we will be piloting a new issue tracker template for speedier resolution of production issues. In the rare event that your app experiences

[google-appengine] Re: logging debug on dev appserver

2009-12-29 Thread Sylvain
By default, loggind.debug are not printed. You can change this or use logging.info which is printed by default. Regards. On Dec 28, 11:21 am, djidjadji djidja...@gmail.com wrote: Look in the window where you are running the dev-server. The logging messages are printed there. 2009/12/27

Re: [google-appengine] Re: Need Help with Datastore Query

2009-12-29 Thread Niklas Rosencrantz
expensive instruction to redo or question is int(self.request.get('id')) so avoid casting for 1 2009/12/28 Ms. Jen blackpho...@gmail.com: I tried the Meta and DjangoForms and it still did not work. On another attempt, I tried this with the Meta djangoforms:    id =

[google-appengine] Re: how to make SetKey persistent?

2009-12-29 Thread ailinykh
No, not at all. makePersistent() means the object is managed by persistent manager. All changes made to this object should be stored. The save call is pm.close(). And it works this way for fields like String. If I have class class Dummy{ @Persistent String name; @Persistent ListLong list;

[google-appengine] Forking new process from within app engine?

2009-12-29 Thread AL
Hi everybody. I need to invoke an external process in one of my app engine pages like so: import subprocess p = subprocess.Popen(ls -la, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) for line in p.stdout.readlines(): self.response.out.write(line) retval = p.wait() This code

[google-appengine] Google App Engine Launcher on Mac OS -- access from external interface

2009-12-29 Thread Bruce S
It seems I can only access the GAE Launcher using the localhost interface (e.g. http://localhost:9001) from the machine hosting GAE Launcher. If I use the actual IP address of the machine (http: 192.168.2.3:9001) there is no connection. Anyone know how to hook up the external interface to

[google-appengine] What is the point of the PostalAddressProperty?

2009-12-29 Thread Kelly A
If you cannot query on or sort on the individual fields of the address it is rather useless. I could just store the field as text. I assume that the major advantage is that you can export the item in the gd: XML namespace with out doing any extra work. That being said, I would think exporting

Re: [google-appengine] Re: how to make SetKey persistent?

2009-12-29 Thread Ikai L (Google)
My experience with JPA in general has always been that operations were wrapped in a transaction and changes were persisted on the commit() call of the transaction object, not on the closing of the PersistenceManager/EntityManager. When a transaction object is not used, App Engine docs state this:

Re: [google-appengine] Forking new process from within app engine?

2009-12-29 Thread Ikai L (Google)
From here: http://code.google.com/appengine/docs/python/runtime.html#The_Sandbox http://code.google.com/appengine/docs/python/runtime.html#The_Sandbox An App Engine application cannot: - write to the filesystem. Applications must use the App Engine

Re: [google-appengine] Google App Engine Launcher on Mac OS -- access from external interface

2009-12-29 Thread Ikai L (Google)
There should be an option to force the launcher to bind to 0.0.0.0, which means bind to all addresses on this interface. From the command line it is -a 0.0.0.0. There should be an option to specify command line options for applications launched from the GUI launcher where you can add this. On

[google-appengine] Modules and .getSimpleName()

2009-12-29 Thread Timofey Danshin
Hello. I have an abstract class that some of my modules descend from, and when i include those modules into web pages, i insert them into divs with the id coinciding with the name of the class. I tried to do something like RootPanel.get(this.getClass().getSimpleName()).add(stuffToAdd); But it

[google-appengine] Re: Updating an object fails when accessing application through Twilio

2009-12-29 Thread dreadjr
Look in your twilio account, in the debugger it will tell you what the twilio api is doing and what url it is acting on. I have a few apps using twilio and GAE. On Dec 28, 3:39 pm, Ikai L (Google) ika...@google.com wrote: I'm not familiar with Twilio. Is it their client that is doing the GET or

Re: [google-appengine] Building indexes stuck?

2009-12-29 Thread Ikai L (Google)
Harlan, what is your app ID? On Tue, Dec 29, 2009 at 9:07 AM, Harlan Crystal harlan.crys...@gmail.comwrote: Hi all! I made the mistake of requesting an index that I don't need on a on a fairly large table. The index has been building for over 12 hours and has barely made any progress at

[google-appengine] Re: Google App Engine Launcher on Mac OS -- access from external interface

2009-12-29 Thread Bruce S
Thanks! Invoking the launcher from the command line with the flag you recommended worked. I couldn't figure out how to get the Google App Engine Launcher for Mac OS to do it though. On Dec 29, 10:14 am, Ikai L (Google) ika...@google.com wrote: There should be an option to force the launcher to

Re: [google-appengine] Re: Updating an object fails when accessing application through Twilio

2009-12-29 Thread mazen samir
plez dont seand to me any email mor On Tue, Dec 29, 2009 at 1:58 PM, dreadjr drea...@gmail.com wrote: Look in your twilio account, in the debugger it will tell you what the twilio api is doing and what url it is acting on. I have a few apps using twilio and GAE. On Dec 28, 3:39 pm, Ikai

[google-appengine] URL slugs

2009-12-29 Thread lucrussell
Hi All, Just wrote a little post on implementing pretty URL slugs with the routes package, for my GAE application at www.braineos.com. I'd be interested to know if anyone else has done this? Cheers, Luc -- You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: Need Help with Datastore Query

2009-12-29 Thread Ms. Jen
Avoid casting for what? The number 1 or for an id? Are you saying that one should not be attempting to request a datastore ID from a URL? From a search of this and other groups, over a year ago there was a bug in getting by the ID, but it is not a bug anymore. If I take out the

[google-appengine] quota is not changed

2009-12-29 Thread max7
We tried to increase quota but 3 hours passed and quota is not changed. We are uploading our data to appegine and that is we need more recourses. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

[google-appengine] Re: Google App Engine Launcher on Mac OS -- access from external interface

2009-12-29 Thread Wesley Chun (Google)
greetings bruce! i was just discussing your situation with Ikai and found the solution. pull up the GUI launcher, select the app you wish to modify with the flag, click right-mouse or double-click it if you only have a 1-button mouse. a dialog will pop open. go down to the Extra Flags text field

[google-appengine] Re: Forking new process from within app engine?

2009-12-29 Thread mb
Even though App Engine doesn't allow spawning new threads, you could expose each subprocess on its own URI and run them asynchronously with urlfetch: http://code.google.com/appengine/docs/python/urlfetch/asynchronousrequests.html On Dec 28, 9:08 pm, AL amle...@gmail.com wrote: Hi everybody.

Re: [google-appengine] Re: Need Help with Datastore Query

2009-12-29 Thread Robert Kluin
Hi Jen, have you considered using a key name instead of an id? Then instead of needing to use an int, your id can be a string? Robert On Tue, Dec 29, 2009 at 2:51 PM, Ms. Jen blackpho...@gmail.com wrote: Avoid casting for what? The number 1 or for an id? Are you saying that one should

[google-appengine] Re: Need Help with Datastore Query

2009-12-29 Thread Wesley Chun (Google)
howdy jen... great to see you on App Engine! as far as your problem goes, have you checked to see just what *are* the IDs of the objects you've stored? you seem to be trying to select them, but perhaps their values are not what you're expecting (hence the query failures). i would just like to

[google-appengine] Re: Need Help with Datastore Query

2009-12-29 Thread Stephen
On Dec 28, 6:33 am, Ms. Jen blackpho...@gmail.com wrote: I have been struggling with attempting to run a datastore query and keep getting the same error even though I have read through all the docs on Queries and Keys, watching several of the Google I/O videos, as well as looking at a

[google-appengine] Billing Administrator change

2009-12-29 Thread vlo...@pennswoods.net
My account is now showing a billing administrator. I would like to add a billing admin so I can transfer the billing to someone else without experiencing down time. Any suggestions? Thanks, Vaughn -- You received this message because you are subscribed to the Google Groups Google App Engine

[google-appengine] Re: Need Help with Datastore Query

2009-12-29 Thread G
A previous version of the AppEngine docs claimed that key_name values couldn't be numbers (or start with numbers). Perhaps that is related to the year old bug you describe? The current AppEngine docs have been revised (only the double underscore case remains), and a quick test confirms that

[google-appengine] A simple search against a datastore. (Newbie to AppEngine, currently PHP/MySQL).

2009-12-29 Thread Diligent
In trying to make a transition from a purely PHP/MySQL background to AppEngine's Python/Datastore I find myself not quite getting done what I need. Currently I have a web application in which a user chooses multiple search criteria via an HTML form and passes those variables to a PHP script that

Re: [google-appengine] A simple search against a datastore. (Newbie to AppEngine, currently PHP/MySQL).

2009-12-29 Thread Barry Hunter
This page is pretty much required reading: http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html That covers the low level queries, how exactly you do it within the context of your application, is very hard to say, because we dont know the specifics. 2009/12/29 Diligent

[google-appengine] Google App Engine admin not logging in to Google Apps Account.

2009-12-29 Thread MindVirus
My Google Apps domain is dvir.us, and my username on it is min, so my Google Apps Account is m...@dvir.us. My Google Account is also m...@dvir.us. I wrote an app in Google App Engine with my Google Apps Account. I made an administrator page using Google's authentication mechanism. When I log in,

Re: [google-appengine] A simple search against a datastore. (Newbie to AppEngine, currently PHP/MySQL).

2009-12-29 Thread Niklas Rosencrantz
2009/12/29 Diligent qpwoeir...@comcast.net: In trying to make a transition from a purely PHP/MySQL background to AppEngine's Python/Datastore I find myself not quite getting done what I need. Currently I have a web application in which a user chooses multiple search criteria via an HTML form

Re: [google-appengine] A simple search against a datastore. (Newbie to AppEngine, currently PHP/MySQL).

2009-12-29 Thread Niklas Rosencrantz
2 most helpful for legacy connections and refactoring links djangoform and remote_api http://code.google.com/appengine/articles/djangoforms.html http://code.google.com/appengine/articles/remote_api.html -- You received this message because you are subscribed to the Google Groups Google App

Re: [google-appengine] URL slugs

2009-12-29 Thread Niklas Rosencrantz
2009/12/29 lucrussell russell@googlemail.com: Hi All, Just wrote a little post on implementing pretty URL slugs with the routes package, for my GAE application at www.braineos.com. I'd be interested to know if anyone else has done this? Cheers, Luc Agreed like

Re: [google-appengine] Re: Updating an object fails when accessing application through Twilio

2009-12-29 Thread OvermindDL1
On Tue, Dec 29, 2009 at 12:38 PM, mazen samir maze...@gmail.com wrote: plez dont seand to me any email mor What does this phrase mean? Where you having any issues with Twilio? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] New issue tracker template for production issues

2009-12-29 Thread Jason (Google)
Hi Everyone. Just a note that Googler replies may be slower over the next couple of weeks as we take a short pause to welcome the new year. During this break, we will be piloting a new issue tracker template for speedier resolution of production issues. In the rare event that your app experiences

[google-appengine] Re: How to send massive emails and avoid being suspended?

2009-12-29 Thread Julian Namaro
It is unlikely someone would mark as spam an e-card from somebody they know. Maybe some company use your service to send spam ? Make sure users of your service need to create an account(with a captcha) and set a daily limit for number of e-card sent. On Dec 23, 5:30 pm, Krystox krys...@gmail.com

[google-appengine] Is this suitable for GAE Application Gallery?

2009-12-29 Thread Amir Michail
Hello, It's a game demo written using GWT: http://dropzap.appspot.com Does it make sense to submit an application to this gallery if it doesn't use the GAE in any interesting way? This demo could have been put on Google Sites if that service supported GWT apps. Amir -- You received this

[google-appengine] Re: Need Help with Datastore Query

2009-12-29 Thread Ms. Jen
Hi Wesley! I have been putting about GAE for a year now, but only in the last few months have hit a wall trying to combine what I know Python can do vs. what the docs say GAE can do. One of the first things I did was to make sure that the first two lines of code were actually able to get and

[google-appengine] Re: Need Help with Datastore Query

2009-12-29 Thread Ms. Jen
Thanks all for your replies and input. I was avoiding using the entity Key, as it is such a mix of alphanumeric and the entity ID is a straight iterative integer, which makes for a cleaner URL. I will try the above in the morning and report back how it goes. -- You received this message