Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Help to debug server-side commit operation
[CDO] Help to debug server-side commit operation [message #1005846] Mon, 28 January 2013 19:58 Go to next message
Warwick Burrows is currently offline Warwick Burrows
Messages: 87
Registered: July 2009
Location: Austin, TX
Member
Hi,

I'm trying to trace a commit operation on the server but haven't been able to hit a breakpoint during the commit operation. I'm trying to trace what happens on the server when the client provides new model packageunits to the server. Can someone direct me to a class/method that is definitely called in the execution path following a commit request from the client?

Sorry, forgot to add CDO to the subject.

Thanks,
Warwick

[Updated on: Mon, 28 January 2013 20:00]

Report message to a moderator

Re: Help to debug server-side commit operation [message #1005854 is a reply to message #1005846] Tue, 29 January 2013 00:28 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5486
Registered: July 2009
Senior Member
Am 29.01.2013 01:58, schrieb Warwick Burrows:
> Hi,
>
> I'm trying to trace a commit operation on the server
Although you nowhere mention CDO I assume that you do refer to it :P

> but haven't been able to hit a breakpoint during the commit operation.
Where did you set your breakpoints?

> I'm trying to trace what happens on the server when the client provides new model packageunits to the server. Can
> someone direct me to a class/method that is definitely called in the execution path following a commit request from
> the client?
The first meaningful place would be in
org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CDODataInput, OMMonitor).

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [CDO] Help to debug server-side commit operation [message #1005856 is a reply to message #1005854] Tue, 29 January 2013 00:48 Go to previous messageGo to next message
Warwick Burrows is currently offline Warwick Burrows
Messages: 87
Registered: July 2009
Location: Austin, TX
Member
Thanks Eike I'll try that.

>> I'm trying to trace a commit operation on the server
> Although you nowhere mention CDO I assume that you do refer to it Razz

Yes again Smile Although I don't understand why you don't see the same updated post subject as I do. I posted this then modified the post to add [CDO] to the subject immediately afterward... I'm talking within 30 seconds of the original post. I guess it's another quirk of the Eclipse forums. Oh and I added [CDO] to the subject again just to be certain Wink


Re: [CDO] Help to debug server-side commit operation [message #1005859 is a reply to message #1005856] Tue, 29 January 2013 01:01 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5486
Registered: July 2009
Senior Member
Am 29.01.2013 06:48, schrieb Warwick Burrows:
> Thanks Eike I'll try that.
>
>>> I'm trying to trace a commit operation on the server
>> Although you nowhere mention CDO I assume that you do refer to it :p
>
> Yes again :) Although I don't understand why you don't see the same updated post subject as I do. I posted this then
> modified the post to add [CDO] to the subject immediately afterward... I'm talking within 30 seconds of the original
> post. I guess it's another quirk of the Eclipse forums. Oh and I added [CDO] to the subject again just to be certain ;)
I suspect that changing posts after they've been submitted is an exclusive feature of the web forum software, which
can't be mirrored to the master nntp: service ;-(

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:Create proxy object for abstract reference type
Next Topic:deleting the namespace
Goto Forum:
  


Current Time: Fri Aug 01 22:38:53 EDT 2014

Powered by FUDForum. Page generated in 0.08102 seconds