[appengine-java] Seeing

2011-12-13 Thread John
Just logged an issue where the the Java thread seems to be getting killed 
before it runs any application code. 

Anyone else seeing HardDeadlineExceededError repeatedly 
occurring before entering application code (in 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler)
?

We haven't figured out exactly when this started, but it seems to have 
become fairly frequent in our app beginning around 07:00PT on 13 December.

-- 
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/-/n9lejUCdb7UJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Seeing

2011-12-13 Thread kwanja9999

Sent from my BlackBerry® by dtac.

-Original Message-
From: John 
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 08:40:34 
To: 
Reply-To: google-appengine-java@googlegroups.com
Subject: [appengine-java] Seeing

Just logged an issue where the the Java thread seems to be getting killed 
before it runs any application code. 

Anyone else seeing HardDeadlineExceededError repeatedly 
occurring before entering application code (in 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler)<http://code.google.com/p/googleappengine/issues/detail?id=6543>
?

We haven't figured out exactly when this started, but it seems to have 
become fairly frequent in our app beginning around 07:00PT on 13 December.

-- 
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/-/n9lejUCdb7UJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Seeing

2011-12-13 Thread kwanja9999

Sent from my BlackBerry® by dtac.

-Original Message-
From: kwanja9...@yahoo.com
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 19:31:20 
To: 
Reply-To: google-appengine-java@googlegroups.com
Subject: Re: [appengine-java] Seeing


Sent from my BlackBerry® by dtac.

-Original Message-
From: John 
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 08:40:34 
To: 
Reply-To: google-appengine-java@googlegroups.com
Subject: [appengine-java] Seeing

Just logged an issue where the the Java thread seems to be getting killed 
before it runs any application code. 

Anyone else seeing HardDeadlineExceededError repeatedly 
occurring before entering application code (in 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler)<http://code.google.com/p/googleappengine/issues/detail?id=6543>
?

We haven't figured out exactly when this started, but it seems to have 
become fairly frequent in our app beginning around 07:00PT on 13 December.

-- 
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/-/n9lejUCdb7UJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Seeing

2011-12-13 Thread kwanja9999

Sent from my BlackBerry® by dtac.

-Original Message-
From: kwanja9...@yahoo.com
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 19:37:18 
To: 
Reply-To: google-appengine-java@googlegroups.com
Subject: Re: [appengine-java] Seeing


Sent from my BlackBerry® by dtac.

-Original Message-
From: kwanja9...@yahoo.com
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 19:31:20 
To: 
Reply-To: google-appengine-java@googlegroups.com
Subject: Re: [appengine-java] Seeing


Sent from my BlackBerry® by dtac.

-Original Message-
From: John 
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 08:40:34 
To: 
Reply-To: google-appengine-java@googlegroups.com
Subject: [appengine-java] Seeing

Just logged an issue where the the Java thread seems to be getting killed 
before it runs any application code. 

Anyone else seeing HardDeadlineExceededError repeatedly 
occurring before entering application code (in 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler)<http://code.google.com/p/googleappengine/issues/detail?id=6543>
?

We haven't figured out exactly when this started, but it seems to have 
become fairly frequent in our app beginning around 07:00PT on 13 December.

-- 
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/-/n9lejUCdb7UJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Seeing owned/child entities in the datastore viewer

2010-02-02 Thread Daniel Benamy
Hi,

I'm trying to find a way to see the relationships between entities in
the data store viewer. If I have:
class A {
B foo;
}
and I'm looking at an instance of A in the data store viewer, is there
any way for me to find its B? I feel like this should be pretty simple
and maybe I'm just missing something dumb but I've searched a bunch
and can't figure this out. I know I can work backwards and find a
parent from its child by decoding its key. But my app can obviously go
the other way and it would make my life easier if I could too. Can
anyone help?

Thanks,
Dan

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Seeing different (incorrect?) JDO behavior after upgrading to 1.2.5

2009-09-04 Thread David

I’ve been working with a fairly simple data model that has an
Organization object which contains some String members as well as a
member variable of type PrivilegedUser.  And PrivilegedUser extends a
User, and contains only a Key and some String members.

@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable="true")
public class Organization implements Serializable {

@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Long id;


@Persistent
private String organizationId;

@Persistent
private String organizationName;


@Persistent
 private PrivilegedUser privilegedUser;

….

I have code running successfully under 1.2.2 which creates an
Organization, then creates a Privileged User object, and assigns it to
the Organization, and then makes the Organization persistent.
Later I query by organizationId to retrieve the Organization object,
and update the PrivilegedUser on the Organization object.
This works fine under 1.2.2.

Under 1.2.5 I began getting the following error:
You have just attempted to access field "privilegedUser" yet this
field was not detached when you detached the object. Either dont
access this field, or detach it when detaching the object.

However, after stepping through the debugger I believe the root cause
is that the privilegedUser field is null on the Organization object
returned from the query (the String members are still correct).  This
value is null even before I attempt to detach the Organization object
from the PersistenceManager.

After seeing this behavior I modified the query code I had been using
to include a custom fetch plan for the query.
This did not change the behavior under 1.2.5.

   PersistenceManager pm = PMF.get().getPersistenceManager
();


FetchGroup fetchGroup = pm.getFetchGroup(Organization.class,
"OrganizationGroup");
fetchGroup.addMember("privilegedUser");

// Add this group to the fetch plan (using its name)
FetchPlan fetchPlan = pm.getFetchPlan();
fetchPlan.addGroup("OrganizationGroup");

Query query = pm.newQuery(Organization.class);
query.setFilter("organizationId == rhsValue");
query.declareParameters("String rhsValue");



I don't think the following is relevant, but I’ve also noticed that
under 1.2.5 the following exception occurs, which has been reported by
others:

INFO: Failed to start reference finalizer thread. Reference cleanup
will only occur when new references are
created.java.lang.reflect.InvocationTargetException

Does this sound like a bug introduced under 1.2.5, or is this expected
behavior that was not enforced under 1.2.2?  In either case, does
anyone have a suggestion on how to work around this issue?

Thanks,
David


--~--~-~--~~~---~--~~
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-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



Re: [appengine-java] Seeing owned/child entities in the datastore viewer

2010-02-08 Thread Ikai L (Google)
Sounds like a pretty cool feature. Go ahead and add it to our feature
request list:

http://code.google.com/p/googleappengine/issues/list?can=2&q=datastore+viewer

On Tue, Feb 2, 2010 at 8:10 PM, Daniel Benamy  wrote:

> Hi,
>
> I'm trying to find a way to see the relationships between entities in
> the data store viewer. If I have:
> class A {
>B foo;
> }
> and I'm looking at an instance of A in the data store viewer, is there
> any way for me to find its B? I feel like this should be pretty simple
> and maybe I'm just missing something dumb but I've searched a bunch
> and can't figure this out. I know I can work backwards and find a
> parent from its child by decoding its key. But my app can obviously go
> the other way and it would make my life easier if I could too. Can
> anyone help?
>
> Thanks,
> Dan
>
> --
> 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, send email to
> google-appengine-java+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Seeing owned/child entities in the datastore viewer

2010-02-08 Thread Daniel Benamy
Thanks for the reply!

http://code.google.com/p/googleappengine/issues/detail?id=2745

Dan

On Mon, Feb 8, 2010 at 2:48 PM, Ikai L (Google)  wrote:
> Sounds like a pretty cool feature. Go ahead and add it to our feature
> request list:
> http://code.google.com/p/googleappengine/issues/list?can=2&q=datastore+viewer
>
> On Tue, Feb 2, 2010 at 8:10 PM, Daniel Benamy  wrote:
>>
>> Hi,
>>
>> I'm trying to find a way to see the relationships between entities in
>> the data store viewer. If I have:
>> class A {
>>    B foo;
>> }
>> and I'm looking at an instance of A in the data store viewer, is there
>> any way for me to find its B? I feel like this should be pretty simple
>> and maybe I'm just missing something dumb but I've searched a bunch
>> and can't figure this out. I know I can work backwards and find a
>> parent from its child by decoding its key. But my app can obviously go
>> the other way and it would make my life easier if I could too. Can
>> anyone help?
>>
>> Thanks,
>> Dan
>>
>> --
>> 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, send email to
>> google-appengine-java+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>
>
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> http://googleappengine.blogspot.com | http://twitter.com/app_engine
>
> --
> 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, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.