[appengine-java] Re: Serialized field is ignored in JDO

2010-02-26 Thread Max
how about defaultFetchGroup = true ? On Feb 25, 9:18 pm, Arnold arnold.mi...@gmail.com wrote: Two classes are defined: -- @PersistenceCapable(identityType=IdentityType.DATASTORE, detachable=true) public class TestSerialized {         @Persistent        

[appengine-java] serialization doubt...

2010-02-26 Thread Prashant Gupta
Hi, I know some cases where serialization is required, one is MemCache. Let, I cache some object in Memcache and later do some changes in class, the cached object will fail to typecast to its (updated) class type. Now suppose I have set serialVersionUID in my serialized class, will it still fail

[appengine-java] Re: Date Range Query

2010-02-26 Thread Steve Pritchard
Thanks for the help. Looks like I had better do it inside my code for now. Steve On Feb 26, 2:35 am, John Patterson jdpatter...@gmail.com wrote: Be careful of the start-end date query trick - it does not work.   There was a bug in the SDK that made it appear to work. an entity will only

[appengine-java] Re: Compare keys with JDO ?

2010-02-26 Thread seleronm
Hi. This might be useful. Follow this thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/2acea43161d8ac5/ Please try. thanks. Hy... I'm using a JDO Query to retrieve some objects of type Contact witch contains: Key key; Key parentKey; String name; ...

[appengine-java] logging not working this

2010-02-26 Thread oceandrive
GAE logging is not working this morning? Anyone has the same issue. The last log for me was at 02-26 06:00AM 03.975. Thanks -- 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: way to interactively query datastore?

2010-02-26 Thread vbart
Last night we released a new version including improved GQL dynamic parser. Operators != and IN are supported now and also several bugs were fixed. More info at http://audao.spoledge.com/doc-gae-features.html#gqlparser Vaclav On Feb 24, 11:00 pm, David Lam david.k.l...@gmail.com wrote: On Wed,

Re: [appengine-java] Re: way to interactively query datastore?

2010-02-26 Thread John Patterson
Very cool! Does it allow '.' in property names? Unfortunately the Datastore Viewer doesn't . On 26 Feb 2010, at 22:30, vbart wrote: Last night we released a new version including improved GQL dynamic parser. Operators != and IN are supported now and also several bugs were fixed. More info

[appengine-java] 30 sec task processing limit

2010-02-26 Thread Khan
Hi, I am planning to use taskqueue for video transcoding, add tasks to queue and transcode them. However, I read in the documentation that 30 sec is a hard limit for task execution as it happening via http, this limit doesn't work for video processing etc. So, what do you suggest is the right

[appengine-java] Defining composite indexes

2010-02-26 Thread AGS Rest
I use the low level App Engine data store API, as it gives me the flexibility of having defining schemas on the fly, as Entities on the app engine don't really need a schema. Normally, if i needed to define a composite index that is based on an Entity's property and its ancestor; i can do so by

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

2010-02-26 Thread AGS Rest
Any updates on the remote_api for Java ? On Feb 24, 4:37 pm, Ikai L (Google) ika...@google.com wrote: You should be able to connect this: ?xml version=1.0 encoding=utf-8? web-app   !-- Add this to your web.xml to enable remote API on Java. --   servlet    

[appengine-java] GAE Guestbook example differing behavior between Chrome and Firefox

2010-02-26 Thread Mike
Hello all, Gave the Guestbook example a shot, and found that I get different behavior when accessing it (locally, debug web server from Eclipse) -- is this expected? If I point Chrome to http://localhost:/guestbook -- I get Hello world! (great). Same happens in Firefox. However, if I point

[appengine-java] Re: URLFetchService example

2010-02-26 Thread Timofey Koolin
URL url = new URL(http://www.ya.ru;); InputStream strm = url.openStream(); InputStreamReader r = new InputStreamReader(strm); char[] charr = new char[1024]; int len = r.read(charr); String s = new

[appengine-java] Re: URLFetchService example

2010-02-26 Thread Cornelius
Check out http://code.google.com/appengine/docs/java/urlfetch/overview.html : App Engine implements this interface using the URL Fetch service; your application does not make socket connections directly. import java.net.MalformedURLException; import java.net.URL; import java.io.BufferedReader;

Re: [appengine-java] 30 sec task processing limit

2010-02-26 Thread Ikai L (Google)
How are you planning on transcoding video in App Engine? I think this is your bigger problem, as the classes you need are likely not whitelisted. On Fri, Feb 26, 2010 at 3:08 AM, Khan mailtok...@gmail.com wrote: Hi, I am planning to use taskqueue for video transcoding, add tasks to queue and

[appengine-java] Re: GAE Guestbook example differing behavior between Chrome and Firefox

2010-02-26 Thread Mike
On Feb 26, 12:13 pm, Ikai L (Google) ika...@google.com wrote: Are you using GWT? Try disabling that. This could be related to that, though I'm not sure off the top of my head. I had made that mistake the first time, but for this example, I made sure that I did not select GWT when I created the

Re: [appengine-java] Re: GAE Guestbook example differing behavior between Chrome and Firefox

2010-02-26 Thread Ikai L (Google)
Have you ruled out cache issues? The next step I would take to troubleshoot would be to either curl/wget/telnet that URL to see which response is the one that the server is returning. App Engine's starter project doesn't differentiate between User Agents. On Fri, Feb 26, 2010 at 10:37 AM, Mike

[appengine-java] createLoginURL() and Sing-up behavior when running locally under Eclipse debugger?

2010-02-26 Thread Mike
Hi, In following along with the example/tutorial from: http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html The page states that calls to: com.google.appengine.api.users.UserService.createLoginURL() with an email/username that does not have a google account (even when

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

2010-02-26 Thread luijar
Nope, I am still seeing it. It's quite frustrating. I even tried to reduce Spring init time by removing schema validation from the application context init. But, that does not seem to work. I am using Spring annotations and component scanning to autowire my beans, I wonder if using plain XML

Re: [appengine-java] Valid characters in Entity names

2010-02-26 Thread Ikai L (Google)
You should be aware of case sensitivity issues at all times. From what I remember, international characters will work as entity names, but I would stay away from them since there are known issues with the datastore viewer. As entity kinds map to class names and fields map to class fields, it's

Re: [appengine-java] Multiple contains() in a query

2010-02-26 Thread Ikai L (Google)
Yes, it is possible, but you need to be aware of limitations. I suggest understanding querying on List properties before starting: http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Big_Entities_and_Exploding_Indexes

[appengine-java] Re: GAE Guestbook example differing behavior between Chrome and Firefox

2010-02-26 Thread Mike
Have you ruled out cache issues? Thanks. It appears that it was a caching problem (on the browser I guess). The expected behavior is delivered to each browser now. Thanks for the tips, apologies for not sorting it out myself. Cheers Mike Sheridan -- You received this message because you are

[appengine-java] Re: Possible to cause instance recycling?

2010-02-26 Thread Jake
Hey Ikai, Nope, not deliberately trying to force a cycle. I'm just trying to figure out if it's my fault for the continued aggressive recycling. Some people complain about losing the instance after an hour, but I'm losing it after 5 seconds. I'm certainly aware that a new deployment causes an

[appengine-java] Re: JDO model issue

2010-02-26 Thread atomi
Has anyone figured out a convention for this? Rusty I like your idea of populating the Race in the Result entity but re-attaching the object later would cause problems (would you have to set Race to null before persisting again?). I too find it odd to have entity object performing queries but if

[appengine-java] Help needed : found more than 100 URLMap entries in application configuration

2010-02-26 Thread mably
I'm hitting the Found more than 100 URLMap entries in application configuration limit. What is strange is that I have only 82 url-pattern definitions in my web.xml (many servlets). Is it possible to have it increased by someone at Google? My app ID is webwinewatch. Any help will be greatly

[appengine-java] Development Server on Windows 7 continues to run after CTRL-C

2010-02-26 Thread brianl
Running the development server on Windows 7 64-bit. After CTRL-C of the development server still seeing the Java process running in the task manager. Have to kill the process from the task manager before relaunching the development server. Using JDK1.6 32-bit. -- You received this message

[appengine-java] Re: EQUAL operator on string properties

2010-02-26 Thread Andriy Andrunevchyn
I have the same problem How have You solved it? On 24 Лют, 00:36, keyurva keyu...@gmail.com wrote: This is where embarrassment becomes me. This issue was a false alarm. A case of corrupt data. Sorry for the trouble. == Keyur On Feb 23, 1:37 pm, keyurva keyu...@gmail.com wrote: This

[appengine-java] Running an HTTPS development server

2010-02-26 Thread Paul Clarke
I'm developing a GAE app to integrate with Google Checkout. Google Checkout Notification API needs an SSL enabled server address to make notification requests. Is there any way I can run the GAE SDK (Eclipse) development server with SSL and the HTTPS protocol so that I can allow Checkout to make

[appengine-java] Configure the password for the account of Google App Engine in Eclipse

2010-02-26 Thread thierry Le conniat
Hello, How can I, to avoid tedious re-enter password when deploying in an Eclipse application, configure the password for the account google app engine once and for all. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to

[appengine-java] Re: Passing parameters in a Task

2010-02-26 Thread David Chandler
Also see Deferred.defer() for a fully typesafe way to pass params: http://turbomanage.wordpress.com/2009/11/20/deferred-defer-is-a-thing-of-beauty/ There's a thread on this forum, too. /dmc On Feb 25, 5:52 pm, oceandrive rams...@gmail.com wrote: Perfect , thanks. -- You received this

[appengine-java] Restlet and XStream on App Engine

2010-02-26 Thread alexh
Has anyone had any success returning domain classes with JDO or JPA annotations using Restlet and XStream to handle the XML serialization? I have been unsuccessful and am getting the dreaded AccessControlException. Before I resort to data transfer object I thought I would check if anyone has

Re: [appengine-java] Running an HTTPS development server

2010-02-26 Thread Ikai L (Google)
For this to work, Google Checkout will need to reach your development server. If your computer is on the open internet with no firewall and ports open (BAD! BAD!), you can set up an HTTPS proxy to your development server with something that can be an HTTPS proxy such as Apache (

[appengine-java] Text type and the Development console viewer

2010-02-26 Thread John Howe
I don't see the Text fields of persisted objects when listing the entities from the Development Console. E.g., using JDO, I have Text field foo, as declared below: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class LocationData implements Serializable {

Re: [appengine-java] Configure the password for the account of Google App Engine in Eclipse

2010-02-26 Thread m seleron
Hi, I think that the input of the password is necessary for deploy with plugin of eclipse. Though it might be a little difficult I think that I can decrease the input frequency of the password if deply that uses [appcfg] . Please Try thanks. Hello, How can I, to avoid tedious re-enter

[appengine-java] Re: Serialized field is ignored in JDO

2010-02-26 Thread Arnold
Thanks Max, that solves it. The datastore viewer in development console kind of misled me to think the field is not persisted at all. I have noticed that after adding records with the serialized field set, the serialized field column is not shown in the datastore viewer. But, as soon as I add one