On Sat, Sep 29, 2012 at 12:17 PM, Ricardo <rica...@proelosoftware.com>wrote:

> I´m changing a property of a child thata has a relation owened
> one-to-many, and in the end saving the parent´s entity.


In one transaction? How big is the change? Are those child entities
necessarily to have the owned one-to-many relationship?
I'm asking like this, but I also think you'd better post this question to
the stack overflow with the actual code and the stack trace. Can you do
that?

-- Takashi



>
> Yes, I can change the entities (parent and child) in the admin console
> without problems.
>
Em sexta-feira, 28 de setembro de 2012 23h08min34s UTC-3, Takashi Matsuo
> (Google) escreveu:
>>
>>
>> Hi Ricardo,
>>
>> Thanks for the info.
>>
>> What kind of change are you trying to make on this entity?
>> Can you change this entity via the datastore viewer of the admin console?
>> Does it also fail?
>>
>> -- Takashi
>>
>>
>> On Sat, Sep 29, 2012 at 5:32 AM, Ricardo <ric...@proelosoftware.com>wrote:
>>
>>> Hi Takashi,
>>>
>>> Yes, that´s right. Always this Rollback critical error. I neither can
>>> catch the error, what gives me a awful message to my user.
>>>
>>> Anoter strange behavior that I could experience is that the restore tool
>>> inside the datastore admin console, never ends when this entity is inside
>>> one of the packages.
>>>
>>> app-id = proeloc
>>> key = aglzfnByb2Vsb2NyDwsSB0NvbXBhbn**kYi6ECDA
>>>
>>>
>>> Thanks a lot. This matter is urgent.
>>>
>>> On Thursday, September 27, 2012 4:43:25 AM UTC-3, Takashi Matsuo
>>> (Google) wrote:
>>>
>>>> Hi Ricardo,
>>>>
>>>> Are you saying a particular entity always throws an error when changing?
>>>> Can you tell me your app-id and the key in question?
>>>>
>>>>
>>>>  On Thu, Sep 27, 2012 at 4:42 AM, Ricardo <ric...@proelosoftware.com>wrote:
>>>>
>>>>>  It seems, to me, the rollback operation is not finishing in the 60´s
>>>>> second wich each request has to ends and the roolback operation is
>>>>> canceled. In this way the object ends in this a state that we cant write 
>>>>> on
>>>>> it.
>>>>>
>>>>> This problems seems to me very serious because the user object end in
>>>>> this "unchangeble" state and that could not be fixed by its own, netheir 
>>>>> by
>>>>> the JDO our Datanucleous.
>>>>>
>>>>>
>>>>> Em segunda-feira, 24 de setembro de 2012 18h39min12s UTC-3, Rodrigo
>>>>> Kossmann escreveu:
>>>>>
>>>>>> Hi guys.
>>>>>> Happens the following error when entering my application with a specific 
>>>>>> User:
>>>>>>
>>>>>>
>>>>>>    1.
>>>>>>
>>>>>>    201.86.195.206 - - [24/Sep/2012:14:24:48 -0700] "GET / HTTP/1.1" 500 
>>>>>> 0 - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like 
>>>>>> Gecko) Chrome/21.0.1180.89 Safari/537.1" "tci.chainit.com.br" ms=60020 
>>>>>> cpu_ms=22858 exit_code=104 
>>>>>> instance=00c61b117c6e51b4aec6d******2e4089516b479c2a0 
>>>>>> <https://appengine.google.com/instances?app_id=s~proeloc&version_id=10-21.361990932472860292&key=00c61b117c6e51b4aec6d2e4089516b479c2a0#00c61b117c6e51b4aec6d2e4089516b479c2a0>
>>>>>>
>>>>>>    2. E2012-09-24 18:24:47.974
>>>>>>
>>>>>>    org.datanucleus.transaction.**Tr****ansaction rollback: Operation 
>>>>>> rollback failed on resource: 
>>>>>> org.datanucleus.store.**appengin****e.DatastoreXAResource@**2d659, error 
>>>>>> code UNKNOWN and transaction: [DataNucleus Transaction, ID=Xid=
>>>>>>
>>>>>>    3. W2012-09-24 18:24:48.375
>>>>>>
>>>>>>    Error for /
>>>>>>    com.google.apphosting.runtime.******HardDeadlineExceededError: This 
>>>>>> request (b08d8999601781ee) started at 2012/09/24 21:23:48.426 UTC and 
>>>>>> was still executing at 2012/09/24 21:24:48.373 UTC.
>>>>>>          at sun.misc.Unsafe.park(Native Method)
>>>>>>          at 
>>>>>> java.util.concurrent.locks.**Loc****kSupport.parkNanos(**LockSupport****.java:226)
>>>>>>          at 
>>>>>> java.util.concurrent.locks.**Abs****tractQueuedSynchronizer.**doAcqu****ireSharedNanos(**AbstractQueuedS****ynchronizer.**java:1037)
>>>>>>          at 
>>>>>> java.util.concurrent.locks.**Abs****tractQueuedSynchronizer.**tryAcq****uireSharedNanos(**AbstractQueued****Synchronizer.**java:1326)
>>>>>>          at 
>>>>>> com.google.common.util.**concurr****ent.AbstractFuture$**Sync.get(**Ab**stractFuture.java:**263)
>>>>>>          at 
>>>>>> com.google.common.util.**concurr****ent.AbstractFuture.get(**Abstrac****tFuture.java:96)
>>>>>>          at 
>>>>>> com.google.appengine.tools.**dev****elopment.TimedFuture.get(**Timed****Future.java:41)
>>>>>>          at 
>>>>>> com.google.common.util.**concurr****ent.ForwardingFuture.**get(**Forwa**rdingFuture.java:63)
>>>>>>          at 
>>>>>> com.google.appengine.api.**utils****.FutureWrapper.get(**FutureWrapp****er.java:90)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.FutureHelper$**CumulativeAg****gregateFuture.get(**FutureHelper****.java:145)
>>>>>>          at 
>>>>>> com.google.appengine.api.**utils****.FutureWrapper.get(**FutureWrapp****er.java:90)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.FutureHelper.**getInternal(****FutureHelper.java:**72)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.FutureHelper.**quietGet(**Fut**ureHelper.java:33)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.**DatastoreServiceImpl$2.**ru****nInternal(**DatastoreServiceImpl****.java:113)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.**DatastoreServiceImpl$2.**ru****nInternal(**DatastoreServiceImpl****.java:110)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.TransactionRunner.**runInTr****ansaction(**TransactionRunner.**ja**va:31)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.**DatastoreServiceImpl.put(******DatastoreServiceImpl.java:110)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.**DatastoreServiceImpl.put(******DatastoreServiceImpl.java:94)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.DatastoreSessionStore.**sa****veSession(**DatastoreSessionStor****e.java:94)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.SessionManager$**AppEngine****Session.save(**SessionManager.**ja**va:167)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.SaveSessionFilter.**doFilt****er(SaveSessionFilter.**java:41)
>>>>>>          at 
>>>>>> org.mortbay.jetty.servlet.**Serv****letHandler$CachedChain.**doFilte****r(ServletHandler.java:**1157)
>>>>>>          at 
>>>>>> com.google.apphosting.utils.**se****rvlet.**TransactionCleanupFilter****.**doFilter(**TransactionCleanupFi****lter.java:**43)
>>>>>>          at 
>>>>>> org.mortbay.jetty.servlet.**Serv****letHandler$CachedChain.**doFilte****r(ServletHandler.java:**1157)
>>>>>>          at 
>>>>>> org.mortbay.jetty.servlet.**Serv****letHandler.handle(**ServletHandl****er.java:388)
>>>>>>          at 
>>>>>> org.mortbay.jetty.security.**Sec****urityHandler.handle(**SecurityHa****ndler.java:216)
>>>>>>          at 
>>>>>> org.mortbay.jetty.servlet.**Sess****ionHandler.handle(**SessionHandl****er.java:182)
>>>>>>          at 
>>>>>> org.mortbay.jetty.handler.**Cont****extHandler.handle(**ContextHandl****er.java:765)
>>>>>>          at 
>>>>>> org.mortbay.jetty.webapp.**WebAp****pContext.handle(**WebAppContext.****java:418)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.AppVersionHandlerMap.**han****dle(AppVersionHandlerMap.**java:****266)
>>>>>>          at 
>>>>>> org.mortbay.jetty.handler.**Hand****lerWrapper.handle(**HandlerWrapp****er.java:152)
>>>>>>          at org.mortbay.jetty.Server.**handl****e(Server.java:326)
>>>>>>          at 
>>>>>> org.mortbay.jetty.**HttpConnecti****on.handleRequest(**HttpConnectio****n.java:542)
>>>>>>          at 
>>>>>> org.mortbay.jetty.**HttpConnecti****on$RequestHandler.**headerComple****te(HttpConnection.**java:923)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.RpcRequestParser.**parseAv****ailable(**RpcRequestParser.java:****76)
>>>>>>          at 
>>>>>> org.mortbay.jetty.**HttpConnecti****on.handle(**HttpConnection.java:****404)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.**JettyServletEngineAdapte****r.**serviceRequest(**JettyServletE****ngineAdapter.**java:146)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******JavaRuntime$RequestRunnable.**ru****n(JavaRuntime.java:447)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t$**TraceContextRunnable.**runInCo****ntext(TraceContext.**java:452)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t$**TraceContextRunnable$1.run(**T****raceContext.java:459)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t.runInContext(**TraceContext.**ja**va:701)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t$**AbstractTraceContextCallback****.**runInInheritedContextNoUnref(******TraceContext.java:336)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t$**AbstractTraceContextCallback****.**runInInheritedContext(**TraceCo****ntext.java:328)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t$**TraceContextRunnable.run(**Tra****ceContext.java:456)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******ThreadGroupPool$PoolEntry.run(******ThreadGroupPool.java:251)
>>>>>>          at java.lang.Thread.run(Thread.**ja****va:679)
>>>>>>
>>>>>>    4. C2012-09-24 18:24:48.376
>>>>>>
>>>>>>    Uncaught exception from servlet
>>>>>>    com.google.apphosting.runtime.******HardDeadlineExceededError: This 
>>>>>> request (b08d8999601781ee) started at 2012/09/24 21:23:48.426 UTC and 
>>>>>> was still executing at 2012/09/24 21:24:48.373 UTC.
>>>>>>          at sun.misc.Unsafe.park(Native Method)
>>>>>>          at 
>>>>>> java.util.concurrent.locks.**Loc****kSupport.parkNanos(**LockSupport****.java:226)
>>>>>>          at 
>>>>>> java.util.concurrent.locks.**Abs****tractQueuedSynchronizer.**doAcqu****ireSharedNanos(**AbstractQueuedS****ynchronizer.**java:1037)
>>>>>>          at 
>>>>>> java.util.concurrent.locks.**Abs****tractQueuedSynchronizer.**tryAcq****uireSharedNanos(**AbstractQueued****Synchronizer.**java:1326)
>>>>>>          at 
>>>>>> com.google.common.util.**concurr****ent.AbstractFuture$**Sync.get(**Ab**stractFuture.java:**263)
>>>>>>          at 
>>>>>> com.google.common.util.**concurr****ent.AbstractFuture.get(**Abstrac****tFuture.java:96)
>>>>>>          at 
>>>>>> com.google.appengine.tools.**dev****elopment.TimedFuture.get(**Timed****Future.java:41)
>>>>>>          at 
>>>>>> com.google.common.util.**concurr****ent.ForwardingFuture.**get(**Forwa**rdingFuture.java:63)
>>>>>>          at 
>>>>>> com.google.appengine.api.**utils****.FutureWrapper.get(**FutureWrapp****er.java:90)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.FutureHelper$**CumulativeAg****gregateFuture.get(**FutureHelper****.java:145)
>>>>>>          at 
>>>>>> com.google.appengine.api.**utils****.FutureWrapper.get(**FutureWrapp****er.java:90)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.FutureHelper.**getInternal(****FutureHelper.java:**72)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.FutureHelper.**quietGet(**Fut**ureHelper.java:33)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.**DatastoreServiceImpl$2.**ru****nInternal(**DatastoreServiceImpl****.java:113)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.**DatastoreServiceImpl$2.**ru****nInternal(**DatastoreServiceImpl****.java:110)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.TransactionRunner.**runInTr****ansaction(**TransactionRunner.**ja**va:31)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.**DatastoreServiceImpl.put(******DatastoreServiceImpl.java:110)
>>>>>>          at 
>>>>>> com.google.appengine.api.**datas****tore.**DatastoreServiceImpl.put(******DatastoreServiceImpl.java:94)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.DatastoreSessionStore.**sa****veSession(**DatastoreSessionStor****e.java:94)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.SessionManager$**AppEngine****Session.save(**SessionManager.**ja**va:167)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.SaveSessionFilter.**doFilt****er(SaveSessionFilter.**java:41)
>>>>>>          at 
>>>>>> org.mortbay.jetty.servlet.**Serv****letHandler$CachedChain.**doFilte****r(ServletHandler.java:**1157)
>>>>>>          at 
>>>>>> com.google.apphosting.utils.**se****rvlet.**TransactionCleanupFilter****.**doFilter(**TransactionCleanupFi****lter.java:**43)
>>>>>>          at 
>>>>>> org.mortbay.jetty.servlet.**Serv****letHandler$CachedChain.**doFilte****r(ServletHandler.java:**1157)
>>>>>>          at 
>>>>>> org.mortbay.jetty.servlet.**Serv****letHandler.handle(**ServletHandl****er.java:388)
>>>>>>          at 
>>>>>> org.mortbay.jetty.security.**Sec****urityHandler.handle(**SecurityHa****ndler.java:216)
>>>>>>          at 
>>>>>> org.mortbay.jetty.servlet.**Sess****ionHandler.handle(**SessionHandl****er.java:182)
>>>>>>          at 
>>>>>> org.mortbay.jetty.handler.**Cont****extHandler.handle(**ContextHandl****er.java:765)
>>>>>>          at 
>>>>>> org.mortbay.jetty.webapp.**WebAp****pContext.handle(**WebAppContext.****java:418)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.AppVersionHandlerMap.**han****dle(AppVersionHandlerMap.**java:****266)
>>>>>>          at 
>>>>>> org.mortbay.jetty.handler.**Hand****lerWrapper.handle(**HandlerWrapp****er.java:152)
>>>>>>          at org.mortbay.jetty.Server.**handl****e(Server.java:326)
>>>>>>          at 
>>>>>> org.mortbay.jetty.**HttpConnecti****on.handleRequest(**HttpConnectio****n.java:542)
>>>>>>          at 
>>>>>> org.mortbay.jetty.**HttpConnecti****on$RequestHandler.**headerComple****te(HttpConnection.**java:923)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.RpcRequestParser.**parseAv****ailable(**RpcRequestParser.java:****76)
>>>>>>          at 
>>>>>> org.mortbay.jetty.**HttpConnecti****on.handle(**HttpConnection.java:****404)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******jetty.**JettyServletEngineAdapte****r.**serviceRequest(**JettyServletE****ngineAdapter.**java:146)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******JavaRuntime$RequestRunnable.**ru****n(JavaRuntime.java:447)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t$**TraceContextRunnable.**runInCo****ntext(TraceContext.**java:452)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t$**TraceContextRunnable$1.run(**T****raceContext.java:459)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t.runInContext(**TraceContext.**ja**va:701)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t$**AbstractTraceContextCallback****.**runInInheritedContextNoUnref(******TraceContext.java:336)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t$**AbstractTraceContextCallback****.**runInInheritedContext(**TraceCo****ntext.java:328)
>>>>>>          at 
>>>>>> com.google.tracing.**TraceContex****t$**TraceContextRunnable.run(**Tra****ceContext.java:456)
>>>>>>          at 
>>>>>> com.google.apphosting.runtime.******ThreadGroupPool$PoolEntry.run(******ThreadGroupPool.java:251)
>>>>>>          at java.lang.Thread.run(Thread.**ja****va:679)
>>>>>>
>>>>>>    5. W2012-09-24 18:24:48.427
>>>>>>
>>>>>>    A problem was encountered with the process that handled this request, 
>>>>>> causing it to exit. This is likely to cause a new process to be used for 
>>>>>> the next request to your application. If you see this message 
>>>>>> frequently, you may be throwing exceptions during the initialization of 
>>>>>> your application. (Error code 104)
>>>>>>
>>>>>>
>>>>>>    We believe that this User object is in some state which impedes 
>>>>>> saving.
>>>>>>    Someone has gone through this error before?
>>>>>>    Thanks.
>>>>>>
>>>>>>
>>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google App Engine" group.
>>>>> To view this discussion on the web visit https://groups.google.com/d/*
>>>>> *ms**g/google-appengine/-/mf2-**i9hQf**GkJ<https://groups.google.com/d/msg/google-appengine/-/mf2-i9hQfGkJ>
>>>>> .
>>>>>
>>>>> To post to this group, send email to google-a...@googlegroups.**com.
>>>>> To unsubscribe from this group, send email to google-appengi...@**
>>>>> googlegroups**.com.
>>>>>
>>>>> For more options, visit this group at http://groups.google.com/**group
>>>>> **/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en>
>>>>> .
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Takashi Matsuo | Developers Advocate | tma...@google.com
>>>>
>>>>   --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine" group.
>>> To view this discussion on the web visit https://groups.google.com/d/**
>>> msg/google-appengine/-/**BqgvBnceV2UJ<https://groups.google.com/d/msg/google-appengine/-/BqgvBnceV2UJ>
>>> .
>>>
>>> To post to this group, send email to google-a...@googlegroups.**com.
>>> To unsubscribe from this group, send email to google-appengi...@**
>>> googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/**
>>> group/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en>
>>> .
>>>
>>
>>
>>
>> --
>> Takashi Matsuo | Developers Advocate | tma...@google.com
>>
>>   --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/scrUaMzIG8oJ.
>
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>



-- 
Takashi Matsuo | Developers Advocate | tmat...@google.com

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

Reply via email to