[appengine-java] Re: MD5 Hash

2010-06-12 Thread Didier Durand
Hi Michael, I implemented your code (i needed md5 anyway...): works fine on both gaej sdk and on live gaej too. And it's normal because java.security.MessageDigest is on the GAEJ JRE Class white list: see http://code.google.com/appengine/docs/java/jrewhitelist.html) Your issue: I would guess

Re: [appengine-java] Re: MD5 Hash

2010-06-12 Thread Rusty Wright
That looks like a compiler error. On 2010-06-10 11:42, Michael wrote: Any ideas on what is wrong then? On Jun 10, 1:03 pm, Nacho Colomaicol...@gmail.com wrote: That should not be your problem:http://code.google.com/appengine/docs/java/jrewhitelist.html I am using MD5 in AppEngine without

[appengine-java] Task Queue java API

2010-06-12 Thread sathish
Hi i'm new to Task queue concepts when i referred the guide I got stuck on this line queue.add( DatastoreServiceFactory.getDatastoreService().getCurrentTransaction(), TaskOptions().url(/path/to/my/worker)); what is TaskOptions() method. Is it default method are method created manually

[appengine-java] CloudCover: Cannot schedule instance of TestClass because of not an available class

2010-06-12 Thread Art
Dear group, I would like to know how to make CloudCover (http://code.google.com/p/ cloudcover/) work. At cloudcover.html, even I clicked on the Start New Run button, the (default) test won't be executed. The cloudcover.html showed like: Run 1001: NOT_STARTED, Completed 0/0 (0%) Passed: 0 Too

Re: [appengine-java] Spring Security + GAE

2010-06-12 Thread Sudhir Ramanandi
I have Spring security running properly on GAE... But I don't use GWT.. What help are you looking for... On Fri, Jun 11, 2010 at 11:39 PM, Cleber Dantas Silva cle...@dxs.com.brwrote: Hi! I need help to integrate Spring Security 3.0.2 with GWT RPC Methods. Do you have any sample project or

[appengine-java] Federated Login Help

2010-06-12 Thread Prashant
Hi, Docs says If your app uses OpenID and the user must sign in, your app will be redirected to the URL /_ah/login_required . but it doesn't seem to be redirected to /_ah/login_required. I have enabled Federated Login and I have mapped the url too. Please help me to find out where I am wrong.

[appengine-java] Need help in writing a query

2010-06-12 Thread Vik
Hie I have following data set: City, Area emp-name and have to write a query which shows number of employees by city and area. So data should display like: Delhirohini 5 Delhinehru10 Hyd madhapur 6 Hyd hitech 24 Cheanni

Re: [appengine-java] Need help in writing a query

2010-06-12 Thread RAVINDER MAAN
Instead of getting these values with query best option is to store this values when you add new employee.So create one more dataset with fields city, area and employeecount.whenever you add new employee update the count .then you can get the count with simple query select employeecount from

[appengine-java] Persisting One To Many relationship entities using JPA

2010-06-12 Thread arun
I am using eclipse IDE with google app engine as my application server. I hav 2 classes trains and cabins which are mapped by OneToMany relationship When i provide the values and after assigning the concerned fields using the setter methods i persisted the train entity. The train entity is

[appengine-java] Re: Need help on java.security.AccessControlException: access denied

2010-06-12 Thread Nick
Hello Ikai, On my local machine, I tested it moving file to WEB-INF/ssma_std.txt? it worked. Thanks. After successful testing on local machine, while deploying it using Deploy App Enginer Project , plug-in on eclipse, I got following error Somewhere on goole app engine tutorials, I came

Re: [appengine-java] Records Count

2010-06-12 Thread Chau Huynh
Can you please try: select count (this) from entity? This topic was discussed once or more in the group... On Fri, Jun 11, 2010 at 5:39 PM, RAVINDER MAAN rsmaan...@gmail.com wrote: How can we get records count for a query in JDO. In sql we have select count(*) from table_name i want to get

Re: [appengine-java] Need help in writing a query

2010-06-12 Thread RAVINDER MAAN
or you can use select count(this) from entityname where city==city area==area On Sat, Jun 12, 2010 at 8:24 PM, RAVINDER MAAN rsmaan...@gmail.com wrote: Instead of getting these values with query best option is to store this values when you add new employee.So create one more dataset with

[appengine-java] What is read operations inside transactions can't allow failover

2010-06-12 Thread Kenyth
From time to time I got the following exception message on GAE for my App. I searched with Google, no relevant results are found. Does anyone know about this? Thanks in advance for any response! The exception message is as below: Nested in org.springframework.orm.jpa.JpaSystemException: Illegal

[appengine-java] datastore Category type/class... vs. String

2010-06-12 Thread Jaroslav Záruba
This is probably a silly question... few of them How does Category differ from good old String? Does it take less space in the datastore or is it stored as String? And if one had only tens of tags, would it be any good to tag entities rather using numbers and translate them afterwards? (Would it

[appengine-java] Re: GAE and Google Apps

2010-06-12 Thread i...@ontologycentral.com
Hi, On Jun 7, 1:12 pm, i...@ontologycentral.com i...@ontologycentral.com wrote: i...@ontologycentral.com wrote: However, I get a: This webpage is not available. The webpage athttps://appengine.google.com/_ah/login?continue=https://appengine.goo.. when I try to accept the admin

[appengine-java] Re: Session object or memcache?

2010-06-12 Thread Thomas
Session is cached in memcache and persisted to datastore. So when loading request occurs it won't be lost if it is not expired. You can view session (_ah_SESSION) data with datastore viewer. On 6月11日, 下午11時09分, Rahul rahul.jun...@gmail.com wrote: No doubt if your application is low traffic you

Re: [appengine-java] Need help in writing a query

2010-06-12 Thread aswath satrasala
Hi, I guess, this may not turn out to be correct always. If it is done in a transaction and both of the entities are in the same entity group, then this will work. -Aswath On Sat, Jun 12, 2010 at 8:24 PM, RAVINDER MAAN rsmaan...@gmail.com wrote: Instead of getting these values with query best

Re: [appengine-java] CloudCover: Cannot schedule instance of TestClass because of not an available class

2010-06-12 Thread Max Ross (Google)
This most likely means that your tests aren't available as part of your application. Are you certain you uploaded them? On Fri, Jun 11, 2010 at 11:31 PM, Art art...@gmail.com wrote: Dear group, I would like to know how to make CloudCover (http://code.google.com/p/ cloudcover/) work. At