[appengine-java] Objectify + RequestFactory: Server Error: No class with kind '__Stat_Kind_IsRootEntity__' was registered

2012-03-01 Thread Alexander Orlov
Locally the code works fine, but on GAE this code (RF callback): *@Override* *public void onFailure(ServerFailure error) {* *Core.log(error.getMessage());* *Core.log("Error: " + error);* *}* ...delivers this message to the Chrome

[appengine-java] Best practice for authentication token driven storage/request of user-specific data

2012-01-27 Thread Alexander Orlov
I have a *stateless* GWT based UI that has to communicate with a backend using an authentication token to authenticate GWT's requests to the server. Now I'm looking for the best practice of how to design my entities so I can retrieve user-specific data using an authentication token. Do I have to

[appengine-java] Re: LocalDatastoreServiceTestConfig does not keep modificatins

2011-12-16 Thread Alexander Orlov
Btw, I'm using JPA. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/K-ZC_U4epWgJ. To post to this group, send email to google-appengi

[appengine-java] LocalDatastoreServiceTestConfig does not keep modificatins

2011-12-16 Thread Alexander Orlov
All tests are green but *retrive()* resp. *zFind()* are *empty* resp *null.* public class InitDatastore extends Common { private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalDatastoreServiceTestConfig()); final EntityController ec = new EntityContr

[appengine-java] Re: SDK 1.6.1, JPA and JUnit Tests

2011-12-16 Thread Alexander Orlov
Ok, got it :) Add private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new *LocalDatastoreService* TestConfig()); and ${SDK_ROOT}/lib/impl/appengine-api-*.jar to your claspath. -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: SDK 1.6.1, JPA and JUnit Tests

2011-12-16 Thread Alexander Orlov
Maybe posting the whole JUnit file will help: public class InitDatastore extends Common { private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalTaskQueueTestConfig()); @Before public void setUp() { helper.setUp(); } @After p

[appengine-java] SDK 1.6.1, JPA and JUnit Tests

2011-12-16 Thread Alexander Orlov
I'm trying to @Test public void doTest() { final Flight flight = new Flight("origin", "destination"); final EntityController ec = new EntityController(); ec.create(flight); } whereby Flight is a JPA annotated entity but I get this when executing this test: D

[appengine-java] Maven example: Datanucleus 2.0.0-RC2 and JPA2 in SDK 1.6.1

2011-12-14 Thread Alexander Orlov
Today SDK 1.6.1 has been released. I'm looking for a nice Maven example where I can see how datanucleus 2.0.0-RC2 works. The *helloorm* example is still(?) using JPA1 and datanucleus 1.0.10 which doesn't support JPA2. -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: An alternative to Objectify?

2011-12-08 Thread Alexander Orlov
On Thursday, December 8, 2011 10:11:40 AM UTC+1, datanucleus wrote: > > Not sure also why people always want to make things into a "mines > better than yours contest". > I've got the same impression. > DataNucleus (and Googles plugin does that, with the emphasis on being > owned by Google, and

[appengine-java] Re: An alternative to Objectify?

2011-12-07 Thread Alexander Orlov
On Wednesday, December 7, 2011 12:03:57 PM UTC+1, datanucleus wrote: > > transparent to the user. *Nothing* gets simpler than that. > Well, it sounds so. But does (or can/will) Datanucleus support at least some of the features Jeff has mentioned? I suppose all those features are supported by Obj

Re: [appengine-java] An alternative to Objectify?

2011-12-07 Thread Alexander Orlov
On Wednesday, December 7, 2011 7:51:53 AM UTC+1, ra wrote: > > On Tue, Dec 6, 2011 at 10:20 PM, David Chandler > wrote: > > Objectify works great with RequestFactory: > > > > http://code.google.com/p/listwidget/ > > > > Do you have a specific concern about it? > > Btw - JPA2 and Objectify are sim

Re: [appengine-java] An alternative to Objectify?

2011-12-07 Thread Alexander Orlov
On Tuesday, December 6, 2011 10:20:58 PM UTC+1, David Chandler wrote: > > Objectify works great with RequestFactory: Indeed! I'm already using RequestFactory (partly with the ServiceLocator pattern) and JPA2 at my company's project. Thanks to your example

[appengine-java] An alternative to Objectify?

2011-12-06 Thread Alexander Orlov
*Is there a good/better alternative to Objectify?* I want to use a Datastore abstraction layer like JPA2 together with GWT's RequestFactory using its ServiceLocator pattern. Is the usage of Objectify even advisable in this case or should I use the Datastore directly (which I've done 2y ago... a

[appengine-java] Re: How to get the BlobKey from a file which was uploaded

2010-07-19 Thread Alexander Orlov
On Jul 16, 7:02 pm, Jairo Luna wrote: > Do you speak spanish? I have an idea but I don't know english very Sorry, I don't. However your answer was pretty understandable :) > I don't know if it's the best way but when I upload an image, I save > the blobKey.getKeyString() into the User's model. T

[appengine-java] Re: How to get the BlobKey from a file which was uploaded

2010-07-15 Thread Alexander Orlov
Anyone? I mean how could you assign certain blobs to certain users if this isn't possible? -Alex On Jul 7, 12:51 pm, Alexander Orlov wrote: > I want to get the BlobKey from a file a user has uploaded to link the > BlobKey to other information. > > First I retrieve a post URL t

[appengine-java] Converting String to BlobKey... in SCALA!

2010-07-15 Thread Alexander Orlov
I want to delete blobs, so I wrote a method and don't thought about that it could be that difficult. def deleteBlobs(keys: ArrayList[String]) { keys.toArray.foreach { key => blobstoreService.delete(new BlobKey(key.toString)) // doesn't work blobstoreService.delete(new BlobK

[appengine-java] How to get the BlobKey from a file which was uploaded

2010-07-07 Thread Alexander Orlov
I want to get the BlobKey from a file a user has uploaded to link the BlobKey to other information. First I retrieve a post URL to upload the blob: val blobstoreService = BlobstoreServiceFactory.getBlobstoreService return blobstoreService.createUploadUrl("/") Than I do a simple doPost()

[appengine-java] Re: Can't delete blobs via Google's admin UI

2010-06-11 Thread Alexander Orlov
g about?!" would really help. On Jun 11, 4:32 pm, Alexander Orlov wrote: > Does anybody else has the same problem? > > An answer to this question would help me a lot. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java"

[appengine-java] Re: Can't delete blobs via Google's admin UI

2010-06-11 Thread Alexander Orlov
Does anybody else has the same problem? An answer to this question would help me a lot. -- 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 fr

[appengine-java] Download uploaded files using GWT

2010-05-28 Thread Alexander Orlov
I've got the upload part...: May 28, 2010 9:12:50 AM com.google.appengine.api.datastore.dev.LocalDatastoreService $PersistDatastore persist But how can I retrieve my uploaded files? blobstoreService.getUploadedBlobs(httpServletRequest) requires a HttpServletRequest parameter but HttpServletReque

[appengine-java] Re: No Admin User on my Google Apps located app

2010-04-16 Thread Alexander Orlov
Does anybody experiencing the same issue? I was one of the first GAE users, maybe this issue is specific to Google Apps + GAE users who belong to the GAE pioneer cohort? Please help, I simply cannot sign in as admin user! My app lox.loxal.org / wlox-sns.appspot.com. On Apr 3, 1:57 am, Alexander

[appengine-java] Re: Appstats not working. /stats = 404

2010-04-02 Thread Alexander Orlov
but - Alex On Apr 3, 2:41 am, Arny wrote: > Thanks, that worked! > > No idea why it is redirecting to /stats > > Regards, > Arny > > On Apr 3, 2:16 am, Alexander Orlov wrote: > > > > > You should be redirected to /appstats/stats. Try to call th

[appengine-java] Re: Appstats not working. /stats = 404

2010-04-02 Thread Alexander Orlov
You should be redirected to /appstats/stats. Try to call this URL manually after you're authenticated as admin user. - Alex On Apr 3, 2:10 am, Arny wrote: > Hi, > > I'm trying to get Appstats to work with no success. > Added all the lines specified in the docs to my web.xml > > After signing in

[appengine-java] No Admin User on my Google Apps located app

2010-04-02 Thread Alexander Orlov
If I sign in to my app which is accessible via appspot.com/a/loxal.net under "Developers" I see my email address which has the "The only administrator cannot be removed." flag (So I'm the only admin of this app?). But when I sign in with this email address to my app I'm not the admin user but a nor

[appengine-java] Re: GAE down? Response Error 500

2009-09-02 Thread Alexander Orlov
On Sep 3, 4:57 am, Matthew Blain wrote: > We are investigating this issue and are rolling back a recent change. Hm, a few hours ago I've tried something new in my app... Hopefully I haven't crashed Google's AE :D --~--~-~--~~~---~--~~ You received this message bec

[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Alexander Orlov
On Sep 3, 2:29 am, Hani Naguib wrote: > Well it looks like something has changed today. Well, to be more precise, something has changed 2 hours ago. All instances of my Grails (and therefore also Spring) based app are down and responding with Server Error 500. Updating the app don't solve the pr

[appengine-java] Re: GAE down? Response Error 500

2009-09-02 Thread Alexander Orlov
> kinda works, but kinda doesn't. Components I haven't touched are now > failing consistently. > > On Sep 2, 4:44 pm, Alexander Orlov wrote: > > > Ok,http://2.latest.xy.appspot.com/worksbut ALL myhttp://wentity.appspot.com/ > > instances are down an won't

[appengine-java] Re: GAE down? Response Error 500

2009-09-02 Thread Alexander Orlov
orked?  I see > nothing but 500's since early August. > Version 2 seems to be fine:  http://xy.appspot.com/ > > On Wed, Sep 2, 2009 at 6:37 PM, Alexander Orlov > wrote: > > > > >http://1.latest.xy.appspot.com/ > >http://4.latest.wentity.appspot.com/ > > >

[appengine-java] Re: GAE down? Response Error 500

2009-09-02 Thread Alexander Orlov
Ok, http://2.latest.xy.appspot.com/ works but ALL my http://wentity.appspot.com/ instances are down an won't come up :( Re-uploading the application don't solve this problem. I get a permanent Response Error 500. Application dead lock? Help! On Sep 3, 1:37 am, Alexander Orlov wrote:

[appengine-java] GAE down? Response Error 500

2009-09-02 Thread Alexander Orlov
http://1.latest.xy.appspot.com/ http://4.latest.wentity.appspot.com/ ...all my Java apps are down (Response Error 500). I know that my "xy" app should work as haven't change it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl