Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO] examples question
[CDO] examples question [message #109330] Tue, 29 January 2008 19:35 Go to next message
Eclipse UserFriend
Originally posted by: tom.eiswind.de

I finally got my setup working. now i tried to create an object on the
repo1 demo repository which always gives me:

Worker-2 [debug] Processing event PREPARE in state TRANSIENT for
EObject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
Worker-2 [debug.revision] Setting version for EObject@-6v0: v-1
Worker-2 [debug.revision] Setting resourceID EObject@-6v-1: -2
Worker-2 [debug.view] Registering EObject@-6
Worker-2 [debug.transaction] Registering new object EObject@-6
Worker-2 [debug] Processing event ATTACH in state PREPARED for
EObject@-6 (data=null)
ModalContext [debug.transaction] commit()
[ERROR] NullPointerException
java.lang.NullPointerException
at
org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
at
org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
at ...

By the way you shouldnt close the editor on save if the save fails. at
least I wouldnt. (monitor.setCanceled(true) and the editor stays open
after save)

Regards Thomas
Re: [CDO] examples question [message #109343 is a reply to message #109330] Tue, 29 January 2008 19:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.eiswind.de

When I try to register my own simple ecore:

<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
<eClassifiers xsi:type="ecore:EClass" name="ValueList">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="values"
upperBound="-1"
eType="#//Value"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Value">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
</eClassifiers>
</ecore:EPackage>

I get

[ERROR] Failed to register package
file:/C:/Users/Thomas/workspace/test/model/default.ecore
java.lang.NullPointerException
at
org.eclipse.emf.internal.cdo.util.ModelUtil.getCDOType(Model Util.java:64)
at
org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOAttribu te(ModelUtil.java:212)
at
org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOFeature (ModelUtil.java:182)
at
org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOClass(M odelUtil.java:172)
at
org.eclipse.emf.internal.cdo.util.ModelUtil.initializeCDOPac kage(ModelUtil.java:104)
at
org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOPackage (ModelUtil.java:154)
Re: [CDO] examples question [message #109357 is a reply to message #109343] Tue, 29 January 2008 20:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Thomas,

When you think you are doing creating an Ecore model, be sure to
validate it. I.e., right click on the root EPackage and ensure your
model is well formed. In this case, neither of your attributes have a
type specified.

Thomas wrote:
> When I try to register my own simple ecore:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ecore:EPackage xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
> upperBound="-1"
> eType="#//Value"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Value">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
> </eClassifiers>
> </ecore:EPackage>
>
> I get
>
> [ERROR] Failed to register package
> file:/C:/Users/Thomas/workspace/test/model/default.ecore
> java.lang.NullPointerException
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.getCDOType(Model Util.java:64)
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOAttribu te(ModelUtil.java:212)
>
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOFeature (ModelUtil.java:182)
>
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOClass(M odelUtil.java:172)
>
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.initializeCDOPac kage(ModelUtil.java:104)
>
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOPackage (ModelUtil.java:154)
>
Re: [CDO] examples question [message #109365 is a reply to message #109357] Tue, 29 January 2008 20:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.eiswind.de

Thanks Ed. I see its obvious.

You see Im completely new to the whole EMF stuff ...


Ed Merks schrieb:
> Thomas,
>
> When you think you are doing creating an Ecore model, be sure to
> validate it. I.e., right click on the root EPackage and ensure your
> model is well formed. In this case, neither of your attributes have a
> type specified.
>
> Thomas wrote:
>> When I try to register my own simple ecore:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ecore:EPackage xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
>> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
>> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
>> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
>> upperBound="-1"
>> eType="#//Value"/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EClass" name="Value">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
>> </eClassifiers>
>> </ecore:EPackage>
>>
>> I get
>>
>> [ERROR] Failed to register package
>> file:/C:/Users/Thomas/workspace/test/model/default.ecore
>> java.lang.NullPointerException
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.getCDOType(Model Util.java:64)
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOAttribu te(ModelUtil.java:212)
>>
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOFeature (ModelUtil.java:182)
>>
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOClass(M odelUtil.java:172)
>>
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.initializeCDOPac kage(ModelUtil.java:104)
>>
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOPackage (ModelUtil.java:154)
>>
Re: [CDO] examples question [message #109378 is a reply to message #109357] Tue, 29 January 2008 20:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.eiswind.de

Please have patience with me...

Ed Merks schrieb:
> Thomas,
>
> When you think you are doing creating an Ecore model, be sure to
> validate it. I.e., right click on the root EPackage and ensure your
> model is well formed. In this case, neither of your attributes have a
> type specified.
>

OK I fixed this. Now I looks like
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
<eClassifiers xsi:type="ecore:EClass" name="ValueList">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="values"
upperBound="-1"
eType="#//Value"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Value">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>


I tried to add a ValueList (which I cant edit ?) and get the following
exception (-1) ??:



[ERROR] -1
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.set(Unknown Source)
at
org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
at
org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
at
org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
Re: [CDO] examples question [message #109391 is a reply to message #109378] Tue, 29 January 2008 20:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Thomas,

Don't worry. You'll know when my patience runs out! :-P


Thomas wrote:
> Please have patience with me...
>
> Ed Merks schrieb:
>> Thomas,
>>
>> When you think you are doing creating an Ecore model, be sure to
>> validate it. I.e., right click on the root EPackage and ensure your
>> model is well formed. In this case, neither of your attributes have
>> a type specified.
>>
>
> OK I fixed this. Now I looks like
> <?xml version="1.0" encoding="UTF-8"?>
> <ecore:EPackage xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
> upperBound="-1"
> eType="#//Value"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Value">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> </ecore:EPackage>
>
>
> I tried to add a ValueList (which I cant edit ?) and get the following
> exception (-1) ??:
>
>
>
> [ERROR] -1
> java.lang.ArrayIndexOutOfBoundsException: -1
> at java.util.ArrayList.set(Unknown Source)
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>
Re: [CDO] examples question [message #109405 is a reply to message #109391] Tue, 29 January 2008 20:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Ed,

Do you know when/why EAttribute.getFeatureID() returns -1?

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j



Ed Merks schrieb:
> Thomas,
>
> Don't worry. You'll know when my patience runs out! :-P
>
>
> Thomas wrote:
>> Please have patience with me...
>>
>> Ed Merks schrieb:
>>> Thomas,
>>>
>>> When you think you are doing creating an Ecore model, be sure to
>>> validate it. I.e., right click on the root EPackage and ensure your
>>> model is well formed. In this case, neither of your attributes have
>>> a type specified.
>>>
>>
>> OK I fixed this. Now I looks like
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ecore:EPackage xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
>> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
>> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>> eType="ecore:EDataType
>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
>> upperBound="-1"
>> eType="#//Value"/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EClass" name="Value">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>> eType="ecore:EDataType
>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>> </eClassifiers>
>> </ecore:EPackage>
>>
>>
>> I tried to add a ValueList (which I cant edit ?) and get the
>> following exception (-1) ??:
>>
>>
>>
>> [ERROR] -1
>> java.lang.ArrayIndexOutOfBoundsException: -1
>> at java.util.ArrayList.set(Unknown Source)
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>>
Re: [CDO] examples question [message #109432 is a reply to message #109405] Tue, 29 January 2008 20:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Eike,

The feature IDs of features on the DocumentRoot will be like this
(because often such features will be used in feature maps). Probably
you want to be using EClass.getFeatureID(feature).


Eike Stepper wrote:
> Ed,
>
> Do you know when/why EAttribute.getFeatureID() returns -1?
>
> Regards,
> Eike Stepper
> ----
> http://wiki.eclipse.org/CDO
> http://wiki.eclipse.org/Net4j
>
>
>
> Ed Merks schrieb:
>> Thomas,
>>
>> Don't worry. You'll know when my patience runs out! :-P
>>
>>
>> Thomas wrote:
>>> Please have patience with me...
>>>
>>> Ed Merks schrieb:
>>>> Thomas,
>>>>
>>>> When you think you are doing creating an Ecore model, be sure to
>>>> validate it. I.e., right click on the root EPackage and ensure
>>>> your model is well formed. In this case, neither of your
>>>> attributes have a type specified.
>>>>
>>>
>>> OK I fixed this. Now I looks like
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <ecore:EPackage xmi:version="2.0"
>>> xmlns:xmi="http://www.omg.org/XMI"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
>>> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
>>> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
>>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>>> eType="ecore:EDataType
>>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>>> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
>>> upperBound="-1"
>>> eType="#//Value"/>
>>> </eClassifiers>
>>> <eClassifiers xsi:type="ecore:EClass" name="Value">
>>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>>> eType="ecore:EDataType
>>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>>> </eClassifiers>
>>> </ecore:EPackage>
>>>
>>>
>>> I tried to add a ValueList (which I cant edit ?) and get the
>>> following exception (-1) ??:
>>>
>>>
>>>
>>> [ERROR] -1
>>> java.lang.ArrayIndexOutOfBoundsException: -1
>>> at java.util.ArrayList.set(Unknown Source)
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>>>
Re: [CDO] examples question [message #109444 is a reply to message #109330] Wed, 30 January 2008 08:56 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Eike,

I get the same NPE as Thomas in my first commit:

The problem seems to be that the ResourceDelta for my new object is
compared to the old one (which is null).
Here's the stack trace:


java.lang.NullPointerException
at
org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
at
org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
at
org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:285)
at
org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:1)
at
org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
at
org.eclipse.emf.internal.cdo.CDOTransactionImpl.preCommit(CD OTransactionImpl.java:426)
at
org.eclipse.emf.internal.cdo.CDOTransactionImpl.commit(CDOTr ansactionImpl.java:214)
at
de.feuh.st.requipse.project.RequipseModelFacade.addProject(R equipseModelFacade.java:26)

The problem is that the parameter originRevision is null.

Here is the console trace:

[a lot of added, created etc. omitted]
main [debug.revision] Setting version for RequipseProject@-4v0: v-1
main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
main [debug.object] Setting revision: RequipseProject@-4v-1
main [debug.view] Registering RequipseProject@-4
main [debug.transaction] Registering new object RequipseProject@-4
main [debug.object] ATTACH: RequipseProject@-4 --> CDOTransaction(1)
main [debug] Processing event ATTACH in state PREPARED for
RequipseProject@-4 (data=null)
main [debug.object] Setting state NEW for RequipseProject@-4
main [debug.object] WRITE:
org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
main [debug.object] getContainer(CDOResource@-2)
main [debug.object] READ: org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
main [debug.transaction] commit()
main [debug.object] Transfering instance to revision:
de.feuh.st.requipse.project.Requipse.impl.RequipseProjectImp l @e4cb7d
(name: <default>) --> RequipseProject@-4v-1
main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
main [debug.revision] Setting containerID RequipseProject@-4v-1: NULL
main [debug.revision] Setting containingFeatureID RequipseProject@-4v-1: 0

Here's my code (sorry, no highlighting today as I was working from a
fresh eclipse install. Will install Java2Html later this day ;-))

public void testStore() throws Exception {

IManagedContainer container = IPluginContainer.INSTANCE;
IJVMAcceptor acceptor = JVMUtil.getAcceptor(container, "default");
//IRepository repository = createRepository();

URL url =
Activator.getDefault().getBundle().getEntry("/configuration/cdo-config.xml ");
url = FileLocator.toFileURL(url);

IRepository repository = new
RepositoryConfigurator(container).configure(new File(url.toURI()))[0];



CDOServerUtil.addRepository(container, repository); // Start a CDO
// respository

IConnector connector = JVMUtil.getConnector(container, "default");
CDOSession session = CDOUtil.openSession(connector, repositoryName,
true);
CDOTransaction transaction = session.openTransaction();

Resource resource = transaction.createResource("/my/big/resource");

EObject inputModel = getInputModel();
resource.getContents().add(inputModel);
transaction.commit();
session.close();
LifecycleUtil.deactivate(repository);
LifecycleUtil.deactivate(connector);
LifecycleUtil.deactivate(acceptor);
}

private EObject getInputModel() {
RequipseFactory factory = RequipseFactory.INSTANCE;
RequipseProject p1 = factory.createRequipseProject();
p1.setName("<default>");
return p1;
}

(RequipseProject is a simple EMF class with one EAttribute name).

And the configuration:

<?xml version="1.0" encoding="UTF-8"?>
<cdoServer>

<!-- not used: -->
<acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
<!--
<negotiator type="challenge" description="/temp/users.db"/>
-->
</acceptor>

<repository name="requipse-repo">
<property name="overrideUUID"
value="1ff5d226-b1f0-40fb-aba2-0c31b38c764f"/>
<property name="supportingAudits" value="false"/>
<property name="verifyingRevisions" value="true"/>
<property name="currentLRUCapacity" value="10000"/>
<property name="revisedLRUCapacity" value="100"/>

<store type="db">
<!-- type: horizontal | vertical | <any user-contributed
type> -->
<mappingStrategy type="horizontal">
<!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS |
ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES -->
<property name="toManyReferences"
value="ONE_TABLE_PER_REFERENCE"/>

<!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES -->
<property name="toOneReferences" value="LIKE_ATTRIBUTES"/>

<!-- MODEL | STRATEGY -->
<property name="mappingPrecedence" value="MODEL"/>
</mappingStrategy>

<dbAdapter name="mysql"/>
<dataSource
class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
url="jdbc:mysql://localhost/requipse"
user="requipse" password="xxx" />
</store>
</repository>
</cdoServer>

I did not modify my model in any way (CDO-wise, that is) so no native
model as of now - if that plays a role.
I am using CVS HEAD.

Do both Thomas and I do something wrong?

Cheers,
Stefan






Thomas schrieb:
> I finally got my setup working. now i tried to create an object on the
> repo1 demo repository which always gives me:
>
> Worker-2 [debug] Processing event PREPARE in state TRANSIENT for
> EObject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
> Worker-2 [debug.revision] Setting version for EObject@-6v0: v-1
> Worker-2 [debug.revision] Setting resourceID EObject@-6v-1: -2
> Worker-2 [debug.view] Registering EObject@-6
> Worker-2 [debug.transaction] Registering new object EObject@-6
> Worker-2 [debug] Processing event ATTACH in state PREPARED for
> EObject@-6 (data=null)
> ModalContext [debug.transaction] commit()
> [ERROR] NullPointerException
> java.lang.NullPointerException
> at
> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>
> at
> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>
> at ...
>
> By the way you shouldnt close the editor on save if the save fails. at
> least I wouldnt. (monitor.setCanceled(true) and the editor stays open
> after save)
>
> Regards Thomas
Re: [CDO] examples question [message #109457 is a reply to message #109378] Wed, 30 January 2008 09:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

This is a multi-part message in MIME format.
--------------040003060200010007020301
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi Thomas,

I've filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=217047 for this
issue. Please CC yourself to stay informed.

I've generated your ecore model (see below) with the CDO migrator. The
resulting model and edit plugins are in CVS now. Please check them out
and update all other projects. The All.psf is also updated to reflect
the new plugins.

Then I've written a small test case (MangoTest.java):
|*public class *MangoTest *extends *AbstractCDOTest
{
*private *CDOSession openMangoSession()
{
CDOSession session = CDOUtil.openSession(getConnector(), REPOSITORY_NAME, *true*);
session.getPackageRegistry().putEPackage(MangoPackage.eINSTA NCE);
*return *session;
}

*public **void *testCommitNew() *throws *Exception
{
CDOSession session = openMangoSession();
CDOTransaction transaction = session.openTransaction();
CDOResource resource = transaction.createResource("/test1");

Value v1 = MangoFactory.eINSTANCE.createValue();
v1.setName("v1");
resource.getContents().add(v1);

Value v2 = MangoFactory.eINSTANCE.createValue();
v2.setName("v2");
resource.getContents().add(v2);

ValueList list = MangoFactory.eINSTANCE.createValueList();
list.setName("List");
list.getValues().add(v1);
list.getValues().add(v2);
resource.getContents().add(list);

transaction.commit();
assertEquals(CDOState.CLEAN, resource.cdoState());
assertEquals(CDOState.CLEAN, list.cdoState());
assertEquals(CDOState.CLEAN, v1.cdoState());
assertEquals(CDOState.CLEAN, v2.cdoState());
session.close();
}
}|


This test case works without any problems and even manual testing with
the CDO user interface works normally. Could you please verify if the
above test works for you? If not, I'll need more infos like your test
code, and a full log.

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j



Thomas schrieb:
> Please have patience with me...
>
> Ed Merks schrieb:
>> Thomas,
>>
>> When you think you are doing creating an Ecore model, be sure to
>> validate it. I.e., right click on the root EPackage and ensure your
>> model is well formed. In this case, neither of your attributes have
>> a type specified.
>>
>
> OK I fixed this. Now I looks like
> <?xml version="1.0" encoding="UTF-8"?>
> <ecore:EPackage xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
> upperBound="-1"
> eType="#//Value"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Value">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> </ecore:EPackage>
>
>
> I tried to add a ValueList (which I cant edit ?) and get the following
> exception (-1) ??:
>
>
>
> [ERROR] -1
> java.lang.ArrayIndexOutOfBoundsException: -1
> at java.util.ArrayList.set(Unknown Source)
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>

--------------040003060200010007020301
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Thomas,<br>
<br>
I've filed <a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=217047">https://bugs.eclipse.org/bugs/show_bug.cgi?id=217047</a> for
this issue. Please CC yourself to stay informed.<br>
<br>
I've generated your ecore model (see below) with the CDO migrator. The
resulting model and edit plugins are in CVS now. Please check them out
and update all other projects. The All.psf is also updated to reflect
the new plugins.<br>
<br>
Then I've written a small test case (MangoTest.java):<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = -->
<!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top"> <code><font color="#7f0055"><b>public
Re: [CDO] examples question [message #109486 is a reply to message #109444] Wed, 30 January 2008 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

This is a multi-part message in MIME format.
--------------000308080100030603080202
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi Stefan,

This is a good example for the value of *full* stack traces ;-)
Thomas only gave me the upper two frames and I didn't see anything
malicious.
But the following frame indicates that you probably forgot to generate
your model for CDO (native):
at
org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)


I remember that you noticed the info message "Legacy system unavailable"
before.
Since you're interested in the lazy-unloading feature of CDO you have to
use native models (base class is CDOObjectImpl, not CDOLegacyImpl).

It's really easy to create native models:
- If your genmodel already exists, use the CDO Migrator plugin.
Right-click your genmodel, select menu "CDO" and then action "Migrate
EMF Model". Regenerate.
- Even easier to create a new native genmodel:



Can you please retry and report if it works?

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j


Stefan Winkler schrieb:
> Hi Eike,
>
> I get the same NPE as Thomas in my first commit:
>
> The problem seems to be that the ResourceDelta for my new object is
> compared to the old one (which is null).
> Here's the stack trace:
>
>
> java.lang.NullPointerException
> at
> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>
> at
> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>
> at
> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:285)
>
> at
> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:1)
>
> at
> org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
>
> at
> org.eclipse.emf.internal.cdo.CDOTransactionImpl.preCommit(CD OTransactionImpl.java:426)
>
> at
> org.eclipse.emf.internal.cdo.CDOTransactionImpl.commit(CDOTr ansactionImpl.java:214)
>
> at
> de.feuh.st.requipse.project.RequipseModelFacade.addProject(R equipseModelFacade.java:26)
>
>
> The problem is that the parameter originRevision is null.
>
> Here is the console trace:
>
> [a lot of added, created etc. omitted]
> main [debug.revision] Setting version for RequipseProject@-4v0: v-1
> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
> main [debug.object] Setting revision: RequipseProject@-4v-1
> main [debug.view] Registering RequipseProject@-4
> main [debug.transaction] Registering new object RequipseProject@-4
> main [debug.object] ATTACH: RequipseProject@-4 --> CDOTransaction(1)
> main [debug] Processing event ATTACH in state PREPARED for
> RequipseProject@-4 (data=null)
> main [debug.object] Setting state NEW for RequipseProject@-4
> main [debug.object] WRITE:
> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
> main [debug.object] getContainer(CDOResource@-2)
> main [debug.object] READ:
> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
> main [debug.transaction] commit()
> main [debug.object] Transfering instance to revision:
> de.feuh.st.requipse.project.Requipse.impl.RequipseProjectImp l @e4cb7d
> (name: <default>) --> RequipseProject@-4v-1
> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
> main [debug.revision] Setting containerID RequipseProject@-4v-1: NULL
> main [debug.revision] Setting containingFeatureID
> RequipseProject@-4v-1: 0
>
> Here's my code (sorry, no highlighting today as I was working from a
> fresh eclipse install. Will install Java2Html later this day ;-))
>
> public void testStore() throws Exception {
>
> IManagedContainer container = IPluginContainer.INSTANCE;
> IJVMAcceptor acceptor = JVMUtil.getAcceptor(container, "default");
> //IRepository repository = createRepository();
> URL url =
> Activator.getDefault().getBundle().getEntry("/configuration/cdo-config.xml ");
>
> url = FileLocator.toFileURL(url);
> IRepository repository = new
> RepositoryConfigurator(container).configure(new File(url.toURI()))[0];
>
> CDOServerUtil.addRepository(container, repository);
> // Start a CDO
> // respository
>
> IConnector connector = JVMUtil.getConnector(container, "default");
> CDOSession session = CDOUtil.openSession(connector,
> repositoryName,
> true);
> CDOTransaction transaction = session.openTransaction();
>
> Resource resource =
> transaction.createResource("/my/big/resource");
>
> EObject inputModel = getInputModel();
> resource.getContents().add(inputModel);
> transaction.commit();
> session.close();
> LifecycleUtil.deactivate(repository);
> LifecycleUtil.deactivate(connector);
> LifecycleUtil.deactivate(acceptor);
> }
> private EObject getInputModel() {
> RequipseFactory factory = RequipseFactory.INSTANCE;
> RequipseProject p1 = factory.createRequipseProject();
> p1.setName("<default>");
> return p1;
> }
>
> (RequipseProject is a simple EMF class with one EAttribute name).
>
> And the configuration:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <cdoServer>
>
> <!-- not used: -->
> <acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
> <!--
> <negotiator type="challenge" description="/temp/users.db"/>
> -->
> </acceptor>
>
> <repository name="requipse-repo">
> <property name="overrideUUID"
> value="1ff5d226-b1f0-40fb-aba2-0c31b38c764f"/>
> <property name="supportingAudits" value="false"/>
> <property name="verifyingRevisions" value="true"/>
> <property name="currentLRUCapacity" value="10000"/>
> <property name="revisedLRUCapacity" value="100"/>
> <store type="db">
> <!-- type: horizontal | vertical | <any user-contributed
> type> -->
> <mappingStrategy type="horizontal">
> <!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS |
> ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES -->
> <property name="toManyReferences"
> value="ONE_TABLE_PER_REFERENCE"/>
>
> <!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES -->
> <property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
> <!-- MODEL | STRATEGY -->
> <property name="mappingPrecedence" value="MODEL"/>
> </mappingStrategy>
> <dbAdapter name="mysql"/>
> <dataSource
> class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
> url="jdbc:mysql://localhost/requipse"
> user="requipse" password="xxx" />
> </store> </repository>
> </cdoServer>
>
> I did not modify my model in any way (CDO-wise, that is) so no native
> model as of now - if that plays a role.
> I am using CVS HEAD.
>
> Do both Thomas and I do something wrong?
>
> Cheers,
> Stefan
>
>
>
>
>
>
> Thomas schrieb:
>> I finally got my setup working. now i tried to create an object on
>> the repo1 demo repository which always gives me:
>>
>> Worker-2 [debug] Processing event PREPARE in state TRANSIENT for
>> EObject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
>> Worker-2 [debug.revision] Setting version for EObject@-6v0: v-1
>> Worker-2 [debug.revision] Setting resourceID EObject@-6v-1: -2
>> Worker-2 [debug.view] Registering EObject@-6
>> Worker-2 [debug.transaction] Registering new object EObject@-6
>> Worker-2 [debug] Processing event ATTACH in state PREPARED for
>> EObject@-6 (data=null)
>> ModalContext [debug.transaction] commit()
>> [ERROR] NullPointerException
>> java.lang.NullPointerException
>> at
>> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>>
>> at
>> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>>
>> at ...
>>
>> By the way you shouldnt close the editor on save if the save fails.
>> at least I wouldnt. (monitor.setCanceled(true) and the editor stays
>> open after save)
>>
>> Regards Thomas

--------------000308080100030603080202
Content-Type: multipart/related;
boundary="------------040900090303060604080302"


--------------040900090303060604080302
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Stefan,<br>
<br>
This is a good example for the value of *full* stack traces ;-)<br>
Thomas only gave me the upper two frames and I didn't see anything
malicious.<br>
But the following frame indicates that you probably forgot to generate
your model for CDO (native):<br>
Re: [CDO] examples question [message #109550 is a reply to message #109457] Wed, 30 January 2008 10:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.eiswind.de

HI Eike,

I guess I have to export to plugins and put them in my installation for
that :) by now I didnt have the cdo migrator in my eclispe installation
as I followed your hints to run the examples from the workspace. You
really should setup a small tutorial, think it would help you to get spread.

But as always thank for your help. I took some time tonight to look into
your db code. I'm really not happy with it. I would love to do some more
investigations on that, but I dont know how much time I have before I
have to earn some money again. I would love to see integration with
teneo, but I see some problems there.

Eike Stepper schrieb:
> Hi Thomas,
>
> I've filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=217047 for this
> issue. Please CC yourself to stay informed.
>
> I've generated your ecore model (see below) with the CDO migrator. The
> resulting model and edit plugins are in CVS now. Please check them out
> and update all other projects. The All.psf is also updated to reflect
> the new plugins.
>
> Then I've written a small test case (MangoTest.java):
> |*public class *MangoTest *extends *AbstractCDOTest
> {
> *private *CDOSession openMangoSession()
> {
> CDOSession session = CDOUtil.openSession(getConnector(), REPOSITORY_NAME, *true*);
> session.getPackageRegistry().putEPackage(MangoPackage.eINSTA NCE);
> *return *session;
> }
>
> *public **void *testCommitNew() *throws *Exception
> {
> CDOSession session = openMangoSession();
> CDOTransaction transaction = session.openTransaction();
> CDOResource resource = transaction.createResource("/test1");
>
> Value v1 = MangoFactory.eINSTANCE.createValue();
> v1.setName("v1");
> resource.getContents().add(v1);
>
> Value v2 = MangoFactory.eINSTANCE.createValue();
> v2.setName("v2");
> resource.getContents().add(v2);
>
> ValueList list = MangoFactory.eINSTANCE.createValueList();
> list.setName("List");
> list.getValues().add(v1);
> list.getValues().add(v2);
> resource.getContents().add(list);
>
> transaction.commit();
> assertEquals(CDOState.CLEAN, resource.cdoState());
> assertEquals(CDOState.CLEAN, list.cdoState());
> assertEquals(CDOState.CLEAN, v1.cdoState());
> assertEquals(CDOState.CLEAN, v2.cdoState());
> session.close();
> }
> }|
>
>
> This test case works without any problems and even manual testing with
> the CDO user interface works normally. Could you please verify if the
> above test works for you? If not, I'll need more infos like your test
> code, and a full log.
>
> Regards,
> Eike Stepper
> ----
> http://wiki.eclipse.org/CDO
> http://wiki.eclipse.org/Net4j
>
>
>
> Thomas schrieb:
>> Please have patience with me...
>>
>> Ed Merks schrieb:
>>> Thomas,
>>>
>>> When you think you are doing creating an Ecore model, be sure to
>>> validate it. I.e., right click on the root EPackage and ensure your
>>> model is well formed. In this case, neither of your attributes have
>>> a type specified.
>>>
>>
>> OK I fixed this. Now I looks like
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ecore:EPackage xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
>> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
>> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
>> upperBound="-1"
>> eType="#//Value"/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EClass" name="Value">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>> </eClassifiers>
>> </ecore:EPackage>
>>
>>
>> I tried to add a ValueList (which I cant edit ?) and get the following
>> exception (-1) ??:
>>
>>
>>
>> [ERROR] -1
>> java.lang.ArrayIndexOutOfBoundsException: -1
>> at java.util.ArrayList.set(Unknown Source)
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>>
Re: [CDO] examples question [message #109563 is a reply to message #109550] Wed, 30 January 2008 10:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Thomas schrieb:
> HI Eike,
>
> I guess I have to export to plugins and put them in my installation
> for that :) by now I didnt have the cdo migrator in my eclispe
> installation as I followed your hints to run the examples from the
> workspace. You really should setup a small tutorial, think it would
> help you to get spread.
Granted ;-)
There's even a tutorial for the model preparation/migration available at
http://wiki.eclipse.org/Preparing_EMF_Models_for_CDO

>
> But as always thank for your help. I took some time tonight to look
> into your db code. I'm really not happy with it.
Can you give a bit more details what doesn't make you happy? The fact
that CDO comes with an own mapping engine or the way I implemented it?

> I would love to do some more investigations on that, but I dont know
> how much time I have before I have to earn some money again. I would
> love to see integration with teneo, but I see some problems there.
May be we can form a task force for Hibernate integration with CDO?

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j


>
> Eike Stepper schrieb:
>> Hi Thomas,
>>
>> I've filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=217047 for
>> this issue. Please CC yourself to stay informed.
>>
>> I've generated your ecore model (see below) with the CDO migrator.
>> The resulting model and edit plugins are in CVS now. Please check
>> them out and update all other projects. The All.psf is also updated
>> to reflect the new plugins.
>>
>> Then I've written a small test case (MangoTest.java):
>> |*public class *MangoTest *extends *AbstractCDOTest
>> {
>> *private *CDOSession openMangoSession()
>> {
>> CDOSession session = CDOUtil.openSession(getConnector(),
>> REPOSITORY_NAME, *true*);
>> session.getPackageRegistry().putEPackage(MangoPackage.eINSTA NCE);
>> *return *session;
>> }
>>
>> *public **void *testCommitNew() *throws *Exception
>> {
>> CDOSession session = openMangoSession();
>> CDOTransaction transaction = session.openTransaction();
>> CDOResource resource = transaction.createResource("/test1");
>>
>> Value v1 = MangoFactory.eINSTANCE.createValue();
>> v1.setName("v1");
>> resource.getContents().add(v1);
>>
>> Value v2 = MangoFactory.eINSTANCE.createValue();
>> v2.setName("v2");
>> resource.getContents().add(v2);
>>
>> ValueList list = MangoFactory.eINSTANCE.createValueList();
>> list.setName("List");
>> list.getValues().add(v1);
>> list.getValues().add(v2);
>> resource.getContents().add(list);
>>
>> transaction.commit();
>> assertEquals(CDOState.CLEAN, resource.cdoState());
>> assertEquals(CDOState.CLEAN, list.cdoState());
>> assertEquals(CDOState.CLEAN, v1.cdoState());
>> assertEquals(CDOState.CLEAN, v2.cdoState());
>> session.close();
>> }
>> }|
>>
>>
>> This test case works without any problems and even manual testing
>> with the CDO user interface works normally. Could you please verify
>> if the above test works for you? If not, I'll need more infos like
>> your test code, and a full log.
>>
>> Regards,
>> Eike Stepper
>> ----
>> http://wiki.eclipse.org/CDO
>> http://wiki.eclipse.org/Net4j
>>
>>
>>
>> Thomas schrieb:
>>> Please have patience with me...
>>>
>>> Ed Merks schrieb:
>>>> Thomas,
>>>>
>>>> When you think you are doing creating an Ecore model, be sure to
>>>> validate it. I.e., right click on the root EPackage and ensure
>>>> your model is well formed. In this case, neither of your
>>>> attributes have a type specified.
>>>>
>>>
>>> OK I fixed this. Now I looks like
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <ecore:EPackage xmi:version="2.0"
>>> xmlns:xmi="http://www.omg.org/XMI"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
>>> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
>>> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
>>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>>> eType="ecore:EDataType
>>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>>> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
>>> upperBound="-1"
>>> eType="#//Value"/>
>>> </eClassifiers>
>>> <eClassifiers xsi:type="ecore:EClass" name="Value">
>>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>>> eType="ecore:EDataType
>>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>>> </eClassifiers>
>>> </ecore:EPackage>
>>>
>>>
>>> I tried to add a ValueList (which I cant edit ?) and get the
>>> following exception (-1) ??:
>>>
>>>
>>>
>>> [ERROR] -1
>>> java.lang.ArrayIndexOutOfBoundsException: -1
>>> at java.util.ArrayList.set(Unknown Source)
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>>>
Re: [CDO] examples question [message #109691 is a reply to message #109486] Wed, 30 January 2008 13:05 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Eike,

here comes the next full stack trace :-)
I recreated my genmodel and completely deleted the model code and
re-generated it (just to be sure).

I now get into the container thread, but in
CDOClassRefImpl.resolve(CDOPackageManager packageManager) the line

CDOPackageImpl cdoPackage =
(CDOPackageImpl)packageManager.lookupPackage(packageURI);

-- where packageURI is the URI of my model package -- fails and returns
null, causing resolve to return null resulting in a

java.lang.IllegalStateException: ClassRef unresolveable:
CDOClassRef(http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, 0)
at
org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl. <init>(CDORevisionImpl.java:112)
at
org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.readRevisions(CommitTransactionIndication.java: 255)
at
org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.readNewObjects(CommitTransactionIndication.java :224)
at
org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.indicating(CommitTransactionIndication.java:114 )
at
org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:46)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:143)
at org.eclipse.net4j.signal.Signal.run(Signal.java:124)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)


The trace messages leading up to this are:

main [debug.transaction] commit()
main [debug.signal] ================ Requesting CommitTransactionRequest
main [debug.buffer] Created Buffer@43
main [debug.buffer] Obtained Buffer@43
main [debug.buffer.stream] Put signal id 12
main [debug.protocol] Writing 0 new packages
main [debug.protocol] Writing 1 new resources
main [debug.revision] Writing revision: ID=-2,
classRef=CDOClassRef(http://www.eclipse.org/emf/CDO/resource/1.0.0, 0),
className=CDOResource, version=1, created=0, revised=0, resource=-2,
container=NULL, feature=0
main [debug.revision] Writing feature CDOFeature(ID=9, name=path,
type=STRING, referenceType=null): /requipse/projects
main [debug.revision] Writing feature CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)): size=0
main [debug.protocol] Writing 0 new objects
main [debug.protocol] Writing 0 revision deltas
main [debug.channel] Handling buffer from client: Buffer@43 --> Channel[1]
main [debug] Multiplexing 00 00 00 00 00 00 00 03 00 0c 00 00 00 01 00
00 00 00 00 00 00 01 01 00 2d 68 74 74 70 3a 2f 2f 77 77 77 2e 65 63 6c
69 70 73 65 2e 6f 72 67 2f 65 6d 66 2f 43 44 4f 2f 72 65 73 6f 75 72 63
65 2f 31 2e 30 2e 30 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 01
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
00 00 00 00 00 00 00 00 00 00 00 00 01 00 12 2f 72 65 71 75 69 70 73 65
2f 70 72 6f 6a 65 63 74 73 00 00 00 00 00 00 00 00 00 00 00 00 00
main [debug.channel] Handling buffer from multiplexer: Buffer@43 -->
Channel[1]
main [debug.signal] ================ Confirming CommitTransactionRequest
ReceiveSerializer1 [debug.signal] Received buffer for correlation 3
ReceiveSerializer1 [debug.signal] Got signal id 12
Thread-5 [debug.signal] ================ Indicating
CommitTransactionIndication
Thread-5 [debug.protocol] Reading 0 new packages
Thread-5 [debug.protocol] Reading 1 new resources
[ERROR] ClassRef unresolveable:
CDOClassRef(http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, 0)


any hints about what goes wrong?


Cheers,
Stefan






Eike Stepper schrieb:
> Hi Stefan,
>
> This is a good example for the value of *full* stack traces ;-)
> Thomas only gave me the upper two frames and I didn't see anything
> malicious.
> But the following frame indicates that you probably forgot to generate
> your model for CDO (native):
> at
> org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
>
>
> I remember that you noticed the info message "Legacy system
> unavailable" before.
> Since you're interested in the lazy-unloading feature of CDO you have
> to use native models (base class is CDOObjectImpl, not CDOLegacyImpl).
>
> It's really easy to create native models:
> - If your genmodel already exists, use the CDO Migrator plugin.
> Right-click your genmodel, select menu "CDO" and then action "Migrate
> EMF Model". Regenerate.
> - Even easier to create a new native genmodel:
>
>
>
> Can you please retry and report if it works?
>
> Regards,
> Eike Stepper
> ----
> http://wiki.eclipse.org/CDO
> http://wiki.eclipse.org/Net4j
>
>
> Stefan Winkler schrieb:
>> Hi Eike,
>>
>> I get the same NPE as Thomas in my first commit:
>>
>> The problem seems to be that the ResourceDelta for my new object is
>> compared to the old one (which is null).
>> Here's the stack trace:
>>
>>
>> java.lang.NullPointerException
>> at
>> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>>
>> at
>> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:285)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:1)
>>
>> at
>> org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
>>
>> at
>> org.eclipse.emf.internal.cdo.CDOTransactionImpl.preCommit(CD OTransactionImpl.java:426)
>>
>> at
>> org.eclipse.emf.internal.cdo.CDOTransactionImpl.commit(CDOTr ansactionImpl.java:214)
>>
>> at
>> de.feuh.st.requipse.project.RequipseModelFacade.addProject(R equipseModelFacade.java:26)
>>
>>
>> The problem is that the parameter originRevision is null.
>>
>> Here is the console trace:
>>
>> [a lot of added, created etc. omitted]
>> main [debug.revision] Setting version for RequipseProject@-4v0: v-1
>> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
>> main [debug.object] Setting revision: RequipseProject@-4v-1
>> main [debug.view] Registering RequipseProject@-4
>> main [debug.transaction] Registering new object RequipseProject@-4
>> main [debug.object] ATTACH: RequipseProject@-4 --> CDOTransaction(1)
>> main [debug] Processing event ATTACH in state PREPARED for
>> RequipseProject@-4 (data=null)
>> main [debug.object] Setting state NEW for RequipseProject@-4
>> main [debug.object] WRITE:
>> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
>> main [debug.object] getContainer(CDOResource@-2)
>> main [debug.object] READ:
>> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
>> main [debug.transaction] commit()
>> main [debug.object] Transfering instance to revision:
>> de.feuh.st.requipse.project.Requipse.impl.RequipseProjectImp l @e4cb7d
>> (name: <default>) --> RequipseProject@-4v-1
>> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
>> main [debug.revision] Setting containerID RequipseProject@-4v-1: NULL
>> main [debug.revision] Setting containingFeatureID
>> RequipseProject@-4v-1: 0
>>
>> Here's my code (sorry, no highlighting today as I was working from a
>> fresh eclipse install. Will install Java2Html later this day ;-))
>>
>> public void testStore() throws Exception {
>>
>> IManagedContainer container = IPluginContainer.INSTANCE;
>> IJVMAcceptor acceptor = JVMUtil.getAcceptor(container,
>> "default");
>> //IRepository repository = createRepository();
>> URL url =
>> Activator.getDefault().getBundle().getEntry("/configuration/cdo-config.xml ");
>>
>> url = FileLocator.toFileURL(url);
>> IRepository repository = new
>> RepositoryConfigurator(container).configure(new File(url.toURI()))[0];
>>
>> CDOServerUtil.addRepository(container,
>> repository); // Start a CDO
>> //
>> respository
>>
>> IConnector connector = JVMUtil.getConnector(container,
>> "default");
>> CDOSession session = CDOUtil.openSession(connector,
>> repositoryName,
>> true);
>> CDOTransaction transaction = session.openTransaction();
>>
>> Resource resource =
>> transaction.createResource("/my/big/resource");
>>
>> EObject inputModel = getInputModel();
>> resource.getContents().add(inputModel);
>> transaction.commit();
>> session.close();
>> LifecycleUtil.deactivate(repository);
>> LifecycleUtil.deactivate(connector);
>> LifecycleUtil.deactivate(acceptor);
>> }
>> private EObject getInputModel() {
>> RequipseFactory factory = RequipseFactory.INSTANCE;
>> RequipseProject p1 = factory.createRequipseProject();
>> p1.setName("<default>");
>> return p1;
>> }
>>
>> (RequipseProject is a simple EMF class with one EAttribute name).
>>
>> And the configuration:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <cdoServer>
>>
>> <!-- not used: -->
>> <acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
>> <!--
>> <negotiator type="challenge" description="/temp/users.db"/>
>> -->
>> </acceptor>
>>
>> <repository name="requipse-repo">
>> <property name="overrideUUID"
>> value="1ff5d226-b1f0-40fb-aba2-0c31b38c764f"/>
>> <property name="supportingAudits" value="false"/>
>> <property name="verifyingRevisions" value="true"/>
>> <property name="currentLRUCapacity" value="10000"/>
>> <property name="revisedLRUCapacity" value="100"/>
>> <store type="db">
>> <!-- type: horizontal | vertical | <any user-contributed
>> type> -->
>> <mappingStrategy type="horizontal">
>> <!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS |
>> ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES -->
>> <property name="toManyReferences"
>> value="ONE_TABLE_PER_REFERENCE"/>
>>
>> <!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES -->
>> <property name="toOneReferences"
>> value="LIKE_ATTRIBUTES"/>
>> <!-- MODEL | STRATEGY -->
>> <property name="mappingPrecedence" value="MODEL"/>
>> </mappingStrategy>
>> <dbAdapter name="mysql"/>
>> <dataSource
>> class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
>> url="jdbc:mysql://localhost/requipse"
>> user="requipse" password="xxx" />
>> </store> </repository>
>> </cdoServer>
>>
>> I did not modify my model in any way (CDO-wise, that is) so no native
>> model as of now - if that plays a role.
>> I am using CVS HEAD.
>>
>> Do both Thomas and I do something wrong?
>>
>> Cheers,
>> Stefan
>>
>>
>>
>>
>>
>>
>> Thomas schrieb:
>>> I finally got my setup working. now i tried to create an object on
>>> the repo1 demo repository which always gives me:
>>>
>>> Worker-2 [debug] Processing event PREPARE in state TRANSIENT for
>>> EObject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
>>> Worker-2 [debug.revision] Setting version for EObject@-6v0: v-1
>>> Worker-2 [debug.revision] Setting resourceID EObject@-6v-1: -2
>>> Worker-2 [debug.view] Registering EObject@-6
>>> Worker-2 [debug.transaction] Registering new object EObject@-6
>>> Worker-2 [debug] Processing event ATTACH in state PREPARED for
>>> EObject@-6 (data=null)
>>> ModalContext [debug.transaction] commit()
>>> [ERROR] NullPointerException
>>> java.lang.NullPointerException
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>>>
>>> at
>>> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>>>
>>> at ...
>>>
>>> By the way you shouldnt close the editor on save if the save fails.
>>> at least I wouldnt. (monitor.setCanceled(true) and the editor stays
>>> open after save)
>>>
>>> Regards Thomas
Re: [CDO] examples question [message #110038 is a reply to message #109691] Wed, 30 January 2008 13:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Hi Stefan,

I'm not completely sure, since the log is not complete (starts with commit).
But have you also recreated your db? There might be old meta data about
your model!

I stumbled about this log line:
main [debug.protocol] Writing 0 new packages

If this commit operation is the first with your new native model, it
(the model) should be committed as well.
The reason that it's not, could be that the previous model is still
registered in the repository...

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j






Stefan Winkler schrieb:
> Hi Eike,
>
> here comes the next full stack trace :-)
> I recreated my genmodel and completely deleted the model code and
> re-generated it (just to be sure).
>
> I now get into the container thread, but in
> CDOClassRefImpl.resolve(CDOPackageManager packageManager) the line
>
> CDOPackageImpl cdoPackage =
> (CDOPackageImpl)packageManager.lookupPackage(packageURI);
>
> -- where packageURI is the URI of my model package -- fails and
> returns null, causing resolve to return null resulting in a
>
> java.lang.IllegalStateException: ClassRef unresolveable:
> CDOClassRef(http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, 0)
> at
> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl. <init>(CDORevisionImpl.java:112)
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.readRevisions(CommitTransactionIndication.java: 255)
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.readNewObjects(CommitTransactionIndication.java :224)
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.indicating(CommitTransactionIndication.java:114 )
>
> at
> org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:46)
>
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:143)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:124)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:885)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:907)
>
> at java.lang.Thread.run(Thread.java:619)
>
>
> The trace messages leading up to this are:
>
> main [debug.transaction] commit()
> main [debug.signal] ================ Requesting CommitTransactionRequest
> main [debug.buffer] Created Buffer@43
> main [debug.buffer] Obtained Buffer@43
> main [debug.buffer.stream] Put signal id 12
> main [debug.protocol] Writing 0 new packages
> main [debug.protocol] Writing 1 new resources
> main [debug.revision] Writing revision: ID=-2,
> classRef=CDOClassRef(http://www.eclipse.org/emf/CDO/resource/1.0.0,
> 0), className=CDOResource, version=1, created=0, revised=0,
> resource=-2, container=NULL, feature=0
> main [debug.revision] Writing feature CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null): /requipse/projects
> main [debug.revision] Writing feature CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)): size=0
> main [debug.protocol] Writing 0 new objects
> main [debug.protocol] Writing 0 revision deltas
> main [debug.channel] Handling buffer from client: Buffer@43 -->
> Channel[1]
> main [debug] Multiplexing 00 00 00 00 00 00 00 03 00 0c 00 00 00 01 00
> 00 00 00 00 00 00 01 01 00 2d 68 74 74 70 3a 2f 2f 77 77 77 2e 65 63
> 6c 69 70 73 65 2e 6f 72 67 2f 65 6d 66 2f 43 44 4f 2f 72 65 73 6f 75
> 72 63 65 2f 31 2e 30 2e 30 00 00 00 00 00 00 00 00 00 00 00 00 01 00
> 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 01 00 12 2f 72 65 71
> 75 69 70 73 65 2f 70 72 6f 6a 65 63 74 73 00 00 00 00 00 00 00 00 00
> 00 00 00 00
> main [debug.channel] Handling buffer from multiplexer: Buffer@43 -->
> Channel[1]
> main [debug.signal] ================ Confirming CommitTransactionRequest
> ReceiveSerializer1 [debug.signal] Received buffer for correlation 3
> ReceiveSerializer1 [debug.signal] Got signal id 12
> Thread-5 [debug.signal] ================ Indicating
> CommitTransactionIndication
> Thread-5 [debug.protocol] Reading 0 new packages
> Thread-5 [debug.protocol] Reading 1 new resources
> [ERROR] ClassRef unresolveable:
> CDOClassRef(http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, 0)
>
>
> any hints about what goes wrong?
>
>
> Cheers,
> Stefan
>
>
>
>
>
>
> Eike Stepper schrieb:
>> Hi Stefan,
>>
>> This is a good example for the value of *full* stack traces ;-)
>> Thomas only gave me the upper two frames and I didn't see anything
>> malicious.
>> But the following frame indicates that you probably forgot to
>> generate your model for CDO (native):
>> at
>> org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
>>
>>
>> I remember that you noticed the info message "Legacy system
>> unavailable" before.
>> Since you're interested in the lazy-unloading feature of CDO you have
>> to use native models (base class is CDOObjectImpl, not CDOLegacyImpl).
>>
>> It's really easy to create native models:
>> - If your genmodel already exists, use the CDO Migrator plugin.
>> Right-click your genmodel, select menu "CDO" and then action "Migrate
>> EMF Model". Regenerate.
>> - Even easier to create a new native genmodel:
>>
>>
>>
>> Can you please retry and report if it works?
>>
>> Regards,
>> Eike Stepper
>> ----
>> http://wiki.eclipse.org/CDO
>> http://wiki.eclipse.org/Net4j
>>
>>
>> Stefan Winkler schrieb:
>>> Hi Eike,
>>>
>>> I get the same NPE as Thomas in my first commit:
>>>
>>> The problem seems to be that the ResourceDelta for my new object is
>>> compared to the old one (which is null).
>>> Here's the stack trace:
>>>
>>>
>>> java.lang.NullPointerException
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>>>
>>> at
>>> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:285)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:1)
>>>
>>> at
>>> org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
>>>
>>> at
>>> org.eclipse.emf.internal.cdo.CDOTransactionImpl.preCommit(CD OTransactionImpl.java:426)
>>>
>>> at
>>> org.eclipse.emf.internal.cdo.CDOTransactionImpl.commit(CDOTr ansactionImpl.java:214)
>>>
>>> at
>>> de.feuh.st.requipse.project.RequipseModelFacade.addProject(R equipseModelFacade.java:26)
>>>
>>>
>>> The problem is that the parameter originRevision is null.
>>>
>>> Here is the console trace:
>>>
>>> [a lot of added, created etc. omitted]
>>> main [debug.revision] Setting version for RequipseProject@-4v0: v-1
>>> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
>>> main [debug.object] Setting revision: RequipseProject@-4v-1
>>> main [debug.view] Registering RequipseProject@-4
>>> main [debug.transaction] Registering new object RequipseProject@-4
>>> main [debug.object] ATTACH: RequipseProject@-4 --> CDOTransaction(1)
>>> main [debug] Processing event ATTACH in state PREPARED for
>>> RequipseProject@-4 (data=null)
>>> main [debug.object] Setting state NEW for RequipseProject@-4
>>> main [debug.object] WRITE:
>>> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
>>> main [debug.object] getContainer(CDOResource@-2)
>>> main [debug.object] READ:
>>> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
>>> main [debug.transaction] commit()
>>> main [debug.object] Transfering instance to revision:
>>> de.feuh.st.requipse.project.Requipse.impl.RequipseProjectImp l @e4cb7d
>>> (name: <default>) --> RequipseProject@-4v-1
>>> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
>>> main [debug.revision] Setting containerID RequipseProject@-4v-1: NULL
>>> main [debug.revision] Setting containingFeatureID
>>> RequipseProject@-4v-1: 0
>>>
>>> Here's my code (sorry, no highlighting today as I was working from a
>>> fresh eclipse install. Will install Java2Html later this day ;-))
>>>
>>> public void testStore() throws Exception {
>>>
>>> IManagedContainer container = IPluginContainer.INSTANCE;
>>> IJVMAcceptor acceptor = JVMUtil.getAcceptor(container,
>>> "default");
>>> //IRepository repository = createRepository();
>>> URL url =
>>> Activator.getDefault().getBundle().getEntry("/configuration/cdo-config.xml ");
>>>
>>> url = FileLocator.toFileURL(url);
>>> IRepository repository = new
>>> RepositoryConfigurator(container).configure(new File(url.toURI()))[0];
>>>
>>> CDOServerUtil.addRepository(container,
>>> repository); // Start a CDO
>>> //
>>> respository
>>>
>>> IConnector connector = JVMUtil.getConnector(container,
>>> "default");
>>> CDOSession session = CDOUtil.openSession(connector,
>>> repositoryName,
>>> true);
>>> CDOTransaction transaction = session.openTransaction();
>>>
>>> Resource resource =
>>> transaction.createResource("/my/big/resource");
>>>
>>> EObject inputModel = getInputModel();
>>> resource.getContents().add(inputModel);
>>> transaction.commit();
>>> session.close();
>>> LifecycleUtil.deactivate(repository);
>>> LifecycleUtil.deactivate(connector);
>>> LifecycleUtil.deactivate(acceptor);
>>> }
>>> private EObject getInputModel() {
>>> RequipseFactory factory = RequipseFactory.INSTANCE;
>>> RequipseProject p1 = factory.createRequipseProject();
>>> p1.setName("<default>");
>>> return p1;
>>> }
>>>
>>> (RequipseProject is a simple EMF class with one EAttribute name).
>>>
>>> And the configuration:
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <cdoServer>
>>>
>>> <!-- not used: -->
>>> <acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
>>> <!--
>>> <negotiator type="challenge" description="/temp/users.db"/>
>>> -->
>>> </acceptor>
>>>
>>> <repository name="requipse-repo">
>>> <property name="overrideUUID"
>>> value="1ff5d226-b1f0-40fb-aba2-0c31b38c764f"/>
>>> <property name="supportingAudits" value="false"/>
>>> <property name="verifyingRevisions" value="true"/>
>>> <property name="currentLRUCapacity" value="10000"/>
>>> <property name="revisedLRUCapacity" value="100"/>
>>> <store type="db">
>>> <!-- type: horizontal | vertical | <any user-contributed
>>> type> -->
>>> <mappingStrategy type="horizontal">
>>> <!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS |
>>> ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES -->
>>> <property name="toManyReferences"
>>> value="ONE_TABLE_PER_REFERENCE"/>
>>>
>>> <!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES -->
>>> <property name="toOneReferences"
>>> value="LIKE_ATTRIBUTES"/>
>>> <!-- MODEL | STRATEGY -->
>>> <property name="mappingPrecedence" value="MODEL"/>
>>> </mappingStrategy>
>>> <dbAdapter name="mysql"/>
>>> <dataSource
>>> class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
>>> url="jdbc:mysql://localhost/requipse"
>>> user="requipse" password="xxx" />
>>> </store> </repository>
>>> </cdoServer>
>>>
>>> I did not modify my model in any way (CDO-wise, that is) so no
>>> native model as of now - if that plays a role.
>>> I am using CVS HEAD.
>>>
>>> Do both Thomas and I do something wrong?
>>>
>>> Cheers,
>>> Stefan
>>>
>>>
>>>
>>>
>>>
>>>
>>> Thomas schrieb:
>>>> I finally got my setup working. now i tried to create an object on
>>>> the repo1 demo repository which always gives me:
>>>>
>>>> Worker-2 [debug] Processing event PREPARE in state TRANSIENT for
>>>> EObject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
>>>> Worker-2 [debug.revision] Setting version for EObject@-6v0: v-1
>>>> Worker-2 [debug.revision] Setting resourceID EObject@-6v-1: -2
>>>> Worker-2 [debug.view] Registering EObject@-6
>>>> Worker-2 [debug.transaction] Registering new object EObject@-6
>>>> Worker-2 [debug] Processing event ATTACH in state PREPARED for
>>>> EObject@-6 (data=null)
>>>> ModalContext [debug.transaction] commit()
>>>> [ERROR] NullPointerException
>>>> java.lang.NullPointerException
>>>> at
>>>> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>>>>
>>>> at
>>>> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>>>>
>>>> at ...
>>>>
>>>> By the way you shouldnt close the editor on save if the save fails.
>>>> at least I wouldnt. (monitor.setCanceled(true) and the editor stays
>>>> open after save)
>>>>
>>>> Regards Thomas
Re: [CDO] examples question [message #110315 is a reply to message #110038] Wed, 30 January 2008 14:20 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Eike,<br>
<br>
complete log below ...<br>
<br>
Eike Stepper schrieb:
<blockquote cite="mid:fnpt8f$qa8$4@build.eclipse.org" type="cite">Hi
Stefan,
<br>
<br>
I'm not completely sure, since the log is not complete (starts with
commit).
<br>
But have you also recreated your db? There might be old meta data about
your model!
<br>
<br>
I stumbled about this log line:
<br>
main [debug.protocol] Writing 0 new packages
<br>
<br>
If this commit operation is the first with your new native model, it
(the model) should be committed as well.
<br>
The reason that it's not, could be that the previous model is still
registered in the repository...
<br>
<br>
</blockquote>
No, I don't think so - I have erased every table in the schema and then
reexecuted the test. Same result.<br>
Here's the complete trace.<br>
<br>
<br>
Configuration location:<br>
   
<a class="moz-txt-link-freetext" href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/ "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/ </a><br>
Configuration file:<br>
   
<a class="moz-txt-link-freetext" href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini </a>
loaded<br>
Install location:<br>
    <a class="moz-txt-link-freetext" href="file:/C:/Programme/Eclipse-3.4/eclipse/">file:/C:/Programme/Eclipse-3.4/eclipse/ </a><br>
Framework located:<br>
   
<a class="moz-txt-link-freetext" href=" file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar "> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar </a><br>
Framework classpath:<br>
   
<a class="moz-txt-link-freetext" href=" file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar "> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar </a><br>
Debug options:<br>
   
<a class="moz-txt-link-freetext" href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options </a>
loaded<br>
Time to load bundles: 250<br>
Starting application: 10016<br>
Application Started: 26641<br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util<br>
Worker-4 [debug.lifecycle] Activating ManagedContainer<br>
Worker-4 [debug.lifecycle] Activating {}<br>
Worker-4 [debug.lifecycle.dump] DUMP PluginFactoryRegistry@1<br>
 Registry.autoCommit = true<br>
 Registry.transaction = null<br>
 HashMapRegistry.map = <br>
   
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm]<br>
   
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm]<br>
   
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]<br>
   
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]<br>
   
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]<br>
   
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]<br>
   
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]<br>
   
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]<br>
   
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]<br>
   
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]<br>
   
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp]<br>
   
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]<br>
   
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp]<br>
   
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]<br>
   
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]<br>
   
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp]<br>
   
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo]<br>
 extensionRegistryListener =
org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@de0cc2<br>
<br>
Worker-4 [debug.lifecycle] Activating []<br>
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo<br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j<br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.tcp<br>
Worker-4 [debug.lifecycle.dump] DUMP PluginElementProcessorList@2<br>
 processors = <br>
    org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1<br>
   
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8<br>
    org.eclipse.internal.net4j.Net4jTransportInjector@76d4af<br>
    org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de<br>
 extensionRegistryListener =
org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@1664cb5<br>
<br>
Worker-4 [debug.lifecycle.dump] DUMP PluginContainer@3<br>
 ManagedContainer.factoryRegistry = <br>
   
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm]<br>
   
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm]<br>
   
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]<br>
   
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]<br>
   
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]<br>
   
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]<br>
   
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]<br>
   
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]<br>
   
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]<br>
   
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]<br>
   
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp]<br>
   
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]<br>
   
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp]<br>
   
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]<br>
   
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]<br>
   
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp]<br>
   
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo]<br>
 ManagedContainer.postProcessors = <br>
    org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1<br>
   
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8<br>
    org.eclipse.internal.net4j.Net4jTransportInjector@76d4af<br>
    org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de<br>
 ManagedContainer.elementRegistry = <br>
 ManagedContainer.maxElementID = 0<br>
 ManagedContainer.elementListener =
org.eclipse.net4j.internal.util.container.ManagedContainer$1@dbb073<br>
<br>
Worker-4 [debug.om] Plugin container created: ManagedContainer<br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util.ui<br>
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver.ui<br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.server<br>
main [debug.om] Starting bundle org.eclipse.net4j.jvm<br>
main [debug.lifecycle] Activating BufferPool[4.096]<br>
BufferPoolMonitor [debug.buffer] Start monitoring<br>
main [debug.lifecycle.dump] DUMP BufferPool@4<br>
 BufferProvider.bufferCapacity = 4096<br>
 BufferProvider.providedBuffers = 0<br>
 BufferProvider.retainedBuffers = 0<br>
 provider = BufferFactory[4.096]<br>
 pooledBuffers = 0<br>
<br>
main [debug.lifecycle] Activating JVMAcceptor[default]<br>
main [debug.lifecycle.dump] DUMP JVMAcceptor@5<br>
 Acceptor.negotiator = null<br>
 Acceptor.bufferProvider = BufferPool[4.096]<br>
 Acceptor.protocolFactoryRegistry = <br>
   
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm]<br>
   
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm]<br>
   
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]<br>
   
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]<br>
   
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]<br>
   
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]<br>
   
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]<br>
   
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]<br>
   
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]<br>
   
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]<br>
   
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp]<br>
   
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]<br>
   
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp]<br>
   
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]<br>
   
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]<br>
   
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp]<br>
   
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo]<br>
 Acceptor.protocolPostProcessors = <br>
    org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1<br>
   
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8<br>
    org.eclipse.internal.net4j.Net4jTransportInjector@76d4af<br>
    org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de<br>
 Acceptor.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 Acceptor.lifecycleEventConverter =
org.eclipse.internal.net4j.acceptor.Acceptor$1@8ff9a7<br>
 Acceptor.acceptedConnectors = <br>
 name = default<br>
<br>
main [debug.repository] Configuring CDO server from
C:\work\work\diss\requipse-workspace\CDOTests\configuration\ cdo-config.xml <br>
main [debug.repository] Configuring repository requipse-repo
(type=default)<br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.protocol<br>
main [debug.model] Created
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
main [debug.model] Created CDOClass(ID=0, name=CDOObject)<br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)<br>
main [debug.model] Added package:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
main [debug.model] Created
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
main [debug.model] Created CDOClass(ID=0, name=CDOResource)<br>
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)<br>
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null)<br>
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))<br>
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))<br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)<br>
main [debug.model] Added package:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.server.db<br>
main [debug.om] Starting bundle org.eclipse.net4j.db<br>
main [debug.lifecycle] Activating Repository[requipse-repo, null]<br>
main [debug.lifecycle] Activating DBStore@6<br>
Worker-5 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver<br>
main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
feature INTEGER, name LONGTEXT, type INTEGER, reference_package
LONGTEXT, reference_classifier INTEGER, many BOOLEAN, containment
BOOLEAN, idx INTEGER)<br>
main [debug.sql] CREATE INDEX cdo_features_idx0 ON cdo_features (id)<br>
main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package INTEGER,
classifier INTEGER, name LONGTEXT, abstract BOOLEAN)<br>
main [debug.sql] CREATE INDEX cdo_classes_idx0 ON cdo_classes (id)<br>
main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri LONGTEXT,
name LONGTEXT, ecore LONGTEXT, dynamic BOOLEAN, range_lb BIGINT,
range_ub BIGINT)<br>
main [debug.sql] CREATE INDEX cdo_packages_idx0 ON cdo_packages (id)<br>
main [debug.sql] CREATE UNIQUE INDEX cdo_packages_idx1 ON cdo_packages
(uri(255))<br>
main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
supertype_package LONGTEXT, supertype_classifier INTEGER)<br>
main [debug.sql] CREATE INDEX cdo_supertypes_idx0 ON cdo_supertypes
(type_id)<br>
main [debug.sql] CREATE TABLE cdo_repository (name LONGTEXT, uuid
LONGTEXT, starts BIGINT, started BIGINT, stopped BIGINT, next_cdoid
BIGINT, next_metaid BIGINT)<br>
main [debug.sql] INSERT IGNORE INTO cdo_repository VALUES ('requipse-repo',
'1ff5d226-b1f0-40fb-aba2-0c31b38c764f', 1, 1201701648786, 0, 0, 0)<br>
main [debug.model] Setting server info: CDOClass(ID=0,
name=CDOResource) --&gt; -2<br>
main [debug.sql] CREATE TABLE CDOResource_contents_refs (cdo_source
BIGINT, cdo_version INTEGER, cdo_idx INTEGER, cdo_target BIGINT)<br>
main [debug.sql] CREATE TABLE CDOResource (cdo_id BIGINT NOT NULL,
cdo_version INTEGER NOT NULL, cdo_class INTEGER NOT NULL, cdo_created
BIGINT NOT NULL, cdo_revised BIGINT NOT NULL, cdo_resource BIGINT NOT
NULL, cdo_container BIGINT NOT NULL, cdo_feature INTEGER NOT NULL, path
LONGTEXT NOT NULL)<br>
main [debug.sql] CREATE UNIQUE INDEX CDOResource_idx0 ON CDOResource
(cdo_version, path(760))<br>
main [debug.sql] SELECT MAX(id) FROM cdo_packages<br>
main [debug.sql] SELECT MAX(id) FROM cdo_classes<br>
main [debug.sql] SELECT MAX(id) FROM cdo_features<br>
main [debug.lifecycle.dump] DUMP DBStore@6<br>
 Store.type = db<br>
 Store.repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
 Store.nextOIDValue = 2<br>
 mappingStrategy = horizontal<br>
 dbAdapter = mysql-5.1.5<br>
 connectionProvider =
com.mysql.jdbc.jdbc2.optional.MysqlDataSource@1f32230<br>
 schema = requipse-repo<br>
 nextPackageID = 1<br>
 nextClassID = 1<br>
 nextFeatureID = 1<br>
<br>
main [debug.lifecycle] Activating TypeManager-requipse-repo<br>
main [debug.types] Repository state location:
C:\work\work\diss\junit-workspace\.metadata\.plugins\org.ecl ipse.emf.cdo.server\1ff5d226-b1f0-40fb-aba2-0c31b38c764f <br>
main [debug.lifecycle.dump] DUMP @7<br>
 Worker.daemon = false<br>
 Worker.activationTimeout = 2000<br>
 Worker.deactivationTimeout = 2000<br>
 Worker.activationLatch =
java.util.concurrent.CountDownLatch@13641d6[Count = 0]<br>
 Worker.workerThread = Thread[TypeManager-requipse-repo,6,main]<br>
 QueueWorker.queue = <br>
 QueueWorker.pollMillis = 100<br>
 TypeManager.repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
 TypeManager.persistent = true<br>
 TypeManager.objectTypes = <br>
 TypeManager.packageURIMap =
org.eclipse.emf.cdo.internal.server.TypeManager$PackageURIMap@b2abfc<br>
 TypeManager.packageIDMap =
org.eclipse.emf.cdo.internal.server.TypeManager$PackageIDMap@394557<br>
 TypeManager.objectTypeMap =
org.eclipse.emf.cdo.internal.server.TypeManager$ObjectTypeMap@1f77df3<br>
 TypeManager.metaObjectTypeMap =
org.eclipse.emf.cdo.internal.server.TypeManager$ObjectTypeMap@16e1c1a<br>
 TypeManager.nextPackageID = 1<br>
<br>
main [debug.lifecycle] Activating PackageManager@8<br>
main [debug.sql] SELECT uri, dynamic, range_lb, range_ub FROM
cdo_packages<br>
main [debug.lifecycle.dump] DUMP PackageManager@8<br>
 CDOPackageManagerImpl.packages = <br>
   
<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
   
<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore, dynamic=false, metaIDRange=null)<br>
 CDOPackageManagerImpl.cdoCorePackage =
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
 CDOPackageManagerImpl.cdoResourcePackage =
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
 repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
<br>
main [debug.lifecycle] Activating SessionManager@9<br>
main [debug.lifecycle.dump] DUMP SessionManager@9<br>
 repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
 sessions = <br>
 lastSessionID = 0<br>
<br>
main [debug.lifecycle] Activating ResourceManager@10<br>
main [debug.lifecycle.dump] DUMP ResourceManager@10<br>
 repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
 idToPathMap = <br>
 pathToIDMap = <br>
<br>
main [debug.lifecycle] Activating RevisionManager@11<br>
main [debug.lifecycle.dump] DUMP RevisionManager@11<br>
 CDORevisionResolverImpl.revisions = <br>
 CDORevisionResolverImpl.currentLRUCapacity = 10000<br>
 CDORevisionResolverImpl.revisedLRUCapacity = 100<br>
 CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=10.000]<br>
 CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=100]<br>
 repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
 cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)<br>
<br>
main [debug.lifecycle.dump] DUMP Repository@12<br>
 name = requipse-repo<br>
 store = DBStore@6<br>
 uuid = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f<br>
 properties = <br>
    revisedLRUCapacity=100<br>
    supportingAudits=false<br>
    currentLRUCapacity=10000<br>
    verifyingRevisions=true<br>
    overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f<br>
 supportingRevisionDeltas = null<br>
 supportingAudits = false<br>
 verifyingRevisions = null<br>
 rememberingKnownTypes = null<br>
 typeManager = TypeManager-requipse-repo<br>
 packageManager = PackageManager@8<br>
 sessionManager = SessionManager@9<br>
 resourceManager = ResourceManager@10<br>
 revisionManager = RevisionManager@11<br>
 elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@14ea4a2<br >
 nextMetaIDValue = 1<br>
<br>
main [debug.lifecycle] Activating JVMClientConnector@13<br>
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMClientConnector@13<br>
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMClientConnector@13<br>
main [debug.lifecycle.dump] DUMP JVMClientConnector@13<br>
 Connector.userID = null<br>
 Connector.protocolFactoryRegistry = <br>
   
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm]<br>
   
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm]<br>
   
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]<br>
   
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]<br>
   
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]<br>
   
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]<br>
   
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]<br>
   
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]<br>
   
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]<br>
   
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]<br>
   
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp]<br>
   
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]<br>
   
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp]<br>
   
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]<br>
   
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]<br>
   
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp]<br>
   
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo]<br>
 Connector.protocolPostProcessors = <br>
    org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1<br>
   
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8<br>
    org.eclipse.internal.net4j.Net4jTransportInjector@76d4af<br>
    org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de<br>
 Connector.negotiator = null<br>
 Connector.negotiationContext = null<br>
 Connector.bufferProvider = BufferPool[4.096]<br>
 Connector.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 Connector.nextChannelID = 0<br>
 Connector.channels = <br>
 Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@4e33e7[Write locks = 0, Read
locks = 0]<br>
 Connector.connectorState = CONNECTED<br>
 Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@31bc4b<br>
 Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@140ef69[Count = 1]<br>
 Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@260132[Count = 1]<br>
 JVMConnector.peer = null<br>
 JVMConnector.name = default<br>
 acceptor = JVMAcceptor[default]<br>
 peerLifecycleListener =
org.eclipse.net4j.internal.jvm.JVMClientConnector$1@118a0ac<br>
<br>
main [debug.lifecycle] Activating JVMServerConnector@14<br>
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMServerConnector@14<br>
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMServerConnector@14<br>
main [debug.lifecycle.dump] DUMP JVMServerConnector@14<br>
 Connector.userID = null<br>
 Connector.protocolFactoryRegistry = <br>
   
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm]<br>
   
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm]<br>
   
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]<br>
   
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]<br>
   
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]<br>
   
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]<br>
   
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]<br>
   
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]<br>
   
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]<br>
   
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]<br>
   
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp]<br>
   
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]<br>
   
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp]<br>
   
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]<br>
   
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]<br>
   
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp]<br>
   
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo]<br>
 Connector.protocolPostProcessors = <br>
    org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1<br>
   
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8<br>
    org.eclipse.internal.net4j.Net4jTransportInjector@76d4af<br>
    org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de<br>
 Connector.negotiator = null<br>
 Connector.negotiationContext = null<br>
 Connector.bufferProvider = BufferPool[4.096]<br>
 Connector.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 Connector.nextChannelID = 0<br>
 Connector.channels = <br>
 Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@14c6171[Write locks = 0, Read
locks = 0]<br>
 Connector.connectorState = CONNECTED<br>
 Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@19177b9<br>
 Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@14b1dbf[Count = 1]<br>
 Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@8de742[Count = 1]<br>
 JVMConnector.peer = JVMClientConnector@13<br>
 JVMConnector.name = default<br>
<br>
main [debug.acceptor] Added connector JVMServerConnector@14<br>
main [debug.model] Created
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
main [debug.model] Created CDOClass(ID=0, name=CDOObject)<br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)<br>
main [debug.model] Added package:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
main [debug.model] Created
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
main [debug.model] Created CDOClass(ID=0, name=CDOResource)<br>
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)<br>
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null)<br>
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))<br>
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))<br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)<br>
main [debug.model] Added package:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
main [debug.model] Setting client info:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null) --&gt;
org.eclipse.emf.ecore.impl.EcorePackageImpl@87080f (name: ecore)
(nsURI: <a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/2002/Ecore">http://www.eclipse.org/emf/2002/Ecore</a>, nsPrefix: ecore)<br>
main [debug.model] Setting client info: CDOClass(ID=0, name=CDOObject)
--&gt; org.eclipse.emf.ecore.impl.EClassImpl@14e5e21 (name: EObject)
(instanceClassName: null) (abstract: false, interface: false)<br>
main [debug.model] Setting client info:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) --&gt;
org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@4654f6 (name:
eresource) (nsURI: <a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
nsPrefix: eresource)<br>
main [debug.model] Setting client info: CDOClass(ID=0,
name=CDOResource) --&gt; org.eclipse.emf.ecore.impl.EClassImpl@17c048c
(name: CDOResource) (instanceClassName: null) (abstract: false,
interface: false)<br>
main [debug.model] Setting client info: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)) --&gt;
org.eclipse.emf.ecore.impl.EReferenceImpl@174202a (name: contents)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)<br>
main [debug.model] Setting client info: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null) --&gt;
org.eclipse.emf.ecore.impl.EAttributeImpl@ebcf2d (name: path) (ordered:
true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true,
volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false)<br>
main [debug.lifecycle] Activating
CDOSession[JVMClientConnector@13/requipse-repo]<br>
main [debug.connector] Waiting for connection...<br>
main [debug.lifecycle] Activating SignalProtocol[cdo]<br>
main [debug.lifecycle.dump] DUMP CDOClientProtocol@15<br>
 Protocol.channel = Channel[-32.768]<br>
 Protocol.bufferProvider = BufferPool[4.096]<br>
 Protocol.executorService =
java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 Protocol.infraStructure =
CDOSession[JVMClientConnector@13/requipse-repo]<br>
 SignalProtocol.streamWrapper = null<br>
 SignalProtocol.signals = <br>
 SignalProtocol.nextCorrelationID = 1<br>
<br>
main [debug.connector] Opening channel 0 with protocol cdo<br>
main [debug.lifecycle] Activating SignalProtocol[cdo]<br>
main [debug.lifecycle.dump] DUMP CDOServerProtocol@16<br>
 Protocol.channel = Channel[-32.768]<br>
 Protocol.bufferProvider = BufferPool[4.096]<br>
 Protocol.executorService =
java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 Protocol.infraStructure =
org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @d021c3<br>
 SignalProtocol.streamWrapper = null<br>
 SignalProtocol.signals = <br>
 SignalProtocol.nextCorrelationID = 1<br>
 session = null<br>
<br>
main [debug.connector] Opening channel 0 with protocol cdo<br>
main [debug.lifecycle] Activating Channel[0]<br>
main [debug.lifecycle] Activating ChannelReceiveSerializer@17<br>
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@17<br>
 Worker.daemon = false<br>
 Worker.activationTimeout = 2000<br>
 Worker.deactivationTimeout = 2000<br>
 Worker.activationLatch =
java.util.concurrent.CountDownLatch@778a5d[Count = 0]<br>
 Worker.workerThread = Thread[ReceiveSerializer0,6,main]<br>
 QueueWorker.queue = <br>
 QueueWorker.pollMillis = 100<br>
<br>
main [debug.lifecycle.dump] DUMP Channel@18<br>
 channelID = 0<br>
 channelMultiplexer = JVMServerConnector@14<br>
 channelIndex = 0<br>
 receiveExecutor = java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 receiveHandler = SignalProtocol[cdo]<br>
 receiveSerializer = ChannelReceiveSerializer@17<br>
 sendQueue = <br>
<br>
main [debug.lifecycle] Activating Channel[0]<br>
main [debug.lifecycle] Activating ChannelReceiveSerializer@19<br>
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@19<br>
 Worker.daemon = false<br>
 Worker.activationTimeout = 2000<br>
 Worker.deactivationTimeout = 2000<br>
 Worker.activationLatch =
java.util.concurrent.CountDownLatch@116b9e1[Count = 0]<br>
 Worker.workerThread = Thread[ReceiveSerializer0,6,main]<br>
 QueueWorker.queue = <br>
 QueueWorker.pollMillis = 100<br>
<br>
main [debug.lifecycle.dump] DUMP Channel@20<br>
 channelID = 0<br>
 channelMultiplexer = JVMClientConnector@13<br>
 channelIndex = 0<br>
 receiveExecutor = java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 receiveHandler = SignalProtocol[cdo]<br>
 receiveSerializer = ChannelReceiveSerializer@19<br>
 sendQueue = <br>
<br>
main [debug.signal] ================ Requesting OpenSessionRequest<br>
main [debug.protocol] Writing repositoryName: requipse-repo<br>
main [debug.buffer] Created Buffer@21<br>
main [debug.buffer] Obtained Buffer@21<br>
main [debug.buffer.stream] Put signal id 1<br>
main [debug.protocol] Writing disableLegacyObjects: true<br>
main [debug.channel] Handling buffer from client: Buffer@21 --&gt;
Channel[0]<br>
main [debug] Multiplexing 00 00 00 00 00 00 00 01 00 01 01 00 0d 72 65
71 75 69 70 73 65 2d 72 65 70 6f 00 01 <br>
main [debug.channel] Handling buffer from multiplexer: Buffer@21 --&gt;
Channel[0]<br>
main [debug.signal] ================ Confirming OpenSessionRequest<br>
ReceiveSerializer0 [debug.signal] Received buffer for correlation 1<br>
ReceiveSerializer0 [debug.signal] Got signal id 1<br>
Thread-4 [debug.signal] ================ Indicating
OpenSessionIndication<br>
Thread-4 [debug.protocol] Read repositoryName: requipse-repo<br>
Thread-4 [debug.buffer] Retaining Buffer@21<br>
Thread-4 [debug.protocol] Read disableLegacyObjects: true<br>
Thread-4 [debug.signal] ================ Responding
OpenSessionIndication<br>
Thread-4 [debug.session] Opening session 1<br>
Thread-4 [debug.lifecycle] Activating Session[1, Channel[0]]<br>
Thread-4 [debug.lifecycle.dump] DUMP Session@22<br>
 sessionManager = SessionManager@9<br>
 protocol = SignalProtocol[cdo]<br>
 sessionID = 1<br>
 disableLegacyObjects = true<br>
 views = <br>
 knownTypes = <br>
 protocolListener = org.eclipse.emf.cdo.internal.server.Session$1@25452e<br>
<br>
Thread-4 [debug.protocol] Writing sessionID: 1<br>
Thread-4 [debug.buffer] Obtained Buffer@21<br>
Thread-4 [debug.protocol] Writing repositoryUUID:
1ff5d226-b1f0-40fb-aba2-0c31b38c764f<br>
Thread-4 [debug.channel] Handling buffer from client: Buffer@21 --&gt;
Channel[0]<br>
Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 00 00 00 00 01 01 00
24 31 66 66 35 64 32 32 36 2d 62 31 66 30 2d 34 30 66 62 2d 61 62 61 32
2d 30 63 33 31 62 33 38 63 37 36 34 66 00 00 <br>
Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@21
--&gt; Channel[0]<br>
ReceiveSerializer0 [debug.signal] Received buffer for correlation -1<br>
main [debug.protocol] Read sessionID: 1<br>
main [debug.protocol] Read repositoryUUID:
1ff5d226-b1f0-40fb-aba2-0c31b38c764f<br>
main [debug.buffer] Retaining Buffer@21<br>
main [debug.lifecycle] Activating CDOSessionPackageManager@23<br>
main [debug.lifecycle.dump] DUMP CDOSessionPackageManager@23<br>
 CDOPackageManagerImpl.packages = <br>
   
<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
   
<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore, dynamic=false, metaIDRange=null)<br>
 CDOPackageManagerImpl.cdoCorePackage =
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
 CDOPackageManagerImpl.cdoResourcePackage =
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
 session = CDOSession[JVMClientConnector@13/requipse-repo]<br>
<br>
main [debug.lifecycle] Activating CDORevisionManagerImpl@24<br>
main [debug.lifecycle.dump] DUMP CDORevisionManagerImpl@24<br>
 CDORevisionResolverImpl.revisions = <br>
 CDORevisionResolverImpl.currentLRUCapacity = 0<br>
 CDORevisionResolverImpl.revisedLRUCapacity = 0<br>
 CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=0]<br>
 CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=0]<br>
 session = CDOSession[JVMClientConnector@13/requipse-repo]<br>
 ruleManager =
org.eclipse.emf.internal.cdo.analyzer.NOOPFetchRuleManager@c2dfea<br>
<br>
main [debug.lifecycle.dump] DUMP CDOSessionImpl@25<br>
 nextTemporaryID = -1<br>
 sessionID = 1<br>
 disableLegacyObjects = true<br>
 referenceChunkSize = -1<br>
 failOverStrategy = null<br>
 failOverStrategyListener =
org.eclipse.emf.internal.cdo.CDOSessionImpl$1@13c470b<br>
 connector = JVMClientConnector@13<br>
 channel = Channel[0]<br>
 repositoryName = requipse-repo<br>
 repositoryUUID = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f<br>
<i><b> packageRegistry = </b></i><br>
 packageManager = CDOSessionPackageManager@23<br>
 revisionManager = CDORevisionManagerImpl@24<br>
 idToMetaInstanceMap = <br>
 metaInstanceToIDMap = <br>
 types = <br>
 views = <br>
 lastViewID = 0<br>
 channelListener = org.eclipse.emf.internal.cdo.CDOSessionImpl$2@5c25dc<br>
<br>
main [debug.view] Attaching CDO view to
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl@18d3fca resources=[]<br>
main [debug.signal] ================ Requesting ViewsChangedRequest<br>
main [debug.buffer] Obtained Buffer@21<br>
main [debug.buffer.stream] Put signal id 2<br>
main [debug.channel] Handling buffer from client: Buffer@21 --&gt;
Channel[0]<br>
main [debug] Multiplexing 00 00 00 00 00 00 00 02 00 02 00 00 00 01 01 <br>
main [debug.channel] Handling buffer from multiplexer: Buffer@21 --&gt;
Channel[0]<br>
ReceiveSerializer0 [debug.signal] Received buffer for correlation 2<br>
ReceiveSerializer0 [debug.signal] Got signal id 2<br>
main [debug.signal] ================ Confirming ViewsChangedRequest<br>
Thread-4 [debug.signal] ================ Indicating
ViewsChangedIndication<br>
Thread-4 [debug.buffer] Retaining Buffer@21<br>
Thread-4 [debug.signal] ================ Responding
ViewsChangedIndication<br>
Thread-4 [debug.buffer] Obtained Buffer@21<br>
Thread-4 [debug.channel] Handling buffer from client: Buffer@21 --&gt;
Channel[0]<br>
Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 01 01 <br>
Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@21
--&gt; Channel[0]<br>
ReceiveSerializer0 [debug.signal] Received buffer for correlation -2<br>
main [debug.buffer] Retaining Buffer@21<br>
[INFO] Legacy system not available<br>
main [debug.object] ATTACH: CDOResource? --&gt; CDOTransaction(1)<br>
main [debug] Processing event ATTACH in state TRANSIENT for
CDOResource? (data=ResourceAndView(CDOResource?, CDOTransaction(1)))<br>
main [debug.object] Setting ID: -2<br>
main [debug.object] Setting view: CDOTransaction(1)<br>
main [debug.object] Setting state PREPARED_ATTACH for CDOResource@-2<br>
main [debug.revision] Setting version: v0 -&gt; v-1<br>
main [debug.revision] Setting resourceID: -2<br>
main [debug.object] Setting revision: CDOResource@-2v-1<br>
main [debug.view] Registering CDOResource@-2<br>
main [debug.transaction] Registering new object CDOResource@-2<br>
main [debug.object] FINALIZE_ATTACH:
Re: [CDO] examples question [message #110469 is a reply to message #110315] Wed, 30 January 2008 14:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

This is a multi-part message in MIME format.
--------------090009080808090704050707
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Stefan Winkler schrieb:
> Hi Eike,
>
> complete log below ...
I see your point.
Can you please update all projects from CVS.
I saw a few traces that indicate that you don't have the latest version.
Some days ago I accidentally committed code that broke the
CDOStateMachine and the trace indicates that you have a version before I
fixed that.

Does that already help?

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j


>
> Eike Stepper schrieb:
>> Hi Stefan,
>>
>> I'm not completely sure, since the log is not complete (starts with
>> commit).
>> But have you also recreated your db? There might be old meta data
>> about your model!
>>
>> I stumbled about this log line:
>> main [debug.protocol] Writing 0 new packages
>>
>> If this commit operation is the first with your new native model, it
>> (the model) should be committed as well.
>> The reason that it's not, could be that the previous model is still
>> registered in the repository...
>>
> No, I don't think so - I have erased every table in the schema and
> then reexecuted the test. Same result.
> Here's the complete trace.
>
>
> Configuration location:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/
> Configuration file:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini
> loaded
> Install location:
> file:/C:/Programme/Eclipse-3.4/eclipse/
> Framework located:
>
> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
> Framework classpath:
>
> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
> Debug options:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options
> loaded
> Time to load bundles: 250
> Starting application: 10016
> Application Started: 26641
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util
> Worker-4 [debug.lifecycle] Activating ManagedContainer
> Worker-4 [debug.lifecycle] Activating {}
> Worker-4 [debug.lifecycle.dump] DUMP PluginFactoryRegistry@1
> Registry.autoCommit = true
> Registry.transaction = null
> HashMapRegistry.map =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> extensionRegistryListener =
> org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@de0cc2
>
> Worker-4 [debug.lifecycle] Activating []
> Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.tcp
> Worker-4 [debug.lifecycle.dump] DUMP PluginElementProcessorList@2
> processors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8
> org.eclipse.internal.net4j.Net4jTransportInjector@76d4af
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de
> extensionRegistryListener =
> org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@1664cb5
>
> Worker-4 [debug.lifecycle.dump] DUMP PluginContainer@3
> ManagedContainer.factoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> ManagedContainer.postProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8
> org.eclipse.internal.net4j.Net4jTransportInjector@76d4af
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de
> ManagedContainer.elementRegistry =
> ManagedContainer.maxElementID = 0
> ManagedContainer.elementListener =
> org.eclipse.net4j.internal.util.container.ManagedContainer$1@dbb073
>
> Worker-4 [debug.om] Plugin container created: ManagedContainer
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util.ui
> Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver.ui
> main [debug.om] Starting bundle org.eclipse.emf.cdo.server
> main [debug.om] Starting bundle org.eclipse.net4j.jvm
> main [debug.lifecycle] Activating BufferPool[4.096]
> BufferPoolMonitor [debug.buffer] Start monitoring
> main [debug.lifecycle.dump] DUMP BufferPool@4
> BufferProvider.bufferCapacity = 4096
> BufferProvider.providedBuffers = 0
> BufferProvider.retainedBuffers = 0
> provider = BufferFactory[4.096]
> pooledBuffers = 0
>
> main [debug.lifecycle] Activating JVMAcceptor[default]
> main [debug.lifecycle.dump] DUMP JVMAcceptor@5
> Acceptor.negotiator = null
> Acceptor.bufferProvider = BufferPool[4.096]
> Acceptor.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Acceptor.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8
> org.eclipse.internal.net4j.Net4jTransportInjector@76d4af
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de
> Acceptor.receiveExecutor = java.util.concurrent.ThreadPoolExecutor@c3b4c1
> Acceptor.lifecycleEventConverter =
> org.eclipse.internal.net4j.acceptor.Acceptor$1@8ff9a7
> Acceptor.acceptedConnectors =
> name = default
>
> main [debug.repository] Configuring CDO server from
> C:\work\work\diss\requipse-workspace\CDOTests\configuration\ cdo-config.xml
> main [debug.repository] Configuring repository requipse-repo
> (type=default)
> main [debug.om] Starting bundle org.eclipse.emf.cdo.protocol
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOObject)
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOResource)
> main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
> main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.model] Created CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.om] Starting bundle org.eclipse.emf.cdo.server.db
> main [debug.om] Starting bundle org.eclipse.net4j.db
> main [debug.lifecycle] Activating Repository[requipse-repo, null]
> main [debug.lifecycle] Activating DBStore@6
> Worker-5 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver
> main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
> feature INTEGER, name LONGTEXT, type INTEGER, reference_package
> LONGTEXT, reference_classifier INTEGER, many BOOLEAN, containment
> BOOLEAN, idx INTEGER)
> main [debug.sql] CREATE INDEX cdo_features_idx0 ON cdo_features (id)
> main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package
> INTEGER, classifier INTEGER, name LONGTEXT, abstract BOOLEAN)
> main [debug.sql] CREATE INDEX cdo_classes_idx0 ON cdo_classes (id)
> main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri LONGTEXT,
> name LONGTEXT, ecore LONGTEXT, dynamic BOOLEAN, range_lb BIGINT,
> range_ub BIGINT)
> main [debug.sql] CREATE INDEX cdo_packages_idx0 ON cdo_packages (id)
> main [debug.sql] CREATE UNIQUE INDEX cdo_packages_idx1 ON cdo_packages
> (uri(255))
> main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
> supertype_package LONGTEXT, supertype_classifier INTEGER)
> main [debug.sql] CREATE INDEX cdo_supertypes_idx0 ON cdo_supertypes
> (type_id)
> main [debug.sql] CREATE TABLE cdo_repository (name LONGTEXT, uuid
> LONGTEXT, starts BIGINT, started BIGINT, stopped BIGINT, next_cdoid
> BIGINT, next_metaid BIGINT)
> main [debug.sql] INSERT IGNORE INTO cdo_repository VALUES ('requipse-repo',
> '1ff5d226-b1f0-40fb-aba2-0c31b38c764f', 1, 1201701648786, 0, 0, 0)
> main [debug.model] Setting server info: CDOClass(ID=0,
> name=CDOResource) --> -2
> main [debug.sql] CREATE TABLE CDOResource_contents_refs (cdo_source
> BIGINT, cdo_version INTEGER, cdo_idx INTEGER, cdo_target BIGINT)
> main [debug.sql] CREATE TABLE CDOResource (cdo_id BIGINT NOT NULL,
> cdo_version INTEGER NOT NULL, cdo_class INTEGER NOT NULL, cdo_created
> BIGINT NOT NULL, cdo_revised BIGINT NOT NULL, cdo_resource BIGINT NOT
> NULL, cdo_container BIGINT NOT NULL, cdo_feature INTEGER NOT NULL,
> path LONGTEXT NOT NULL)
> main [debug.sql] CREATE UNIQUE INDEX CDOResource_idx0 ON CDOResource
> (cdo_version, path(760))
> main [debug.sql] SELECT MAX(id) FROM cdo_packages
> main [debug.sql] SELECT MAX(id) FROM cdo_classes
> main [debug.sql] SELECT MAX(id) FROM cdo_features
> main [debug.lifecycle.dump] DUMP DBStore@6
> Store.type = db
> Store.repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> Store.nextOIDValue = 2
> mappingStrategy = horizontal
> dbAdapter = mysql-5.1.5
> connectionProvider =
> com.mysql.jdbc.jdbc2.optional.MysqlDataSource@1f32230
> schema = requipse-repo
> nextPackageID = 1
> nextClassID = 1
> nextFeatureID = 1
>
> main [debug.lifecycle] Activating TypeManager-requipse-repo
> main [debug.types] Repository state location:
> C:\work\work\diss\junit-workspace\.metadata\.plugins\org.ecl ipse.emf.cdo.server\1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> main [debug.lifecycle.dump] DUMP @7
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@13641d6[Count = 0]
> Worker.workerThread = Thread[TypeManager-requipse-repo,6,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
> TypeManager.repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> TypeManager.persistent = true
> TypeManager.objectTypes =
> TypeManager.packageURIMap =
> org.eclipse.emf.cdo.internal.server.TypeManager$PackageURIMap@b2abfc
> TypeManager.packageIDMap =
> org.eclipse.emf.cdo.internal.server.TypeManager$PackageIDMap@394557
> TypeManager.objectTypeMap =
> org.eclipse.emf.cdo.internal.server.TypeManager$ObjectTypeMap@1f77df3
> TypeManager.metaObjectTypeMap =
> org.eclipse.emf.cdo.internal.server.TypeManager$ObjectTypeMap@16e1c1a
> TypeManager.nextPackageID = 1
>
> main [debug.lifecycle] Activating PackageManager@8
> main [debug.sql] SELECT uri, dynamic, range_lb, range_ub FROM cdo_packages
> main [debug.lifecycle.dump] DUMP PackageManager@8
> CDOPackageManagerImpl.packages =
>
> http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
>
> http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoCorePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoResourcePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
>
> main [debug.lifecycle] Activating SessionManager@9
> main [debug.lifecycle.dump] DUMP SessionManager@9
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> sessions =
> lastSessionID = 0
>
> main [debug.lifecycle] Activating ResourceManager@10
> main [debug.lifecycle.dump] DUMP ResourceManager@10
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> idToPathMap =
> pathToIDMap =
>
> main [debug.lifecycle] Activating RevisionManager@11
> main [debug.lifecycle.dump] DUMP RevisionManager@11
> CDORevisionResolverImpl.revisions =
> CDORevisionResolverImpl.currentLRUCapacity = 10000
> CDORevisionResolverImpl.revisedLRUCapacity = 100
> CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=10.000]
> CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=100]
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
>
> main [debug.lifecycle.dump] DUMP Repository@12
> name = requipse-repo
> store = DBStore@6
> uuid = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> properties =
> revisedLRUCapacity=100
> supportingAudits=false
> currentLRUCapacity=10000
> verifyingRevisions=true
> overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> supportingRevisionDeltas = null
> supportingAudits = false
> verifyingRevisions = null
> rememberingKnownTypes = null
> typeManager = TypeManager-requipse-repo
> packageManager = PackageManager@8
> sessionManager = SessionManager@9
> resourceManager = ResourceManager@10
> revisionManager = RevisionManager@11
> elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@14ea4a2
> nextMetaIDValue = 1
>
> main [debug.lifecycle] Activating JVMClientConnector@13
> main [debug.connector] Setting state CONNECTING (was disconnected) for
> JVMClientConnector@13
> main [debug.connector] Setting state CONNECTED (was connecting) for
> JVMClientConnector@13
> main [debug.lifecycle.dump] DUMP JVMClientConnector@13
> Connector.userID = null
> Connector.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Connector.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8
> org.eclipse.internal.net4j.Net4jTransportInjector@76d4af
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de
> Connector.negotiator = null
> Connector.negotiationContext = null
> Connector.bufferProvider = BufferPool[4.096]
> Connector.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@c3b4c1
> Connector.nextChannelID = 0
> Connector.channels =
> Connector.channelsLock =
> org.eclipse.net4j.util.concurrent.RWLock@4e33e7[Write locks = 0, Read
> locks = 0]
> Connector.connectorState = CONNECTED
> Connector.channelListener =
> org.eclipse.internal.net4j.connector.Connector$1@31bc4b
> Connector.finishedConnecting =
> java.util.concurrent.CountDownLatch@140ef69[Count = 1]
> Connector.finishedNegotiating =
> java.util.concurrent.CountDownLatch@260132[Count = 1]
> JVMConnector.peer = null
> JVMConnector.name = default
> acceptor = JVMAcceptor[default]
> peerLifecycleListener =
> org.eclipse.net4j.internal.jvm.JVMClientConnector$1@118a0ac
>
> main [debug.lifecycle] Activating JVMServerConnector@14
> main [debug.connector] Setting state CONNECTING (was disconnected) for
> JVMServerConnector@14
> main [debug.connector] Setting state CONNECTED (was connecting) for
> JVMServerConnector@14
> main [debug.lifecycle.dump] DUMP JVMServerConnector@14
> Connector.userID = null
> Connector.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Connector.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8
> org.eclipse.internal.net4j.Net4jTransportInjector@76d4af
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de
> Connector.negotiator = null
> Connector.negotiationContext = null
> Connector.bufferProvider = BufferPool[4.096]
> Connector.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@c3b4c1
> Connector.nextChannelID = 0
> Connector.channels =
> Connector.channelsLock =
> org.eclipse.net4j.util.concurrent.RWLock@14c6171[Write locks = 0, Read
> locks = 0]
> Connector.connectorState = CONNECTED
> Connector.channelListener =
> org.eclipse.internal.net4j.connector.Connector$1@19177b9
> Connector.finishedConnecting =
> java.util.concurrent.CountDownLatch@14b1dbf[Count = 1]
> Connector.finishedNegotiating =
> java.util.concurrent.CountDownLatch@8de742[Count = 1]
> JVMConnector.peer = JVMClientConnector@13
> JVMConnector.name = default
>
> main [debug.acceptor] Added connector JVMServerConnector@14
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOObject)
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOResource)
> main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
> main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.model] Created CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Setting client info:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null) -->
> org.eclipse.emf.ecore.impl.EcorePackageImpl@87080f (name: ecore)
> (nsURI: http://www.eclipse.org/emf/2002/Ecore, nsPrefix: ecore)
> main [debug.model] Setting client info: CDOClass(ID=0, name=CDOObject)
> --> org.eclipse.emf.ecore.impl.EClassImpl@14e5e21 (name: EObject)
> (instanceClassName: null) (abstract: false, interface: false)
> main [debug.model] Setting client info:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null) -->
> org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@4654f6 (name:
> eresource) (nsURI: http://www.eclipse.org/emf/CDO/resource/1.0.0,
> nsPrefix: eresource)
> main [debug.model] Setting client info: CDOClass(ID=0,
> name=CDOResource) --> org.eclipse.emf.ecore.impl.EClassImpl@17c048c
> (name: CDOResource) (instanceClassName: null) (abstract: false,
> interface: false)
> main [debug.model] Setting client info: CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)) --> org.eclipse.emf.ecore.impl.EReferenceImpl@174202a
> (name: contents) (ordered: true, unique: true, lowerBound: 0,
> upperBound: -1) (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false)
> (containment: true, resolveProxies: false)
> main [debug.model] Setting client info: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null) -->
> org.eclipse.emf.ecore.impl.EAttributeImpl@ebcf2d (name: path)
> (ordered: true, unique: true, lowerBound: 0, upperBound: 1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false) (iD: false)
> main [debug.lifecycle] Activating
> CDOSession[JVMClientConnector@13/requipse-repo]
> main [debug.connector] Waiting for connection...
> main [debug.lifecycle] Activating SignalProtocol[cdo]
> main [debug.lifecycle.dump] DUMP CDOClientProtocol@15
> Protocol.channel = Channel[-32.768]
> Protocol.bufferProvider = BufferPool[4.096]
> Protocol.executorService = java.util.concurrent.ThreadPoolExecutor@c3b4c1
> Protocol.infraStructure = CDOSession[JVMClientConnector@13/requipse-repo]
> SignalProtocol.streamWrapper = null
> SignalProtocol.signals =
> SignalProtocol.nextCorrelationID = 1
>
> main [debug.connector] Opening channel 0 with protocol cdo
> main [debug.lifecycle] Activating SignalProtocol[cdo]
> main [debug.lifecycle.dump] DUMP CDOServerProtocol@16
> Protocol.channel = Channel[-32.768]
> Protocol.bufferProvider = BufferPool[4.096]
> Protocol.executorService = java.util.concurrent.ThreadPoolExecutor@c3b4c1
> Protocol.infraStructure =
> org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @d021c3
> SignalProtocol.streamWrapper = null
> SignalProtocol.signals =
> SignalProtocol.nextCorrelationID = 1
> session = null
>
> main [debug.connector] Opening channel 0 with protocol cdo
> main [debug.lifecycle] Activating Channel[0]
> main [debug.lifecycle] Activating ChannelReceiveSerializer@17
> main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@17
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@778a5d[Count = 0]
> Worker.workerThread = Thread[ReceiveSerializer0,6,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
>
> main [debug.lifecycle.dump] DUMP Channel@18
> channelID = 0
> channelMultiplexer = JVMServerConnector@14
> channelIndex = 0
> receiveExecutor = java.util.concurrent.ThreadPoolExecutor@c3b4c1
> receiveHandler = SignalProtocol[cdo]
> receiveSerializer = ChannelReceiveSerializer@17
> sendQueue =
>
> main [debug.lifecycle] Activating Channel[0]
> main [debug.lifecycle] Activating ChannelReceiveSerializer@19
> main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@19
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@116b9e1[Count = 0]
> Worker.workerThread = Thread[ReceiveSerializer0,6,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
>
> main [debug.lifecycle.dump] DUMP Channel@20
> channelID = 0
> channelMultiplexer = JVMClientConnector@13
> channelIndex = 0
> receiveExecutor = java.util.concurrent.ThreadPoolExecutor@c3b4c1
> receiveHandler = SignalProtocol[cdo]
> receiveSerializer = ChannelReceiveSerializer@19
> sendQueue =
>
> main [debug.signal] ================ Requesting OpenSessionRequest
> main [debug.protocol] Writing repositoryName: requipse-repo
> main [debug.buffer] Created Buffer@21
> main [debug.buffer] Obtained Buffer@21
> main [debug.buffer.stream] Put signal id 1
> main [debug.protocol] Writing disableLegacyObjects: true
> main [debug.channel] Handling buffer from client: Buffer@21 --> Channel[0]
> main [debug] Multiplexing 00 00 00 00 00 00 00 01 00 01 01 00 0d 72 65
> 71 75 69 70 73 65 2d 72 65 70 6f 00 01
> main [debug.channel] Handling buffer from multiplexer: Buffer@21 -->
> Channel[0]
> main [debug.signal] ================ Confirming OpenSessionRequest
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 1
> ReceiveSerializer0 [debug.signal] Got signal id 1
> Thread-4 [debug.signal] ================ Indicating OpenSessionIndication
> Thread-4 [debug.protocol] Read repositoryName: requipse-repo
> Thread-4 [debug.buffer] Retaining Buffer@21
> Thread-4 [debug.protocol] Read disableLegacyObjects: true
> Thread-4 [debug.signal] ================ Responding OpenSessionIndication
> Thread-4 [debug.session] Opening session 1
> Thread-4 [debug.lifecycle] Activating Session[1, Channel[0]]
> Thread-4 [debug.lifecycle.dump] DUMP Session@22
> sessionManager = SessionManager@9
> protocol = SignalProtocol[cdo]
> sessionID = 1
> disableLegacyObjects = true
> views =
> knownTypes =
> protocolListener = org.eclipse.emf.cdo.internal.server.Session$1@25452e
>
> Thread-4 [debug.protocol] Writing sessionID: 1
> Thread-4 [debug.buffer] Obtained Buffer@21
> Thread-4 [debug.protocol] Writing repositoryUUID:
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> Thread-4 [debug.channel] Handling buffer from client: Buffer@21 -->
> Channel[0]
> Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 00 00 00 00 01 01
> 00 24 31 66 66 35 64 32 32 36 2d 62 31 66 30 2d 34 30 66 62 2d 61 62
> 61 32 2d 30 63 33 31 62 33 38 63 37 36 34 66 00 00
> Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@21
> --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation -1
> main [debug.protocol] Read sessionID: 1
> main [debug.protocol] Read repositoryUUID:
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> main [debug.buffer] Retaining Buffer@21
> main [debug.lifecycle] Activating CDOSessionPackageManager@23
> main [debug.lifecycle.dump] DUMP CDOSessionPackageManager@23
> CDOPackageManagerImpl.packages =
>
> http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
>
> http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoCorePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoResourcePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> session = CDOSession[JVMClientConnector@13/requipse-repo]
>
> main [debug.lifecycle] Activating CDORevisionManagerImpl@24
> main [debug.lifecycle.dump] DUMP CDORevisionManagerImpl@24
> CDORevisionResolverImpl.revisions =
> CDORevisionResolverImpl.currentLRUCapacity = 0
> CDORevisionResolverImpl.revisedLRUCapacity = 0
> CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=0]
> CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=0]
> session = CDOSession[JVMClientConnector@13/requipse-repo]
> ruleManager =
> org.eclipse.emf.internal.cdo.analyzer.NOOPFetchRuleManager@c2dfea
>
> main [debug.lifecycle.dump] DUMP CDOSessionImpl@25
> nextTemporaryID = -1
> sessionID = 1
> disableLegacyObjects = true
> referenceChunkSize = -1
> failOverStrategy = null
> failOverStrategyListener =
> org.eclipse.emf.internal.cdo.CDOSessionImpl$1@13c470b
> connector = JVMClientConnector@13
> channel = Channel[0]
> repositoryName = requipse-repo
> repositoryUUID = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> /* packageRegistry = */
> packageManager = CDOSessionPackageManager@23
> revisionManager = CDORevisionManagerImpl@24
> idToMetaInstanceMap =
> metaInstanceToIDMap =
> types =
> views =
> lastViewID = 0
> channelListener = org.eclipse.emf.internal.cdo.CDOSessionImpl$2@5c25dc
>
> main [debug.view] Attaching CDO view to
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl@18d3fca resources=[]
> main [debug.signal] ================ Requesting ViewsChangedRequest
> main [debug.buffer] Obtained Buffer@21
> main [debug.buffer.stream] Put signal id 2
> main [debug.channel] Handling buffer from client: Buffer@21 --> Channel[0]
> main [debug] Multiplexing 00 00 00 00 00 00 00 02 00 02 00 00 00 01 01
> main [debug.channel] Handling buffer from multiplexer: Buffer@21 -->
> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 2
> ReceiveSerializer0 [debug.signal] Got signal id 2
> main [debug.signal] ================ Confirming ViewsChangedRequest
> Thread-4 [debug.signal] ================ Indicating ViewsChangedIndication
> Thread-4 [debug.buffer] Retaining Buffer@21
> Thread-4 [debug.signal] ================ Responding ViewsChangedIndication
> Thread-4 [debug.buffer] Obtained Buffer@21
> Thread-4 [debug.channel] Handling buffer from client: Buffer@21 -->
> Channel[0]
> Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 01 01
> Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@21
> --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation -2
> main [debug.buffer] Retaining Buffer@21
> [INFO] Legacy system not available
> main [debug.object] ATTACH: CDOResource? --> CDOTransaction(1)
> main [debug] Processing event ATTACH in state TRANSIENT for
> CDOResource? (data=ResourceAndView(CDOResource?, CDOTransaction(1)))
> main [debug.object] Setting ID: -2
> main [debug.object] Setting view: CDOTransaction(1)
> main [debug.object] Setting state PREPARED_ATTACH for CDOResource@-2
> main [debug.revision] Setting version: v0 -> v-1
> main [debug.revision] Setting resourceID: -2
> main [debug.object] Setting revision: CDOResource@-2v-1
> main [debug.view] Registering CDOResource@-2
> main [debug.transaction] Registering new object CDOResource@-2
> main [debug.object] FINALIZE_ATTACH: CDOResource@-2 --> CDOTransaction(1)
> main [debug] Processing event FINALIZE_ATTACH in state PREPARED_ATTACH
> for CDOResource@-2 (data=ResourceAndView(CDOResource@-2,
> CDOTransaction(1)))
> main [debug.object] Finalizing revision for CDOResource@-2
> main [debug.revision] Setting containerID: NULL
> main [debug.revision] Setting containingFeatureID: 0
> main [debug.object] Finalizing feature CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.object] Setting state NEW for CDOResource@-2
> main [debug.object] isSet(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
> main [debug.object] READ:
> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
> main [debug.object] get(CDOResource@-2, CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null), -1)
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
> main [debug.object] contains(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)), RequipseProject?)
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
> main [debug.object] add(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)), 0, RequipseProject?)
> main [debug.object] ATTACH: RequipseProject? --> CDOTransaction(1)
> main [debug] Processing event ATTACH in state TRANSIENT for
> RequipseProject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
> main [debug.object] Setting ID: -4
> main [debug.object] Setting resource: CDOResource@-2
> main [debug.object] Setting state PREPARED_ATTACH for RequipseProject@-4
> *main [debug.session] Registering meta instance: -1 <->
> de.feuh.st.requipse.project.Requipse.impl.RequipsePackageImp l @1bfbe41
> (name: Requipse) (nsURI:
> http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, nsPrefix: requipse)*
> main [debug.session] Registering meta instance: -3 <->
> org.eclipse.emf.ecore.impl.EClassImpl@192ce93 (name: RequipseProject)
> (instanceClassName: null) (abstract: false, interface: false)
> main [debug.session] Registering meta instance: -5 <->
> org.eclipse.emf.ecore.impl.EOperationImpl@163c85b (name: addCategory)
> (ordered: true, unique: true, lowerBound: 0, upperBound: 1)
> main [debug.session] Registering meta instance: -7 <->
> org.eclipse.emf.ecore.impl.EParameterImpl@1f6f81b (name: name)
> (ordered: true, unique: true, lowerBound: 1, upperBound: 1)
> main [debug.session] Registering meta instance: -9 <->
> org.eclipse.emf.ecore.impl.EGenericTypeImpl@11aed03 (expression: EString)
> main [debug.session] Registering meta instance: -11 <->
> org.eclipse.emf.ecore.impl.EReferenceImpl@be99f8 (name: categories)
> (ordered: true, unique: true, lowerBound: 0, upperBound: -1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false)
> (containment: true, resolveProxies: false)
> main [debug.session] Registering meta instance: -13 <->
> org.eclipse.emf.ecore.impl.EGenericTypeImpl@16e788c (expression: Category)
> main [debug.session] Registering meta instance: -15 <->
> org.eclipse.emf.ecore.impl.EReferenceImpl@1ac6a88 (name: traceSets)
> (ordered: true, unique: true, lowerBound: 0, upperBound: -1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false)
> (containment: true, resolveProxies: false)
> main [debug.session] Registering meta instance: -17 <->
> org.eclipse.emf.ecore.impl.EGenericTypeImpl@1b3aac6 (expression:
> Traceability)
> main [debug.session] Registering meta instance: -19 <->
> org.eclipse.emf.ecore.impl.EAttributeImpl@3d8ee8 (name: name)
> (ordered: true, unique: true, lowerBound: 0, upperBound
Re: [CDO] examples question [message #110626 is a reply to message #110469] Wed, 30 January 2008 15:39 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Eike,
> I see your point.
> Can you please update all projects from CVS.
done.
> I saw a few traces that indicate that you don't have the latest
> version. Some days ago I accidentally committed code that broke the
> CDOStateMachine and the trace indicates that you have a version before
> I fixed that.
>
> Does that already help?
No :-(

Here's the current trace:

Configuration location:

file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/
Configuration file:

file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini
loaded
Install location:
file:/C:/Programme/Eclipse-3.4/eclipse/
Framework located:

file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
Framework classpath:

file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
Debug options:

file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options
loaded
Time to load bundles: 157
Starting application: 8421
Application Started: 23329
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util
Worker-4 [debug.lifecycle] Activating ManagedContainer
Worker-4 [debug.lifecycle] Activating {}
Worker-4 [debug.lifecycle.dump] DUMP PluginFactoryRegistry@1
Registry.autoCommit = true
Registry.transaction = null
HashMapRegistry.map =

org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]

org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors, jvm]

org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]

org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]

org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]

org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]

org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]

org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]

org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]

org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]

org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]

org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]

org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors, tcp]

org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]

org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]

org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]

org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions, cdo]
extensionRegistryListener =
org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@4a1535

Worker-4 [debug.lifecycle] Activating []
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo
Worker-4 [debug.om] Starting bundle org.eclipse.net4j
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.tcp
Worker-4 [debug.lifecycle.dump] DUMP PluginElementProcessorList@2
processors =
org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46

org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
org.eclipse.internal.net4j.Net4jTransportInjector@81255
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
extensionRegistryListener =
org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@4814f9

Worker-4 [debug.lifecycle.dump] DUMP PluginContainer@3
ManagedContainer.factoryRegistry =

org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]

org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors, jvm]

org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]

org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]

org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]

org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]

org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]

org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]

org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]

org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]

org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]

org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]

org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors, tcp]

org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]

org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]

org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]

org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions, cdo]
ManagedContainer.postProcessors =
org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46

org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
org.eclipse.internal.net4j.Net4jTransportInjector@81255
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
ManagedContainer.elementRegistry =
ManagedContainer.maxElementID = 0
ManagedContainer.elementListener =
org.eclipse.net4j.internal.util.container.ManagedContainer$1@1d95643

Worker-4 [debug.om] Plugin container created: ManagedContainer
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util.ui
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver.ui
main [debug.om] Starting bundle org.eclipse.emf.cdo.server
main [debug.om] Starting bundle org.eclipse.net4j.jvm
main [debug.lifecycle] Activating BufferPool[4.096]
BufferPoolMonitor [debug.buffer] Start monitoring
main [debug.lifecycle.dump] DUMP BufferPool@4
BufferProvider.bufferCapacity = 4096
BufferProvider.providedBuffers = 0
BufferProvider.retainedBuffers = 0
provider = BufferFactory[4.096]
pooledBuffers = 0

main [debug.lifecycle] Activating JVMAcceptor[default]
main [debug.lifecycle.dump] DUMP JVMAcceptor@5
Acceptor.negotiator = null
Acceptor.bufferProvider = BufferPool[4.096]
Acceptor.protocolFactoryRegistry =

org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]

org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors, jvm]

org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]

org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]

org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]

org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]

org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]

org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]

org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]

org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]

org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]

org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]

org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors, tcp]

org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]

org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]

org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]

org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions, cdo]
Acceptor.protocolPostProcessors =
org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46

org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
org.eclipse.internal.net4j.Net4jTransportInjector@81255
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
Acceptor.receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
Acceptor.lifecycleEventConverter =
org.eclipse.internal.net4j.acceptor.Acceptor$1@14355f1
Acceptor.acceptedConnectors =
name = default

Worker-3 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver
main [debug.repository] Configuring CDO server from
C:\work\work\diss\requipse-workspace\CDOTests\configuration\ cdo-config.xml
main [debug.repository] Configuring repository requipse-repo (type=default)
main [debug.om] Starting bundle org.eclipse.emf.cdo.protocol
main [debug.model] Created
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
main [debug.model] Created CDOClass(ID=0, name=CDOObject)
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
main [debug.model] Added package:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
main [debug.model] Created
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
main [debug.model] Created CDOClass(ID=0, name=CDOResource)
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null)
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
main [debug.model] Added package:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
main [debug.om] Starting bundle org.eclipse.emf.cdo.server.db
main [debug.om] Starting bundle org.eclipse.net4j.db
main [debug.lifecycle] Activating Repository[requipse-repo, null]
main [debug.lifecycle] Activating DBStore@6
main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
feature INTEGER, name LONGTEXT, type INTEGER, reference_package
LONGTEXT, reference_classifier INTEGER, many BOOLEAN, containment
BOOLEAN, idx INTEGER)
main [debug.sql] CREATE INDEX cdo_features_idx0 ON cdo_features (id)
main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package INTEGER,
classifier INTEGER, name LONGTEXT, abstract BOOLEAN)
main [debug.sql] CREATE INDEX cdo_classes_idx0 ON cdo_classes (id)
main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri LONGTEXT,
name LONGTEXT, ecore LONGTEXT, dynamic BOOLEAN, range_lb BIGINT,
range_ub BIGINT)
main [debug.sql] CREATE INDEX cdo_packages_idx0 ON cdo_packages (id)
main [debug.sql] CREATE UNIQUE INDEX cdo_packages_idx1 ON cdo_packages
(uri(255))
main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
supertype_package LONGTEXT, supertype_classifier INTEGER)
main [debug.sql] CREATE INDEX cdo_supertypes_idx0 ON cdo_supertypes
(type_id)
main [debug.sql] CREATE TABLE cdo_repository (name LONGTEXT, uuid
LONGTEXT, starts BIGINT, started BIGINT, stopped BIGINT, next_cdoid
BIGINT, next_metaid BIGINT)
main [debug.sql] INSERT IGNORE INTO cdo_repository VALUES ('requipse-repo',
'1ff5d226-b1f0-40fb-aba2-0c31b38c764f', 1, 1201707015563, 0, 0, 0)
main [debug.model] Setting server info: CDOClass(ID=0, name=CDOResource)
--> -2
main [debug.sql] CREATE TABLE CDOResource (cdo_id BIGINT NOT NULL,
cdo_version INTEGER NOT NULL, cdo_class INTEGER NOT NULL, cdo_created
BIGINT NOT NULL, cdo_revised BIGINT NOT NULL, cdo_resource BIGINT NOT
NULL, cdo_container BIGINT NOT NULL, cdo_feature INTEGER NOT NULL, path
LONGTEXT NOT NULL)
main [debug.sql] CREATE UNIQUE INDEX CDOResource_idx0 ON CDOResource
(cdo_version, path(760))
main [debug.sql] CREATE TABLE CDOResource_contents_refs (cdo_source
BIGINT, cdo_version INTEGER, cdo_idx INTEGER, cdo_target BIGINT)
main [debug.sql] SELECT MAX(id) FROM cdo_packages
main [debug.sql] SELECT MAX(id) FROM cdo_classes
main [debug.sql] SELECT MAX(id) FROM cdo_features
main [debug.lifecycle] Activating horizontal
main [debug.lifecycle] Activating ObjectTypeCache@7
main [debug.lifecycle.dump] DUMP ObjectTypeCache@7
mappingStrategy = horizontal
table = null
idField = null
typeField = null
initializeLock = java.lang.Object@cafce4

main [debug.lifecycle.dump] DUMP HorizontalMappingStrategy@8
MappingStrategy.store = DBStore@6
MappingStrategy.properties =
toManyReferences=ONE_TABLE_PER_REFERENCE
mappingPrecedence=MODEL
toOneReferences=LIKE_ATTRIBUTES
MappingStrategy.referenceTables =
CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))=CDOResource_contents_refs
MappingStrategy.classRefs =
MappingStrategy.resourceClassMapping =
org.eclipse.emf.cdo.server.internal.db.HorizontalClassMappin g @23d1ab
MappingStrategy.resourcePathMapping =
org.eclipse.emf.cdo.server.internal.db.AttributeMapping$AMString@19a6904
MappingStrategy.resourceTable = CDOResource
MappingStrategy.resourceIDField = cdo_id
MappingStrategy.resourcePathField = path
objectTypeCache = ObjectTypeCache@7

main [debug.lifecycle.dump] DUMP DBStore@6
Store.type = db
Store.properties = null
Store.repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
Store.nextOIDValue = 2
mappingStrategy = horizontal
dbSchema = requipse-repo
dbAdapter = mysql-5.1.5
dbConnectionProvider = com.mysql.jdbc.jdbc2.optional.MysqlDataSource@2ea871
nextPackageID = 1
nextClassID = 1
nextFeatureID = 1

main [debug.lifecycle] Activating PackageManager@9
main [debug.sql] SELECT uri, dynamic, range_lb, range_ub FROM cdo_packages
main [debug.lifecycle.dump] DUMP PackageManager@9
CDOPackageManagerImpl.packages =

http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)

http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
name=cdocore, dynamic=false, metaIDRange=null)
CDOPackageManagerImpl.cdoCorePackage =
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
CDOPackageManagerImpl.cdoResourcePackage =
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]

main [debug.lifecycle] Activating SessionManager@10
main [debug.lifecycle.dump] DUMP SessionManager@10
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
sessions =
lastSessionID = 0

main [debug.lifecycle] Activating ResourceManager@11
main [debug.lifecycle.dump] DUMP ResourceManager@11
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
idToPathMap =
pathToIDMap =

main [debug.lifecycle] Activating RevisionManager@12
main [debug.lifecycle.dump] DUMP RevisionManager@12
CDORevisionResolverImpl.revisions =
CDORevisionResolverImpl.currentLRUCapacity = 10000
CDORevisionResolverImpl.revisedLRUCapacity = 100
CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=10.000]
CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=100]
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)

main [debug.lifecycle.dump] DUMP Repository@13
name = requipse-repo
store = DBStore@6
uuid = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
properties =
revisedLRUCapacity=100
supportingAudits=false
currentLRUCapacity=10000
verifyingRevisions=true
overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f
supportingRevisionDeltas = null
supportingAudits = false
verifyingRevisions = null
packageManager = PackageManager@9
sessionManager = SessionManager@10
resourceManager = ResourceManager@11
revisionManager = RevisionManager@12
elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@cedf4e
nextMetaIDValue = 1

main [debug.lifecycle] Activating JVMClientConnector@14
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMClientConnector@14
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMClientConnector@14
main [debug.lifecycle.dump] DUMP JVMClientConnector@14
Connector.userID = null
Connector.protocolFactoryRegistry =

org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]

org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors, jvm]

org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]

org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]

org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]

org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]

org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]

org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]

org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]

org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]

org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]

org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]

org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors, tcp]

org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]

org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]

org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]

org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions, cdo]
Connector.protocolPostProcessors =
org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46

org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
org.eclipse.internal.net4j.Net4jTransportInjector@81255
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
Connector.negotiator = null
Connector.negotiationContext = null
Connector.bufferProvider = BufferPool[4.096]
Connector.receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
Connector.nextChannelID = 0
Connector.channels =
Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@1ac0c5[Write locks = 0, Read
locks = 0]
Connector.connectorState = CONNECTED
Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@65cfd2
Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@2f1989[Count = 1]
Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@35acf6[Count = 1]
JVMConnector.peer = null
JVMConnector.name = default
acceptor = JVMAcceptor[default]
peerLifecycleListener =
org.eclipse.net4j.internal.jvm.JVMClientConnector$1@1ee6b69

main [debug.lifecycle] Activating JVMServerConnector@15
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMServerConnector@15
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMServerConnector@15
main [debug.lifecycle.dump] DUMP JVMServerConnector@15
Connector.userID = null
Connector.protocolFactoryRegistry =

org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]

org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors, jvm]

org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]

org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]

org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]

org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]

org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]

org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]

org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]

org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]

org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]

org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]

org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors, tcp]

org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]

org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]

org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]

org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions, cdo]
Connector.protocolPostProcessors =
org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46

org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
org.eclipse.internal.net4j.Net4jTransportInjector@81255
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
Connector.negotiator = null
Connector.negotiationContext = null
Connector.bufferProvider = BufferPool[4.096]
Connector.receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
Connector.nextChannelID = 0
Connector.channels =
Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@1349b1[Write locks = 0, Read
locks = 0]
Connector.connectorState = CONNECTED
Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@4b0cbc
Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@1312369[Count = 1]
Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@10bca49[Count = 1]
JVMConnector.peer = JVMClientConnector@14
JVMConnector.name = default

main [debug.acceptor] Added connector JVMServerConnector@15
main [debug.model] Created
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
main [debug.model] Created CDOClass(ID=0, name=CDOObject)
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
main [debug.model] Added package:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
main [debug.model] Created
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
main [debug.model] Created CDOClass(ID=0, name=CDOResource)
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null)
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
main [debug.model] Added package:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
main [debug.model] Setting client info:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null) -->
org.eclipse.emf.ecore.impl.EcorePackageImpl@c5384d (name: ecore) (nsURI:
http://www.eclipse.org/emf/2002/Ecore, nsPrefix: ecore)
main [debug.model] Setting client info: CDOClass(ID=0, name=CDOObject)
--> org.eclipse.emf.ecore.impl.EClassImpl@16dd9c5 (name: EObject)
(instanceClassName: null) (abstract: false, interface: false)
main [debug.model] Setting client info:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null) -->
org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@39d3d3 (name:
eresource) (nsURI: http://www.eclipse.org/emf/CDO/resource/1.0.0,
nsPrefix: eresource)
main [debug.model] Setting client info: CDOClass(ID=0, name=CDOResource)
--> org.eclipse.emf.ecore.impl.EClassImpl@e9b75e (name: CDOResource)
(instanceClassName: null) (abstract: false, interface: false)
main [debug.model] Setting client info: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)) -->
org.eclipse.emf.ecore.impl.EReferenceImpl@81df82 (name: contents)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)
main [debug.model] Setting client info: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null) -->
org.eclipse.emf.ecore.impl.EAttributeImpl@78e59b (name: path) (ordered:
true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true,
volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false)
main [debug.lifecycle] Activating
CDOSession[JVMClientConnector@14/requipse-repo]
main [debug.connector] Waiting for connection...
main [debug.lifecycle] Activating SignalProtocol[cdo]
main [debug.lifecycle.dump] DUMP CDOClientProtocol@16
Protocol.channel = Channel[-32.768]
Protocol.bufferProvider = BufferPool[4.096]
Protocol.executorService = java.util.concurrent.ThreadPoolExecutor@10d4170
Protocol.infraStructure = CDOSession[JVMClientConnector@14/requipse-repo]
SignalProtocol.streamWrapper = null
SignalProtocol.signals =
SignalProtocol.nextCorrelationID = 1

main [debug.connector] Opening channel 0 with protocol cdo
main [debug.lifecycle] Activating SignalProtocol[cdo]
main [debug.lifecycle.dump] DUMP CDOServerProtocol@17
Protocol.channel = Channel[-32.768]
Protocol.bufferProvider = BufferPool[4.096]
Protocol.executorService = java.util.concurrent.ThreadPoolExecutor@10d4170
Protocol.infraStructure =
org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @175e354
SignalProtocol.streamWrapper = null
SignalProtocol.signals =
SignalProtocol.nextCorrelationID = 1
session = null

main [debug.connector] Opening channel 0 with protocol cdo
main [debug.lifecycle] Activating Channel[0]
main [debug.lifecycle] Activating ChannelReceiveSerializer@18
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@18
Worker.daemon = false
Worker.activationTimeout = 2000
Worker.deactivationTimeout = 2000
Worker.activationLatch =
java.util.concurrent.CountDownLatch@ceaf8c[Count = 0]
Worker.workerThread = Thread[ReceiveSerializer0,6,main]
QueueWorker.queue =
QueueWorker.pollMillis = 100

main [debug.lifecycle.dump] DUMP Channel@19
channelID = 0
channelMultiplexer = JVMServerConnector@15
channelIndex = 0
receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
receiveHandler = SignalProtocol[cdo]
receiveSerializer = ChannelReceiveSerializer@18
sendQueue =

main [debug.lifecycle] Activating Channel[0]
main [debug.lifecycle] Activating ChannelReceiveSerializer@20
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@20
Worker.daemon = false
Worker.activationTimeout = 2000
Worker.deactivationTimeout = 2000
Worker.activationLatch =
java.util.concurrent.CountDownLatch@161b9b2[Count = 0]
Worker.workerThread = Thread[ReceiveSerializer0,6,main]
QueueWorker.queue =
QueueWorker.pollMillis = 100

main [debug.lifecycle.dump] DUMP Channel@21
channelID = 0
channelMultiplexer = JVMClientConnector@14
channelIndex = 0
receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
receiveHandler = SignalProtocol[cdo]
receiveSerializer = ChannelReceiveSerializer@20
sendQueue =

main [debug.signal] ================ Requesting OpenSessionRequest
main [debug.protocol] Writing repositoryName: requipse-repo
main [debug.buffer] Created Buffer@22
main [debug.buffer] Obtained Buffer@22
main [debug.buffer.stream] Put signal id 1
main [debug.protocol] Writing disableLegacyObjects: true
main [debug.channel] Handling buffer from client: Buffer@22 --> Channel[0]
main [debug] Multiplexing 00 00 00 00 00 00 00 01 00 01 01 00 0d 72 65
71 75 69 70 73 65 2d 72 65 70 6f 00 01
main [debug.channel] Handling buffer from multiplexer: Buffer@22 -->
Channel[0]
main [debug.signal] ================ Confirming OpenSessionRequest
ReceiveSerializer0 [debug.signal] Received buffer for correlation 1
ReceiveSerializer0 [debug.signal] Got signal id 1
Thread-4 [debug.signal] ================ Indicating OpenSessionIndication
Thread-4 [debug.protocol] Read repositoryName: requipse-repo
Thread-4 [debug.buffer] Retaining Buffer@22
Thread-4 [debug.protocol] Read disableLegacyObjects: true
Thread-4 [debug.signal] ================ Responding OpenSessionIndication
Thread-4 [debug.session] Opening session 1
Thread-4 [debug.lifecycle] Activating Session[1, Channel[0]]
Thread-4 [debug.lifecycle.dump] DUMP Session@23
sessionManager = SessionManager@10
protocol = SignalProtocol[cdo]
sessionID = 1
disableLegacyObjects = true
views =
protocolListener = org.eclipse.emf.cdo.internal.server.Session$1@1f7456f

Thread-4 [debug.protocol] Writing sessionID: 1
Thread-4 [debug.buffer] Obtained Buffer@22
Thread-4 [debug.protocol] Writing repositoryUUID:
1ff5d226-b1f0-40fb-aba2-0c31b38c764f
Thread-4 [debug.channel] Handling buffer from client: Buffer@22 -->
Channel[0]
Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 00 00 00 00 01 01 00
24 31 66 66 35 64 32 32 36 2d 62 31 66 30 2d 34 30 66 62 2d 61 62 61 32
2d 30 63 33 31 62 33 38 63 37 36 34 66 00 00
Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@22 -->
Channel[0]
ReceiveSerializer0 [debug.signal] Received buffer for correlation -1
main [debug.protocol] Read sessionID: 1
main [debug.protocol] Read repositoryUUID:
1ff5d226-b1f0-40fb-aba2-0c31b38c764f
main [debug.buffer] Retaining Buffer@22
main [debug.lifecycle] Activating CDOSessionPackageManagerImpl@24
main [debug.lifecycle.dump] DUMP CDOSessionPackageManagerImpl@24
CDOPackageManagerImpl.packages =

http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)

http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
name=cdocore, dynamic=false, metaIDRange=null)
CDOPackageManagerImpl.cdoCorePackage =
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
CDOPackageManagerImpl.cdoResourcePackage =
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
session = CDOSession[JVMClientConnector@14/requipse-repo]

main [debug.lifecycle] Activating CDORevisionManagerImpl@25
main [debug.lifecycle.dump] DUMP CDORevisionManagerImpl@25
CDORevisionResolverImpl.revisions =
CDORevisionResolverImpl.currentLRUCapacity = 0
CDORevisionResolverImpl.revisedLRUCapacity = 0
CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=0]
CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=0]
session = CDOSession[JVMClientConnector@14/requipse-repo]
ruleManager =
org.eclipse.emf.internal.cdo.analyzer.NOOPFetchRuleManager@1026d9f

main [debug.lifecycle.dump] DUMP CDOSessionImpl@26
nextTemporaryID = -1
sessionID = 1
disableLegacyObjects = true
referenceChunkSize = -1
failOverStrategy = null
failOverStrategyListener =
org.eclipse.emf.internal.cdo.CDOSessionImpl$1@b243d7
connector = JVMClientConnector@14
channel = Channel[0]
repositoryName = requipse-repo
repositoryUUID = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
packageRegistry =
packageManager = CDOSessionPackageManagerImpl@24
revisionManager = CDORevisionManagerImpl@25
idToMetaInstanceMap =
metaInstanceToIDMap =
types =
views =
lastViewID = 0
channelListener = org.eclipse.emf.internal.cdo.CDOSessionImpl$2@183f762

BufferPoolMonitor [debug.buffer] Collected buffer
main [debug.view] Attaching CDO view to
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl@66f987 resources=[]
main [debug.signal] ================ Requesting ViewsChangedRequest
main [debug.buffer] Created Buffer@27
main [debug.buffer] Obtained Buffer@27
main [debug.buffer.stream] Put signal id 2
main [debug.channel] Handling buffer from client: Buffer@27 --> Channel[0]
main [debug] Multiplexing 00 00 00 00 00 00 00 02 00 02 00 00 00 01 01
main [debug.channel] Handling buffer from multiplexer: Buffer@27 -->
Channel[0]
main [debug.signal] ================ Confirming ViewsChangedRequest
ReceiveSerializer0 [debug.signal] Received buffer for correlation 2
ReceiveSerializer0 [debug.signal] Got signal id 2
Thread-4 [debug.signal] ================ Indicating ViewsChangedIndication
Thread-4 [debug.buffer] Retaining Buffer@27
Thread-4 [debug.signal] ================ Responding ViewsChangedIndication
Thread-4 [debug.buffer] Obtained Buffer@27
Thread-4 [debug.channel] Handling buffer from client: Buffer@27 -->
Channel[0]
Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 01 01
Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@27 -->
Channel[0]
ReceiveSerializer0 [debug.signal] Received buffer for correlation -2
main [debug.buffer] Retaining Buffer@27
[INFO] Legacy system not available
main [debug.object] PREPARE: CDOResource? --> CDOTransaction(1)
main [debug] Processing event PREPARE in state TRANSIENT for
CDOResource? (data=ResourceAndView(CDOResource?, CDOTransaction(1)))
main [debug.object] Setting ID: -2
main [debug.object] Setting view: CDOTransaction(1)
main [debug.object] Setting state PREPARED for CDOResource@-2
main [debug.revision] Setting version for CDOResource@-2v0: v-1
main [debug.revision] Setting resourceID CDOResource@-2v-1: -2
main [debug.object] Setting revision: CDOResource@-2v-1
main [debug.view] Registering CDOResource@-2
main [debug.transaction] Registering new object CDOResource@-2
main [debug.object] ATTACH: CDOResource@-2 --> CDOTransaction(1)
main [debug] Processing event ATTACH in state PREPARED for
CDOResource@-2 (data=null)
main [debug.object] Populating revision for CDOResource@-2
main [debug.revision] Setting containerID CDOResource@-2v-1: NULL
main [debug.revision] Setting containingFeatureID CDOResource@-2v-1: 0
main [debug.object] Populating feature CDOFeature(ID=9, name=path,
type=STRING, referenceType=null)
main [debug.object] Setting state NEW for CDOResource@-2
main [debug.object] isSet(CDOResource@-2, CDOFeature(ID=2,
name=contents, type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
main [debug.object] READ: org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
main [debug.object] get(CDOResource@-2, CDOFeature(ID=9, name=path,
type=STRING, referenceType=null), -1)
main [debug.object] size(CDOResource@-2, CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
main [debug.object] contains(CDOResource@-2, CDOFeature(ID=2,
name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
name=CDOObject)), RequipseProject?)
main [debug.object] size(CDOResource@-2, CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
main [debug.object] size(CDOResource@-2, CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
main [debug.object] add(CDOResource@-2, CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)), 0,
RequipseProject?)
main [debug.object] PREPARE: RequipseProject? --> CDOTransaction(1)
main [debug] Processing event PREPARE in state TRANSIENT for
RequipseProject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
main [debug.object] Setting ID: -4
main [debug.object] Setting resource: CDOResource@-2
main [debug.object] Setting state PREPARED for RequipseProject@-4
main [debug.session] Registering meta instance: -1 <->
de.feuh.st.requipse.project.Requipse.impl.RequipsePackageImp l @89a339
(name: Requipse) (nsURI:
http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, nsPrefix: requipse)
main [debug.session] Registering meta instance: -3 <->
org.eclipse.emf.ecore.impl.EClassImpl@1c2df08 (name: RequipseProject)
(instanceClassName: null) (abstract: false, interface: false)
main [debug.session] Registering meta instance: -5 <->
org.eclipse.emf.ecore.impl.EOperationImpl@3b1e8b (name: addCategory)
(ordered: true, unique: true, lowerBound: 0, upperBound: 1)
main [debug.session] Registering meta instance: -7 <->
org.eclipse.emf.ecore.impl.EParameterImpl@152441a (name: name) (ordered:
true, unique: true, lowerBound: 1, upperBound: 1)
main [debug.session] Registering meta instance: -9 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@1f530ab (expression: EString)
main [debug.session] Registering meta instance: -11 <->
org.eclipse.emf.ecore.impl.EReferenceImpl@4e63f9 (name: categories)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)
main [debug.session] Registering meta instance: -13 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@85968b (expression: Category)
main [debug.session] Registering meta instance: -15 <->
org.eclipse.emf.ecore.impl.EReferenceImpl@c27576 (name: traceSets)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)
main [debug.session] Registering meta instance: -17 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@7b4514 (expression:
Traceability)
main [debug.session] Registering meta instance: -19 <->
org.eclipse.emf.ecore.impl.EAttributeImpl@1799345 (name: name) (ordered:
true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true,
volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false)
main [debug.session] Registering meta instance: -21 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@b3b898 (expression: EString)
main [debug.session] Registering meta instance: -23 <->
org.eclipse.emf.ecore.impl.EClassImpl@c08b39 (name: Category)
(instanceClassName: null) (abstract: false, interface: false)
main [debug.session] Registering meta instance: -25 <->
org.eclipse.emf.ecore.impl.EOperationImpl@11c0dc6 (name: addArtifact)
(ordered: true, unique: true, lowerBound: 0, upperBound: 1)
main [debug.session] Registering meta instance: -27 <->
org.eclipse.emf.ecore.impl.EParameterImpl@cc542c (name: artifactFile)
(ordered: true, unique: true, lowerBound: 1, upperBound: 1)
main [debug.session] Registering meta instance: -29 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@aa1830 (expression: EIFile)
main [debug.session] Registering meta instance: -31 <->
org.eclipse.emf.ecore.impl.EReferenceImpl@11a20af (name: artifacts)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)
main [debug.session] Registering meta instance: -33 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@57e9bb (expression: Artifact)
main [debug.session] Registering meta instance: -35 <->
org.eclipse.emf.ecore.impl.EAttributeImpl@1b212f0 (name: name) (ordered:
true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true,
volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false)
main [debug.session] Registering meta instance: -37 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@1f96306 (expression: EString)
main [debug.session] Registering meta instance: -39 <->
org.eclipse.emf.ecore.impl.EReferenceImpl@1d449fc (name:
containingProject) (ordered: true, unique: true, lowerBound: 0,
upperBound: 1) (changeable: false, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: false, resolveProxies: false)
main [debug.session] Registering meta instance: -41 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@454ca3 (expression:
RequipseProject)
main [debug.session] Registering meta instance: -43 <->
org.eclipse.emf.ecore.impl.EClassImpl@f478b4 (name: Artifact)
(instanceClassName: null) (abstract: false, interface: false)
main [debug.session] Registering meta instance: -45 <->
org.eclipse.emf.ecore.impl.EOperationImpl@1aa824c (name: inject)
(ordered: true, unique: true, lowerBound: 0, upperBound: 1)
main [debug.session] Registering meta instance: -47 <->
org.eclipse.emf.ecore.impl.EReferenceImpl@1504e7b (name:
contentSnapshots) (ordered: true, unique: true, lowerBound: 0,
upperBound: -1) (changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)
main [debug.session] Registering meta instance: -49 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@150ad83 (expression:
ArtifactContent)
main [debug.session] Registering meta instance: -51 <->
org.eclipse.emf.ecore.impl.EAttributeImpl@1af8592 (name: sourcePath)
(ordered: true, unique: true, lowerBound: 0, upperBound: 1) (changeable:
true, volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false)
main [debug.session] Registering meta instance: -53 <->
Re: [CDO] examples question [message #110992 is a reply to message #110626] Wed, 30 January 2008 16:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

This is a multi-part message in MIME format.
--------------020107090701070600010700
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Gosh! I just remember that one important line was missing from the
example code!
I noticed that some minutes ago when I copied the example for Martin. I
changed it already for him. You can look at a correct ImportXML.java in
my test plugin, too, if you want.

After opening the session you have to register the packages you want use:

| CDOSession session = CDOUtil.openSession(connector, REPOSITORY_NAME, *true*);// Open a CDO session
session.getPackageRegistry().putEPackage(Model1Package.eINST ANCE);// Not needed after first commit!!!|



Since the package will be committed to the repository it doesn't need to
be actively registered in subsequent sessions!

Did that help?

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j



Stefan Winkler schrieb:
> Eike,
>> I see your point.
>> Can you please update all projects from CVS.
> done.
>> I saw a few traces that indicate that you don't have the latest
>> version. Some days ago I accidentally committed code that broke the
>> CDOStateMachine and the trace indicates that you have a version
>> before I fixed that.
>>
>> Does that already help?
> No :-(
>
> Here's the current trace:
>
> Configuration location:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/
>
> Configuration file:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini
> loaded
> Install location:
> file:/C:/Programme/Eclipse-3.4/eclipse/
> Framework located:
>
> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
>
> Framework classpath:
>
> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
>
> Debug options:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options
> loaded
> Time to load bundles: 157
> Starting application: 8421
> Application Started: 23329
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util
> Worker-4 [debug.lifecycle] Activating ManagedContainer
> Worker-4 [debug.lifecycle] Activating {}
> Worker-4 [debug.lifecycle.dump] DUMP PluginFactoryRegistry@1
> Registry.autoCommit = true
> Registry.transaction = null
> HashMapRegistry.map =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
> jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
> tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
> tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> extensionRegistryListener =
> org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@4a1535
>
> Worker-4 [debug.lifecycle] Activating []
> Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.tcp
> Worker-4 [debug.lifecycle.dump] DUMP PluginElementProcessorList@2
> processors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
>
> org.eclipse.internal.net4j.Net4jTransportInjector@81255
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
> extensionRegistryListener =
> org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@4814f9
>
>
> Worker-4 [debug.lifecycle.dump] DUMP PluginContainer@3
> ManagedContainer.factoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
> jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
> tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
> tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> ManagedContainer.postProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
>
> org.eclipse.internal.net4j.Net4jTransportInjector@81255
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
> ManagedContainer.elementRegistry =
> ManagedContainer.maxElementID = 0
> ManagedContainer.elementListener =
> org.eclipse.net4j.internal.util.container.ManagedContainer$1@1d95643
>
> Worker-4 [debug.om] Plugin container created: ManagedContainer
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util.ui
> Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver.ui
> main [debug.om] Starting bundle org.eclipse.emf.cdo.server
> main [debug.om] Starting bundle org.eclipse.net4j.jvm
> main [debug.lifecycle] Activating BufferPool[4.096]
> BufferPoolMonitor [debug.buffer] Start monitoring
> main [debug.lifecycle.dump] DUMP BufferPool@4
> BufferProvider.bufferCapacity = 4096
> BufferProvider.providedBuffers = 0
> BufferProvider.retainedBuffers = 0
> provider = BufferFactory[4.096]
> pooledBuffers = 0
>
> main [debug.lifecycle] Activating JVMAcceptor[default]
> main [debug.lifecycle.dump] DUMP JVMAcceptor@5
> Acceptor.negotiator = null
> Acceptor.bufferProvider = BufferPool[4.096]
> Acceptor.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
> jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
> tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
> tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Acceptor.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
>
> org.eclipse.internal.net4j.Net4jTransportInjector@81255
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
> Acceptor.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@10d4170
> Acceptor.lifecycleEventConverter =
> org.eclipse.internal.net4j.acceptor.Acceptor$1@14355f1
> Acceptor.acceptedConnectors =
> name = default
>
> Worker-3 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver
> main [debug.repository] Configuring CDO server from
> C:\work\work\diss\requipse-workspace\CDOTests\configuration\ cdo-config.xml
>
> main [debug.repository] Configuring repository requipse-repo
> (type=default)
> main [debug.om] Starting bundle org.eclipse.emf.cdo.protocol
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOObject)
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOResource)
> main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
> main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.model] Created CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.om] Starting bundle org.eclipse.emf.cdo.server.db
> main [debug.om] Starting bundle org.eclipse.net4j.db
> main [debug.lifecycle] Activating Repository[requipse-repo, null]
> main [debug.lifecycle] Activating DBStore@6
> main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
> feature INTEGER, name LONGTEXT, type INTEGER, reference_package
> LONGTEXT, reference_classifier INTEGER, many BOOLEAN, containment
> BOOLEAN, idx INTEGER)
> main [debug.sql] CREATE INDEX cdo_features_idx0 ON cdo_features (id)
> main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package
> INTEGER, classifier INTEGER, name LONGTEXT, abstract BOOLEAN)
> main [debug.sql] CREATE INDEX cdo_classes_idx0 ON cdo_classes (id)
> main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri LONGTEXT,
> name LONGTEXT, ecore LONGTEXT, dynamic BOOLEAN, range_lb BIGINT,
> range_ub BIGINT)
> main [debug.sql] CREATE INDEX cdo_packages_idx0 ON cdo_packages (id)
> main [debug.sql] CREATE UNIQUE INDEX cdo_packages_idx1 ON cdo_packages
> (uri(255))
> main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
> supertype_package LONGTEXT, supertype_classifier INTEGER)
> main [debug.sql] CREATE INDEX cdo_supertypes_idx0 ON cdo_supertypes
> (type_id)
> main [debug.sql] CREATE TABLE cdo_repository (name LONGTEXT, uuid
> LONGTEXT, starts BIGINT, started BIGINT, stopped BIGINT, next_cdoid
> BIGINT, next_metaid BIGINT)
> main [debug.sql] INSERT IGNORE INTO cdo_repository VALUES ('requipse-repo',
> '1ff5d226-b1f0-40fb-aba2-0c31b38c764f', 1, 1201707015563, 0, 0, 0)
> main [debug.model] Setting server info: CDOClass(ID=0,
> name=CDOResource) --> -2
> main [debug.sql] CREATE TABLE CDOResource (cdo_id BIGINT NOT NULL,
> cdo_version INTEGER NOT NULL, cdo_class INTEGER NOT NULL, cdo_created
> BIGINT NOT NULL, cdo_revised BIGINT NOT NULL, cdo_resource BIGINT NOT
> NULL, cdo_container BIGINT NOT NULL, cdo_feature INTEGER NOT NULL,
> path LONGTEXT NOT NULL)
> main [debug.sql] CREATE UNIQUE INDEX CDOResource_idx0 ON CDOResource
> (cdo_version, path(760))
> main [debug.sql] CREATE TABLE CDOResource_contents_refs (cdo_source
> BIGINT, cdo_version INTEGER, cdo_idx INTEGER, cdo_target BIGINT)
> main [debug.sql] SELECT MAX(id) FROM cdo_packages
> main [debug.sql] SELECT MAX(id) FROM cdo_classes
> main [debug.sql] SELECT MAX(id) FROM cdo_features
> main [debug.lifecycle] Activating horizontal
> main [debug.lifecycle] Activating ObjectTypeCache@7
> main [debug.lifecycle.dump] DUMP ObjectTypeCache@7
> mappingStrategy = horizontal
> table = null
> idField = null
> typeField = null
> initializeLock = java.lang.Object@cafce4
>
> main [debug.lifecycle.dump] DUMP HorizontalMappingStrategy@8
> MappingStrategy.store = DBStore@6
> MappingStrategy.properties =
> toManyReferences=ONE_TABLE_PER_REFERENCE
> mappingPrecedence=MODEL
> toOneReferences=LIKE_ATTRIBUTES
> MappingStrategy.referenceTables =
> CDOFeature(ID=2, name=contents, type=OBJECT,
> referenceType=CDOClass(ID=0, name=CDOObject))=CDOResource_contents_refs
> MappingStrategy.classRefs =
> MappingStrategy.resourceClassMapping =
> org.eclipse.emf.cdo.server.internal.db.HorizontalClassMappin g @23d1ab
> MappingStrategy.resourcePathMapping =
> org.eclipse.emf.cdo.server.internal.db.AttributeMapping$AMString@19a6904
> MappingStrategy.resourceTable = CDOResource
> MappingStrategy.resourceIDField = cdo_id
> MappingStrategy.resourcePathField = path
> objectTypeCache = ObjectTypeCache@7
>
> main [debug.lifecycle.dump] DUMP DBStore@6
> Store.type = db
> Store.properties = null
> Store.repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> Store.nextOIDValue = 2
> mappingStrategy = horizontal
> dbSchema = requipse-repo
> dbAdapter = mysql-5.1.5
> dbConnectionProvider =
> com.mysql.jdbc.jdbc2.optional.MysqlDataSource@2ea871
> nextPackageID = 1
> nextClassID = 1
> nextFeatureID = 1
>
> main [debug.lifecycle] Activating PackageManager@9
> main [debug.sql] SELECT uri, dynamic, range_lb, range_ub FROM
> cdo_packages
> main [debug.lifecycle.dump] DUMP PackageManager@9
> CDOPackageManagerImpl.packages =
>
> http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
>
> http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoCorePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoResourcePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
>
> main [debug.lifecycle] Activating SessionManager@10
> main [debug.lifecycle.dump] DUMP SessionManager@10
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> sessions =
> lastSessionID = 0
>
> main [debug.lifecycle] Activating ResourceManager@11
> main [debug.lifecycle.dump] DUMP ResourceManager@11
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> idToPathMap =
> pathToIDMap =
>
> main [debug.lifecycle] Activating RevisionManager@12
> main [debug.lifecycle.dump] DUMP RevisionManager@12
> CDORevisionResolverImpl.revisions =
> CDORevisionResolverImpl.currentLRUCapacity = 10000
> CDORevisionResolverImpl.revisedLRUCapacity = 100
> CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=10.000]
> CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=100]
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
>
> main [debug.lifecycle.dump] DUMP Repository@13
> name = requipse-repo
> store = DBStore@6
> uuid = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> properties =
> revisedLRUCapacity=100
> supportingAudits=false
> currentLRUCapacity=10000
> verifyingRevisions=true
> overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> supportingRevisionDeltas = null
> supportingAudits = false
> verifyingRevisions = null
> packageManager = PackageManager@9
> sessionManager = SessionManager@10
> resourceManager = ResourceManager@11
> revisionManager = RevisionManager@12
> elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@cedf4e
> nextMetaIDValue = 1
>
> main [debug.lifecycle] Activating JVMClientConnector@14
> main [debug.connector] Setting state CONNECTING (was disconnected) for
> JVMClientConnector@14
> main [debug.connector] Setting state CONNECTED (was connecting) for
> JVMClientConnector@14
> main [debug.lifecycle.dump] DUMP JVMClientConnector@14
> Connector.userID = null
> Connector.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
> jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
> tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
> tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Connector.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
>
> org.eclipse.internal.net4j.Net4jTransportInjector@81255
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
> Connector.negotiator = null
> Connector.negotiationContext = null
> Connector.bufferProvider = BufferPool[4.096]
> Connector.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@10d4170
> Connector.nextChannelID = 0
> Connector.channels =
> Connector.channelsLock =
> org.eclipse.net4j.util.concurrent.RWLock@1ac0c5[Write locks = 0, Read
> locks = 0]
> Connector.connectorState = CONNECTED
> Connector.channelListener =
> org.eclipse.internal.net4j.connector.Connector$1@65cfd2
> Connector.finishedConnecting =
> java.util.concurrent.CountDownLatch@2f1989[Count = 1]
> Connector.finishedNegotiating =
> java.util.concurrent.CountDownLatch@35acf6[Count = 1]
> JVMConnector.peer = null
> JVMConnector.name = default
> acceptor = JVMAcceptor[default]
> peerLifecycleListener =
> org.eclipse.net4j.internal.jvm.JVMClientConnector$1@1ee6b69
>
> main [debug.lifecycle] Activating JVMServerConnector@15
> main [debug.connector] Setting state CONNECTING (was disconnected) for
> JVMServerConnector@15
> main [debug.connector] Setting state CONNECTED (was connecting) for
> JVMServerConnector@15
> main [debug.lifecycle.dump] DUMP JVMServerConnector@15
> Connector.userID = null
> Connector.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
> jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
> tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
> tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Connector.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
>
> org.eclipse.internal.net4j.Net4jTransportInjector@81255
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
> Connector.negotiator = null
> Connector.negotiationContext = null
> Connector.bufferProvider = BufferPool[4.096]
> Connector.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@10d4170
> Connector.nextChannelID = 0
> Connector.channels =
> Connector.channelsLock =
> org.eclipse.net4j.util.concurrent.RWLock@1349b1[Write locks = 0, Read
> locks = 0]
> Connector.connectorState = CONNECTED
> Connector.channelListener =
> org.eclipse.internal.net4j.connector.Connector$1@4b0cbc
> Connector.finishedConnecting =
> java.util.concurrent.CountDownLatch@1312369[Count = 1]
> Connector.finishedNegotiating =
> java.util.concurrent.CountDownLatch@10bca49[Count = 1]
> JVMConnector.peer = JVMClientConnector@14
> JVMConnector.name = default
>
> main [debug.acceptor] Added connector JVMServerConnector@15
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOObject)
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOResource)
> main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
> main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.model] Created CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Setting client info:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null) -->
> org.eclipse.emf.ecore.impl.EcorePackageImpl@c5384d (name: ecore)
> (nsURI: http://www.eclipse.org/emf/2002/Ecore, nsPrefix: ecore)
> main [debug.model] Setting client info: CDOClass(ID=0, name=CDOObject)
> --> org.eclipse.emf.ecore.impl.EClassImpl@16dd9c5 (name: EObject)
> (instanceClassName: null) (abstract: false, interface: false)
> main [debug.model] Setting client info:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null) -->
> org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@39d3d3 (name:
> eresource) (nsURI: http://www.eclipse.org/emf/CDO/resource/1.0.0,
> nsPrefix: eresource)
> main [debug.model] Setting client info: CDOClass(ID=0,
> name=CDOResource) --> org.eclipse.emf.ecore.impl.EClassImpl@e9b75e
> (name: CDOResource) (instanceClassName: null) (abstract: false,
> interface: false)
> main [debug.model] Setting client info: CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)) --> org.eclipse.emf.ecore.impl.EReferenceImpl@81df82
> (name: contents) (ordered: true, unique: true, lowerBound: 0,
> upperBound: -1) (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false)
> (containment: true, resolveProxies: false)
> main [debug.model] Setting client info: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null) -->
> org.eclipse.emf.ecore.impl.EAttributeImpl@78e59b (name: path)
> (ordered: true, unique: true, lowerBound: 0, upperBound: 1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false) (iD: false)
> main [debug.lifecycle] Activating
> CDOSession[JVMClientConnector@14/requipse-repo]
> main [debug.connector] Waiting for connection...
> main [debug.lifecycle] Activating SignalProtocol[cdo]
> main [debug.lifecycle.dump] DUMP CDOClientProtocol@16
> Protocol.channel = Channel[-32.768]
> Protocol.bufferProvider = BufferPool[4.096]
> Protocol.executorService =
> java.util.concurrent.ThreadPoolExecutor@10d4170
> Protocol.infraStructure = CDOSession[JVMClientConnector@14/requipse-repo]
> SignalProtocol.streamWrapper = null
> SignalProtocol.signals =
> SignalProtocol.nextCorrelationID = 1
>
> main [debug.connector] Opening channel 0 with protocol cdo
> main [debug.lifecycle] Activating SignalProtocol[cdo]
> main [debug.lifecycle.dump] DUMP CDOServerProtocol@17
> Protocol.channel = Channel[-32.768]
> Protocol.bufferProvider = BufferPool[4.096]
> Protocol.executorService =
> java.util.concurrent.ThreadPoolExecutor@10d4170
> Protocol.infraStructure =
> org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @175e354
> SignalProtocol.streamWrapper = null
> SignalProtocol.signals =
> SignalProtocol.nextCorrelationID = 1
> session = null
>
> main [debug.connector] Opening channel 0 with protocol cdo
> main [debug.lifecycle] Activating Channel[0]
> main [debug.lifecycle] Activating ChannelReceiveSerializer@18
> main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@18
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@ceaf8c[Count = 0]
> Worker.workerThread = Thread[ReceiveSerializer0,6,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
>
> main [debug.lifecycle.dump] DUMP Channel@19
> channelID = 0
> channelMultiplexer = JVMServerConnector@15
> channelIndex = 0
> receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
> receiveHandler = SignalProtocol[cdo]
> receiveSerializer = ChannelReceiveSerializer@18
> sendQueue =
>
> main [debug.lifecycle] Activating Channel[0]
> main [debug.lifecycle] Activating ChannelReceiveSerializer@20
> main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@20
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@161b9b2[Count = 0]
> Worker.workerThread = Thread[ReceiveSerializer0,6,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
>
> main [debug.lifecycle.dump] DUMP Channel@21
> channelID = 0
> channelMultiplexer = JVMClientConnector@14
> channelIndex = 0
> receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
> receiveHandler = SignalProtocol[cdo]
> receiveSerializer = ChannelReceiveSerializer@20
> sendQueue =
>
> main [debug.signal] ================ Requesting OpenSessionRequest
> main [debug.protocol] Writing repositoryName: requipse-repo
> main [debug.buffer] Created Buffer@22
> main [debug.buffer] Obtained Buffer@22
> main [debug.buffer.stream] Put signal id 1
> main [debug.protocol] Writing disableLegacyObjects: true
> main [debug.channel] Handling buffer from client: Buffer@22 -->
> Channel[0]
> main [debug] Multiplexing 00 00 00 00 00 00 00 01 00 01 01 00 0d 72 65
> 71 75 69 70 73 65 2d 72 65 70 6f 00 01
> main [debug.channel] Handling buffer from multiplexer: Buffer@22 -->
> Channel[0]
> main [debug.signal] ================ Confirming OpenSessionRequest
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 1
> ReceiveSerializer0 [debug.signal] Got signal id 1
> Thread-4 [debug.signal] ================ Indicating OpenSessionIndication
> Thread-4 [debug.protocol] Read repositoryName: requipse-repo
> Thread-4 [debug.buffer] Retaining Buffer@22
> Thread-4 [debug.protocol] Read disableLegacyObjects: true
> Thread-4 [debug.signal] ================ Responding OpenSessionIndication
> Thread-4 [debug.session] Opening session 1
> Thread-4 [debug.lifecycle] Activating Session[1, Channel[0]]
> Thread-4 [debug.lifecycle.dump] DUMP Session@23
> sessionManager = SessionManager@10
> protocol = SignalProtocol[cdo]
> sessionID = 1
> disableLegacyObjects = true
> views =
> protocolListener = org.eclipse.emf.cdo.internal.server.Session$1@1f7456f
>
> Thread-4 [debug.protocol] Writing sessionID: 1
> Thread-4 [debug.buffer] Obtained Buffer@22
> Thread-4 [debug.protocol] Writing repositoryUUID:
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> Thread-4 [debug.channel] Handling buffer from client: Buffer@22 -->
> Channel[0]
> Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 00 00 00 00 01 01
> 00 24 31 66 66 35 64 32 32 36 2d 62 31 66 30 2d 34 30 66 62 2d 61 62
> 61 32 2d 30 63 33 31 62 33 38 63 37 36 34 66 00 00
> Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@22
> --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation -1
> main [debug.protocol] Read sessionID: 1
> main [debug.protocol] Read repositoryUUID:
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> main [debug.buffer] Retaining Buffer@22
> main [debug.lifecycle] Activating CDOSessionPackageManagerImpl@24
> main [debug.lifecycle.dump] DUMP CDOSessionPackageManagerImpl@24
> CDOPackageManagerImpl.packages =
>
> http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
>
> http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoCorePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoResourcePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> session = CDOSession[JVMClientConnector@14/requipse-repo]
>
> main [debug.lifecycle] Activating CDORevisionManagerImpl@25
> main [debug.lifecycle.dump] DUMP CDORevisionManagerImpl@25
> CDORevisionResolverImpl.revisions =
> CDORevisionResolverImpl.currentLRUCapacity = 0
> CDORevisionResolverImpl.revisedLRUCapacity = 0
> CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=0]
> CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=0]
> session = CDOSession[JVMClientConnector@14/requipse-repo]
> ruleManager =
> org.eclipse.emf.internal.cdo.analyzer.NOOPFetchRuleManager@1026d9f
>
> main [debug.lifecycle.dump] DUMP CDOSessionImpl@26
> nextTemporaryID = -1
> sessionID = 1
> disableLegacyObjects = true
> referenceChunkSize = -1
> failOverStrategy = null
> failOverStrategyListener =
> org.eclipse.emf.internal.cdo.CDOSessionImpl$1@b243d7
> connector = JVMClientConnector@14
> channel = Channel[0]
> repositoryName = requipse-repo
> repositoryUUID = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> packageRegistry =
> packageManager = CDOSessionPackageManagerImpl@24
> revisionManager = CDORevisionManagerImpl@25
> idToMetaInstanceMap =
> metaInstanceToIDMap =
> types =
> views =
> lastViewID = 0
> channelListener = org.eclipse.emf.internal.cdo.CDOSessionImpl$2@183f762
>
> BufferPoolMonitor [debug.buffer] Collected buffer
> main [debug.view] Attaching CDO view to
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl@66f987 resources=[]
> main [debug.signal] ================ Requesting ViewsChangedRequest
> main [debug.buffer] Created Buffer@27
> main [debug.buffer] Obtained Buffer@27
> main [debug.buffer.stream] Put signal id 2
> main [debug.channel] Handling buffer from client: Buffer@27 -->
> Channel[0]
> main [debug] Multiplexing 00 00 00 00 00 00 00 02 00 02 00 00 00 01 01
> main [debug.channel] Handling buffer from multiplexer: Buffer@27 -->
> Channel[0]
> main [debug.signal] ================ Confirming ViewsChangedRequest
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 2
> ReceiveSerializer0 [debug.signal] Got signal id 2
> Thread-4 [debug.signal] ================ Indicating
> ViewsChangedIndication
> Thread-4 [debug.buffer] Retaining Buffer@27
> Thread-4 [debug.signal] ================ Responding
> ViewsChangedIndication
> Thread-4 [debug.buffer] Obtained Buffer@27
> Thread-4 [debug.channel] Handling buffer from client: Buffer@27 -->
> Channel[0]
> Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 01 01
> Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@27
> --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation -2
> main [debug.buffer] Retaining Buffer@27
> [INFO] Legacy system not available
> main [debug.object] PREPARE: CDOResource? --> CDOTransaction(1)
> main [debug] Processing event PREPARE in state TRANSIENT for
> CDOResource? (data=ResourceAndView(CDOResource?, CDOTransaction(1)))
> main [debug.object] Setting ID: -2
> main [debug.object] Setting view: CDOTransaction(1)
> main [debug.object] Setting state PREPARED for CDOResource@-2
> main [debug.revision] Setting version for CDOResource@-2v0: v-1
> main [debug.revision] Setting resourceID CDOResource@-2v-1: -2
> main [debug.object] Setting revision: CDOResource@-2v-1
> main [debug.view] Registering CDOResource@-2
> main [debug.transaction] Registering new object CDOResource@-2
> main [debug.object] ATTACH: CDOResource@-2 --> CDOTransaction(1)
> main [debug] Processing event ATTACH in state PREPARED for
> CDOResource@-2 (data=null)
> main [debug.object] Populating revision for CDOResource@-2
> main [debug.revision] Setting containerID CDOResource@-2v-1: NULL
> main [debug.revision] Setting containingFeatureID CDOResource@-2v-1: 0
> main [debug.object] Populating feature CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.object] Setting state NEW for CDOResource@-2
> main [debug.object] isSet(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)))
> main [debug.object] READ:
> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
> main [debug.object] get(CDOResource@-2, CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null), -1)
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)))
> main [debug.object] contains(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)), RequipseProject?)
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)))
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)))
> main [debug.object] add(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)), 0, RequipseProject?)
> main [debug.object] PREPARE: RequipseProject? --> CDOTransaction(1)
> main [debug] Processing event PREPARE in state TRANSIENT for
> RequipseProject? (data=ResourceAndView(CDOResource@-2,
> CDOTransaction(1)))
> main [debug.object] Setting ID: -4
> main [debug.object] Setting resource: CDOResource@-2
> main [debug.object] Setting state PREPARED for RequipseProject@-4
> main [debug.session] Registering meta instance: -1 <->
> de.feuh.st.requipse.project.Requipse.impl.RequipsePackageImp l @89a339
> (name: Requipse) (nsURI:
> http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, nsPrefix: requipse)
> main [debug.session] Registering meta instance: -3 <->
> org.eclipse.emf.ecore.impl.EClassImpl@1c2df08 (name: RequipseProject)
> (instanceClassName: null) (abstract: false, interface: false)
> main [debug.session] Registering meta instance: -5 <->
> org.eclipse.emf.ecore.impl.EOperationImpl@3b1e8b (name: addCategory)
> (ordered: true, unique: true, lowerBound: 0, upperBound: 1)
> main [debug.session] Registering meta instance: -7 <->
> org.eclipse.emf.ecore.impl.EParameterImpl@152441a (name: name)
> (ordered: true, unique: true, lowerBound: 1, upperBound: 1)
> main [debug.session] Registering meta instance: -9 <->
> org.eclipse.emf.ecore.impl.EGenericTypeImpl@1f530ab (expression: EString)
> main [debug.session] Registering meta instance: -11 <->
> org.eclipse.emf.ecore.impl.EReferenceImpl@4e63f9 (name: categories)
> (ordered: true, unique: true, lowerBound: 0, upperBound: -1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false)
> (containment: true, resolveProxies: false)
> main [debug.session] Registering meta instance: -13 <->
> org.eclipse.emf.ecore.impl.EGenericTypeImpl@85968b (expression: Category)
> main [debug.session] Registering meta instance: -15 <->
> org.eclipse.emf.ecore.impl.EReferenceImpl@c27576 (name: traceSets)
> (ordered: true, unique: true, lowerBound: 0, upperBound: -1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived:
Re: [CDO] examples question [message #111110 is a reply to message #110992] Wed, 30 January 2008 16:36 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Eike,<br>
<br>
Eike Stepper schrieb:
<blockquote cite="mid:fnq6v0$qa8$18@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
Gosh! I just remember that one important line was missing from the
example code!<br>
I noticed that some minutes ago when I copied the example for Martin. I
changed it already for him. You can look at a correct ImportXML.java in
my test plugin, too, if you want.<br>
<br>
After opening the session you have to register the packages you want
use:<br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type" content="text/html; ">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = --><!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top"> <code><font color="#ffffff">    </font><font
color="#000000">CDOSession session = CDOUtil.openSession </font><font
color="#000000">(</font><font color="#000000">connector, REPOSITORY_NAME, </font><font
color="#7f0055"><b>true</b></font><font color="#000000">)</font><font
color="#000000">;</font><font color="#3f7f5f">// Open a CDO session</font><br>
<font color="#ffffff">    </font><font color="#000000">session.getPackageRegistry</font><font
color="#000000">()</font><font color="#000000">.putEPackage</font><font
color="#000000">(</font><font color="#000000">Model1Package.eINSTANCE</font><font
color="#000000">)</font><font color="#000000">;</font><font
color="#3f7f5f">// Not needed after first commit!!!</font ></code> </td>
<!-- end source code --> </tr>
</tbody>
</table>
</div>
<!-- = END of automatically generated HTML code = -->
<!-- ======================================================== --><br>
</blockquote>
that did it, tanks ;-)<br>
<blockquote cite="mid:fnq6v0$qa8$18@build.eclipse.org" type="cite">
Since the package will be committed to the repository it doesn't need
to be actively registered in subsequent sessions!<br>
</blockquote>
Is it a problem if I do register it every session?<br>
Or should I check, if my package is registered (using getEPackage(uri)
== null?)<br>
<br>
Cheers,<br>
Stefan<br>
<br>
<br>
<br>
<blockquote cite="mid:fnq6v0$qa8$18@build.eclipse.org" type="cite"><br>
Did that help?<br>
<br>
Regards,<br>
Eike Stepper<br>
----<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wiki.eclipse.org/CDO">http://wiki.eclipse.org/CDO</a><br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wiki.eclipse.org/Net4j">http://wiki.eclipse.org/Net4j</a><br>
<br>
<br>
<br>
Stefan Winkler schrieb:
<blockquote cite="mid:fnq5mn$qg0$1@build.eclipse.org" type="cite">Eike,
<br>
<blockquote type="cite">I see your point. <br>
Can you please update all projects from CVS. <br>
</blockquote>
done. <br>
<blockquote type="cite">I saw a few traces that indicate that you
don't have the latest version. Some days ago I accidentally committed
code that broke the CDOStateMachine and the trace indicates that you
have a version before I fixed that. <br>
<br>
Does that already help? <br>
</blockquote>
No :-( <br>
<br>
Here's the current trace: <br>
<br>
Configuration location: <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/ "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/ </a>
<br>
Configuration file: <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini </a>
loaded <br>
Install location: <br>
   <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="file:/C:/Programme/Eclipse-3.4/eclipse/">file:/C:/Programme/Eclipse-3.4/eclipse/ </a>
<br>
Framework located: <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar "> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar </a>
<br>
Framework classpath: <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar "> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar </a>
<br>
Debug options: <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options </a>
loaded <br>
Time to load bundles: 157 <br>
Starting application: 8421 <br>
Application Started: 23329 <br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util <br>
Worker-4 [debug.lifecycle] Activating ManagedContainer <br>
Worker-4 [debug.lifecycle] Activating {} <br>
Worker-4 [debug.lifecycle.dump] DUMP PluginFactoryRegistry@1 <br>
Registry.autoCommit = true <br>
Registry.transaction = null <br>
HashMapRegistry.map = <br>
  
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm] <br>
  
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm] <br>
  
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default] <br>
  
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies] <br>
  
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file] <br>
  
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo] <br>
  
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies] <br>
  
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo] <br>
  
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat] <br>
  
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default] <br>
  
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp] <br>
  
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge] <br>
  
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp] <br>
  
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default] <br>
  
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat] <br>
  
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp] <br>
  
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo] <br>
extensionRegistryListener =
org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@4a1535 <br>
<br>
Worker-4 [debug.lifecycle] Activating [] <br>
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo <br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j <br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.tcp <br>
Worker-4 [debug.lifecycle.dump] DUMP PluginElementProcessorList@2 <br>
processors = <br>
   org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46 <br>
  
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
<br>
   org.eclipse.internal.net4j.Net4jTransportInjector@81255 <br>
   org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65 <br>
extensionRegistryListener =
org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@4814f9
<br>
<br>
Worker-4 [debug.lifecycle.dump] DUMP PluginContainer@3 <br>
ManagedContainer.factoryRegistry = <br>
  
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm] <br>
  
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm] <br>
  
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default] <br>
  
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies] <br>
  
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file] <br>
  
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo] <br>
  
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies] <br>
  
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo] <br>
  
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat] <br>
  
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default] <br>
  
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp] <br>
  
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge] <br>
  
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp] <br>
  
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default] <br>
  
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat] <br>
  
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp] <br>
  
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo] <br>
ManagedContainer.postProcessors = <br>
   org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46 <br>
  
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
<br>
   org.eclipse.internal.net4j.Net4jTransportInjector@81255 <br>
   org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65 <br>
ManagedContainer.elementRegistry = <br>
ManagedContainer.maxElementID = 0 <br>
ManagedContainer.elementListener =
org.eclipse.net4j.internal.util.container.ManagedContainer$1@1d95643 <br>
<br>
Worker-4 [debug.om] Plugin container created: ManagedContainer <br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util.ui <br>
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver.ui <br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.server <br>
main [debug.om] Starting bundle org.eclipse.net4j.jvm <br>
main [debug.lifecycle] Activating BufferPool[4.096] <br>
BufferPoolMonitor [debug.buffer] Start monitoring <br>
main [debug.lifecycle.dump] DUMP BufferPool@4 <br>
BufferProvider.bufferCapacity = 4096 <br>
BufferProvider.providedBuffers = 0 <br>
BufferProvider.retainedBuffers = 0 <br>
provider = BufferFactory[4.096] <br>
pooledBuffers = 0 <br>
<br>
main [debug.lifecycle] Activating JVMAcceptor[default] <br>
main [debug.lifecycle.dump] DUMP JVMAcceptor@5 <br>
Acceptor.negotiator = null <br>
Acceptor.bufferProvider = BufferPool[4.096] <br>
Acceptor.protocolFactoryRegistry = <br>
  
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm] <br>
  
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm] <br>
  
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default] <br>
  
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies] <br>
  
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file] <br>
  
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo] <br>
  
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies] <br>
  
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo] <br>
  
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat] <br>
  
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default] <br>
  
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp] <br>
  
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge] <br>
  
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp] <br>
  
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default] <br>
  
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat] <br>
  
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp] <br>
  
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo] <br>
Acceptor.protocolPostProcessors = <br>
   org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46 <br>
  
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
<br>
   org.eclipse.internal.net4j.Net4jTransportInjector@81255 <br>
   org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65 <br>
Acceptor.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
Acceptor.lifecycleEventConverter =
org.eclipse.internal.net4j.acceptor.Acceptor$1@14355f1 <br>
Acceptor.acceptedConnectors = <br>
name = default <br>
<br>
Worker-3 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver <br>
main [debug.repository] Configuring CDO server from
C:\work\work\diss\requipse-workspace\CDOTests\configuration\ cdo-config.xml
<br>
main [debug.repository] Configuring repository requipse-repo
(type=default) <br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.protocol <br>
main [debug.model] Created
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) <br>
main [debug.model] Created CDOClass(ID=0, name=CDOObject) <br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject) <br>
main [debug.model] Added package:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) <br>
main [debug.model] Created
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
main [debug.model] Created CDOClass(ID=0, name=CDOResource) <br>
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null) <br>
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null) <br>
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject)) <br>
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)) <br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource) <br>
main [debug.model] Added package:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.server.db <br>
main [debug.om] Starting bundle org.eclipse.net4j.db <br>
main [debug.lifecycle] Activating Repository[requipse-repo, null] <br>
main [debug.lifecycle] Activating DBStore@6 <br>
main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
feature INTEGER, name LONGTEXT, type INTEGER, reference_package
LONGTEXT, reference_classifier INTEGER, many BOOLEAN, containment
BOOLEAN, idx INTEGER) <br>
main [debug.sql] CREATE INDEX cdo_features_idx0 ON cdo_features (id) <br>
main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package INTEGER,
classifier INTEGER, name LONGTEXT, abstract BOOLEAN) <br>
main [debug.sql] CREATE INDEX cdo_classes_idx0 ON cdo_classes (id) <br>
main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri LONGTEXT,
name LONGTEXT, ecore LONGTEXT, dynamic BOOLEAN, range_lb BIGINT,
range_ub BIGINT) <br>
main [debug.sql] CREATE INDEX cdo_packages_idx0 ON cdo_packages (id) <br>
main [debug.sql] CREATE UNIQUE INDEX cdo_packages_idx1 ON cdo_packages
(uri(255)) <br>
main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
supertype_package LONGTEXT, supertype_classifier INTEGER) <br>
main [debug.sql] CREATE INDEX cdo_supertypes_idx0 ON cdo_supertypes
(type_id) <br>
main [debug.sql] CREATE TABLE cdo_repository (name LONGTEXT, uuid
LONGTEXT, starts BIGINT, started BIGINT, stopped BIGINT, next_cdoid
BIGINT, next_metaid BIGINT) <br>
main [debug.sql] INSERT IGNORE INTO cdo_repository VALUES ('requipse-repo',
'1ff5d226-b1f0-40fb-aba2-0c31b38c764f', 1, 1201707015563, 0, 0, 0) <br>
main [debug.model] Setting server info: CDOClass(ID=0,
name=CDOResource) --&gt; -2 <br>
main [debug.sql] CREATE TABLE CDOResource (cdo_id BIGINT NOT NULL,
cdo_version INTEGER NOT NULL, cdo_class INTEGER NOT NULL, cdo_created
BIGINT NOT NULL, cdo_revised BIGINT NOT NULL, cdo_resource BIGINT NOT
NULL, cdo_container BIGINT NOT NULL, cdo_feature INTEGER NOT NULL, path
LONGTEXT NOT NULL) <br>
main [debug.sql] CREATE UNIQUE INDEX CDOResource_idx0 ON CDOResource
(cdo_version, path(760)) <br>
main [debug.sql] CREATE TABLE CDOResource_contents_refs (cdo_source
BIGINT, cdo_version INTEGER, cdo_idx INTEGER, cdo_target BIGINT) <br>
main [debug.sql] SELECT MAX(id) FROM cdo_packages <br>
main [debug.sql] SELECT MAX(id) FROM cdo_classes <br>
main [debug.sql] SELECT MAX(id) FROM cdo_features <br>
main [debug.lifecycle] Activating horizontal <br>
main [debug.lifecycle] Activating ObjectTypeCache@7 <br>
main [debug.lifecycle.dump] DUMP ObjectTypeCache@7 <br>
mappingStrategy = horizontal <br>
table = null <br>
idField = null <br>
typeField = null <br>
initializeLock = java.lang.Object@cafce4 <br>
<br>
main [debug.lifecycle.dump] DUMP HorizontalMappingStrategy@8 <br>
MappingStrategy.store = DBStore@6 <br>
MappingStrategy.properties = <br>
   toManyReferences=ONE_TABLE_PER_REFERENCE <br>
   mappingPrecedence=MODEL <br>
   toOneReferences=LIKE_ATTRIBUTES <br>
MappingStrategy.referenceTables = <br>
   CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))=CDOResource_contents_refs
<br>
MappingStrategy.classRefs = <br>
MappingStrategy.resourceClassMapping =
org.eclipse.emf.cdo.server.internal.db.HorizontalClassMappin g @23d1ab <br>
MappingStrategy.resourcePathMapping =
org.eclipse.emf.cdo.server.internal.db.AttributeMapping$AMString@19a6904
<br>
MappingStrategy.resourceTable = CDOResource <br>
MappingStrategy.resourceIDField = cdo_id <br>
MappingStrategy.resourcePathField = path <br>
objectTypeCache = ObjectTypeCache@7 <br>
<br>
main [debug.lifecycle.dump] DUMP DBStore@6 <br>
Store.type = db <br>
Store.properties = null <br>
Store.repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f] <br>
Store.nextOIDValue = 2 <br>
mappingStrategy = horizontal <br>
dbSchema = requipse-repo <br>
dbAdapter = mysql-5.1.5 <br>
dbConnectionProvider =
com.mysql.jdbc.jdbc2.optional.MysqlDataSource@2ea871 <br>
nextPackageID = 1 <br>
nextClassID = 1 <br>
nextFeatureID = 1 <br>
<br>
main [debug.lifecycle] Activating PackageManager@9 <br>
main [debug.sql] SELECT uri, dynamic, range_lb, range_ub FROM
cdo_packages <br>
main [debug.lifecycle.dump] DUMP PackageManager@9 <br>
CDOPackageManagerImpl.packages = <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage%28U RI=http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage%28URI=h ttp://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore, dynamic=false, metaIDRange=null) <br>
CDOPackageManagerImpl.cdoCorePackage =
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) <br>
CDOPackageManagerImpl.cdoResourcePackage =
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f] <br>
<br>
main [debug.lifecycle] Activating SessionManager@10 <br>
main [debug.lifecycle.dump] DUMP SessionManager@10 <br>
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f] <br>
sessions = <br>
lastSessionID = 0 <br>
<br>
main [debug.lifecycle] Activating ResourceManager@11 <br>
main [debug.lifecycle.dump] DUMP ResourceManager@11 <br>
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f] <br>
idToPathMap = <br>
pathToIDMap = <br>
<br>
main [debug.lifecycle] Activating RevisionManager@12 <br>
main [debug.lifecycle.dump] DUMP RevisionManager@12 <br>
CDORevisionResolverImpl.revisions = <br>
CDORevisionResolverImpl.currentLRUCapacity = 10000 <br>
CDORevisionResolverImpl.revisedLRUCapacity = 100 <br>
CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=10.000] <br>
CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=100] <br>
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f] <br>
cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING,
referenceType=null) <br>
<br>
main [debug.lifecycle.dump] DUMP Repository@13 <br>
name = requipse-repo <br>
store = DBStore@6 <br>
uuid = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f <br>
properties = <br>
   revisedLRUCapacity=100 <br>
   supportingAudits=false <br>
   currentLRUCapacity=10000 <br>
   verifyingRevisions=true <br>
   overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f <br>
supportingRevisionDeltas = null <br>
supportingAudits = false <br>
verifyingRevisions = null <br>
packageManager = PackageManager@9 <br>
sessionManager = SessionManager@10 <br>
resourceManager = ResourceManager@11 <br>
revisionManager = RevisionManager@12 <br>
elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@cedf4e <br>
nextMetaIDValue = 1 <br>
<br>
main [debug.lifecycle] Activating JVMClientConnector@14 <br>
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMClientConnector@14 <br>
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMClientConnector@14 <br>
main [debug.lifecycle.dump] DUMP JVMClientConnector@14 <br>
Connector.userID = null <br>
Connector.protocolFactoryRegistry = <br>
  
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm] <br>
  
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm] <br>
  
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default] <br>
  
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies] <br>
  
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file] <br>
  
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo] <br>
  
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies] <br>
  
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo] <br>
  
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat] <br>
  
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default] <br>
  
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp] <br>
  
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge] <br>
  
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp] <br>
  
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default] <br>
  
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat] <br>
  
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp] <br>
  
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo] <br>
Connector.protocolPostProcessors = <br>
   org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46 <br>
  
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
<br>
   org.eclipse.internal.net4j.Net4jTransportInjector@81255 <br>
   org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65 <br>
Connector.negotiator = null <br>
Connector.negotiationContext = null <br>
Connector.bufferProvider = BufferPool[4.096] <br>
Connector.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
Connector.nextChannelID = 0 <br>
Connector.channels = <br>
Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@1ac0c5[Write locks = 0, Read
locks = 0] <br>
Connector.connectorState = CONNECTED <br>
Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@65cfd2 <br>
Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@2f1989[Count = 1] <br>
Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@35acf6[Count = 1] <br>
JVMConnector.peer = null <br>
JVMConnector.name = default <br>
acceptor = JVMAcceptor[default] <br>
peerLifecycleListener =
org.eclipse.net4j.internal.jvm.JVMClientConnector$1@1ee6b69 <br>
<br>
main [debug.lifecycle] Activating JVMServerConnector@15 <br>
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMServerConnector@15 <br>
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMServerConnector@15 <br>
main [debug.lifecycle.dump] DUMP JVMServerConnector@15 <br>
Connector.userID = null <br>
Connector.protocolFactoryRegistry = <br>
  
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm] <br>
  
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm] <br>
  
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default] <br>
  
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies] <br>
  
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file] <br>
  
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo] <br>
  
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies] <br>
  
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo] <br>
  
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat] <br>
  
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default] <br>
  
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp] <br>
  
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge] <br>
  
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp] <br>
  
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default] <br>
  
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat] <br>
  
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp] <br>
  
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo] <br>
Connector.protocolPostProcessors = <br>
   org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46 <br>
  
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
<br>
   org.eclipse.internal.net4j.Net4jTransportInjector@81255 <br>
   org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65 <br>
Connector.negotiator = null <br>
Connector.negotiationContext = null <br>
Connector.bufferProvider = BufferPool[4.096] <br>
Connector.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
Connector.nextChannelID = 0 <br>
Connector.channels = <br>
Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@1349b1[Write locks = 0, Read
locks = 0] <br>
Connector.connectorState = CONNECTED <br>
Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@4b0cbc <br>
Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@1312369[Count = 1] <br>
Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@10bca49[Count = 1] <br>
JVMConnector.peer = JVMClientConnector@14 <br>
JVMConnector.name = default <br>
<br>
main [debug.acceptor] Added connector JVMServerConnector@15 <br>
main [debug.model] Created
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) <br>
main [debug.model] Created CDOClass(ID=0, name=CDOObject) <br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject) <br>
main [debug.model] Added package:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) <br>
main [debug.model] Created
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
main [debug.model] Created CDOClass(ID=0, name=CDOResource) <br>
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null) <br>
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null) <br>
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject)) <br>
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)) <br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource) <br>
main [debug.model] Added package:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
main [debug.model] Setting client info:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) --&gt;
org.eclipse.emf.ecore.impl.EcorePackageImpl@c5384d (name: ecore)
(nsURI: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/2002/Ecore">http://www.eclipse.org/emf/2002/Ecore</a>,
nsPrefix: ecore) <br>
main [debug.model] Setting client info: CDOClass(ID=0, name=CDOObject)
--&gt; org.eclipse.emf.ecore.impl.EClassImpl@16dd9c5 (name: EObject)
(instanceClassName: null) (abstract: false, interface: false) <br>
main [debug.model] Setting client info:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) --&gt;
org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@39d3d3 (name:
eresource) (nsURI: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
nsPrefix: eresource) <br>
main [debug.model] Setting client info: CDOClass(ID=0,
name=CDOResource) --&gt; org.eclipse.emf.ecore.impl.EClassImpl@e9b75e
(name: CDOResource) (instanceClassName: null) (abstract: false,
interface: false) <br>
main [debug.model] Setting client info: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)) --&gt;
org.eclipse.emf.ecore.impl.EReferenceImpl@81df82 (name: contents)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false) <br>
main [debug.model] Setting client info: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null) --&gt;
org.eclipse.emf.ecore.impl.EAttributeImpl@78e59b (name: path) (ordered:
true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true,
volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false) <br>
main [debug.lifecycle] Activating
CDOSession[JVMClientConnector@14/requipse-repo] <br>
main [debug.connector] Waiting for connection... <br>
main [debug.lifecycle] Activating SignalProtocol[cdo] <br>
main [debug.lifecycle.dump] DUMP CDOClientProtocol@16 <br>
Protocol.channel = Channel[-32.768] <br>
Protocol.bufferProvider = BufferPool[4.096] <br>
Protocol.executorService =
java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
Protocol.infraStructure =
CDOSession[JVMClientConnector@14/requipse-repo] <br>
SignalProtocol.streamWrapper = null <br>
SignalProtocol.signals = <br>
SignalProtocol.nextCorrelationID = 1 <br>
<br>
main [debug.connector] Opening channel 0 with protocol cdo <br>
main [debug.lifecycle] Activating SignalProtocol[cdo] <br>
main [debug.lifecycle.dump] DUMP CDOServerProtocol@17 <br>
Protocol.channel = Channel[-32.768] <br>
Protocol.bufferProvider = BufferPool[4.096] <br>
Protocol.executorService =
java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
Protocol.infraStructure =
org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @175e354 <br>
SignalProtocol.streamWrapper = null <br>
SignalProtocol.signals = <br>
SignalProtocol.nextCorrelationID = 1 <br>
session = null <br>
<br>
main [debug.connector] Opening channel 0 with protocol cdo <br>
main [debug.lifecycle] Activating Channel[0] <br>
main [debug.lifecycle] Activating ChannelReceiveSerializer@18 <br>
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@18 <br>
Worker.daemon = false <br>
Worker.activationTimeout = 2000 <br>
Worker.deactivationTimeout = 2000 <br>
Worker.activationLatch =
java.util.concurrent.CountDownLatch@ceaf8c[Count = 0] <br>
Worker.workerThread = Thread[ReceiveSerializer0,6,main] <br>
QueueWorker.queue = <br>
QueueWorker.pollMillis = 100 <br>
<br>
main [debug.lifecycle.dump] DUMP Channel@19 <br>
channelID = 0 <br>
channelMultiplexer = JVMServerConnector@15 <br>
channelIndex = 0 <br>
receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
receiveHandler = SignalProtocol[cdo] <br>
receiveSerializer = ChannelReceiveSerializer@18 <br>
sendQueue = <br>
<br>
main [debug.lifecycle] Activating Channel[0] <br>
main [debug.lifecycle] Activating ChannelReceiveSerializer@20 <br>
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@20 <br>
Worker.daemon = false <br>
Worker.activationTimeout = 2000 <br>
Worker.deactivationTimeout = 2000 <br>
Worker.activationLatch =
java.util.concurrent.CountDownLatch@161b9b2[Count = 0] <br>
Worker.workerThread = Thread[ReceiveSerializer0,6,main] <br>
QueueWorker.queue = <br>
QueueWorker.pollMillis = 100 <br>
<br>
main [debug.lifecycle.dump] DUMP Channel@21 <br>
channelID = 0 <br>
channelMultiplexer = JVMClientConnector@14 <br>
channelIndex = 0 <br>
receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
receiveHandler = SignalProtocol[cdo] <br>
receiveSerializer = ChannelReceiveSerializer@20 <br>
sendQueue = <br>
<br>
main [debug.signal] ================ Requesting OpenSessionRequest <br>
main [debug.protocol] Writing repositoryName: requipse-repo <br>
main [debug.buffer] Created Buffer@22 <br>
main [debug.buffer] Obtained Buffer@22 <br>
main [debug.buffer.stream] Put signal id 1 <br>
main [debug.protocol] Writing disableLegacyObjects: true <br>
main [debug.channel] Handling buffer from client: Buffer@22 --&gt;
Channel[0] <br>
main [debug] Multiplexing 00 00 00 00 00 00 00 01 00 01 01 00 0d 72 65
71 75 69 70 73 65 2d 72 65 70 6f 00 01 <br>
main [debug.channel] Handling buffer from multiplexer: Buffer@22 --&gt;
Channel[0] <br>
main [debug.signal] ================ Confirming OpenSessionRequest <br>
ReceiveSerializer0 [debug.signal] Received buffer for correlation 1 <br>
ReceiveSerializer0 [debug.signal] Got signal id 1 <br>
Thread-4 [debug.signal] ================ Indicating
OpenSessionIndication <br>
Thread-4 [debug.protocol] Read repositoryName: requipse-repo <br>
Thread-4 [debug.buffer] Retaining Buffer@22 <br>
Thread-4 [debug.protocol] Read disableLegacyObjects: true <br>
Thread-4 [debug.signal] ================ Responding
OpenSessionIndication <br>
Thread-4 [debug.session] Opening session 1 <br>
Thread-4 [debug.lifecycle] Activating Session[1, Channel[0]] <br>
Thread-4 [debug.lifecycle.dump] DUMP Session@23 <br>
sessionManager = SessionManager@10 <br>
protocol = SignalProtocol[cdo] <br>
sessionID = 1 <br>
disableLegacyObjects = true <br>
views = <br>
protocolListener =
org.eclipse.emf.cdo.internal.server.Session$1@1f7456f <br>
<br>
Thread-4 [debug.protocol] Writing sessionID: 1 <br>
Thread-4 [debug.buffer] Obtained Buffer@22 <br>
Thread-4 [debug.protocol] Writing repositoryUUID:
1ff5d226-b1f0-40fb-aba2-0c31b38c764f <br>
Thread-4 [debug.channel] Handling buffer from client: Buffer@22 --&gt;
Channel[0] <br>
Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 00 00 00 00 01 01 00
24 31 66 66 35 64 32 32 36 2d 62 31 66 30 2d 34 30 66 62 2d 61 62 61 32
2d 30 63 33 31 62 33 38 63 37 36 34 66 00 00 <br>
Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@22
--&gt; Channel[0] <br>
ReceiveSerializer0 [debug.signal] Received buffer for correlation -1 <br>
main [debug.protocol] Read sessionID: 1 <br>
main [debug.protocol] Read repositoryUUID:
1ff5d226-b1f0-40fb-aba2-0c31b38c764f <br>
main [debug.buffer] Retaining Buffer@22 <br>
main [debug.lifecycle] Activating CDOSessionPackageManagerImpl@24 <br>
main [debug.lifecycle.dump] DUMP CDOSessionPackageManagerImpl@24 <br>
CDOPackageManagerImpl.packages = <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage%28U RI=http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage%28URI=h ttp://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore, dynamic=false, metaIDRange=null) <br>
CDOPackageManagerImpl.cdoCorePackage =
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) <br>
CDOPackageManagerImpl.cdoResourcePackage =
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">

Report message to a moderator

Re: [CDO] examples question [message #111124 is a reply to message #111110] Wed, 30 January 2008 17:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

This is a multi-part message in MIME format.
--------------000709000204000700060409
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Stefan Winkler schrieb:
> Eike,
>
> Eike Stepper schrieb:
>> Gosh! I just remember that one important line was missing from the
>> example code!
>> I noticed that some minutes ago when I copied the example for Martin.
>> I changed it already for him. You can look at a correct
>> ImportXML.java in my test plugin, too, if you want.
>>
>> After opening the session you have to register the packages you want use:
>>
>> | CDOSession session = CDOUtil.openSession(connector, REPOSITORY_NAME, *true*);// Open a CDO session
>> session.getPackageRegistry().putEPackage(Model1Package.eINST ANCE);// Not needed after first commit!!!|
>>
>>
>>
> that did it, tanks ;-)
Oh great!

>> Since the package will be committed to the repository it doesn't need
>> to be actively registered in subsequent sessions!
> Is it a problem if I do register it every session?
I must admit that I never tried that ;-)
Please report what happens...


> Or should I check, if my package is registered (using getEPackage(uri)
> == null?)
Hmm, again a bit of explanation:
If you look at CDOSession you'll notice getPackageRegistry() and
getPackageManager(). The first returns an EPackageRegistry
implementation and the second returns a sort of a remote interface to
the central package manager of the connected repository. Together they
manage lazy package loading from the repository. So, if you want to
query the packages registered in the repository (not only in your local
session) then I'd recommend to use the package manager. If you think
that the CDOSessionPackageManager API is not appropriate (returns
CDOPackage[]) or convenient or if you think that
CDOPackageRegistryImpl.putEPackage could do this check as a convenience,
please open a Bugzilla.

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j





--------------000709000204000700060409
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Stefan Winkler schrieb:
<blockquote cite="mid:fnq92p$dq2$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
Eike,<br>
<br>
Eike Stepper schrieb:
<blockquote cite="mid:fnq6v0$qa8$18@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
Gosh! I just remember that one important line was missing from the
example code!<br>
I noticed that some minutes ago when I copied the example for Martin. I
changed it already for him. You can look at a correct ImportXML.java in
my test plugin, too, if you want.<br>
<br>
After opening the session you have to register the packages you want
use:<br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type" content="text/html; ">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = --><!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top"> <code><font color="#ffffff">
Re: [CDO] examples question [message #111195 is a reply to message #111124] Thu, 31 January 2008 08:50 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Eike,<br>
<br>
see below ...<br>
<br>
<br>
Eike Stepper schrieb:
<blockquote cite="mid:fnqbjg$qa8$19@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<br>
<blockquote cite="mid:fnq92p$dq2$1@build.eclipse.org" type="cite">
<blockquote cite="mid:fnq6v0$qa8$18@build.eclipse.org" type="cite">Since
the package will be committed to the repository it doesn't need
to be actively registered in subsequent sessions!<br>
</blockquote>
Is it a problem if I do register it every session?<br>
</blockquote>
I must admit that I never tried that ;-)<br>
Please report what happens...<br>
</blockquote>
It seems to do no harm doing it again every time.<br>
Here is what happens - My code:<br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = -->
<!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top">            <code>
<font color="#000000">connector = JVMUtil.getConnector</font> <font
color="#000000">(</font><font color="#000000">container, </font><font
color="#2a00ff">"default"</font><font color="#000000">)</font><font
color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#000000">session = CDOUtil.openSession</font><font
color="#000000">(</font><font color="#000000">connector, REPOSITORY_NAME, </font><font
color="#7f0055"><b>true</b></font><font color="#000000">)</font><font
color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#000000">transaction = session.openTransaction</font ><font
color="#000000">()</font><font color="#000000">;</font><br>
<font color="#ffffff">      </font><br>
<font color="#ffffff">      </font><font color="#000000">session.getPackageRegistry</font><font
color="#000000">()</font><font color="#000000">.putEPackage</font><font
color="#000000">(</font><font color="#000000">RequipsePackage.eINSTANCE</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">      </font></code> </td>
<!-- end source code --> </tr>
</tbody>
</table>
</div>
<!-- = END of automatically generated HTML code = -->
<!-- ======================================================== --><br>
It seems that my local package registry already knows of the package
after opening the transaction.<br>
When I follow putEPackage with the debugger, I can find out that the
package is already stored in the HashMap and consequently the
HashMap.put() method reacts by updating the package belonging to the
URL (which does nothing in fact, because the package is always the
same).<br>
<br>
Why the local PackageManager already knows about the package - I don't
know. But I'm fine with how things are in this matter.<br>
<br>
However I have another question (I hope, I am not missing some EMF
standard API here ...):<br>
Can I find out easily, if a resource already exists?<br>
<br>
My first try was to <br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = -->
<!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top"> <code><font color="#ffffff">      </font><font
color="#000000">CDOResource resource = transaction.getResource </font><font
color="#000000">(</font><font color="#000000">PROJECT_STORE_RESOURCE_PATH</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#7f0055"><b>if</b></font><font
color="#000000">(</font><font color="#000000">resource == </font><font
color="#7f0055"><b>null</b></font><font color="#000000">) {</font><br>
<font color="#ffffff">        </font><font color="#000000">resource = transaction.createResource</font ><font
color="#000000">(</font><font color="#000000">PROJECT_STORE_RESOURCE_PATH</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#000000">}</font></code>
</td>
<!-- end source code --> </tr>
</tbody>
</table>
</div>
<!-- = END of automatically generated HTML code = -->
<!-- ======================================================== --><br>
which does not work, because getResource does not return null if the
resource does not exist in the database.<br>
What it does is printing a lot of nasty exceptions to the console
stating that the resource does not exist in the repository (which is
true), but then falling back to returning a resource in TRANSIENT state
which is not part of the transaction's resource set.<br>
<br>
So what I'm doing now is<br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = -->
<!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top">            <code>
<font color="#000000">CDOResource resource = transaction.getResource </font><font
color="#000000">(</font><font color="#000000">PROJECT_STORE_RESOURCE_PATH</font><font
color="#000000">)</font><font color="#000000">;      </font><br>
<font color="#ffffff">      </font><font color="#7f0055"><b>if</b></font><font
color="#000000">(</font><font color="#000000">!transaction.getResourceSet</font><font
color="#000000">()</font><font color="#000000">.getResources</font><font
color="#000000">()</font><font color="#000000">.contains</font><font
color="#000000">(</font><font color="#000000">resource</font><font
color="#000000">)) {</font><br>
<font color="#ffffff">        </font><font color="#000000">resource = transaction.createResource</font ><font
color="#000000">(</font><font color="#000000">PROJECT_STORE_RESOURCE_PATH</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#000000">}</font></code>
</td>
<!-- end source code --> </tr>
</tbody>
</table>
</div>
<!-- = END of automatically generated HTML code = -->
<!-- ======================================================== --><br>
which does work (but still throws the exceptions) but seems a bit dirty
to me.<br>
<br>
If there is no better way to query for the existence of a resource
either EMF-wise or CDO-wise, I'd open an enhancement request for either
transaction.createIfNotExists(String) or view.hasResource(String).<br>
<br>
Cheers,<br>
Stefan<br>
<br>
</body>
</html>
Re: [CDO] examples question [message #111266 is a reply to message #111195] Thu, 31 January 2008 09:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

This is a multi-part message in MIME format.
--------------080804080209000009000406
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Stefan Winkler schrieb:
> It seems that my local package registry already knows of the package
> after opening the transaction.
> When I follow putEPackage with the debugger, I can find out that the
> package is already stored in the HashMap and consequently the
> HashMap.put() method reacts by updating the package belonging to the
> URL (which does nothing in fact, because the package is always the same).
>
> Why the local PackageManager already knows about the package - I don't
> know. But I'm fine with how things are in this matter.
I "tried" to explain this in my previous posting ;-)
Basically the client side CDOPackageManager is connected to the server
side CDOPackageManager starting at the time the CDOSession is opened. It
queries the server and populates the registry with package descriptors.

>
> However I have another question (I hope, I am not missing some EMF
> standard API here ...):
> Can I find out easily, if a resource already exists?
Currently not. I postponed the addition of respective API several times
since I was alternating between two approaches to represent the
resources in the repository:
1) [current simple approach] A CDOResource has a String "path". You can
simulate a hierarchy with slashes but basically this value is "flat" for
CDO internally.
2) I could also try to model an explicit folder hierarchy with a new
CDOFolder extends CDOObject.

Approach 1) is more aligned with the flat URIs of EMF Resources but 2)
is more elegant and has tzhe potential to scale better than a huge flat
list of resources (important advantage for lazy UIs)

These considerations apply more for browsing several/all resources
instead of simply asking "does a certain resource exist?". For this easy
use case I could deliver a quick solution. Please feel free to file a
Bugzilla.

>
> My first try was to
>
> | CDOResource resource = transaction.getResource(PROJECT_STORE_RESOURCE_PATH);
> *if*(resource == *null*) {
> resource = transaction.createResource(PROJECT_STORE_RESOURCE_PATH);
> }|
>
>
> which does not work, because getResource does not return null if the
> resource does not exist in the database.
> What it does is printing a lot of nasty exceptions to the console
> stating that the resource does not exist in the repository (which is
> true), but then falling back to returning a resource in TRANSIENT
> state which is not part of the transaction's resource set.
The process of getting an existent resource or creating a new one is
considerably complicated in EMF. For example, regardless of new or
existent, the respective Resource.Factory has no means to determine if
the client called ResourceSet.getResource() or
ResourceSet.createResource() ;-( And there are some other issues with
ResourceSet internal state and notifications...

If you feel that the current CDO implementation does not behave
according to user expectation, please file a Bugzilla as well.

>
> So what I'm doing now is
>
> |
> CDOResource resource = transaction.getResource(PROJECT_STORE_RESOURCE_PATH);
> *if*(!transaction.getResourceSet().getResources().contains(r esource)) {
> resource = transaction.createResource(PROJECT_STORE_RESOURCE_PATH);
> }|
>
>
> which does work (but still throws the exceptions) but seems a bit
> dirty to me.
This seems wrong to me. CDOView.getResource(path), aka
ResourceSet.getResource(uri), should throw an exception if the resource
is not present inthe repository.

>
> If there is no better way to query for the existence of a resource
> either EMF-wise or CDO-wise, I'd open an enhancement request for
> either transaction.createIfNotExists(String) or view.hasResource(String).
I recommend the latter or both ;-)

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j



--------------080804080209000009000406
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Stefan Winkler schrieb:
<blockquote cite="mid:fns25f$nk9$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
It seems that my local package registry already knows of the package
after opening the transaction.<br>
When I follow putEPackage with the debugger, I can find out that the
package is already stored in the HashMap and consequently the
HashMap.put() method reacts by updating the package belonging to the
URL (which does nothing in fact, because the package is always the
same).<br>
<br>
Why the local PackageManager already knows about the package - I don't
know. But I'm fine with how things are in this matter.<br>
</blockquote>
I "tried" to explain this in my previous posting ;-)<br>
Basically the client side CDOPackageManager is connected to the server
side CDOPackageManager starting at the time the CDOSession is opened.
It queries the server and populates the registry with package
descriptors.<br>
<br>
<blockquote cite="mid:fns25f$nk9$1@build.eclipse.org" type="cite"><br>
However I have another question (I hope, I am not missing some EMF
standard API here ...):<br>
Can I find out easily, if a resource already exists?<br>
</blockquote>
Currently not. I postponed the addition of respective API several times
since I was alternating between two approaches to represent the
resources in the repository:<br>
1) [current simple approach] A CDOResource has a String "path". You can
simulate a hierarchy with slashes but basically this value is "flat"
for CDO internally.<br>
2) I could also try to model an explicit folder hierarchy with a new
CDOFolder extends CDOObject.<br>
<br>
Approach 1) is more aligned with the flat URIs of EMF Resources but 2)
is more elegant and has tzhe potential to scale better than a huge flat
list of resources (important advantage for lazy UIs)<br>
<br>
These considerations apply more for browsing several/all resources
instead of simply asking "does a certain resource exist?". For this
easy use case I could deliver a quick solution. Please feel free to
file a Bugzilla.<br>
<br>
<blockquote cite="mid:fns25f$nk9$1@build.eclipse.org" type="cite"><br>
My first try was to <br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = --><!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top"> <code><font color="#ffffff">
Re: [CDO] examples question [message #111310 is a reply to message #111266] Thu, 31 January 2008 10:37 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Eike,<br>
<blockquote cite="mid:fns540$qet$3@build.eclipse.org" type="cite"><br>
<blockquote cite="mid:fns25f$nk9$1@build.eclipse.org" type="cite"><br>
However I have another question (I hope, I am not missing some EMF
standard API here ...):<br>
Can I find out easily, if a resource already exists?<br>
</blockquote>
Currently not. I postponed the addition of respective API several times
since I was alternating between two approaches to represent the
resources in the repository:<br>
1) [current simple approach] A CDOResource has a String "path". You can
simulate a hierarchy with slashes but basically this value is "flat"
for CDO internally.<br>
2) I could also try to model an explicit folder hierarchy with a new
CDOFolder extends CDOObject.<br>
<br>
Approach 1) is more aligned with the flat URIs of EMF Resources but 2)
is more elegant and has tzhe potential to scale better than a huge flat
list of resources (important advantage for lazy UIs)<br>
<br>
These considerations apply more for browsing several/all resources
instead of simply asking "does a certain resource exist?". For this
easy use case I could deliver a quick solution. Please feel free to
file a Bugzilla.<br>
</blockquote>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=217236"
title="NEW - Provide a way to query if a specific resource (path) exists">-&gt;
Bug 217236</a>
<blockquote cite="mid:fns540$qet$3@build.eclipse.org" type="cite"><br>
<blockquote cite="mid:fns25f$nk9$1@build.eclipse.org" type="cite"><br>
My first try was to <br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = --><!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top"> <code><font color="#ffffff">      </font><font
color="#000000">CDOResource resource = transaction.getResource </font><font
color="#000000">(</font><font color="#000000">PROJECT_STORE_RESOURCE_PATH</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#7f0055"><b>if</b></font><font
color="#000000">(</font><font color="#000000">resource == </font><font
color="#7f0055"><b>null</b></font><font color="#000000">) {</font><br>
<font color="#ffffff">        </font><font color="#000000">resource = transaction.createResource</font ><font
color="#000000">(</font><font color="#000000">PROJECT_STORE_RESOURCE_PATH</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#000000">}</font></code>
</td>
<!-- end source code --> </tr>
</tbody>
</table>
</div>
<!-- = END of automatically generated HTML code = -->
<!-- ======================================================== --><br>
which does not work, because getResource does not return null if the
resource does not exist in the database.<br>
What it does is printing a lot of nasty exceptions to the console
stating that the resource does not exist in the repository (which is
true), but then falling back to returning a resource in TRANSIENT state
which is not part of the transaction's resource set.<br>
</blockquote>
The process of getting an existent resource or creating a new one is
considerably complicated in EMF. For example, regardless of new or
existent, the respective Resource.Factory has no means to determine if
the client called ResourceSet.getResource() or
ResourceSet.createResource() ;-( And there are some other issues with
ResourceSet internal state and notifications...<br>
<br>
If you feel that the current CDO implementation does not behave
according to user expectation, please file a Bugzilla as well.<br>
</blockquote>
No, I think that's ok generally - because Resource.getResource()
Javadoc says:<br>
"So the important point is that an arbitrary implementation may resolve
the URI to any resource, not necessarily to one contained by this
particular resource set."<br>
<br>
It also says: "Throws: RuntimeException if a resource can't be demand
created.".<br>
<br>
Well, regarding CDO it is a matter of interpretation, if the transient
(empty) resource is an acceptable repacement for the resource I want to
load, or if the exception should be thrown. Regarding the exception see
below.<br>
<br>
<blockquote cite="mid:fns540$qet$3@build.eclipse.org" type="cite"><br>
<blockquote cite="mid:fns25f$nk9$1@build.eclipse.org" type="cite"><br>
So what I'm doing now is<br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = --><!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top">            <code> <font color="#000000">CDOResource resource = transaction.getResource </font><font
color="#000000">(</font><font color="#000000">PROJECT_STORE_RESOURCE_PATH</font><font
color="#000000">)</font><font color="#000000">;      </font><br>
<font color="#ffffff">      </font><font color="#7f0055"><b>if</b></font><font
color="#000000">(</font><font color="#000000">!transaction.getResourceSet</font><font
color="#000000">()</font><font color="#000000">.getResources</font><font
color="#000000">()</font><font color="#000000">.contains</font><font
color="#000000">(</font><font color="#000000">resource</font><font
color="#000000">)) {</font><br>
<font color="#ffffff">        </font><font color="#000000">resource = transaction.createResource</font ><font
color="#000000">(</font><font color="#000000">PROJECT_STORE_RESOURCE_PATH</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#000000">}</font></code>
</td>
<!-- end source code --> </tr>
</tbody>
</table>
</div>
<!-- = END of automatically generated HTML code = -->
<!-- ======================================================== --><br>
which does work (but still throws the exceptions) but seems a bit dirty
to me.<br>
</blockquote>
This seems wrong to me. CDOView.getResource(path), aka
ResourceSet.getResource(uri), should throw an exception if the resource
is not present inthe repository.<br>
</blockquote>
hmm ... well the log reports three exceptions:<br>
<br>
org.eclipse.emf.cdo.util.ServerException: Resource not available:
/requipse/projects<br>
    at
org.eclipse.emf.internal.cdo.CDOStateMachine$LoadResourceTra nsition.execute(CDOStateMachine.java:598) <br>
    at
org.eclipse.emf.internal.cdo.CDOStateMachine$LoadResourceTra nsition.execute(CDOStateMachine.java:1) <br>
    at
org.eclipse.net4j.util.fsm.FiniteStateMachine.process(Finite StateMachine.java:161) <br>
    at
org.eclipse.emf.internal.cdo.CDOStateMachine.attach(CDOState Machine.java:150) <br>
    at
org.eclipse.emf.internal.cdo.CDOViewImpl.notifyAdd(CDOViewIm pl.java:732) <br>
    at
org.eclipse.emf.internal.cdo.CDOViewImpl.notifyAdd(CDOViewIm pl.java:707) <br>
    at
org.eclipse.emf.internal.cdo.CDOViewImpl.notifyChanged(CDOVi ewImpl.java:681) <br>
    at
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl.java:247) <br>
    at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.dispatc hNotification(NotifyingListImpl.java:267) <br>
    at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingListImpl.java:300) <br>
    at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:6 26) <br>
    at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.createRe source(ResourceSetImpl.java:426) <br>
    at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandCr eateResource(ResourceSetImpl.java:239) <br>
    at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:391) <br>
    at
org.eclipse.emf.internal.cdo.CDOViewImpl.getResource(CDOView Impl.java:187) <br>
<br>
is caught by CDOViewImpl.notifyAdd(CDOResourceImpl cdoResource), logged
and rethrown (at CDOViewImpl.java:748) and caught by
CDOViewImpl.java.notifyChanged() where it is logged again but not
rethrown to the user.<br>
<br>
So there is no exception coming through to the caller but as I wrote
above, you get something back like a transient resource which is not
part of transaction.getResourceSet().<br>
<br>
You decide, if this is a bug ;-)<br>
<blockquote cite="mid:fns540$qet$3@build.eclipse.org" type="cite"><br>
<blockquote cite="mid:fns25f$nk9$1@build.eclipse.org" type="cite"><br>
If there is no better way to query for the existence of a resource
either EMF-wise or CDO-wise, I'd open an enhancement request for either
transaction.createIfNotExists(String) or view.hasResource(String).<br>
</blockquote>
I recommend the latter or both ;-)<br>
</blockquote>
I am fine with the latter.<br>
<br>
Cheers,<br>
Stefan<br>
<br>
</body>
</html>
Re: [CDO] examples question [message #111337 is a reply to message #111310] Thu, 31 January 2008 10:45 Go to previous message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

This is a multi-part message in MIME format.
--------------060007050608030806040603
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Stefan Winkler schrieb:
>> The process of getting an existent resource or creating a new one is
>> considerably complicated in EMF. For example, regardless of new or
>> existent, the respective Resource.Factory has no means to determine
>> if the client called ResourceSet.getResource() or
>> ResourceSet.createResource() ;-( And there are some other issues with
>> ResourceSet internal state and notifications...
>>
>> If you feel that the current CDO implementation does not behave
>> according to user expectation, please file a Bugzilla as well.
> No, I think that's ok generally - because Resource.getResource()
> Javadoc says:
> "So the important point is that an arbitrary implementation may
> resolve the URI to any resource, not necessarily to one contained by
> this particular resource set."
>
> It also says: "Throws: RuntimeException if a resource can't be demand
> created.".
Good ;-)

> Well, regarding CDO it is a matter of interpretation, if the transient
> (empty) resource is an acceptable repacement for the resource I want
> to load, or if the exception should be thrown. Regarding the exception
> see below.
>
>>
>>>
>>> So what I'm doing now is
>>>
>>> |
>>> CDOResource resource = transaction.getResource(PROJECT_STORE_RESOURCE_PATH);
>>> *if*(!transaction.getResourceSet().getResources().contains(r esource)) {
>>> resource = transaction.createResource(PROJECT_STORE_RESOURCE_PATH);
>>> }|
>>>
>>>
>>> which does work (but still throws the exceptions) but seems a bit
>>> dirty to me.
>> This seems wrong to me. CDOView.getResource(path), aka
>> ResourceSet.getResource(uri), should throw an exception if the
>> resource is not present inthe repository.
> hmm ... well the log reports three exceptions:
>
> org.eclipse.emf.cdo.util.ServerException: Resource not available:
> /requipse/projects
> at
> org.eclipse.emf.internal.cdo.CDOStateMachine$LoadResourceTra nsition.execute(CDOStateMachine.java:598)
> at
> org.eclipse.emf.internal.cdo.CDOStateMachine$LoadResourceTra nsition.execute(CDOStateMachine.java:1)
> at
> org.eclipse.net4j.util.fsm.FiniteStateMachine.process(Finite StateMachine.java:161)
> at
> org.eclipse.emf.internal.cdo.CDOStateMachine.attach(CDOState Machine.java:150)
> at
> org.eclipse.emf.internal.cdo.CDOViewImpl.notifyAdd(CDOViewIm pl.java:732)
> at
> org.eclipse.emf.internal.cdo.CDOViewImpl.notifyAdd(CDOViewIm pl.java:707)
> at
> org.eclipse.emf.internal.cdo.CDOViewImpl.notifyChanged(CDOVi ewImpl.java:681)
> at
> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl.java:247)
> at
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.dispatc hNotification(NotifyingListImpl.java:267)
> at
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingListImpl.java:300)
> at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:6 26)
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.createRe source(ResourceSetImpl.java:426)
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandCr eateResource(ResourceSetImpl.java:239)
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:391)
> at
> org.eclipse.emf.internal.cdo.CDOViewImpl.getResource(CDOView Impl.java:187)
>
> is caught by CDOViewImpl.notifyAdd(CDOResourceImpl cdoResource),
> logged and rethrown (at CDOViewImpl.java:748) and caught by
> CDOViewImpl.java.notifyChanged() where it is logged again but not
> rethrown to the user.
>
> So there is no exception coming through to the caller but as I wrote
> above, you get something back like a transient resource which is not
> part of transaction.getResourceSet().
>
> You decide, if this is a bug ;-)
I'd say, yes ;-)
--> Bugzilla

>>> If there is no better way to query for the existence of a resource
>>> either EMF-wise or CDO-wise, I'd open an enhancement request for
>>> either transaction.createIfNotExists(String) or
>>> view.hasResource(String).
>> I recommend the latter or both ;-)
> I am fine with the latter.
Ok, Bugzilla arrived ;-)

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j


--------------060007050608030806040603
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Stefan Winkler schrieb:
<blockquote cite="mid:fns8cp$h07$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
<blockquote cite="mid:fns540$qet$3@build.eclipse.org" type="cite">The
process of getting an existent resource or creating a new one is
considerably complicated in EMF. For example, regardless of new or
existent, the respective Resource.Factory has no means to determine if
the client called ResourceSet.getResource() or
ResourceSet.createResource() ;-( And there are some other issues with
ResourceSet internal state and notifications...<br>
<br>
If you feel that the current CDO implementation does not behave
according to user expectation, please file a Bugzilla as well.<br>
</blockquote>
No, I think that's ok generally - because Resource.getResource()
Javadoc says:<br>
"So the important point is that an arbitrary implementation may resolve
the URI to any resource, not necessarily to one contained by this
particular resource set."<br>
<br>
It also says: "Throws: RuntimeException if a resource can't be demand
created.".<br>
</blockquote>
Good ;-)<br>
<br>
<blockquote cite="mid:fns8cp$h07$1@build.eclipse.org" type="cite">Well,
regarding CDO it is a matter of interpretation, if the transient
(empty) resource is an acceptable repacement for the resource I want to
load, or if the exception should be thrown. Regarding the exception see
below.<br>
<br>
<blockquote cite="mid:fns540$qet$3@build.eclipse.org" type="cite"><br>
<blockquote cite="mid:fns25f$nk9$1@build.eclipse.org" type="cite"><br>
So what I'm doing now is<br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = --><!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3"
cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top">
Re: [CDO] examples question [message #614168 is a reply to message #109330] Tue, 29 January 2008 19:39 Go to previous message
Thomas is currently offline ThomasFriend
Messages: 151
Registered: July 2009
Senior Member
When I try to register my own simple ecore:

<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
<eClassifiers xsi:type="ecore:EClass" name="ValueList">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="values"
upperBound="-1"
eType="#//Value"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Value">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
</eClassifiers>
</ecore:EPackage>

I get

[ERROR] Failed to register package
file:/C:/Users/Thomas/workspace/test/model/default.ecore
java.lang.NullPointerException
at
org.eclipse.emf.internal.cdo.util.ModelUtil.getCDOType(Model Util.java:64)
at
org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOAttribu te(ModelUtil.java:212)
at
org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOFeature (ModelUtil.java:182)
at
org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOClass(M odelUtil.java:172)
at
org.eclipse.emf.internal.cdo.util.ModelUtil.initializeCDOPac kage(ModelUtil.java:104)
at
org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOPackage (ModelUtil.java:154)
Re: [CDO] examples question [message #614169 is a reply to message #109343] Tue, 29 January 2008 20:06 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31478
Registered: July 2009
Senior Member
Thomas,

When you think you are doing creating an Ecore model, be sure to
validate it. I.e., right click on the root EPackage and ensure your
model is well formed. In this case, neither of your attributes have a
type specified.

Thomas wrote:
> When I try to register my own simple ecore:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ecore:EPackage xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
> upperBound="-1"
> eType="#//Value"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Value">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
> </eClassifiers>
> </ecore:EPackage>
>
> I get
>
> [ERROR] Failed to register package
> file:/C:/Users/Thomas/workspace/test/model/default.ecore
> java.lang.NullPointerException
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.getCDOType(Model Util.java:64)
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOAttribu te(ModelUtil.java:212)
>
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOFeature (ModelUtil.java:182)
>
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOClass(M odelUtil.java:172)
>
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.initializeCDOPac kage(ModelUtil.java:104)
>
> at
> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOPackage (ModelUtil.java:154)
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [CDO] examples question [message #614170 is a reply to message #109357] Tue, 29 January 2008 20:16 Go to previous message
Thomas is currently offline ThomasFriend
Messages: 151
Registered: July 2009
Senior Member
Thanks Ed. I see its obvious.

You see Im completely new to the whole EMF stuff ...


Ed Merks schrieb:
> Thomas,
>
> When you think you are doing creating an Ecore model, be sure to
> validate it. I.e., right click on the root EPackage and ensure your
> model is well formed. In this case, neither of your attributes have a
> type specified.
>
> Thomas wrote:
>> When I try to register my own simple ecore:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ecore:EPackage xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
>> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
>> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
>> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
>> upperBound="-1"
>> eType="#//Value"/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EClass" name="Value">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"/>
>> </eClassifiers>
>> </ecore:EPackage>
>>
>> I get
>>
>> [ERROR] Failed to register package
>> file:/C:/Users/Thomas/workspace/test/model/default.ecore
>> java.lang.NullPointerException
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.getCDOType(Model Util.java:64)
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOAttribu te(ModelUtil.java:212)
>>
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOFeature (ModelUtil.java:182)
>>
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOClass(M odelUtil.java:172)
>>
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.initializeCDOPac kage(ModelUtil.java:104)
>>
>> at
>> org.eclipse.emf.internal.cdo.util.ModelUtil.createCDOPackage (ModelUtil.java:154)
>>
Re: [CDO] examples question [message #614173 is a reply to message #109357] Tue, 29 January 2008 20:30 Go to previous message
Thomas is currently offline ThomasFriend
Messages: 151
Registered: July 2009
Senior Member
Please have patience with me...

Ed Merks schrieb:
> Thomas,
>
> When you think you are doing creating an Ecore model, be sure to
> validate it. I.e., right click on the root EPackage and ensure your
> model is well formed. In this case, neither of your attributes have a
> type specified.
>

OK I fixed this. Now I looks like
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
<eClassifiers xsi:type="ecore:EClass" name="ValueList">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="values"
upperBound="-1"
eType="#//Value"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Value">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>


I tried to add a ValueList (which I cant edit ?) and get the following
exception (-1) ??:



[ERROR] -1
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.set(Unknown Source)
at
org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
at
org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
at
org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
Re: [CDO] examples question [message #614175 is a reply to message #109378] Tue, 29 January 2008 20:31 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31478
Registered: July 2009
Senior Member
Thomas,

Don't worry. You'll know when my patience runs out! :-P


Thomas wrote:
> Please have patience with me...
>
> Ed Merks schrieb:
>> Thomas,
>>
>> When you think you are doing creating an Ecore model, be sure to
>> validate it. I.e., right click on the root EPackage and ensure your
>> model is well formed. In this case, neither of your attributes have
>> a type specified.
>>
>
> OK I fixed this. Now I looks like
> <?xml version="1.0" encoding="UTF-8"?>
> <ecore:EPackage xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
> upperBound="-1"
> eType="#//Value"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Value">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> </ecore:EPackage>
>
>
> I tried to add a ValueList (which I cant edit ?) and get the following
> exception (-1) ??:
>
>
>
> [ERROR] -1
> java.lang.ArrayIndexOutOfBoundsException: -1
> at java.util.ArrayList.set(Unknown Source)
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [CDO] examples question [message #614179 is a reply to message #109391] Tue, 29 January 2008 20:46 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6506
Registered: July 2009
Senior Member
Ed,

Do you know when/why EAttribute.getFeatureID() returns -1?

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j



Ed Merks schrieb:
> Thomas,
>
> Don't worry. You'll know when my patience runs out! :-P
>
>
> Thomas wrote:
>> Please have patience with me...
>>
>> Ed Merks schrieb:
>>> Thomas,
>>>
>>> When you think you are doing creating an Ecore model, be sure to
>>> validate it. I.e., right click on the root EPackage and ensure your
>>> model is well formed. In this case, neither of your attributes have
>>> a type specified.
>>>
>>
>> OK I fixed this. Now I looks like
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ecore:EPackage xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
>> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
>> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>> eType="ecore:EDataType
>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
>> upperBound="-1"
>> eType="#//Value"/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EClass" name="Value">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>> eType="ecore:EDataType
>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>> </eClassifiers>
>> </ecore:EPackage>
>>
>>
>> I tried to add a ValueList (which I cant edit ?) and get the
>> following exception (-1) ??:
>>
>>
>>
>> [ERROR] -1
>> java.lang.ArrayIndexOutOfBoundsException: -1
>> at java.util.ArrayList.set(Unknown Source)
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>>


Re: [CDO] examples question [message #614192 is a reply to message #109405] Tue, 29 January 2008 20:58 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31478
Registered: July 2009
Senior Member
Eike,

The feature IDs of features on the DocumentRoot will be like this
(because often such features will be used in feature maps). Probably
you want to be using EClass.getFeatureID(feature).


Eike Stepper wrote:
> Ed,
>
> Do you know when/why EAttribute.getFeatureID() returns -1?
>
> Regards,
> Eike Stepper
> ----
> http://wiki.eclipse.org/CDO
> http://wiki.eclipse.org/Net4j
>
>
>
> Ed Merks schrieb:
>> Thomas,
>>
>> Don't worry. You'll know when my patience runs out! :-P
>>
>>
>> Thomas wrote:
>>> Please have patience with me...
>>>
>>> Ed Merks schrieb:
>>>> Thomas,
>>>>
>>>> When you think you are doing creating an Ecore model, be sure to
>>>> validate it. I.e., right click on the root EPackage and ensure
>>>> your model is well formed. In this case, neither of your
>>>> attributes have a type specified.
>>>>
>>>
>>> OK I fixed this. Now I looks like
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <ecore:EPackage xmi:version="2.0"
>>> xmlns:xmi="http://www.omg.org/XMI"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
>>> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
>>> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
>>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>>> eType="ecore:EDataType
>>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>>> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
>>> upperBound="-1"
>>> eType="#//Value"/>
>>> </eClassifiers>
>>> <eClassifiers xsi:type="ecore:EClass" name="Value">
>>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>>> eType="ecore:EDataType
>>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>>> </eClassifiers>
>>> </ecore:EPackage>
>>>
>>>
>>> I tried to add a ValueList (which I cant edit ?) and get the
>>> following exception (-1) ??:
>>>
>>>
>>>
>>> [ERROR] -1
>>> java.lang.ArrayIndexOutOfBoundsException: -1
>>> at java.util.ArrayList.set(Unknown Source)
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [CDO] examples question [message #614194 is a reply to message #109330] Wed, 30 January 2008 08:56 Go to previous message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Eike,

I get the same NPE as Thomas in my first commit:

The problem seems to be that the ResourceDelta for my new object is
compared to the old one (which is null).
Here's the stack trace:


java.lang.NullPointerException
at
org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
at
org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
at
org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:285)
at
org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:1)
at
org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
at
org.eclipse.emf.internal.cdo.CDOTransactionImpl.preCommit(CD OTransactionImpl.java:426)
at
org.eclipse.emf.internal.cdo.CDOTransactionImpl.commit(CDOTr ansactionImpl.java:214)
at
de.feuh.st.requipse.project.RequipseModelFacade.addProject(R equipseModelFacade.java:26)

The problem is that the parameter originRevision is null.

Here is the console trace:

[a lot of added, created etc. omitted]
main [debug.revision] Setting version for RequipseProject@-4v0: v-1
main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
main [debug.object] Setting revision: RequipseProject@-4v-1
main [debug.view] Registering RequipseProject@-4
main [debug.transaction] Registering new object RequipseProject@-4
main [debug.object] ATTACH: RequipseProject@-4 --> CDOTransaction(1)
main [debug] Processing event ATTACH in state PREPARED for
RequipseProject@-4 (data=null)
main [debug.object] Setting state NEW for RequipseProject@-4
main [debug.object] WRITE:
org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
main [debug.object] getContainer(CDOResource@-2)
main [debug.object] READ: org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
main [debug.transaction] commit()
main [debug.object] Transfering instance to revision:
de.feuh.st.requipse.project.Requipse.impl.RequipseProjectImp l @e4cb7d
(name: <default>) --> RequipseProject@-4v-1
main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
main [debug.revision] Setting containerID RequipseProject@-4v-1: NULL
main [debug.revision] Setting containingFeatureID RequipseProject@-4v-1: 0

Here's my code (sorry, no highlighting today as I was working from a
fresh eclipse install. Will install Java2Html later this day ;-))

public void testStore() throws Exception {

IManagedContainer container = IPluginContainer.INSTANCE;
IJVMAcceptor acceptor = JVMUtil.getAcceptor(container, "default");
//IRepository repository = createRepository();

URL url =
Activator.getDefault().getBundle().getEntry("/configuration/cdo-config.xml ");
url = FileLocator.toFileURL(url);

IRepository repository = new
RepositoryConfigurator(container).configure(new File(url.toURI()))[0];



CDOServerUtil.addRepository(container, repository); // Start a CDO
// respository

IConnector connector = JVMUtil.getConnector(container, "default");
CDOSession session = CDOUtil.openSession(connector, repositoryName,
true);
CDOTransaction transaction = session.openTransaction();

Resource resource = transaction.createResource("/my/big/resource");

EObject inputModel = getInputModel();
resource.getContents().add(inputModel);
transaction.commit();
session.close();
LifecycleUtil.deactivate(repository);
LifecycleUtil.deactivate(connector);
LifecycleUtil.deactivate(acceptor);
}

private EObject getInputModel() {
RequipseFactory factory = RequipseFactory.INSTANCE;
RequipseProject p1 = factory.createRequipseProject();
p1.setName("<default>");
return p1;
}

(RequipseProject is a simple EMF class with one EAttribute name).

And the configuration:

<?xml version="1.0" encoding="UTF-8"?>
<cdoServer>

<!-- not used: -->
<acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
<!--
<negotiator type="challenge" description="/temp/users.db"/>
-->
</acceptor>

<repository name="requipse-repo">
<property name="overrideUUID"
value="1ff5d226-b1f0-40fb-aba2-0c31b38c764f"/>
<property name="supportingAudits" value="false"/>
<property name="verifyingRevisions" value="true"/>
<property name="currentLRUCapacity" value="10000"/>
<property name="revisedLRUCapacity" value="100"/>

<store type="db">
<!-- type: horizontal | vertical | <any user-contributed
type> -->
<mappingStrategy type="horizontal">
<!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS |
ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES -->
<property name="toManyReferences"
value="ONE_TABLE_PER_REFERENCE"/>

<!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES -->
<property name="toOneReferences" value="LIKE_ATTRIBUTES"/>

<!-- MODEL | STRATEGY -->
<property name="mappingPrecedence" value="MODEL"/>
</mappingStrategy>

<dbAdapter name="mysql"/>
<dataSource
class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
url="jdbc:mysql://localhost/requipse"
user="requipse" password="xxx" />
</store>
</repository>
</cdoServer>

I did not modify my model in any way (CDO-wise, that is) so no native
model as of now - if that plays a role.
I am using CVS HEAD.

Do both Thomas and I do something wrong?

Cheers,
Stefan






Thomas schrieb:
> I finally got my setup working. now i tried to create an object on the
> repo1 demo repository which always gives me:
>
> Worker-2 [debug] Processing event PREPARE in state TRANSIENT for
> EObject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
> Worker-2 [debug.revision] Setting version for EObject@-6v0: v-1
> Worker-2 [debug.revision] Setting resourceID EObject@-6v-1: -2
> Worker-2 [debug.view] Registering EObject@-6
> Worker-2 [debug.transaction] Registering new object EObject@-6
> Worker-2 [debug] Processing event ATTACH in state PREPARED for
> EObject@-6 (data=null)
> ModalContext [debug.transaction] commit()
> [ERROR] NullPointerException
> java.lang.NullPointerException
> at
> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>
> at
> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>
> at ...
>
> By the way you shouldnt close the editor on save if the save fails. at
> least I wouldnt. (monitor.setCanceled(true) and the editor stays open
> after save)
>
> Regards Thomas
Re: [CDO] examples question [message #614200 is a reply to message #109378] Wed, 30 January 2008 09:13 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6506
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------040003060200010007020301
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi Thomas,

I've filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=217047 for this
issue. Please CC yourself to stay informed.

I've generated your ecore model (see below) with the CDO migrator. The
resulting model and edit plugins are in CVS now. Please check them out
and update all other projects. The All.psf is also updated to reflect
the new plugins.

Then I've written a small test case (MangoTest.java):
|*public class *MangoTest *extends *AbstractCDOTest
{
*private *CDOSession openMangoSession()
{
CDOSession session = CDOUtil.openSession(getConnector(), REPOSITORY_NAME, *true*);
session.getPackageRegistry().putEPackage(MangoPackage.eINSTA NCE);
*return *session;
}

*public **void *testCommitNew() *throws *Exception
{
CDOSession session = openMangoSession();
CDOTransaction transaction = session.openTransaction();
CDOResource resource = transaction.createResource("/test1");

Value v1 = MangoFactory.eINSTANCE.createValue();
v1.setName("v1");
resource.getContents().add(v1);

Value v2 = MangoFactory.eINSTANCE.createValue();
v2.setName("v2");
resource.getContents().add(v2);

ValueList list = MangoFactory.eINSTANCE.createValueList();
list.setName("List");
list.getValues().add(v1);
list.getValues().add(v2);
resource.getContents().add(list);

transaction.commit();
assertEquals(CDOState.CLEAN, resource.cdoState());
assertEquals(CDOState.CLEAN, list.cdoState());
assertEquals(CDOState.CLEAN, v1.cdoState());
assertEquals(CDOState.CLEAN, v2.cdoState());
session.close();
}
}|


This test case works without any problems and even manual testing with
the CDO user interface works normally. Could you please verify if the
above test works for you? If not, I'll need more infos like your test
code, and a full log.

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j



Thomas schrieb:
> Please have patience with me...
>
> Ed Merks schrieb:
>> Thomas,
>>
>> When you think you are doing creating an Ecore model, be sure to
>> validate it. I.e., right click on the root EPackage and ensure your
>> model is well formed. In this case, neither of your attributes have
>> a type specified.
>>
>
> OK I fixed this. Now I looks like
> <?xml version="1.0" encoding="UTF-8"?>
> <ecore:EPackage xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
> upperBound="-1"
> eType="#//Value"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Value">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> </ecore:EPackage>
>
>
> I tried to add a ValueList (which I cant edit ?) and get the following
> exception (-1) ??:
>
>
>
> [ERROR] -1
> java.lang.ArrayIndexOutOfBoundsException: -1
> at java.util.ArrayList.set(Unknown Source)
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>
> at
> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>

--------------040003060200010007020301
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Thomas,<br>
<br>
I've filed <a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=217047">https://bugs.eclipse.org/bugs/show_bug.cgi?id=217047</a> for
this issue. Please CC yourself to stay informed.<br>
<br>
I've generated your ecore model (see below) with the CDO migrator. The
resulting model and edit plugins are in CVS now. Please check them out
and update all other projects. The All.psf is also updated to reflect
the new plugins.<br>
<br>
Then I've written a small test case (MangoTest.java):<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = -->
<!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top"> <code><font color="#7f0055"><b>public


Re: [CDO] examples question [message #614211 is a reply to message #109444] Wed, 30 January 2008 09:29 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6506
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000308080100030603080202
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi Stefan,

This is a good example for the value of *full* stack traces ;-)
Thomas only gave me the upper two frames and I didn't see anything
malicious.
But the following frame indicates that you probably forgot to generate
your model for CDO (native):
at
org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)


I remember that you noticed the info message "Legacy system unavailable"
before.
Since you're interested in the lazy-unloading feature of CDO you have to
use native models (base class is CDOObjectImpl, not CDOLegacyImpl).

It's really easy to create native models:
- If your genmodel already exists, use the CDO Migrator plugin.
Right-click your genmodel, select menu "CDO" and then action "Migrate
EMF Model". Regenerate.
- Even easier to create a new native genmodel:



Can you please retry and report if it works?

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j


Stefan Winkler schrieb:
> Hi Eike,
>
> I get the same NPE as Thomas in my first commit:
>
> The problem seems to be that the ResourceDelta for my new object is
> compared to the old one (which is null).
> Here's the stack trace:
>
>
> java.lang.NullPointerException
> at
> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>
> at
> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>
> at
> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:285)
>
> at
> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:1)
>
> at
> org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
>
> at
> org.eclipse.emf.internal.cdo.CDOTransactionImpl.preCommit(CD OTransactionImpl.java:426)
>
> at
> org.eclipse.emf.internal.cdo.CDOTransactionImpl.commit(CDOTr ansactionImpl.java:214)
>
> at
> de.feuh.st.requipse.project.RequipseModelFacade.addProject(R equipseModelFacade.java:26)
>
>
> The problem is that the parameter originRevision is null.
>
> Here is the console trace:
>
> [a lot of added, created etc. omitted]
> main [debug.revision] Setting version for RequipseProject@-4v0: v-1
> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
> main [debug.object] Setting revision: RequipseProject@-4v-1
> main [debug.view] Registering RequipseProject@-4
> main [debug.transaction] Registering new object RequipseProject@-4
> main [debug.object] ATTACH: RequipseProject@-4 --> CDOTransaction(1)
> main [debug] Processing event ATTACH in state PREPARED for
> RequipseProject@-4 (data=null)
> main [debug.object] Setting state NEW for RequipseProject@-4
> main [debug.object] WRITE:
> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
> main [debug.object] getContainer(CDOResource@-2)
> main [debug.object] READ:
> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
> main [debug.transaction] commit()
> main [debug.object] Transfering instance to revision:
> de.feuh.st.requipse.project.Requipse.impl.RequipseProjectImp l @e4cb7d
> (name: <default>) --> RequipseProject@-4v-1
> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
> main [debug.revision] Setting containerID RequipseProject@-4v-1: NULL
> main [debug.revision] Setting containingFeatureID
> RequipseProject@-4v-1: 0
>
> Here's my code (sorry, no highlighting today as I was working from a
> fresh eclipse install. Will install Java2Html later this day ;-))
>
> public void testStore() throws Exception {
>
> IManagedContainer container = IPluginContainer.INSTANCE;
> IJVMAcceptor acceptor = JVMUtil.getAcceptor(container, "default");
> //IRepository repository = createRepository();
> URL url =
> Activator.getDefault().getBundle().getEntry("/configuration/cdo-config.xml ");
>
> url = FileLocator.toFileURL(url);
> IRepository repository = new
> RepositoryConfigurator(container).configure(new File(url.toURI()))[0];
>
> CDOServerUtil.addRepository(container, repository);
> // Start a CDO
> // respository
>
> IConnector connector = JVMUtil.getConnector(container, "default");
> CDOSession session = CDOUtil.openSession(connector,
> repositoryName,
> true);
> CDOTransaction transaction = session.openTransaction();
>
> Resource resource =
> transaction.createResource("/my/big/resource");
>
> EObject inputModel = getInputModel();
> resource.getContents().add(inputModel);
> transaction.commit();
> session.close();
> LifecycleUtil.deactivate(repository);
> LifecycleUtil.deactivate(connector);
> LifecycleUtil.deactivate(acceptor);
> }
> private EObject getInputModel() {
> RequipseFactory factory = RequipseFactory.INSTANCE;
> RequipseProject p1 = factory.createRequipseProject();
> p1.setName("<default>");
> return p1;
> }
>
> (RequipseProject is a simple EMF class with one EAttribute name).
>
> And the configuration:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <cdoServer>
>
> <!-- not used: -->
> <acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
> <!--
> <negotiator type="challenge" description="/temp/users.db"/>
> -->
> </acceptor>
>
> <repository name="requipse-repo">
> <property name="overrideUUID"
> value="1ff5d226-b1f0-40fb-aba2-0c31b38c764f"/>
> <property name="supportingAudits" value="false"/>
> <property name="verifyingRevisions" value="true"/>
> <property name="currentLRUCapacity" value="10000"/>
> <property name="revisedLRUCapacity" value="100"/>
> <store type="db">
> <!-- type: horizontal | vertical | <any user-contributed
> type> -->
> <mappingStrategy type="horizontal">
> <!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS |
> ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES -->
> <property name="toManyReferences"
> value="ONE_TABLE_PER_REFERENCE"/>
>
> <!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES -->
> <property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
> <!-- MODEL | STRATEGY -->
> <property name="mappingPrecedence" value="MODEL"/>
> </mappingStrategy>
> <dbAdapter name="mysql"/>
> <dataSource
> class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
> url="jdbc:mysql://localhost/requipse"
> user="requipse" password="xxx" />
> </store> </repository>
> </cdoServer>
>
> I did not modify my model in any way (CDO-wise, that is) so no native
> model as of now - if that plays a role.
> I am using CVS HEAD.
>
> Do both Thomas and I do something wrong?
>
> Cheers,
> Stefan
>
>
>
>
>
>
> Thomas schrieb:
>> I finally got my setup working. now i tried to create an object on
>> the repo1 demo repository which always gives me:
>>
>> Worker-2 [debug] Processing event PREPARE in state TRANSIENT for
>> EObject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
>> Worker-2 [debug.revision] Setting version for EObject@-6v0: v-1
>> Worker-2 [debug.revision] Setting resourceID EObject@-6v-1: -2
>> Worker-2 [debug.view] Registering EObject@-6
>> Worker-2 [debug.transaction] Registering new object EObject@-6
>> Worker-2 [debug] Processing event ATTACH in state PREPARED for
>> EObject@-6 (data=null)
>> ModalContext [debug.transaction] commit()
>> [ERROR] NullPointerException
>> java.lang.NullPointerException
>> at
>> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>>
>> at
>> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>>
>> at ...
>>
>> By the way you shouldnt close the editor on save if the save fails.
>> at least I wouldnt. (monitor.setCanceled(true) and the editor stays
>> open after save)
>>
>> Regards Thomas

--------------000308080100030603080202
Content-Type: multipart/related;
boundary="------------040900090303060604080302"


--------------040900090303060604080302
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Stefan,<br>
<br>
This is a good example for the value of *full* stack traces ;-)<br>
Thomas only gave me the upper two frames and I didn't see anything
malicious.<br>
But the following frame indicates that you probably forgot to generate
your model for CDO (native):<br>


Re: [CDO] examples question [message #614234 is a reply to message #109457] Wed, 30 January 2008 10:24 Go to previous message
Thomas is currently offline ThomasFriend
Messages: 151
Registered: July 2009
Senior Member
HI Eike,

I guess I have to export to plugins and put them in my installation for
that :) by now I didnt have the cdo migrator in my eclispe installation
as I followed your hints to run the examples from the workspace. You
really should setup a small tutorial, think it would help you to get spread.

But as always thank for your help. I took some time tonight to look into
your db code. I'm really not happy with it. I would love to do some more
investigations on that, but I dont know how much time I have before I
have to earn some money again. I would love to see integration with
teneo, but I see some problems there.

Eike Stepper schrieb:
> Hi Thomas,
>
> I've filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=217047 for this
> issue. Please CC yourself to stay informed.
>
> I've generated your ecore model (see below) with the CDO migrator. The
> resulting model and edit plugins are in CVS now. Please check them out
> and update all other projects. The All.psf is also updated to reflect
> the new plugins.
>
> Then I've written a small test case (MangoTest.java):
> |*public class *MangoTest *extends *AbstractCDOTest
> {
> *private *CDOSession openMangoSession()
> {
> CDOSession session = CDOUtil.openSession(getConnector(), REPOSITORY_NAME, *true*);
> session.getPackageRegistry().putEPackage(MangoPackage.eINSTA NCE);
> *return *session;
> }
>
> *public **void *testCommitNew() *throws *Exception
> {
> CDOSession session = openMangoSession();
> CDOTransaction transaction = session.openTransaction();
> CDOResource resource = transaction.createResource("/test1");
>
> Value v1 = MangoFactory.eINSTANCE.createValue();
> v1.setName("v1");
> resource.getContents().add(v1);
>
> Value v2 = MangoFactory.eINSTANCE.createValue();
> v2.setName("v2");
> resource.getContents().add(v2);
>
> ValueList list = MangoFactory.eINSTANCE.createValueList();
> list.setName("List");
> list.getValues().add(v1);
> list.getValues().add(v2);
> resource.getContents().add(list);
>
> transaction.commit();
> assertEquals(CDOState.CLEAN, resource.cdoState());
> assertEquals(CDOState.CLEAN, list.cdoState());
> assertEquals(CDOState.CLEAN, v1.cdoState());
> assertEquals(CDOState.CLEAN, v2.cdoState());
> session.close();
> }
> }|
>
>
> This test case works without any problems and even manual testing with
> the CDO user interface works normally. Could you please verify if the
> above test works for you? If not, I'll need more infos like your test
> code, and a full log.
>
> Regards,
> Eike Stepper
> ----
> http://wiki.eclipse.org/CDO
> http://wiki.eclipse.org/Net4j
>
>
>
> Thomas schrieb:
>> Please have patience with me...
>>
>> Ed Merks schrieb:
>>> Thomas,
>>>
>>> When you think you are doing creating an Ecore model, be sure to
>>> validate it. I.e., right click on the root EPackage and ensure your
>>> model is well formed. In this case, neither of your attributes have
>>> a type specified.
>>>
>>
>> OK I fixed this. Now I looks like
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ecore:EPackage xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
>> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
>> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
>> upperBound="-1"
>> eType="#//Value"/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EClass" name="Value">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>> </eClassifiers>
>> </ecore:EPackage>
>>
>>
>> I tried to add a ValueList (which I cant edit ?) and get the following
>> exception (-1) ??:
>>
>>
>>
>> [ERROR] -1
>> java.lang.ArrayIndexOutOfBoundsException: -1
>> at java.util.ArrayList.set(Unknown Source)
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>>
Re: [CDO] examples question [message #614238 is a reply to message #109550] Wed, 30 January 2008 10:32 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6506
Registered: July 2009
Senior Member
Thomas schrieb:
> HI Eike,
>
> I guess I have to export to plugins and put them in my installation
> for that :) by now I didnt have the cdo migrator in my eclispe
> installation as I followed your hints to run the examples from the
> workspace. You really should setup a small tutorial, think it would
> help you to get spread.
Granted ;-)
There's even a tutorial for the model preparation/migration available at
http://wiki.eclipse.org/Preparing_EMF_Models_for_CDO

>
> But as always thank for your help. I took some time tonight to look
> into your db code. I'm really not happy with it.
Can you give a bit more details what doesn't make you happy? The fact
that CDO comes with an own mapping engine or the way I implemented it?

> I would love to do some more investigations on that, but I dont know
> how much time I have before I have to earn some money again. I would
> love to see integration with teneo, but I see some problems there.
May be we can form a task force for Hibernate integration with CDO?

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j


>
> Eike Stepper schrieb:
>> Hi Thomas,
>>
>> I've filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=217047 for
>> this issue. Please CC yourself to stay informed.
>>
>> I've generated your ecore model (see below) with the CDO migrator.
>> The resulting model and edit plugins are in CVS now. Please check
>> them out and update all other projects. The All.psf is also updated
>> to reflect the new plugins.
>>
>> Then I've written a small test case (MangoTest.java):
>> |*public class *MangoTest *extends *AbstractCDOTest
>> {
>> *private *CDOSession openMangoSession()
>> {
>> CDOSession session = CDOUtil.openSession(getConnector(),
>> REPOSITORY_NAME, *true*);
>> session.getPackageRegistry().putEPackage(MangoPackage.eINSTA NCE);
>> *return *session;
>> }
>>
>> *public **void *testCommitNew() *throws *Exception
>> {
>> CDOSession session = openMangoSession();
>> CDOTransaction transaction = session.openTransaction();
>> CDOResource resource = transaction.createResource("/test1");
>>
>> Value v1 = MangoFactory.eINSTANCE.createValue();
>> v1.setName("v1");
>> resource.getContents().add(v1);
>>
>> Value v2 = MangoFactory.eINSTANCE.createValue();
>> v2.setName("v2");
>> resource.getContents().add(v2);
>>
>> ValueList list = MangoFactory.eINSTANCE.createValueList();
>> list.setName("List");
>> list.getValues().add(v1);
>> list.getValues().add(v2);
>> resource.getContents().add(list);
>>
>> transaction.commit();
>> assertEquals(CDOState.CLEAN, resource.cdoState());
>> assertEquals(CDOState.CLEAN, list.cdoState());
>> assertEquals(CDOState.CLEAN, v1.cdoState());
>> assertEquals(CDOState.CLEAN, v2.cdoState());
>> session.close();
>> }
>> }|
>>
>>
>> This test case works without any problems and even manual testing
>> with the CDO user interface works normally. Could you please verify
>> if the above test works for you? If not, I'll need more infos like
>> your test code, and a full log.
>>
>> Regards,
>> Eike Stepper
>> ----
>> http://wiki.eclipse.org/CDO
>> http://wiki.eclipse.org/Net4j
>>
>>
>>
>> Thomas schrieb:
>>> Please have patience with me...
>>>
>>> Ed Merks schrieb:
>>>> Thomas,
>>>>
>>>> When you think you are doing creating an Ecore model, be sure to
>>>> validate it. I.e., right click on the root EPackage and ensure
>>>> your model is well formed. In this case, neither of your
>>>> attributes have a type specified.
>>>>
>>>
>>> OK I fixed this. Now I looks like
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <ecore:EPackage xmi:version="2.0"
>>> xmlns:xmi="http://www.omg.org/XMI"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Mango"
>>> nsURI="http://www.eiswind.de/mango" nsPrefix="mango">
>>> <eClassifiers xsi:type="ecore:EClass" name="ValueList">
>>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>>> eType="ecore:EDataType
>>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>>> <eStructuralFeatures xsi:type="ecore:EReference" name="values"
>>> upperBound="-1"
>>> eType="#//Value"/>
>>> </eClassifiers>
>>> <eClassifiers xsi:type="ecore:EClass" name="Value">
>>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>>> eType="ecore:EDataType
>>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>>> </eClassifiers>
>>> </ecore:EPackage>
>>>
>>>
>>> I tried to add a ValueList (which I cant edit ?) and get the
>>> following exception (-1) ??:
>>>
>>>
>>>
>>> [ERROR] -1
>>> java.lang.ArrayIndexOutOfBoundsException: -1
>>> at java.util.ArrayList.set(Unknown Source)
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.set Index(CDOClassImpl.java:283)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl.get Index(CDOClassImpl.java:210)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl.g etFeatureIndex(CDOFeatureImpl.java:172)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeFe ature(DBStoreWriter.java:162)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writeCl ass(DBStoreWriter.java:136)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckage(DBStoreWriter.java:112)
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.db.DBStoreWriter.writePa ckages(DBStoreWriter.java:52)
>>>


Re: [CDO] examples question [message #614275 is a reply to message #109486] Wed, 30 January 2008 13:05 Go to previous message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Eike,

here comes the next full stack trace :-)
I recreated my genmodel and completely deleted the model code and
re-generated it (just to be sure).

I now get into the container thread, but in
CDOClassRefImpl.resolve(CDOPackageManager packageManager) the line

CDOPackageImpl cdoPackage =
(CDOPackageImpl)packageManager.lookupPackage(packageURI);

-- where packageURI is the URI of my model package -- fails and returns
null, causing resolve to return null resulting in a

java.lang.IllegalStateException: ClassRef unresolveable:
CDOClassRef(http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, 0)
at
org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl. <init>(CDORevisionImpl.java:112)
at
org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.readRevisions(CommitTransactionIndication.java: 255)
at
org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.readNewObjects(CommitTransactionIndication.java :224)
at
org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.indicating(CommitTransactionIndication.java:114 )
at
org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:46)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:143)
at org.eclipse.net4j.signal.Signal.run(Signal.java:124)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)


The trace messages leading up to this are:

main [debug.transaction] commit()
main [debug.signal] ================ Requesting CommitTransactionRequest
main [debug.buffer] Created Buffer@43
main [debug.buffer] Obtained Buffer@43
main [debug.buffer.stream] Put signal id 12
main [debug.protocol] Writing 0 new packages
main [debug.protocol] Writing 1 new resources
main [debug.revision] Writing revision: ID=-2,
classRef=CDOClassRef(http://www.eclipse.org/emf/CDO/resource/1.0.0, 0),
className=CDOResource, version=1, created=0, revised=0, resource=-2,
container=NULL, feature=0
main [debug.revision] Writing feature CDOFeature(ID=9, name=path,
type=STRING, referenceType=null): /requipse/projects
main [debug.revision] Writing feature CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)): size=0
main [debug.protocol] Writing 0 new objects
main [debug.protocol] Writing 0 revision deltas
main [debug.channel] Handling buffer from client: Buffer@43 --> Channel[1]
main [debug] Multiplexing 00 00 00 00 00 00 00 03 00 0c 00 00 00 01 00
00 00 00 00 00 00 01 01 00 2d 68 74 74 70 3a 2f 2f 77 77 77 2e 65 63 6c
69 70 73 65 2e 6f 72 67 2f 65 6d 66 2f 43 44 4f 2f 72 65 73 6f 75 72 63
65 2f 31 2e 30 2e 30 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 01
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
00 00 00 00 00 00 00 00 00 00 00 00 01 00 12 2f 72 65 71 75 69 70 73 65
2f 70 72 6f 6a 65 63 74 73 00 00 00 00 00 00 00 00 00 00 00 00 00
main [debug.channel] Handling buffer from multiplexer: Buffer@43 -->
Channel[1]
main [debug.signal] ================ Confirming CommitTransactionRequest
ReceiveSerializer1 [debug.signal] Received buffer for correlation 3
ReceiveSerializer1 [debug.signal] Got signal id 12
Thread-5 [debug.signal] ================ Indicating
CommitTransactionIndication
Thread-5 [debug.protocol] Reading 0 new packages
Thread-5 [debug.protocol] Reading 1 new resources
[ERROR] ClassRef unresolveable:
CDOClassRef(http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, 0)


any hints about what goes wrong?


Cheers,
Stefan






Eike Stepper schrieb:
> Hi Stefan,
>
> This is a good example for the value of *full* stack traces ;-)
> Thomas only gave me the upper two frames and I didn't see anything
> malicious.
> But the following frame indicates that you probably forgot to generate
> your model for CDO (native):
> at
> org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
>
>
> I remember that you noticed the info message "Legacy system
> unavailable" before.
> Since you're interested in the lazy-unloading feature of CDO you have
> to use native models (base class is CDOObjectImpl, not CDOLegacyImpl).
>
> It's really easy to create native models:
> - If your genmodel already exists, use the CDO Migrator plugin.
> Right-click your genmodel, select menu "CDO" and then action "Migrate
> EMF Model". Regenerate.
> - Even easier to create a new native genmodel:
>
>
>
> Can you please retry and report if it works?
>
> Regards,
> Eike Stepper
> ----
> http://wiki.eclipse.org/CDO
> http://wiki.eclipse.org/Net4j
>
>
> Stefan Winkler schrieb:
>> Hi Eike,
>>
>> I get the same NPE as Thomas in my first commit:
>>
>> The problem seems to be that the ResourceDelta for my new object is
>> compared to the old one (which is null).
>> Here's the stack trace:
>>
>>
>> java.lang.NullPointerException
>> at
>> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>>
>> at
>> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:285)
>>
>> at
>> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:1)
>>
>> at
>> org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
>>
>> at
>> org.eclipse.emf.internal.cdo.CDOTransactionImpl.preCommit(CD OTransactionImpl.java:426)
>>
>> at
>> org.eclipse.emf.internal.cdo.CDOTransactionImpl.commit(CDOTr ansactionImpl.java:214)
>>
>> at
>> de.feuh.st.requipse.project.RequipseModelFacade.addProject(R equipseModelFacade.java:26)
>>
>>
>> The problem is that the parameter originRevision is null.
>>
>> Here is the console trace:
>>
>> [a lot of added, created etc. omitted]
>> main [debug.revision] Setting version for RequipseProject@-4v0: v-1
>> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
>> main [debug.object] Setting revision: RequipseProject@-4v-1
>> main [debug.view] Registering RequipseProject@-4
>> main [debug.transaction] Registering new object RequipseProject@-4
>> main [debug.object] ATTACH: RequipseProject@-4 --> CDOTransaction(1)
>> main [debug] Processing event ATTACH in state PREPARED for
>> RequipseProject@-4 (data=null)
>> main [debug.object] Setting state NEW for RequipseProject@-4
>> main [debug.object] WRITE:
>> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
>> main [debug.object] getContainer(CDOResource@-2)
>> main [debug.object] READ:
>> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
>> main [debug.transaction] commit()
>> main [debug.object] Transfering instance to revision:
>> de.feuh.st.requipse.project.Requipse.impl.RequipseProjectImp l @e4cb7d
>> (name: <default>) --> RequipseProject@-4v-1
>> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
>> main [debug.revision] Setting containerID RequipseProject@-4v-1: NULL
>> main [debug.revision] Setting containingFeatureID
>> RequipseProject@-4v-1: 0
>>
>> Here's my code (sorry, no highlighting today as I was working from a
>> fresh eclipse install. Will install Java2Html later this day ;-))
>>
>> public void testStore() throws Exception {
>>
>> IManagedContainer container = IPluginContainer.INSTANCE;
>> IJVMAcceptor acceptor = JVMUtil.getAcceptor(container,
>> "default");
>> //IRepository repository = createRepository();
>> URL url =
>> Activator.getDefault().getBundle().getEntry("/configuration/cdo-config.xml ");
>>
>> url = FileLocator.toFileURL(url);
>> IRepository repository = new
>> RepositoryConfigurator(container).configure(new File(url.toURI()))[0];
>>
>> CDOServerUtil.addRepository(container,
>> repository); // Start a CDO
>> //
>> respository
>>
>> IConnector connector = JVMUtil.getConnector(container,
>> "default");
>> CDOSession session = CDOUtil.openSession(connector,
>> repositoryName,
>> true);
>> CDOTransaction transaction = session.openTransaction();
>>
>> Resource resource =
>> transaction.createResource("/my/big/resource");
>>
>> EObject inputModel = getInputModel();
>> resource.getContents().add(inputModel);
>> transaction.commit();
>> session.close();
>> LifecycleUtil.deactivate(repository);
>> LifecycleUtil.deactivate(connector);
>> LifecycleUtil.deactivate(acceptor);
>> }
>> private EObject getInputModel() {
>> RequipseFactory factory = RequipseFactory.INSTANCE;
>> RequipseProject p1 = factory.createRequipseProject();
>> p1.setName("<default>");
>> return p1;
>> }
>>
>> (RequipseProject is a simple EMF class with one EAttribute name).
>>
>> And the configuration:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <cdoServer>
>>
>> <!-- not used: -->
>> <acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
>> <!--
>> <negotiator type="challenge" description="/temp/users.db"/>
>> -->
>> </acceptor>
>>
>> <repository name="requipse-repo">
>> <property name="overrideUUID"
>> value="1ff5d226-b1f0-40fb-aba2-0c31b38c764f"/>
>> <property name="supportingAudits" value="false"/>
>> <property name="verifyingRevisions" value="true"/>
>> <property name="currentLRUCapacity" value="10000"/>
>> <property name="revisedLRUCapacity" value="100"/>
>> <store type="db">
>> <!-- type: horizontal | vertical | <any user-contributed
>> type> -->
>> <mappingStrategy type="horizontal">
>> <!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS |
>> ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES -->
>> <property name="toManyReferences"
>> value="ONE_TABLE_PER_REFERENCE"/>
>>
>> <!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES -->
>> <property name="toOneReferences"
>> value="LIKE_ATTRIBUTES"/>
>> <!-- MODEL | STRATEGY -->
>> <property name="mappingPrecedence" value="MODEL"/>
>> </mappingStrategy>
>> <dbAdapter name="mysql"/>
>> <dataSource
>> class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
>> url="jdbc:mysql://localhost/requipse"
>> user="requipse" password="xxx" />
>> </store> </repository>
>> </cdoServer>
>>
>> I did not modify my model in any way (CDO-wise, that is) so no native
>> model as of now - if that plays a role.
>> I am using CVS HEAD.
>>
>> Do both Thomas and I do something wrong?
>>
>> Cheers,
>> Stefan
>>
>>
>>
>>
>>
>>
>> Thomas schrieb:
>>> I finally got my setup working. now i tried to create an object on
>>> the repo1 demo repository which always gives me:
>>>
>>> Worker-2 [debug] Processing event PREPARE in state TRANSIENT for
>>> EObject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
>>> Worker-2 [debug.revision] Setting version for EObject@-6v0: v-1
>>> Worker-2 [debug.revision] Setting resourceID EObject@-6v-1: -2
>>> Worker-2 [debug.view] Registering EObject@-6
>>> Worker-2 [debug.transaction] Registering new object EObject@-6
>>> Worker-2 [debug] Processing event ATTACH in state PREPARED for
>>> EObject@-6 (data=null)
>>> ModalContext [debug.transaction] commit()
>>> [ERROR] NullPointerException
>>> java.lang.NullPointerException
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>>>
>>> at
>>> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>>>
>>> at ...
>>>
>>> By the way you shouldnt close the editor on save if the save fails.
>>> at least I wouldnt. (monitor.setCanceled(true) and the editor stays
>>> open after save)
>>>
>>> Regards Thomas
Re: [CDO] examples question [message #614289 is a reply to message #109691] Wed, 30 January 2008 13:14 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6506
Registered: July 2009
Senior Member
Hi Stefan,

I'm not completely sure, since the log is not complete (starts with commit).
But have you also recreated your db? There might be old meta data about
your model!

I stumbled about this log line:
main [debug.protocol] Writing 0 new packages

If this commit operation is the first with your new native model, it
(the model) should be committed as well.
The reason that it's not, could be that the previous model is still
registered in the repository...

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j






Stefan Winkler schrieb:
> Hi Eike,
>
> here comes the next full stack trace :-)
> I recreated my genmodel and completely deleted the model code and
> re-generated it (just to be sure).
>
> I now get into the container thread, but in
> CDOClassRefImpl.resolve(CDOPackageManager packageManager) the line
>
> CDOPackageImpl cdoPackage =
> (CDOPackageImpl)packageManager.lookupPackage(packageURI);
>
> -- where packageURI is the URI of my model package -- fails and
> returns null, causing resolve to return null resulting in a
>
> java.lang.IllegalStateException: ClassRef unresolveable:
> CDOClassRef(http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, 0)
> at
> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl. <init>(CDORevisionImpl.java:112)
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.readRevisions(CommitTransactionIndication.java: 255)
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.readNewObjects(CommitTransactionIndication.java :224)
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.indicating(CommitTransactionIndication.java:114 )
>
> at
> org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:46)
>
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:143)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:124)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:885)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:907)
>
> at java.lang.Thread.run(Thread.java:619)
>
>
> The trace messages leading up to this are:
>
> main [debug.transaction] commit()
> main [debug.signal] ================ Requesting CommitTransactionRequest
> main [debug.buffer] Created Buffer@43
> main [debug.buffer] Obtained Buffer@43
> main [debug.buffer.stream] Put signal id 12
> main [debug.protocol] Writing 0 new packages
> main [debug.protocol] Writing 1 new resources
> main [debug.revision] Writing revision: ID=-2,
> classRef=CDOClassRef(http://www.eclipse.org/emf/CDO/resource/1.0.0,
> 0), className=CDOResource, version=1, created=0, revised=0,
> resource=-2, container=NULL, feature=0
> main [debug.revision] Writing feature CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null): /requipse/projects
> main [debug.revision] Writing feature CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)): size=0
> main [debug.protocol] Writing 0 new objects
> main [debug.protocol] Writing 0 revision deltas
> main [debug.channel] Handling buffer from client: Buffer@43 -->
> Channel[1]
> main [debug] Multiplexing 00 00 00 00 00 00 00 03 00 0c 00 00 00 01 00
> 00 00 00 00 00 00 01 01 00 2d 68 74 74 70 3a 2f 2f 77 77 77 2e 65 63
> 6c 69 70 73 65 2e 6f 72 67 2f 65 6d 66 2f 43 44 4f 2f 72 65 73 6f 75
> 72 63 65 2f 31 2e 30 2e 30 00 00 00 00 00 00 00 00 00 00 00 00 01 00
> 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 01 00 12 2f 72 65 71
> 75 69 70 73 65 2f 70 72 6f 6a 65 63 74 73 00 00 00 00 00 00 00 00 00
> 00 00 00 00
> main [debug.channel] Handling buffer from multiplexer: Buffer@43 -->
> Channel[1]
> main [debug.signal] ================ Confirming CommitTransactionRequest
> ReceiveSerializer1 [debug.signal] Received buffer for correlation 3
> ReceiveSerializer1 [debug.signal] Got signal id 12
> Thread-5 [debug.signal] ================ Indicating
> CommitTransactionIndication
> Thread-5 [debug.protocol] Reading 0 new packages
> Thread-5 [debug.protocol] Reading 1 new resources
> [ERROR] ClassRef unresolveable:
> CDOClassRef(http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, 0)
>
>
> any hints about what goes wrong?
>
>
> Cheers,
> Stefan
>
>
>
>
>
>
> Eike Stepper schrieb:
>> Hi Stefan,
>>
>> This is a good example for the value of *full* stack traces ;-)
>> Thomas only gave me the upper two frames and I didn't see anything
>> malicious.
>> But the following frame indicates that you probably forgot to
>> generate your model for CDO (native):
>> at
>> org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
>>
>>
>> I remember that you noticed the info message "Legacy system
>> unavailable" before.
>> Since you're interested in the lazy-unloading feature of CDO you have
>> to use native models (base class is CDOObjectImpl, not CDOLegacyImpl).
>>
>> It's really easy to create native models:
>> - If your genmodel already exists, use the CDO Migrator plugin.
>> Right-click your genmodel, select menu "CDO" and then action "Migrate
>> EMF Model". Regenerate.
>> - Even easier to create a new native genmodel:
>>
>>
>>
>> Can you please retry and report if it works?
>>
>> Regards,
>> Eike Stepper
>> ----
>> http://wiki.eclipse.org/CDO
>> http://wiki.eclipse.org/Net4j
>>
>>
>> Stefan Winkler schrieb:
>>> Hi Eike,
>>>
>>> I get the same NPE as Thomas in my first commit:
>>>
>>> The problem seems to be that the ResourceDelta for my new object is
>>> compared to the old one (which is null).
>>> Here's the stack trace:
>>>
>>>
>>> java.lang.NullPointerException
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>>>
>>> at
>>> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:285)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.compare(CDORevisionImpl.java:1)
>>>
>>> at
>>> org.eclipse.emf.internal.cdo.CDOLegacyImpl.cdoInternalPreCom mit(CDOLegacyImpl.java:174)
>>>
>>> at
>>> org.eclipse.emf.internal.cdo.CDOTransactionImpl.preCommit(CD OTransactionImpl.java:426)
>>>
>>> at
>>> org.eclipse.emf.internal.cdo.CDOTransactionImpl.commit(CDOTr ansactionImpl.java:214)
>>>
>>> at
>>> de.feuh.st.requipse.project.RequipseModelFacade.addProject(R equipseModelFacade.java:26)
>>>
>>>
>>> The problem is that the parameter originRevision is null.
>>>
>>> Here is the console trace:
>>>
>>> [a lot of added, created etc. omitted]
>>> main [debug.revision] Setting version for RequipseProject@-4v0: v-1
>>> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
>>> main [debug.object] Setting revision: RequipseProject@-4v-1
>>> main [debug.view] Registering RequipseProject@-4
>>> main [debug.transaction] Registering new object RequipseProject@-4
>>> main [debug.object] ATTACH: RequipseProject@-4 --> CDOTransaction(1)
>>> main [debug] Processing event ATTACH in state PREPARED for
>>> RequipseProject@-4 (data=null)
>>> main [debug.object] Setting state NEW for RequipseProject@-4
>>> main [debug.object] WRITE:
>>> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
>>> main [debug.object] getContainer(CDOResource@-2)
>>> main [debug.object] READ:
>>> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
>>> main [debug.transaction] commit()
>>> main [debug.object] Transfering instance to revision:
>>> de.feuh.st.requipse.project.Requipse.impl.RequipseProjectImp l @e4cb7d
>>> (name: <default>) --> RequipseProject@-4v-1
>>> main [debug.revision] Setting resourceID RequipseProject@-4v-1: -2
>>> main [debug.revision] Setting containerID RequipseProject@-4v-1: NULL
>>> main [debug.revision] Setting containingFeatureID
>>> RequipseProject@-4v-1: 0
>>>
>>> Here's my code (sorry, no highlighting today as I was working from a
>>> fresh eclipse install. Will install Java2Html later this day ;-))
>>>
>>> public void testStore() throws Exception {
>>>
>>> IManagedContainer container = IPluginContainer.INSTANCE;
>>> IJVMAcceptor acceptor = JVMUtil.getAcceptor(container,
>>> "default");
>>> //IRepository repository = createRepository();
>>> URL url =
>>> Activator.getDefault().getBundle().getEntry("/configuration/cdo-config.xml ");
>>>
>>> url = FileLocator.toFileURL(url);
>>> IRepository repository = new
>>> RepositoryConfigurator(container).configure(new File(url.toURI()))[0];
>>>
>>> CDOServerUtil.addRepository(container,
>>> repository); // Start a CDO
>>> //
>>> respository
>>>
>>> IConnector connector = JVMUtil.getConnector(container,
>>> "default");
>>> CDOSession session = CDOUtil.openSession(connector,
>>> repositoryName,
>>> true);
>>> CDOTransaction transaction = session.openTransaction();
>>>
>>> Resource resource =
>>> transaction.createResource("/my/big/resource");
>>>
>>> EObject inputModel = getInputModel();
>>> resource.getContents().add(inputModel);
>>> transaction.commit();
>>> session.close();
>>> LifecycleUtil.deactivate(repository);
>>> LifecycleUtil.deactivate(connector);
>>> LifecycleUtil.deactivate(acceptor);
>>> }
>>> private EObject getInputModel() {
>>> RequipseFactory factory = RequipseFactory.INSTANCE;
>>> RequipseProject p1 = factory.createRequipseProject();
>>> p1.setName("<default>");
>>> return p1;
>>> }
>>>
>>> (RequipseProject is a simple EMF class with one EAttribute name).
>>>
>>> And the configuration:
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <cdoServer>
>>>
>>> <!-- not used: -->
>>> <acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
>>> <!--
>>> <negotiator type="challenge" description="/temp/users.db"/>
>>> -->
>>> </acceptor>
>>>
>>> <repository name="requipse-repo">
>>> <property name="overrideUUID"
>>> value="1ff5d226-b1f0-40fb-aba2-0c31b38c764f"/>
>>> <property name="supportingAudits" value="false"/>
>>> <property name="verifyingRevisions" value="true"/>
>>> <property name="currentLRUCapacity" value="10000"/>
>>> <property name="revisedLRUCapacity" value="100"/>
>>> <store type="db">
>>> <!-- type: horizontal | vertical | <any user-contributed
>>> type> -->
>>> <mappingStrategy type="horizontal">
>>> <!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS |
>>> ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES -->
>>> <property name="toManyReferences"
>>> value="ONE_TABLE_PER_REFERENCE"/>
>>>
>>> <!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES -->
>>> <property name="toOneReferences"
>>> value="LIKE_ATTRIBUTES"/>
>>> <!-- MODEL | STRATEGY -->
>>> <property name="mappingPrecedence" value="MODEL"/>
>>> </mappingStrategy>
>>> <dbAdapter name="mysql"/>
>>> <dataSource
>>> class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
>>> url="jdbc:mysql://localhost/requipse"
>>> user="requipse" password="xxx" />
>>> </store> </repository>
>>> </cdoServer>
>>>
>>> I did not modify my model in any way (CDO-wise, that is) so no
>>> native model as of now - if that plays a role.
>>> I am using CVS HEAD.
>>>
>>> Do both Thomas and I do something wrong?
>>>
>>> Cheers,
>>> Stefan
>>>
>>>
>>>
>>>
>>>
>>>
>>> Thomas schrieb:
>>>> I finally got my setup working. now i tried to create an object on
>>>> the repo1 demo repository which always gives me:
>>>>
>>>> Worker-2 [debug] Processing event PREPARE in state TRANSIENT for
>>>> EObject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
>>>> Worker-2 [debug.revision] Setting version for EObject@-6v0: v-1
>>>> Worker-2 [debug.revision] Setting resourceID EObject@-6v-1: -2
>>>> Worker-2 [debug.view] Registering EObject@-6
>>>> Worker-2 [debug.transaction] Registering new object EObject@-6
>>>> Worker-2 [debug] Processing event ATTACH in state PREPARED for
>>>> EObject@-6 (data=null)
>>>> ModalContext [debug.transaction] commit()
>>>> [ERROR] NullPointerException
>>>> java.lang.NullPointerException
>>>> at
>>>> org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
>>>>
>>>> at
>>>> org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
>>>>
>>>> at ...
>>>>
>>>> By the way you shouldnt close the editor on save if the save fails.
>>>> at least I wouldnt. (monitor.setCanceled(true) and the editor stays
>>>> open after save)
>>>>
>>>> Regards Thomas


Re: [CDO] examples question [message #614339 is a reply to message #110038] Wed, 30 January 2008 14:20 Go to previous message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Eike,<br>
<br>
complete log below ...<br>
<br>
Eike Stepper schrieb:
<blockquote cite="mid:fnpt8f$qa8$4@build.eclipse.org" type="cite">Hi
Stefan,
<br>
<br>
I'm not completely sure, since the log is not complete (starts with
commit).
<br>
But have you also recreated your db? There might be old meta data about
your model!
<br>
<br>
I stumbled about this log line:
<br>
main [debug.protocol] Writing 0 new packages
<br>
<br>
If this commit operation is the first with your new native model, it
(the model) should be committed as well.
<br>
The reason that it's not, could be that the previous model is still
registered in the repository...
<br>
<br>
</blockquote>
No, I don't think so - I have erased every table in the schema and then
reexecuted the test. Same result.<br>
Here's the complete trace.<br>
<br>
<br>
Configuration location:<br>
   
<a class="moz-txt-link-freetext" href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/ "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/ </a><br>
Configuration file:<br>
   
<a class="moz-txt-link-freetext" href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini </a>
loaded<br>
Install location:<br>
    <a class="moz-txt-link-freetext" href="file:/C:/Programme/Eclipse-3.4/eclipse/">file:/C:/Programme/Eclipse-3.4/eclipse/ </a><br>
Framework located:<br>
   
<a class="moz-txt-link-freetext" href=" file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar "> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar </a><br>
Framework classpath:<br>
   
<a class="moz-txt-link-freetext" href=" file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar "> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar </a><br>
Debug options:<br>
   
<a class="moz-txt-link-freetext" href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options </a>
loaded<br>
Time to load bundles: 250<br>
Starting application: 10016<br>
Application Started: 26641<br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util<br>
Worker-4 [debug.lifecycle] Activating ManagedContainer<br>
Worker-4 [debug.lifecycle] Activating {}<br>
Worker-4 [debug.lifecycle.dump] DUMP PluginFactoryRegistry@1<br>
 Registry.autoCommit = true<br>
 Registry.transaction = null<br>
 HashMapRegistry.map = <br>
   
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm]<br>
   
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm]<br>
   
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]<br>
   
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]<br>
   
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]<br>
   
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]<br>
   
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]<br>
   
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]<br>
   
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]<br>
   
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]<br>
   
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp]<br>
   
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]<br>
   
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp]<br>
   
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]<br>
   
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]<br>
   
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp]<br>
   
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo]<br>
 extensionRegistryListener =
org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@de0cc2<br>
<br>
Worker-4 [debug.lifecycle] Activating []<br>
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo<br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j<br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.tcp<br>
Worker-4 [debug.lifecycle.dump] DUMP PluginElementProcessorList@2<br>
 processors = <br>
    org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1<br>
   
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8<br>
    org.eclipse.internal.net4j.Net4jTransportInjector@76d4af<br>
    org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de<br>
 extensionRegistryListener =
org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@1664cb5<br>
<br>
Worker-4 [debug.lifecycle.dump] DUMP PluginContainer@3<br>
 ManagedContainer.factoryRegistry = <br>
   
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm]<br>
   
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm]<br>
   
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]<br>
   
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]<br>
   
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]<br>
   
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]<br>
   
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]<br>
   
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]<br>
   
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]<br>
   
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]<br>
   
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp]<br>
   
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]<br>
   
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp]<br>
   
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]<br>
   
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]<br>
   
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp]<br>
   
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo]<br>
 ManagedContainer.postProcessors = <br>
    org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1<br>
   
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8<br>
    org.eclipse.internal.net4j.Net4jTransportInjector@76d4af<br>
    org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de<br>
 ManagedContainer.elementRegistry = <br>
 ManagedContainer.maxElementID = 0<br>
 ManagedContainer.elementListener =
org.eclipse.net4j.internal.util.container.ManagedContainer$1@dbb073<br>
<br>
Worker-4 [debug.om] Plugin container created: ManagedContainer<br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util.ui<br>
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver.ui<br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.server<br>
main [debug.om] Starting bundle org.eclipse.net4j.jvm<br>
main [debug.lifecycle] Activating BufferPool[4.096]<br>
BufferPoolMonitor [debug.buffer] Start monitoring<br>
main [debug.lifecycle.dump] DUMP BufferPool@4<br>
 BufferProvider.bufferCapacity = 4096<br>
 BufferProvider.providedBuffers = 0<br>
 BufferProvider.retainedBuffers = 0<br>
 provider = BufferFactory[4.096]<br>
 pooledBuffers = 0<br>
<br>
main [debug.lifecycle] Activating JVMAcceptor[default]<br>
main [debug.lifecycle.dump] DUMP JVMAcceptor@5<br>
 Acceptor.negotiator = null<br>
 Acceptor.bufferProvider = BufferPool[4.096]<br>
 Acceptor.protocolFactoryRegistry = <br>
   
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm]<br>
   
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm]<br>
   
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]<br>
   
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]<br>
   
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]<br>
   
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]<br>
   
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]<br>
   
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]<br>
   
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]<br>
   
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]<br>
   
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp]<br>
   
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]<br>
   
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp]<br>
   
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]<br>
   
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]<br>
   
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp]<br>
   
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo]<br>
 Acceptor.protocolPostProcessors = <br>
    org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1<br>
   
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8<br>
    org.eclipse.internal.net4j.Net4jTransportInjector@76d4af<br>
    org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de<br>
 Acceptor.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 Acceptor.lifecycleEventConverter =
org.eclipse.internal.net4j.acceptor.Acceptor$1@8ff9a7<br>
 Acceptor.acceptedConnectors = <br>
 name = default<br>
<br>
main [debug.repository] Configuring CDO server from
C:\work\work\diss\requipse-workspace\CDOTests\configuration\ cdo-config.xml <br>
main [debug.repository] Configuring repository requipse-repo
(type=default)<br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.protocol<br>
main [debug.model] Created
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
main [debug.model] Created CDOClass(ID=0, name=CDOObject)<br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)<br>
main [debug.model] Added package:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
main [debug.model] Created
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
main [debug.model] Created CDOClass(ID=0, name=CDOResource)<br>
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)<br>
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null)<br>
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))<br>
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))<br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)<br>
main [debug.model] Added package:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.server.db<br>
main [debug.om] Starting bundle org.eclipse.net4j.db<br>
main [debug.lifecycle] Activating Repository[requipse-repo, null]<br>
main [debug.lifecycle] Activating DBStore@6<br>
Worker-5 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver<br>
main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
feature INTEGER, name LONGTEXT, type INTEGER, reference_package
LONGTEXT, reference_classifier INTEGER, many BOOLEAN, containment
BOOLEAN, idx INTEGER)<br>
main [debug.sql] CREATE INDEX cdo_features_idx0 ON cdo_features (id)<br>
main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package INTEGER,
classifier INTEGER, name LONGTEXT, abstract BOOLEAN)<br>
main [debug.sql] CREATE INDEX cdo_classes_idx0 ON cdo_classes (id)<br>
main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri LONGTEXT,
name LONGTEXT, ecore LONGTEXT, dynamic BOOLEAN, range_lb BIGINT,
range_ub BIGINT)<br>
main [debug.sql] CREATE INDEX cdo_packages_idx0 ON cdo_packages (id)<br>
main [debug.sql] CREATE UNIQUE INDEX cdo_packages_idx1 ON cdo_packages
(uri(255))<br>
main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
supertype_package LONGTEXT, supertype_classifier INTEGER)<br>
main [debug.sql] CREATE INDEX cdo_supertypes_idx0 ON cdo_supertypes
(type_id)<br>
main [debug.sql] CREATE TABLE cdo_repository (name LONGTEXT, uuid
LONGTEXT, starts BIGINT, started BIGINT, stopped BIGINT, next_cdoid
BIGINT, next_metaid BIGINT)<br>
main [debug.sql] INSERT IGNORE INTO cdo_repository VALUES ('requipse-repo',
'1ff5d226-b1f0-40fb-aba2-0c31b38c764f', 1, 1201701648786, 0, 0, 0)<br>
main [debug.model] Setting server info: CDOClass(ID=0,
name=CDOResource) --&gt; -2<br>
main [debug.sql] CREATE TABLE CDOResource_contents_refs (cdo_source
BIGINT, cdo_version INTEGER, cdo_idx INTEGER, cdo_target BIGINT)<br>
main [debug.sql] CREATE TABLE CDOResource (cdo_id BIGINT NOT NULL,
cdo_version INTEGER NOT NULL, cdo_class INTEGER NOT NULL, cdo_created
BIGINT NOT NULL, cdo_revised BIGINT NOT NULL, cdo_resource BIGINT NOT
NULL, cdo_container BIGINT NOT NULL, cdo_feature INTEGER NOT NULL, path
LONGTEXT NOT NULL)<br>
main [debug.sql] CREATE UNIQUE INDEX CDOResource_idx0 ON CDOResource
(cdo_version, path(760))<br>
main [debug.sql] SELECT MAX(id) FROM cdo_packages<br>
main [debug.sql] SELECT MAX(id) FROM cdo_classes<br>
main [debug.sql] SELECT MAX(id) FROM cdo_features<br>
main [debug.lifecycle.dump] DUMP DBStore@6<br>
 Store.type = db<br>
 Store.repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
 Store.nextOIDValue = 2<br>
 mappingStrategy = horizontal<br>
 dbAdapter = mysql-5.1.5<br>
 connectionProvider =
com.mysql.jdbc.jdbc2.optional.MysqlDataSource@1f32230<br>
 schema = requipse-repo<br>
 nextPackageID = 1<br>
 nextClassID = 1<br>
 nextFeatureID = 1<br>
<br>
main [debug.lifecycle] Activating TypeManager-requipse-repo<br>
main [debug.types] Repository state location:
C:\work\work\diss\junit-workspace\.metadata\.plugins\org.ecl ipse.emf.cdo.server\1ff5d226-b1f0-40fb-aba2-0c31b38c764f <br>
main [debug.lifecycle.dump] DUMP @7<br>
 Worker.daemon = false<br>
 Worker.activationTimeout = 2000<br>
 Worker.deactivationTimeout = 2000<br>
 Worker.activationLatch =
java.util.concurrent.CountDownLatch@13641d6[Count = 0]<br>
 Worker.workerThread = Thread[TypeManager-requipse-repo,6,main]<br>
 QueueWorker.queue = <br>
 QueueWorker.pollMillis = 100<br>
 TypeManager.repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
 TypeManager.persistent = true<br>
 TypeManager.objectTypes = <br>
 TypeManager.packageURIMap =
org.eclipse.emf.cdo.internal.server.TypeManager$PackageURIMap@b2abfc<br>
 TypeManager.packageIDMap =
org.eclipse.emf.cdo.internal.server.TypeManager$PackageIDMap@394557<br>
 TypeManager.objectTypeMap =
org.eclipse.emf.cdo.internal.server.TypeManager$ObjectTypeMap@1f77df3<br>
 TypeManager.metaObjectTypeMap =
org.eclipse.emf.cdo.internal.server.TypeManager$ObjectTypeMap@16e1c1a<br>
 TypeManager.nextPackageID = 1<br>
<br>
main [debug.lifecycle] Activating PackageManager@8<br>
main [debug.sql] SELECT uri, dynamic, range_lb, range_ub FROM
cdo_packages<br>
main [debug.lifecycle.dump] DUMP PackageManager@8<br>
 CDOPackageManagerImpl.packages = <br>
   
<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
   
<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore, dynamic=false, metaIDRange=null)<br>
 CDOPackageManagerImpl.cdoCorePackage =
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
 CDOPackageManagerImpl.cdoResourcePackage =
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
 repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
<br>
main [debug.lifecycle] Activating SessionManager@9<br>
main [debug.lifecycle.dump] DUMP SessionManager@9<br>
 repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
 sessions = <br>
 lastSessionID = 0<br>
<br>
main [debug.lifecycle] Activating ResourceManager@10<br>
main [debug.lifecycle.dump] DUMP ResourceManager@10<br>
 repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
 idToPathMap = <br>
 pathToIDMap = <br>
<br>
main [debug.lifecycle] Activating RevisionManager@11<br>
main [debug.lifecycle.dump] DUMP RevisionManager@11<br>
 CDORevisionResolverImpl.revisions = <br>
 CDORevisionResolverImpl.currentLRUCapacity = 10000<br>
 CDORevisionResolverImpl.revisedLRUCapacity = 100<br>
 CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=10.000]<br>
 CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=100]<br>
 repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]<br>
 cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)<br>
<br>
main [debug.lifecycle.dump] DUMP Repository@12<br>
 name = requipse-repo<br>
 store = DBStore@6<br>
 uuid = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f<br>
 properties = <br>
    revisedLRUCapacity=100<br>
    supportingAudits=false<br>
    currentLRUCapacity=10000<br>
    verifyingRevisions=true<br>
    overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f<br>
 supportingRevisionDeltas = null<br>
 supportingAudits = false<br>
 verifyingRevisions = null<br>
 rememberingKnownTypes = null<br>
 typeManager = TypeManager-requipse-repo<br>
 packageManager = PackageManager@8<br>
 sessionManager = SessionManager@9<br>
 resourceManager = ResourceManager@10<br>
 revisionManager = RevisionManager@11<br>
 elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@14ea4a2<br >
 nextMetaIDValue = 1<br>
<br>
main [debug.lifecycle] Activating JVMClientConnector@13<br>
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMClientConnector@13<br>
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMClientConnector@13<br>
main [debug.lifecycle.dump] DUMP JVMClientConnector@13<br>
 Connector.userID = null<br>
 Connector.protocolFactoryRegistry = <br>
   
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm]<br>
   
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm]<br>
   
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]<br>
   
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]<br>
   
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]<br>
   
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]<br>
   
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]<br>
   
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]<br>
   
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]<br>
   
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]<br>
   
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp]<br>
   
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]<br>
   
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp]<br>
   
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]<br>
   
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]<br>
   
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp]<br>
   
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo]<br>
 Connector.protocolPostProcessors = <br>
    org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1<br>
   
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8<br>
    org.eclipse.internal.net4j.Net4jTransportInjector@76d4af<br>
    org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de<br>
 Connector.negotiator = null<br>
 Connector.negotiationContext = null<br>
 Connector.bufferProvider = BufferPool[4.096]<br>
 Connector.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 Connector.nextChannelID = 0<br>
 Connector.channels = <br>
 Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@4e33e7[Write locks = 0, Read
locks = 0]<br>
 Connector.connectorState = CONNECTED<br>
 Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@31bc4b<br>
 Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@140ef69[Count = 1]<br>
 Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@260132[Count = 1]<br>
 JVMConnector.peer = null<br>
 JVMConnector.name = default<br>
 acceptor = JVMAcceptor[default]<br>
 peerLifecycleListener =
org.eclipse.net4j.internal.jvm.JVMClientConnector$1@118a0ac<br>
<br>
main [debug.lifecycle] Activating JVMServerConnector@14<br>
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMServerConnector@14<br>
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMServerConnector@14<br>
main [debug.lifecycle.dump] DUMP JVMServerConnector@14<br>
 Connector.userID = null<br>
 Connector.protocolFactoryRegistry = <br>
   
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm]<br>
   
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm]<br>
   
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]<br>
   
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]<br>
   
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]<br>
   
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]<br>
   
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]<br>
   
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]<br>
   
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]<br>
   
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]<br>
   
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp]<br>
   
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]<br>
   
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp]<br>
   
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]<br>
   
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]<br>
   
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp]<br>
   
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo]<br>
 Connector.protocolPostProcessors = <br>
    org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1<br>
   
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8<br>
    org.eclipse.internal.net4j.Net4jTransportInjector@76d4af<br>
    org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de<br>
 Connector.negotiator = null<br>
 Connector.negotiationContext = null<br>
 Connector.bufferProvider = BufferPool[4.096]<br>
 Connector.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 Connector.nextChannelID = 0<br>
 Connector.channels = <br>
 Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@14c6171[Write locks = 0, Read
locks = 0]<br>
 Connector.connectorState = CONNECTED<br>
 Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@19177b9<br>
 Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@14b1dbf[Count = 1]<br>
 Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@8de742[Count = 1]<br>
 JVMConnector.peer = JVMClientConnector@13<br>
 JVMConnector.name = default<br>
<br>
main [debug.acceptor] Added connector JVMServerConnector@14<br>
main [debug.model] Created
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
main [debug.model] Created CDOClass(ID=0, name=CDOObject)<br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)<br>
main [debug.model] Added package:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
main [debug.model] Created
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
main [debug.model] Created CDOClass(ID=0, name=CDOResource)<br>
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)<br>
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null)<br>
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))<br>
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))<br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)<br>
main [debug.model] Added package:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
main [debug.model] Setting client info:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null) --&gt;
org.eclipse.emf.ecore.impl.EcorePackageImpl@87080f (name: ecore)
(nsURI: <a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/2002/Ecore">http://www.eclipse.org/emf/2002/Ecore</a>, nsPrefix: ecore)<br>
main [debug.model] Setting client info: CDOClass(ID=0, name=CDOObject)
--&gt; org.eclipse.emf.ecore.impl.EClassImpl@14e5e21 (name: EObject)
(instanceClassName: null) (abstract: false, interface: false)<br>
main [debug.model] Setting client info:
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) --&gt;
org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@4654f6 (name:
eresource) (nsURI: <a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
nsPrefix: eresource)<br>
main [debug.model] Setting client info: CDOClass(ID=0,
name=CDOResource) --&gt; org.eclipse.emf.ecore.impl.EClassImpl@17c048c
(name: CDOResource) (instanceClassName: null) (abstract: false,
interface: false)<br>
main [debug.model] Setting client info: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)) --&gt;
org.eclipse.emf.ecore.impl.EReferenceImpl@174202a (name: contents)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)<br>
main [debug.model] Setting client info: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null) --&gt;
org.eclipse.emf.ecore.impl.EAttributeImpl@ebcf2d (name: path) (ordered:
true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true,
volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false)<br>
main [debug.lifecycle] Activating
CDOSession[JVMClientConnector@13/requipse-repo]<br>
main [debug.connector] Waiting for connection...<br>
main [debug.lifecycle] Activating SignalProtocol[cdo]<br>
main [debug.lifecycle.dump] DUMP CDOClientProtocol@15<br>
 Protocol.channel = Channel[-32.768]<br>
 Protocol.bufferProvider = BufferPool[4.096]<br>
 Protocol.executorService =
java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 Protocol.infraStructure =
CDOSession[JVMClientConnector@13/requipse-repo]<br>
 SignalProtocol.streamWrapper = null<br>
 SignalProtocol.signals = <br>
 SignalProtocol.nextCorrelationID = 1<br>
<br>
main [debug.connector] Opening channel 0 with protocol cdo<br>
main [debug.lifecycle] Activating SignalProtocol[cdo]<br>
main [debug.lifecycle.dump] DUMP CDOServerProtocol@16<br>
 Protocol.channel = Channel[-32.768]<br>
 Protocol.bufferProvider = BufferPool[4.096]<br>
 Protocol.executorService =
java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 Protocol.infraStructure =
org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @d021c3<br>
 SignalProtocol.streamWrapper = null<br>
 SignalProtocol.signals = <br>
 SignalProtocol.nextCorrelationID = 1<br>
 session = null<br>
<br>
main [debug.connector] Opening channel 0 with protocol cdo<br>
main [debug.lifecycle] Activating Channel[0]<br>
main [debug.lifecycle] Activating ChannelReceiveSerializer@17<br>
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@17<br>
 Worker.daemon = false<br>
 Worker.activationTimeout = 2000<br>
 Worker.deactivationTimeout = 2000<br>
 Worker.activationLatch =
java.util.concurrent.CountDownLatch@778a5d[Count = 0]<br>
 Worker.workerThread = Thread[ReceiveSerializer0,6,main]<br>
 QueueWorker.queue = <br>
 QueueWorker.pollMillis = 100<br>
<br>
main [debug.lifecycle.dump] DUMP Channel@18<br>
 channelID = 0<br>
 channelMultiplexer = JVMServerConnector@14<br>
 channelIndex = 0<br>
 receiveExecutor = java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 receiveHandler = SignalProtocol[cdo]<br>
 receiveSerializer = ChannelReceiveSerializer@17<br>
 sendQueue = <br>
<br>
main [debug.lifecycle] Activating Channel[0]<br>
main [debug.lifecycle] Activating ChannelReceiveSerializer@19<br>
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@19<br>
 Worker.daemon = false<br>
 Worker.activationTimeout = 2000<br>
 Worker.deactivationTimeout = 2000<br>
 Worker.activationLatch =
java.util.concurrent.CountDownLatch@116b9e1[Count = 0]<br>
 Worker.workerThread = Thread[ReceiveSerializer0,6,main]<br>
 QueueWorker.queue = <br>
 QueueWorker.pollMillis = 100<br>
<br>
main [debug.lifecycle.dump] DUMP Channel@20<br>
 channelID = 0<br>
 channelMultiplexer = JVMClientConnector@13<br>
 channelIndex = 0<br>
 receiveExecutor = java.util.concurrent.ThreadPoolExecutor@c3b4c1<br>
 receiveHandler = SignalProtocol[cdo]<br>
 receiveSerializer = ChannelReceiveSerializer@19<br>
 sendQueue = <br>
<br>
main [debug.signal] ================ Requesting OpenSessionRequest<br>
main [debug.protocol] Writing repositoryName: requipse-repo<br>
main [debug.buffer] Created Buffer@21<br>
main [debug.buffer] Obtained Buffer@21<br>
main [debug.buffer.stream] Put signal id 1<br>
main [debug.protocol] Writing disableLegacyObjects: true<br>
main [debug.channel] Handling buffer from client: Buffer@21 --&gt;
Channel[0]<br>
main [debug] Multiplexing 00 00 00 00 00 00 00 01 00 01 01 00 0d 72 65
71 75 69 70 73 65 2d 72 65 70 6f 00 01 <br>
main [debug.channel] Handling buffer from multiplexer: Buffer@21 --&gt;
Channel[0]<br>
main [debug.signal] ================ Confirming OpenSessionRequest<br>
ReceiveSerializer0 [debug.signal] Received buffer for correlation 1<br>
ReceiveSerializer0 [debug.signal] Got signal id 1<br>
Thread-4 [debug.signal] ================ Indicating
OpenSessionIndication<br>
Thread-4 [debug.protocol] Read repositoryName: requipse-repo<br>
Thread-4 [debug.buffer] Retaining Buffer@21<br>
Thread-4 [debug.protocol] Read disableLegacyObjects: true<br>
Thread-4 [debug.signal] ================ Responding
OpenSessionIndication<br>
Thread-4 [debug.session] Opening session 1<br>
Thread-4 [debug.lifecycle] Activating Session[1, Channel[0]]<br>
Thread-4 [debug.lifecycle.dump] DUMP Session@22<br>
 sessionManager = SessionManager@9<br>
 protocol = SignalProtocol[cdo]<br>
 sessionID = 1<br>
 disableLegacyObjects = true<br>
 views = <br>
 knownTypes = <br>
 protocolListener = org.eclipse.emf.cdo.internal.server.Session$1@25452e<br>
<br>
Thread-4 [debug.protocol] Writing sessionID: 1<br>
Thread-4 [debug.buffer] Obtained Buffer@21<br>
Thread-4 [debug.protocol] Writing repositoryUUID:
1ff5d226-b1f0-40fb-aba2-0c31b38c764f<br>
Thread-4 [debug.channel] Handling buffer from client: Buffer@21 --&gt;
Channel[0]<br>
Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 00 00 00 00 01 01 00
24 31 66 66 35 64 32 32 36 2d 62 31 66 30 2d 34 30 66 62 2d 61 62 61 32
2d 30 63 33 31 62 33 38 63 37 36 34 66 00 00 <br>
Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@21
--&gt; Channel[0]<br>
ReceiveSerializer0 [debug.signal] Received buffer for correlation -1<br>
main [debug.protocol] Read sessionID: 1<br>
main [debug.protocol] Read repositoryUUID:
1ff5d226-b1f0-40fb-aba2-0c31b38c764f<br>
main [debug.buffer] Retaining Buffer@21<br>
main [debug.lifecycle] Activating CDOSessionPackageManager@23<br>
main [debug.lifecycle.dump] DUMP CDOSessionPackageManager@23<br>
 CDOPackageManagerImpl.packages = <br>
   
<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
   
<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore, dynamic=false, metaIDRange=null)<br>
 CDOPackageManagerImpl.cdoCorePackage =
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>, name=cdocore,
dynamic=false, metaIDRange=null)<br>
 CDOPackageManagerImpl.cdoResourcePackage =
CDOPackage(URI=<a class="moz-txt-link-freetext" href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null)<br>
 session = CDOSession[JVMClientConnector@13/requipse-repo]<br>
<br>
main [debug.lifecycle] Activating CDORevisionManagerImpl@24<br>
main [debug.lifecycle.dump] DUMP CDORevisionManagerImpl@24<br>
 CDORevisionResolverImpl.revisions = <br>
 CDORevisionResolverImpl.currentLRUCapacity = 0<br>
 CDORevisionResolverImpl.revisedLRUCapacity = 0<br>
 CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=0]<br>
 CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=0]<br>
 session = CDOSession[JVMClientConnector@13/requipse-repo]<br>
 ruleManager =
org.eclipse.emf.internal.cdo.analyzer.NOOPFetchRuleManager@c2dfea<br>
<br>
main [debug.lifecycle.dump] DUMP CDOSessionImpl@25<br>
 nextTemporaryID = -1<br>
 sessionID = 1<br>
 disableLegacyObjects = true<br>
 referenceChunkSize = -1<br>
 failOverStrategy = null<br>
 failOverStrategyListener =
org.eclipse.emf.internal.cdo.CDOSessionImpl$1@13c470b<br>
 connector = JVMClientConnector@13<br>
 channel = Channel[0]<br>
 repositoryName = requipse-repo<br>
 repositoryUUID = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f<br>
<i><b> packageRegistry = </b></i><br>
 packageManager = CDOSessionPackageManager@23<br>
 revisionManager = CDORevisionManagerImpl@24<br>
 idToMetaInstanceMap = <br>
 metaInstanceToIDMap = <br>
 types = <br>
 views = <br>
 lastViewID = 0<br>
 channelListener = org.eclipse.emf.internal.cdo.CDOSessionImpl$2@5c25dc<br>
<br>
main [debug.view] Attaching CDO view to
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl@18d3fca resources=[]<br>
main [debug.signal] ================ Requesting ViewsChangedRequest<br>
main [debug.buffer] Obtained Buffer@21<br>
main [debug.buffer.stream] Put signal id 2<br>
main [debug.channel] Handling buffer from client: Buffer@21 --&gt;
Channel[0]<br>
main [debug] Multiplexing 00 00 00 00 00 00 00 02 00 02 00 00 00 01 01 <br>
main [debug.channel] Handling buffer from multiplexer: Buffer@21 --&gt;
Channel[0]<br>
ReceiveSerializer0 [debug.signal] Received buffer for correlation 2<br>
ReceiveSerializer0 [debug.signal] Got signal id 2<br>
main [debug.signal] ================ Confirming ViewsChangedRequest<br>
Thread-4 [debug.signal] ================ Indicating
ViewsChangedIndication<br>
Thread-4 [debug.buffer] Retaining Buffer@21<br>
Thread-4 [debug.signal] ================ Responding
ViewsChangedIndication<br>
Thread-4 [debug.buffer] Obtained Buffer@21<br>
Thread-4 [debug.channel] Handling buffer from client: Buffer@21 --&gt;
Channel[0]<br>
Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 01 01 <br>
Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@21
--&gt; Channel[0]<br>
ReceiveSerializer0 [debug.signal] Received buffer for correlation -2<br>
main [debug.buffer] Retaining Buffer@21<br>
[INFO] Legacy system not available<br>
main [debug.object] ATTACH: CDOResource? --&gt; CDOTransaction(1)<br>
main [debug] Processing event ATTACH in state TRANSIENT for
CDOResource? (data=ResourceAndView(CDOResource?, CDOTransaction(1)))<br>
main [debug.object] Setting ID: -2<br>
main [debug.object] Setting view: CDOTransaction(1)<br>
main [debug.object] Setting state PREPARED_ATTACH for CDOResource@-2<br>
main [debug.revision] Setting version: v0 -&gt; v-1<br>
main [debug.revision] Setting resourceID: -2<br>
main [debug.object] Setting revision: CDOResource@-2v-1<br>
main [debug.view] Registering CDOResource@-2<br>
main [debug.transaction] Registering new object CDOResource@-2<br>
main [debug.object] FINALIZE_ATTACH:
Re: [CDO] examples question [message #614342 is a reply to message #110315] Wed, 30 January 2008 14:33 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6506
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------090009080808090704050707
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Stefan Winkler schrieb:
> Hi Eike,
>
> complete log below ...
I see your point.
Can you please update all projects from CVS.
I saw a few traces that indicate that you don't have the latest version.
Some days ago I accidentally committed code that broke the
CDOStateMachine and the trace indicates that you have a version before I
fixed that.

Does that already help?

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j


>
> Eike Stepper schrieb:
>> Hi Stefan,
>>
>> I'm not completely sure, since the log is not complete (starts with
>> commit).
>> But have you also recreated your db? There might be old meta data
>> about your model!
>>
>> I stumbled about this log line:
>> main [debug.protocol] Writing 0 new packages
>>
>> If this commit operation is the first with your new native model, it
>> (the model) should be committed as well.
>> The reason that it's not, could be that the previous model is still
>> registered in the repository...
>>
> No, I don't think so - I have erased every table in the schema and
> then reexecuted the test. Same result.
> Here's the complete trace.
>
>
> Configuration location:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/
> Configuration file:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini
> loaded
> Install location:
> file:/C:/Programme/Eclipse-3.4/eclipse/
> Framework located:
>
> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
> Framework classpath:
>
> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
> Debug options:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options
> loaded
> Time to load bundles: 250
> Starting application: 10016
> Application Started: 26641
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util
> Worker-4 [debug.lifecycle] Activating ManagedContainer
> Worker-4 [debug.lifecycle] Activating {}
> Worker-4 [debug.lifecycle.dump] DUMP PluginFactoryRegistry@1
> Registry.autoCommit = true
> Registry.transaction = null
> HashMapRegistry.map =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> extensionRegistryListener =
> org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@de0cc2
>
> Worker-4 [debug.lifecycle] Activating []
> Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.tcp
> Worker-4 [debug.lifecycle.dump] DUMP PluginElementProcessorList@2
> processors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8
> org.eclipse.internal.net4j.Net4jTransportInjector@76d4af
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de
> extensionRegistryListener =
> org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@1664cb5
>
> Worker-4 [debug.lifecycle.dump] DUMP PluginContainer@3
> ManagedContainer.factoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> ManagedContainer.postProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8
> org.eclipse.internal.net4j.Net4jTransportInjector@76d4af
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de
> ManagedContainer.elementRegistry =
> ManagedContainer.maxElementID = 0
> ManagedContainer.elementListener =
> org.eclipse.net4j.internal.util.container.ManagedContainer$1@dbb073
>
> Worker-4 [debug.om] Plugin container created: ManagedContainer
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util.ui
> Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver.ui
> main [debug.om] Starting bundle org.eclipse.emf.cdo.server
> main [debug.om] Starting bundle org.eclipse.net4j.jvm
> main [debug.lifecycle] Activating BufferPool[4.096]
> BufferPoolMonitor [debug.buffer] Start monitoring
> main [debug.lifecycle.dump] DUMP BufferPool@4
> BufferProvider.bufferCapacity = 4096
> BufferProvider.providedBuffers = 0
> BufferProvider.retainedBuffers = 0
> provider = BufferFactory[4.096]
> pooledBuffers = 0
>
> main [debug.lifecycle] Activating JVMAcceptor[default]
> main [debug.lifecycle.dump] DUMP JVMAcceptor@5
> Acceptor.negotiator = null
> Acceptor.bufferProvider = BufferPool[4.096]
> Acceptor.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Acceptor.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8
> org.eclipse.internal.net4j.Net4jTransportInjector@76d4af
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de
> Acceptor.receiveExecutor = java.util.concurrent.ThreadPoolExecutor@c3b4c1
> Acceptor.lifecycleEventConverter =
> org.eclipse.internal.net4j.acceptor.Acceptor$1@8ff9a7
> Acceptor.acceptedConnectors =
> name = default
>
> main [debug.repository] Configuring CDO server from
> C:\work\work\diss\requipse-workspace\CDOTests\configuration\ cdo-config.xml
> main [debug.repository] Configuring repository requipse-repo
> (type=default)
> main [debug.om] Starting bundle org.eclipse.emf.cdo.protocol
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOObject)
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOResource)
> main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
> main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.model] Created CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.om] Starting bundle org.eclipse.emf.cdo.server.db
> main [debug.om] Starting bundle org.eclipse.net4j.db
> main [debug.lifecycle] Activating Repository[requipse-repo, null]
> main [debug.lifecycle] Activating DBStore@6
> Worker-5 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver
> main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
> feature INTEGER, name LONGTEXT, type INTEGER, reference_package
> LONGTEXT, reference_classifier INTEGER, many BOOLEAN, containment
> BOOLEAN, idx INTEGER)
> main [debug.sql] CREATE INDEX cdo_features_idx0 ON cdo_features (id)
> main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package
> INTEGER, classifier INTEGER, name LONGTEXT, abstract BOOLEAN)
> main [debug.sql] CREATE INDEX cdo_classes_idx0 ON cdo_classes (id)
> main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri LONGTEXT,
> name LONGTEXT, ecore LONGTEXT, dynamic BOOLEAN, range_lb BIGINT,
> range_ub BIGINT)
> main [debug.sql] CREATE INDEX cdo_packages_idx0 ON cdo_packages (id)
> main [debug.sql] CREATE UNIQUE INDEX cdo_packages_idx1 ON cdo_packages
> (uri(255))
> main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
> supertype_package LONGTEXT, supertype_classifier INTEGER)
> main [debug.sql] CREATE INDEX cdo_supertypes_idx0 ON cdo_supertypes
> (type_id)
> main [debug.sql] CREATE TABLE cdo_repository (name LONGTEXT, uuid
> LONGTEXT, starts BIGINT, started BIGINT, stopped BIGINT, next_cdoid
> BIGINT, next_metaid BIGINT)
> main [debug.sql] INSERT IGNORE INTO cdo_repository VALUES ('requipse-repo',
> '1ff5d226-b1f0-40fb-aba2-0c31b38c764f', 1, 1201701648786, 0, 0, 0)
> main [debug.model] Setting server info: CDOClass(ID=0,
> name=CDOResource) --> -2
> main [debug.sql] CREATE TABLE CDOResource_contents_refs (cdo_source
> BIGINT, cdo_version INTEGER, cdo_idx INTEGER, cdo_target BIGINT)
> main [debug.sql] CREATE TABLE CDOResource (cdo_id BIGINT NOT NULL,
> cdo_version INTEGER NOT NULL, cdo_class INTEGER NOT NULL, cdo_created
> BIGINT NOT NULL, cdo_revised BIGINT NOT NULL, cdo_resource BIGINT NOT
> NULL, cdo_container BIGINT NOT NULL, cdo_feature INTEGER NOT NULL,
> path LONGTEXT NOT NULL)
> main [debug.sql] CREATE UNIQUE INDEX CDOResource_idx0 ON CDOResource
> (cdo_version, path(760))
> main [debug.sql] SELECT MAX(id) FROM cdo_packages
> main [debug.sql] SELECT MAX(id) FROM cdo_classes
> main [debug.sql] SELECT MAX(id) FROM cdo_features
> main [debug.lifecycle.dump] DUMP DBStore@6
> Store.type = db
> Store.repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> Store.nextOIDValue = 2
> mappingStrategy = horizontal
> dbAdapter = mysql-5.1.5
> connectionProvider =
> com.mysql.jdbc.jdbc2.optional.MysqlDataSource@1f32230
> schema = requipse-repo
> nextPackageID = 1
> nextClassID = 1
> nextFeatureID = 1
>
> main [debug.lifecycle] Activating TypeManager-requipse-repo
> main [debug.types] Repository state location:
> C:\work\work\diss\junit-workspace\.metadata\.plugins\org.ecl ipse.emf.cdo.server\1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> main [debug.lifecycle.dump] DUMP @7
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@13641d6[Count = 0]
> Worker.workerThread = Thread[TypeManager-requipse-repo,6,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
> TypeManager.repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> TypeManager.persistent = true
> TypeManager.objectTypes =
> TypeManager.packageURIMap =
> org.eclipse.emf.cdo.internal.server.TypeManager$PackageURIMap@b2abfc
> TypeManager.packageIDMap =
> org.eclipse.emf.cdo.internal.server.TypeManager$PackageIDMap@394557
> TypeManager.objectTypeMap =
> org.eclipse.emf.cdo.internal.server.TypeManager$ObjectTypeMap@1f77df3
> TypeManager.metaObjectTypeMap =
> org.eclipse.emf.cdo.internal.server.TypeManager$ObjectTypeMap@16e1c1a
> TypeManager.nextPackageID = 1
>
> main [debug.lifecycle] Activating PackageManager@8
> main [debug.sql] SELECT uri, dynamic, range_lb, range_ub FROM cdo_packages
> main [debug.lifecycle.dump] DUMP PackageManager@8
> CDOPackageManagerImpl.packages =
>
> http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
>
> http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoCorePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoResourcePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
>
> main [debug.lifecycle] Activating SessionManager@9
> main [debug.lifecycle.dump] DUMP SessionManager@9
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> sessions =
> lastSessionID = 0
>
> main [debug.lifecycle] Activating ResourceManager@10
> main [debug.lifecycle.dump] DUMP ResourceManager@10
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> idToPathMap =
> pathToIDMap =
>
> main [debug.lifecycle] Activating RevisionManager@11
> main [debug.lifecycle.dump] DUMP RevisionManager@11
> CDORevisionResolverImpl.revisions =
> CDORevisionResolverImpl.currentLRUCapacity = 10000
> CDORevisionResolverImpl.revisedLRUCapacity = 100
> CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=10.000]
> CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=100]
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
>
> main [debug.lifecycle.dump] DUMP Repository@12
> name = requipse-repo
> store = DBStore@6
> uuid = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> properties =
> revisedLRUCapacity=100
> supportingAudits=false
> currentLRUCapacity=10000
> verifyingRevisions=true
> overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> supportingRevisionDeltas = null
> supportingAudits = false
> verifyingRevisions = null
> rememberingKnownTypes = null
> typeManager = TypeManager-requipse-repo
> packageManager = PackageManager@8
> sessionManager = SessionManager@9
> resourceManager = ResourceManager@10
> revisionManager = RevisionManager@11
> elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@14ea4a2
> nextMetaIDValue = 1
>
> main [debug.lifecycle] Activating JVMClientConnector@13
> main [debug.connector] Setting state CONNECTING (was disconnected) for
> JVMClientConnector@13
> main [debug.connector] Setting state CONNECTED (was connecting) for
> JVMClientConnector@13
> main [debug.lifecycle.dump] DUMP JVMClientConnector@13
> Connector.userID = null
> Connector.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Connector.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8
> org.eclipse.internal.net4j.Net4jTransportInjector@76d4af
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de
> Connector.negotiator = null
> Connector.negotiationContext = null
> Connector.bufferProvider = BufferPool[4.096]
> Connector.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@c3b4c1
> Connector.nextChannelID = 0
> Connector.channels =
> Connector.channelsLock =
> org.eclipse.net4j.util.concurrent.RWLock@4e33e7[Write locks = 0, Read
> locks = 0]
> Connector.connectorState = CONNECTED
> Connector.channelListener =
> org.eclipse.internal.net4j.connector.Connector$1@31bc4b
> Connector.finishedConnecting =
> java.util.concurrent.CountDownLatch@140ef69[Count = 1]
> Connector.finishedNegotiating =
> java.util.concurrent.CountDownLatch@260132[Count = 1]
> JVMConnector.peer = null
> JVMConnector.name = default
> acceptor = JVMAcceptor[default]
> peerLifecycleListener =
> org.eclipse.net4j.internal.jvm.JVMClientConnector$1@118a0ac
>
> main [debug.lifecycle] Activating JVMServerConnector@14
> main [debug.connector] Setting state CONNECTING (was disconnected) for
> JVMServerConnector@14
> main [debug.connector] Setting state CONNECTED (was connecting) for
> JVMServerConnector@14
> main [debug.lifecycle.dump] DUMP JVMServerConnector@14
> Connector.userID = null
> Connector.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Connector.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@c4ef1
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @12c5c8
> org.eclipse.internal.net4j.Net4jTransportInjector@76d4af
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18567de
> Connector.negotiator = null
> Connector.negotiationContext = null
> Connector.bufferProvider = BufferPool[4.096]
> Connector.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@c3b4c1
> Connector.nextChannelID = 0
> Connector.channels =
> Connector.channelsLock =
> org.eclipse.net4j.util.concurrent.RWLock@14c6171[Write locks = 0, Read
> locks = 0]
> Connector.connectorState = CONNECTED
> Connector.channelListener =
> org.eclipse.internal.net4j.connector.Connector$1@19177b9
> Connector.finishedConnecting =
> java.util.concurrent.CountDownLatch@14b1dbf[Count = 1]
> Connector.finishedNegotiating =
> java.util.concurrent.CountDownLatch@8de742[Count = 1]
> JVMConnector.peer = JVMClientConnector@13
> JVMConnector.name = default
>
> main [debug.acceptor] Added connector JVMServerConnector@14
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOObject)
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOResource)
> main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
> main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.model] Created CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Setting client info:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null) -->
> org.eclipse.emf.ecore.impl.EcorePackageImpl@87080f (name: ecore)
> (nsURI: http://www.eclipse.org/emf/2002/Ecore, nsPrefix: ecore)
> main [debug.model] Setting client info: CDOClass(ID=0, name=CDOObject)
> --> org.eclipse.emf.ecore.impl.EClassImpl@14e5e21 (name: EObject)
> (instanceClassName: null) (abstract: false, interface: false)
> main [debug.model] Setting client info:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null) -->
> org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@4654f6 (name:
> eresource) (nsURI: http://www.eclipse.org/emf/CDO/resource/1.0.0,
> nsPrefix: eresource)
> main [debug.model] Setting client info: CDOClass(ID=0,
> name=CDOResource) --> org.eclipse.emf.ecore.impl.EClassImpl@17c048c
> (name: CDOResource) (instanceClassName: null) (abstract: false,
> interface: false)
> main [debug.model] Setting client info: CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)) --> org.eclipse.emf.ecore.impl.EReferenceImpl@174202a
> (name: contents) (ordered: true, unique: true, lowerBound: 0,
> upperBound: -1) (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false)
> (containment: true, resolveProxies: false)
> main [debug.model] Setting client info: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null) -->
> org.eclipse.emf.ecore.impl.EAttributeImpl@ebcf2d (name: path)
> (ordered: true, unique: true, lowerBound: 0, upperBound: 1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false) (iD: false)
> main [debug.lifecycle] Activating
> CDOSession[JVMClientConnector@13/requipse-repo]
> main [debug.connector] Waiting for connection...
> main [debug.lifecycle] Activating SignalProtocol[cdo]
> main [debug.lifecycle.dump] DUMP CDOClientProtocol@15
> Protocol.channel = Channel[-32.768]
> Protocol.bufferProvider = BufferPool[4.096]
> Protocol.executorService = java.util.concurrent.ThreadPoolExecutor@c3b4c1
> Protocol.infraStructure = CDOSession[JVMClientConnector@13/requipse-repo]
> SignalProtocol.streamWrapper = null
> SignalProtocol.signals =
> SignalProtocol.nextCorrelationID = 1
>
> main [debug.connector] Opening channel 0 with protocol cdo
> main [debug.lifecycle] Activating SignalProtocol[cdo]
> main [debug.lifecycle.dump] DUMP CDOServerProtocol@16
> Protocol.channel = Channel[-32.768]
> Protocol.bufferProvider = BufferPool[4.096]
> Protocol.executorService = java.util.concurrent.ThreadPoolExecutor@c3b4c1
> Protocol.infraStructure =
> org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @d021c3
> SignalProtocol.streamWrapper = null
> SignalProtocol.signals =
> SignalProtocol.nextCorrelationID = 1
> session = null
>
> main [debug.connector] Opening channel 0 with protocol cdo
> main [debug.lifecycle] Activating Channel[0]
> main [debug.lifecycle] Activating ChannelReceiveSerializer@17
> main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@17
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@778a5d[Count = 0]
> Worker.workerThread = Thread[ReceiveSerializer0,6,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
>
> main [debug.lifecycle.dump] DUMP Channel@18
> channelID = 0
> channelMultiplexer = JVMServerConnector@14
> channelIndex = 0
> receiveExecutor = java.util.concurrent.ThreadPoolExecutor@c3b4c1
> receiveHandler = SignalProtocol[cdo]
> receiveSerializer = ChannelReceiveSerializer@17
> sendQueue =
>
> main [debug.lifecycle] Activating Channel[0]
> main [debug.lifecycle] Activating ChannelReceiveSerializer@19
> main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@19
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@116b9e1[Count = 0]
> Worker.workerThread = Thread[ReceiveSerializer0,6,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
>
> main [debug.lifecycle.dump] DUMP Channel@20
> channelID = 0
> channelMultiplexer = JVMClientConnector@13
> channelIndex = 0
> receiveExecutor = java.util.concurrent.ThreadPoolExecutor@c3b4c1
> receiveHandler = SignalProtocol[cdo]
> receiveSerializer = ChannelReceiveSerializer@19
> sendQueue =
>
> main [debug.signal] ================ Requesting OpenSessionRequest
> main [debug.protocol] Writing repositoryName: requipse-repo
> main [debug.buffer] Created Buffer@21
> main [debug.buffer] Obtained Buffer@21
> main [debug.buffer.stream] Put signal id 1
> main [debug.protocol] Writing disableLegacyObjects: true
> main [debug.channel] Handling buffer from client: Buffer@21 --> Channel[0]
> main [debug] Multiplexing 00 00 00 00 00 00 00 01 00 01 01 00 0d 72 65
> 71 75 69 70 73 65 2d 72 65 70 6f 00 01
> main [debug.channel] Handling buffer from multiplexer: Buffer@21 -->
> Channel[0]
> main [debug.signal] ================ Confirming OpenSessionRequest
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 1
> ReceiveSerializer0 [debug.signal] Got signal id 1
> Thread-4 [debug.signal] ================ Indicating OpenSessionIndication
> Thread-4 [debug.protocol] Read repositoryName: requipse-repo
> Thread-4 [debug.buffer] Retaining Buffer@21
> Thread-4 [debug.protocol] Read disableLegacyObjects: true
> Thread-4 [debug.signal] ================ Responding OpenSessionIndication
> Thread-4 [debug.session] Opening session 1
> Thread-4 [debug.lifecycle] Activating Session[1, Channel[0]]
> Thread-4 [debug.lifecycle.dump] DUMP Session@22
> sessionManager = SessionManager@9
> protocol = SignalProtocol[cdo]
> sessionID = 1
> disableLegacyObjects = true
> views =
> knownTypes =
> protocolListener = org.eclipse.emf.cdo.internal.server.Session$1@25452e
>
> Thread-4 [debug.protocol] Writing sessionID: 1
> Thread-4 [debug.buffer] Obtained Buffer@21
> Thread-4 [debug.protocol] Writing repositoryUUID:
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> Thread-4 [debug.channel] Handling buffer from client: Buffer@21 -->
> Channel[0]
> Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 00 00 00 00 01 01
> 00 24 31 66 66 35 64 32 32 36 2d 62 31 66 30 2d 34 30 66 62 2d 61 62
> 61 32 2d 30 63 33 31 62 33 38 63 37 36 34 66 00 00
> Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@21
> --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation -1
> main [debug.protocol] Read sessionID: 1
> main [debug.protocol] Read repositoryUUID:
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> main [debug.buffer] Retaining Buffer@21
> main [debug.lifecycle] Activating CDOSessionPackageManager@23
> main [debug.lifecycle.dump] DUMP CDOSessionPackageManager@23
> CDOPackageManagerImpl.packages =
>
> http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
>
> http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoCorePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoResourcePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> session = CDOSession[JVMClientConnector@13/requipse-repo]
>
> main [debug.lifecycle] Activating CDORevisionManagerImpl@24
> main [debug.lifecycle.dump] DUMP CDORevisionManagerImpl@24
> CDORevisionResolverImpl.revisions =
> CDORevisionResolverImpl.currentLRUCapacity = 0
> CDORevisionResolverImpl.revisedLRUCapacity = 0
> CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=0]
> CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=0]
> session = CDOSession[JVMClientConnector@13/requipse-repo]
> ruleManager =
> org.eclipse.emf.internal.cdo.analyzer.NOOPFetchRuleManager@c2dfea
>
> main [debug.lifecycle.dump] DUMP CDOSessionImpl@25
> nextTemporaryID = -1
> sessionID = 1
> disableLegacyObjects = true
> referenceChunkSize = -1
> failOverStrategy = null
> failOverStrategyListener =
> org.eclipse.emf.internal.cdo.CDOSessionImpl$1@13c470b
> connector = JVMClientConnector@13
> channel = Channel[0]
> repositoryName = requipse-repo
> repositoryUUID = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> /* packageRegistry = */
> packageManager = CDOSessionPackageManager@23
> revisionManager = CDORevisionManagerImpl@24
> idToMetaInstanceMap =
> metaInstanceToIDMap =
> types =
> views =
> lastViewID = 0
> channelListener = org.eclipse.emf.internal.cdo.CDOSessionImpl$2@5c25dc
>
> main [debug.view] Attaching CDO view to
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl@18d3fca resources=[]
> main [debug.signal] ================ Requesting ViewsChangedRequest
> main [debug.buffer] Obtained Buffer@21
> main [debug.buffer.stream] Put signal id 2
> main [debug.channel] Handling buffer from client: Buffer@21 --> Channel[0]
> main [debug] Multiplexing 00 00 00 00 00 00 00 02 00 02 00 00 00 01 01
> main [debug.channel] Handling buffer from multiplexer: Buffer@21 -->
> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 2
> ReceiveSerializer0 [debug.signal] Got signal id 2
> main [debug.signal] ================ Confirming ViewsChangedRequest
> Thread-4 [debug.signal] ================ Indicating ViewsChangedIndication
> Thread-4 [debug.buffer] Retaining Buffer@21
> Thread-4 [debug.signal] ================ Responding ViewsChangedIndication
> Thread-4 [debug.buffer] Obtained Buffer@21
> Thread-4 [debug.channel] Handling buffer from client: Buffer@21 -->
> Channel[0]
> Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 01 01
> Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@21
> --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation -2
> main [debug.buffer] Retaining Buffer@21
> [INFO] Legacy system not available
> main [debug.object] ATTACH: CDOResource? --> CDOTransaction(1)
> main [debug] Processing event ATTACH in state TRANSIENT for
> CDOResource? (data=ResourceAndView(CDOResource?, CDOTransaction(1)))
> main [debug.object] Setting ID: -2
> main [debug.object] Setting view: CDOTransaction(1)
> main [debug.object] Setting state PREPARED_ATTACH for CDOResource@-2
> main [debug.revision] Setting version: v0 -> v-1
> main [debug.revision] Setting resourceID: -2
> main [debug.object] Setting revision: CDOResource@-2v-1
> main [debug.view] Registering CDOResource@-2
> main [debug.transaction] Registering new object CDOResource@-2
> main [debug.object] FINALIZE_ATTACH: CDOResource@-2 --> CDOTransaction(1)
> main [debug] Processing event FINALIZE_ATTACH in state PREPARED_ATTACH
> for CDOResource@-2 (data=ResourceAndView(CDOResource@-2,
> CDOTransaction(1)))
> main [debug.object] Finalizing revision for CDOResource@-2
> main [debug.revision] Setting containerID: NULL
> main [debug.revision] Setting containingFeatureID: 0
> main [debug.object] Finalizing feature CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.object] Setting state NEW for CDOResource@-2
> main [debug.object] isSet(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
> main [debug.object] READ:
> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
> main [debug.object] get(CDOResource@-2, CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null), -1)
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
> main [debug.object] contains(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)), RequipseProject?)
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
> main [debug.object] add(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)), 0, RequipseProject?)
> main [debug.object] ATTACH: RequipseProject? --> CDOTransaction(1)
> main [debug] Processing event ATTACH in state TRANSIENT for
> RequipseProject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
> main [debug.object] Setting ID: -4
> main [debug.object] Setting resource: CDOResource@-2
> main [debug.object] Setting state PREPARED_ATTACH for RequipseProject@-4
> *main [debug.session] Registering meta instance: -1 <->
> de.feuh.st.requipse.project.Requipse.impl.RequipsePackageImp l @1bfbe41
> (name: Requipse) (nsURI:
> http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, nsPrefix: requipse)*
> main [debug.session] Registering meta instance: -3 <->
> org.eclipse.emf.ecore.impl.EClassImpl@192ce93 (name: RequipseProject)
> (instanceClassName: null) (abstract: false, interface: false)
> main [debug.session] Registering meta instance: -5 <->
> org.eclipse.emf.ecore.impl.EOperationImpl@163c85b (name: addCategory)
> (ordered: true, unique: true, lowerBound: 0, upperBound: 1)
> main [debug.session] Registering meta instance: -7 <->
> org.eclipse.emf.ecore.impl.EParameterImpl@1f6f81b (name: name)
> (ordered: true, unique: true, lowerBound: 1, upperBound: 1)
> main [debug.session] Registering meta instance: -9 <->
> org.eclipse.emf.ecore.impl.EGenericTypeImpl@11aed03 (expression: EString)
> main [debug.session] Registering meta instance: -11 <->
> org.eclipse.emf.ecore.impl.EReferenceImpl@be99f8 (name: categories)
> (ordered: true, unique: true, lowerBound: 0, upperBound: -1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false)
> (containment: true, resolveProxies: false)
> main [debug.session] Registering meta instance: -13 <->
> org.eclipse.emf.ecore.impl.EGenericTypeImpl@16e788c (expression: Category)
> main [debug.session] Registering meta instance: -15 <->
> org.eclipse.emf.ecore.impl.EReferenceImpl@1ac6a88 (name: traceSets)
> (ordered: true, unique: true, lowerBound: 0, upperBound: -1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false)
> (containment: true, resolveProxies: false)
> main [debug.session] Registering meta instance: -17 <->
> org.eclipse.emf.ecore.impl.EGenericTypeImpl@1b3aac6 (expression:
> Traceability)
> main [debug.session] Registering meta instance: -19 <->
> org.eclipse.emf.ecore.impl.EAttributeImpl@3d8ee8 (name: name)
> (ordered: true, unique: true, lowerBound: 0, upperBound: 1)
> (changeable: true, volatile: false, transien


Re: [CDO] examples question [message #614346 is a reply to message #110469] Wed, 30 January 2008 15:39 Go to previous message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Eike,
> I see your point.
> Can you please update all projects from CVS.
done.
> I saw a few traces that indicate that you don't have the latest
> version. Some days ago I accidentally committed code that broke the
> CDOStateMachine and the trace indicates that you have a version before
> I fixed that.
>
> Does that already help?
No :-(

Here's the current trace:

Configuration location:

file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/
Configuration file:

file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini
loaded
Install location:
file:/C:/Programme/Eclipse-3.4/eclipse/
Framework located:

file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
Framework classpath:

file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
Debug options:

file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options
loaded
Time to load bundles: 157
Starting application: 8421
Application Started: 23329
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util
Worker-4 [debug.lifecycle] Activating ManagedContainer
Worker-4 [debug.lifecycle] Activating {}
Worker-4 [debug.lifecycle.dump] DUMP PluginFactoryRegistry@1
Registry.autoCommit = true
Registry.transaction = null
HashMapRegistry.map =

org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]

org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors, jvm]

org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]

org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]

org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]

org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]

org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]

org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]

org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]

org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]

org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]

org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]

org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors, tcp]

org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]

org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]

org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]

org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions, cdo]
extensionRegistryListener =
org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@4a1535

Worker-4 [debug.lifecycle] Activating []
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo
Worker-4 [debug.om] Starting bundle org.eclipse.net4j
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.tcp
Worker-4 [debug.lifecycle.dump] DUMP PluginElementProcessorList@2
processors =
org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46

org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
org.eclipse.internal.net4j.Net4jTransportInjector@81255
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
extensionRegistryListener =
org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@4814f9

Worker-4 [debug.lifecycle.dump] DUMP PluginContainer@3
ManagedContainer.factoryRegistry =

org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]

org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors, jvm]

org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]

org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]

org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]

org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]

org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]

org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]

org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]

org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]

org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]

org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]

org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors, tcp]

org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]

org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]

org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]

org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions, cdo]
ManagedContainer.postProcessors =
org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46

org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
org.eclipse.internal.net4j.Net4jTransportInjector@81255
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
ManagedContainer.elementRegistry =
ManagedContainer.maxElementID = 0
ManagedContainer.elementListener =
org.eclipse.net4j.internal.util.container.ManagedContainer$1@1d95643

Worker-4 [debug.om] Plugin container created: ManagedContainer
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util.ui
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver.ui
main [debug.om] Starting bundle org.eclipse.emf.cdo.server
main [debug.om] Starting bundle org.eclipse.net4j.jvm
main [debug.lifecycle] Activating BufferPool[4.096]
BufferPoolMonitor [debug.buffer] Start monitoring
main [debug.lifecycle.dump] DUMP BufferPool@4
BufferProvider.bufferCapacity = 4096
BufferProvider.providedBuffers = 0
BufferProvider.retainedBuffers = 0
provider = BufferFactory[4.096]
pooledBuffers = 0

main [debug.lifecycle] Activating JVMAcceptor[default]
main [debug.lifecycle.dump] DUMP JVMAcceptor@5
Acceptor.negotiator = null
Acceptor.bufferProvider = BufferPool[4.096]
Acceptor.protocolFactoryRegistry =

org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]

org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors, jvm]

org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]

org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]

org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]

org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]

org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]

org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]

org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]

org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]

org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]

org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]

org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors, tcp]

org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]

org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]

org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]

org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions, cdo]
Acceptor.protocolPostProcessors =
org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46

org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
org.eclipse.internal.net4j.Net4jTransportInjector@81255
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
Acceptor.receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
Acceptor.lifecycleEventConverter =
org.eclipse.internal.net4j.acceptor.Acceptor$1@14355f1
Acceptor.acceptedConnectors =
name = default

Worker-3 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver
main [debug.repository] Configuring CDO server from
C:\work\work\diss\requipse-workspace\CDOTests\configuration\ cdo-config.xml
main [debug.repository] Configuring repository requipse-repo (type=default)
main [debug.om] Starting bundle org.eclipse.emf.cdo.protocol
main [debug.model] Created
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
main [debug.model] Created CDOClass(ID=0, name=CDOObject)
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
main [debug.model] Added package:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
main [debug.model] Created
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
main [debug.model] Created CDOClass(ID=0, name=CDOResource)
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null)
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
main [debug.model] Added package:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
main [debug.om] Starting bundle org.eclipse.emf.cdo.server.db
main [debug.om] Starting bundle org.eclipse.net4j.db
main [debug.lifecycle] Activating Repository[requipse-repo, null]
main [debug.lifecycle] Activating DBStore@6
main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
feature INTEGER, name LONGTEXT, type INTEGER, reference_package
LONGTEXT, reference_classifier INTEGER, many BOOLEAN, containment
BOOLEAN, idx INTEGER)
main [debug.sql] CREATE INDEX cdo_features_idx0 ON cdo_features (id)
main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package INTEGER,
classifier INTEGER, name LONGTEXT, abstract BOOLEAN)
main [debug.sql] CREATE INDEX cdo_classes_idx0 ON cdo_classes (id)
main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri LONGTEXT,
name LONGTEXT, ecore LONGTEXT, dynamic BOOLEAN, range_lb BIGINT,
range_ub BIGINT)
main [debug.sql] CREATE INDEX cdo_packages_idx0 ON cdo_packages (id)
main [debug.sql] CREATE UNIQUE INDEX cdo_packages_idx1 ON cdo_packages
(uri(255))
main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
supertype_package LONGTEXT, supertype_classifier INTEGER)
main [debug.sql] CREATE INDEX cdo_supertypes_idx0 ON cdo_supertypes
(type_id)
main [debug.sql] CREATE TABLE cdo_repository (name LONGTEXT, uuid
LONGTEXT, starts BIGINT, started BIGINT, stopped BIGINT, next_cdoid
BIGINT, next_metaid BIGINT)
main [debug.sql] INSERT IGNORE INTO cdo_repository VALUES ('requipse-repo',
'1ff5d226-b1f0-40fb-aba2-0c31b38c764f', 1, 1201707015563, 0, 0, 0)
main [debug.model] Setting server info: CDOClass(ID=0, name=CDOResource)
--> -2
main [debug.sql] CREATE TABLE CDOResource (cdo_id BIGINT NOT NULL,
cdo_version INTEGER NOT NULL, cdo_class INTEGER NOT NULL, cdo_created
BIGINT NOT NULL, cdo_revised BIGINT NOT NULL, cdo_resource BIGINT NOT
NULL, cdo_container BIGINT NOT NULL, cdo_feature INTEGER NOT NULL, path
LONGTEXT NOT NULL)
main [debug.sql] CREATE UNIQUE INDEX CDOResource_idx0 ON CDOResource
(cdo_version, path(760))
main [debug.sql] CREATE TABLE CDOResource_contents_refs (cdo_source
BIGINT, cdo_version INTEGER, cdo_idx INTEGER, cdo_target BIGINT)
main [debug.sql] SELECT MAX(id) FROM cdo_packages
main [debug.sql] SELECT MAX(id) FROM cdo_classes
main [debug.sql] SELECT MAX(id) FROM cdo_features
main [debug.lifecycle] Activating horizontal
main [debug.lifecycle] Activating ObjectTypeCache@7
main [debug.lifecycle.dump] DUMP ObjectTypeCache@7
mappingStrategy = horizontal
table = null
idField = null
typeField = null
initializeLock = java.lang.Object@cafce4

main [debug.lifecycle.dump] DUMP HorizontalMappingStrategy@8
MappingStrategy.store = DBStore@6
MappingStrategy.properties =
toManyReferences=ONE_TABLE_PER_REFERENCE
mappingPrecedence=MODEL
toOneReferences=LIKE_ATTRIBUTES
MappingStrategy.referenceTables =
CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))=CDOResource_contents_refs
MappingStrategy.classRefs =
MappingStrategy.resourceClassMapping =
org.eclipse.emf.cdo.server.internal.db.HorizontalClassMappin g @23d1ab
MappingStrategy.resourcePathMapping =
org.eclipse.emf.cdo.server.internal.db.AttributeMapping$AMString@19a6904
MappingStrategy.resourceTable = CDOResource
MappingStrategy.resourceIDField = cdo_id
MappingStrategy.resourcePathField = path
objectTypeCache = ObjectTypeCache@7

main [debug.lifecycle.dump] DUMP DBStore@6
Store.type = db
Store.properties = null
Store.repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
Store.nextOIDValue = 2
mappingStrategy = horizontal
dbSchema = requipse-repo
dbAdapter = mysql-5.1.5
dbConnectionProvider = com.mysql.jdbc.jdbc2.optional.MysqlDataSource@2ea871
nextPackageID = 1
nextClassID = 1
nextFeatureID = 1

main [debug.lifecycle] Activating PackageManager@9
main [debug.sql] SELECT uri, dynamic, range_lb, range_ub FROM cdo_packages
main [debug.lifecycle.dump] DUMP PackageManager@9
CDOPackageManagerImpl.packages =

http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)

http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
name=cdocore, dynamic=false, metaIDRange=null)
CDOPackageManagerImpl.cdoCorePackage =
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
CDOPackageManagerImpl.cdoResourcePackage =
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]

main [debug.lifecycle] Activating SessionManager@10
main [debug.lifecycle.dump] DUMP SessionManager@10
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
sessions =
lastSessionID = 0

main [debug.lifecycle] Activating ResourceManager@11
main [debug.lifecycle.dump] DUMP ResourceManager@11
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
idToPathMap =
pathToIDMap =

main [debug.lifecycle] Activating RevisionManager@12
main [debug.lifecycle.dump] DUMP RevisionManager@12
CDORevisionResolverImpl.revisions =
CDORevisionResolverImpl.currentLRUCapacity = 10000
CDORevisionResolverImpl.revisedLRUCapacity = 100
CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=10.000]
CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=100]
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)

main [debug.lifecycle.dump] DUMP Repository@13
name = requipse-repo
store = DBStore@6
uuid = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
properties =
revisedLRUCapacity=100
supportingAudits=false
currentLRUCapacity=10000
verifyingRevisions=true
overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f
supportingRevisionDeltas = null
supportingAudits = false
verifyingRevisions = null
packageManager = PackageManager@9
sessionManager = SessionManager@10
resourceManager = ResourceManager@11
revisionManager = RevisionManager@12
elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@cedf4e
nextMetaIDValue = 1

main [debug.lifecycle] Activating JVMClientConnector@14
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMClientConnector@14
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMClientConnector@14
main [debug.lifecycle.dump] DUMP JVMClientConnector@14
Connector.userID = null
Connector.protocolFactoryRegistry =

org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]

org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors, jvm]

org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]

org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]

org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]

org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]

org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]

org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]

org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]

org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]

org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]

org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]

org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors, tcp]

org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]

org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]

org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]

org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions, cdo]
Connector.protocolPostProcessors =
org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46

org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
org.eclipse.internal.net4j.Net4jTransportInjector@81255
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
Connector.negotiator = null
Connector.negotiationContext = null
Connector.bufferProvider = BufferPool[4.096]
Connector.receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
Connector.nextChannelID = 0
Connector.channels =
Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@1ac0c5[Write locks = 0, Read
locks = 0]
Connector.connectorState = CONNECTED
Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@65cfd2
Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@2f1989[Count = 1]
Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@35acf6[Count = 1]
JVMConnector.peer = null
JVMConnector.name = default
acceptor = JVMAcceptor[default]
peerLifecycleListener =
org.eclipse.net4j.internal.jvm.JVMClientConnector$1@1ee6b69

main [debug.lifecycle] Activating JVMServerConnector@15
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMServerConnector@15
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMServerConnector@15
main [debug.lifecycle.dump] DUMP JVMServerConnector@15
Connector.userID = null
Connector.protocolFactoryRegistry =

org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors, jvm]

org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors, jvm]

org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default]

org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies]

org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file]

org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo]

org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies]

org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo]

org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat]

org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default]

org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors, tcp]

org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge]

org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors, tcp]

org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default]

org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat]

org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors, tcp]

org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions, cdo]
Connector.protocolPostProcessors =
org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46

org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
org.eclipse.internal.net4j.Net4jTransportInjector@81255
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
Connector.negotiator = null
Connector.negotiationContext = null
Connector.bufferProvider = BufferPool[4.096]
Connector.receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
Connector.nextChannelID = 0
Connector.channels =
Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@1349b1[Write locks = 0, Read
locks = 0]
Connector.connectorState = CONNECTED
Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@4b0cbc
Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@1312369[Count = 1]
Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@10bca49[Count = 1]
JVMConnector.peer = JVMClientConnector@14
JVMConnector.name = default

main [debug.acceptor] Added connector JVMServerConnector@15
main [debug.model] Created
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
main [debug.model] Created CDOClass(ID=0, name=CDOObject)
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
main [debug.model] Added package:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
main [debug.model] Created
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
main [debug.model] Created CDOClass(ID=0, name=CDOResource)
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null)
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null)
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
main [debug.model] Added package:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
main [debug.model] Setting client info:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null) -->
org.eclipse.emf.ecore.impl.EcorePackageImpl@c5384d (name: ecore) (nsURI:
http://www.eclipse.org/emf/2002/Ecore, nsPrefix: ecore)
main [debug.model] Setting client info: CDOClass(ID=0, name=CDOObject)
--> org.eclipse.emf.ecore.impl.EClassImpl@16dd9c5 (name: EObject)
(instanceClassName: null) (abstract: false, interface: false)
main [debug.model] Setting client info:
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null) -->
org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@39d3d3 (name:
eresource) (nsURI: http://www.eclipse.org/emf/CDO/resource/1.0.0,
nsPrefix: eresource)
main [debug.model] Setting client info: CDOClass(ID=0, name=CDOResource)
--> org.eclipse.emf.ecore.impl.EClassImpl@e9b75e (name: CDOResource)
(instanceClassName: null) (abstract: false, interface: false)
main [debug.model] Setting client info: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)) -->
org.eclipse.emf.ecore.impl.EReferenceImpl@81df82 (name: contents)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)
main [debug.model] Setting client info: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null) -->
org.eclipse.emf.ecore.impl.EAttributeImpl@78e59b (name: path) (ordered:
true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true,
volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false)
main [debug.lifecycle] Activating
CDOSession[JVMClientConnector@14/requipse-repo]
main [debug.connector] Waiting for connection...
main [debug.lifecycle] Activating SignalProtocol[cdo]
main [debug.lifecycle.dump] DUMP CDOClientProtocol@16
Protocol.channel = Channel[-32.768]
Protocol.bufferProvider = BufferPool[4.096]
Protocol.executorService = java.util.concurrent.ThreadPoolExecutor@10d4170
Protocol.infraStructure = CDOSession[JVMClientConnector@14/requipse-repo]
SignalProtocol.streamWrapper = null
SignalProtocol.signals =
SignalProtocol.nextCorrelationID = 1

main [debug.connector] Opening channel 0 with protocol cdo
main [debug.lifecycle] Activating SignalProtocol[cdo]
main [debug.lifecycle.dump] DUMP CDOServerProtocol@17
Protocol.channel = Channel[-32.768]
Protocol.bufferProvider = BufferPool[4.096]
Protocol.executorService = java.util.concurrent.ThreadPoolExecutor@10d4170
Protocol.infraStructure =
org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @175e354
SignalProtocol.streamWrapper = null
SignalProtocol.signals =
SignalProtocol.nextCorrelationID = 1
session = null

main [debug.connector] Opening channel 0 with protocol cdo
main [debug.lifecycle] Activating Channel[0]
main [debug.lifecycle] Activating ChannelReceiveSerializer@18
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@18
Worker.daemon = false
Worker.activationTimeout = 2000
Worker.deactivationTimeout = 2000
Worker.activationLatch =
java.util.concurrent.CountDownLatch@ceaf8c[Count = 0]
Worker.workerThread = Thread[ReceiveSerializer0,6,main]
QueueWorker.queue =
QueueWorker.pollMillis = 100

main [debug.lifecycle.dump] DUMP Channel@19
channelID = 0
channelMultiplexer = JVMServerConnector@15
channelIndex = 0
receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
receiveHandler = SignalProtocol[cdo]
receiveSerializer = ChannelReceiveSerializer@18
sendQueue =

main [debug.lifecycle] Activating Channel[0]
main [debug.lifecycle] Activating ChannelReceiveSerializer@20
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@20
Worker.daemon = false
Worker.activationTimeout = 2000
Worker.deactivationTimeout = 2000
Worker.activationLatch =
java.util.concurrent.CountDownLatch@161b9b2[Count = 0]
Worker.workerThread = Thread[ReceiveSerializer0,6,main]
QueueWorker.queue =
QueueWorker.pollMillis = 100

main [debug.lifecycle.dump] DUMP Channel@21
channelID = 0
channelMultiplexer = JVMClientConnector@14
channelIndex = 0
receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
receiveHandler = SignalProtocol[cdo]
receiveSerializer = ChannelReceiveSerializer@20
sendQueue =

main [debug.signal] ================ Requesting OpenSessionRequest
main [debug.protocol] Writing repositoryName: requipse-repo
main [debug.buffer] Created Buffer@22
main [debug.buffer] Obtained Buffer@22
main [debug.buffer.stream] Put signal id 1
main [debug.protocol] Writing disableLegacyObjects: true
main [debug.channel] Handling buffer from client: Buffer@22 --> Channel[0]
main [debug] Multiplexing 00 00 00 00 00 00 00 01 00 01 01 00 0d 72 65
71 75 69 70 73 65 2d 72 65 70 6f 00 01
main [debug.channel] Handling buffer from multiplexer: Buffer@22 -->
Channel[0]
main [debug.signal] ================ Confirming OpenSessionRequest
ReceiveSerializer0 [debug.signal] Received buffer for correlation 1
ReceiveSerializer0 [debug.signal] Got signal id 1
Thread-4 [debug.signal] ================ Indicating OpenSessionIndication
Thread-4 [debug.protocol] Read repositoryName: requipse-repo
Thread-4 [debug.buffer] Retaining Buffer@22
Thread-4 [debug.protocol] Read disableLegacyObjects: true
Thread-4 [debug.signal] ================ Responding OpenSessionIndication
Thread-4 [debug.session] Opening session 1
Thread-4 [debug.lifecycle] Activating Session[1, Channel[0]]
Thread-4 [debug.lifecycle.dump] DUMP Session@23
sessionManager = SessionManager@10
protocol = SignalProtocol[cdo]
sessionID = 1
disableLegacyObjects = true
views =
protocolListener = org.eclipse.emf.cdo.internal.server.Session$1@1f7456f

Thread-4 [debug.protocol] Writing sessionID: 1
Thread-4 [debug.buffer] Obtained Buffer@22
Thread-4 [debug.protocol] Writing repositoryUUID:
1ff5d226-b1f0-40fb-aba2-0c31b38c764f
Thread-4 [debug.channel] Handling buffer from client: Buffer@22 -->
Channel[0]
Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 00 00 00 00 01 01 00
24 31 66 66 35 64 32 32 36 2d 62 31 66 30 2d 34 30 66 62 2d 61 62 61 32
2d 30 63 33 31 62 33 38 63 37 36 34 66 00 00
Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@22 -->
Channel[0]
ReceiveSerializer0 [debug.signal] Received buffer for correlation -1
main [debug.protocol] Read sessionID: 1
main [debug.protocol] Read repositoryUUID:
1ff5d226-b1f0-40fb-aba2-0c31b38c764f
main [debug.buffer] Retaining Buffer@22
main [debug.lifecycle] Activating CDOSessionPackageManagerImpl@24
main [debug.lifecycle.dump] DUMP CDOSessionPackageManagerImpl@24
CDOPackageManagerImpl.packages =

http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)

http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
name=cdocore, dynamic=false, metaIDRange=null)
CDOPackageManagerImpl.cdoCorePackage =
CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0, name=cdocore,
dynamic=false, metaIDRange=null)
CDOPackageManagerImpl.cdoResourcePackage =
CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
name=cdoresource, dynamic=false, metaIDRange=null)
session = CDOSession[JVMClientConnector@14/requipse-repo]

main [debug.lifecycle] Activating CDORevisionManagerImpl@25
main [debug.lifecycle.dump] DUMP CDORevisionManagerImpl@25
CDORevisionResolverImpl.revisions =
CDORevisionResolverImpl.currentLRUCapacity = 0
CDORevisionResolverImpl.revisedLRUCapacity = 0
CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=0]
CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=0]
session = CDOSession[JVMClientConnector@14/requipse-repo]
ruleManager =
org.eclipse.emf.internal.cdo.analyzer.NOOPFetchRuleManager@1026d9f

main [debug.lifecycle.dump] DUMP CDOSessionImpl@26
nextTemporaryID = -1
sessionID = 1
disableLegacyObjects = true
referenceChunkSize = -1
failOverStrategy = null
failOverStrategyListener =
org.eclipse.emf.internal.cdo.CDOSessionImpl$1@b243d7
connector = JVMClientConnector@14
channel = Channel[0]
repositoryName = requipse-repo
repositoryUUID = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
packageRegistry =
packageManager = CDOSessionPackageManagerImpl@24
revisionManager = CDORevisionManagerImpl@25
idToMetaInstanceMap =
metaInstanceToIDMap =
types =
views =
lastViewID = 0
channelListener = org.eclipse.emf.internal.cdo.CDOSessionImpl$2@183f762

BufferPoolMonitor [debug.buffer] Collected buffer
main [debug.view] Attaching CDO view to
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl@66f987 resources=[]
main [debug.signal] ================ Requesting ViewsChangedRequest
main [debug.buffer] Created Buffer@27
main [debug.buffer] Obtained Buffer@27
main [debug.buffer.stream] Put signal id 2
main [debug.channel] Handling buffer from client: Buffer@27 --> Channel[0]
main [debug] Multiplexing 00 00 00 00 00 00 00 02 00 02 00 00 00 01 01
main [debug.channel] Handling buffer from multiplexer: Buffer@27 -->
Channel[0]
main [debug.signal] ================ Confirming ViewsChangedRequest
ReceiveSerializer0 [debug.signal] Received buffer for correlation 2
ReceiveSerializer0 [debug.signal] Got signal id 2
Thread-4 [debug.signal] ================ Indicating ViewsChangedIndication
Thread-4 [debug.buffer] Retaining Buffer@27
Thread-4 [debug.signal] ================ Responding ViewsChangedIndication
Thread-4 [debug.buffer] Obtained Buffer@27
Thread-4 [debug.channel] Handling buffer from client: Buffer@27 -->
Channel[0]
Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 01 01
Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@27 -->
Channel[0]
ReceiveSerializer0 [debug.signal] Received buffer for correlation -2
main [debug.buffer] Retaining Buffer@27
[INFO] Legacy system not available
main [debug.object] PREPARE: CDOResource? --> CDOTransaction(1)
main [debug] Processing event PREPARE in state TRANSIENT for
CDOResource? (data=ResourceAndView(CDOResource?, CDOTransaction(1)))
main [debug.object] Setting ID: -2
main [debug.object] Setting view: CDOTransaction(1)
main [debug.object] Setting state PREPARED for CDOResource@-2
main [debug.revision] Setting version for CDOResource@-2v0: v-1
main [debug.revision] Setting resourceID CDOResource@-2v-1: -2
main [debug.object] Setting revision: CDOResource@-2v-1
main [debug.view] Registering CDOResource@-2
main [debug.transaction] Registering new object CDOResource@-2
main [debug.object] ATTACH: CDOResource@-2 --> CDOTransaction(1)
main [debug] Processing event ATTACH in state PREPARED for
CDOResource@-2 (data=null)
main [debug.object] Populating revision for CDOResource@-2
main [debug.revision] Setting containerID CDOResource@-2v-1: NULL
main [debug.revision] Setting containingFeatureID CDOResource@-2v-1: 0
main [debug.object] Populating feature CDOFeature(ID=9, name=path,
type=STRING, referenceType=null)
main [debug.object] Setting state NEW for CDOResource@-2
main [debug.object] isSet(CDOResource@-2, CDOFeature(ID=2,
name=contents, type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
main [debug.object] READ: org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
main [debug.object] get(CDOResource@-2, CDOFeature(ID=9, name=path,
type=STRING, referenceType=null), -1)
main [debug.object] size(CDOResource@-2, CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
main [debug.object] contains(CDOResource@-2, CDOFeature(ID=2,
name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
name=CDOObject)), RequipseProject?)
main [debug.object] size(CDOResource@-2, CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
main [debug.object] size(CDOResource@-2, CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)))
main [debug.object] add(CDOResource@-2, CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)), 0,
RequipseProject?)
main [debug.object] PREPARE: RequipseProject? --> CDOTransaction(1)
main [debug] Processing event PREPARE in state TRANSIENT for
RequipseProject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
main [debug.object] Setting ID: -4
main [debug.object] Setting resource: CDOResource@-2
main [debug.object] Setting state PREPARED for RequipseProject@-4
main [debug.session] Registering meta instance: -1 <->
de.feuh.st.requipse.project.Requipse.impl.RequipsePackageImp l @89a339
(name: Requipse) (nsURI:
http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, nsPrefix: requipse)
main [debug.session] Registering meta instance: -3 <->
org.eclipse.emf.ecore.impl.EClassImpl@1c2df08 (name: RequipseProject)
(instanceClassName: null) (abstract: false, interface: false)
main [debug.session] Registering meta instance: -5 <->
org.eclipse.emf.ecore.impl.EOperationImpl@3b1e8b (name: addCategory)
(ordered: true, unique: true, lowerBound: 0, upperBound: 1)
main [debug.session] Registering meta instance: -7 <->
org.eclipse.emf.ecore.impl.EParameterImpl@152441a (name: name) (ordered:
true, unique: true, lowerBound: 1, upperBound: 1)
main [debug.session] Registering meta instance: -9 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@1f530ab (expression: EString)
main [debug.session] Registering meta instance: -11 <->
org.eclipse.emf.ecore.impl.EReferenceImpl@4e63f9 (name: categories)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)
main [debug.session] Registering meta instance: -13 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@85968b (expression: Category)
main [debug.session] Registering meta instance: -15 <->
org.eclipse.emf.ecore.impl.EReferenceImpl@c27576 (name: traceSets)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)
main [debug.session] Registering meta instance: -17 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@7b4514 (expression:
Traceability)
main [debug.session] Registering meta instance: -19 <->
org.eclipse.emf.ecore.impl.EAttributeImpl@1799345 (name: name) (ordered:
true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true,
volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false)
main [debug.session] Registering meta instance: -21 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@b3b898 (expression: EString)
main [debug.session] Registering meta instance: -23 <->
org.eclipse.emf.ecore.impl.EClassImpl@c08b39 (name: Category)
(instanceClassName: null) (abstract: false, interface: false)
main [debug.session] Registering meta instance: -25 <->
org.eclipse.emf.ecore.impl.EOperationImpl@11c0dc6 (name: addArtifact)
(ordered: true, unique: true, lowerBound: 0, upperBound: 1)
main [debug.session] Registering meta instance: -27 <->
org.eclipse.emf.ecore.impl.EParameterImpl@cc542c (name: artifactFile)
(ordered: true, unique: true, lowerBound: 1, upperBound: 1)
main [debug.session] Registering meta instance: -29 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@aa1830 (expression: EIFile)
main [debug.session] Registering meta instance: -31 <->
org.eclipse.emf.ecore.impl.EReferenceImpl@11a20af (name: artifacts)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)
main [debug.session] Registering meta instance: -33 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@57e9bb (expression: Artifact)
main [debug.session] Registering meta instance: -35 <->
org.eclipse.emf.ecore.impl.EAttributeImpl@1b212f0 (name: name) (ordered:
true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true,
volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false)
main [debug.session] Registering meta instance: -37 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@1f96306 (expression: EString)
main [debug.session] Registering meta instance: -39 <->
org.eclipse.emf.ecore.impl.EReferenceImpl@1d449fc (name:
containingProject) (ordered: true, unique: true, lowerBound: 0,
upperBound: 1) (changeable: false, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: false, resolveProxies: false)
main [debug.session] Registering meta instance: -41 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@454ca3 (expression:
RequipseProject)
main [debug.session] Registering meta instance: -43 <->
org.eclipse.emf.ecore.impl.EClassImpl@f478b4 (name: Artifact)
(instanceClassName: null) (abstract: false, interface: false)
main [debug.session] Registering meta instance: -45 <->
org.eclipse.emf.ecore.impl.EOperationImpl@1aa824c (name: inject)
(ordered: true, unique: true, lowerBound: 0, upperBound: 1)
main [debug.session] Registering meta instance: -47 <->
org.eclipse.emf.ecore.impl.EReferenceImpl@1504e7b (name:
contentSnapshots) (ordered: true, unique: true, lowerBound: 0,
upperBound: -1) (changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false)
main [debug.session] Registering meta instance: -49 <->
org.eclipse.emf.ecore.impl.EGenericTypeImpl@150ad83 (expression:
ArtifactContent)
main [debug.session] Registering meta instance: -51 <->
org.eclipse.emf.ecore.impl.EAttributeImpl@1af8592 (name: sourcePath)
(ordered: true, unique: true, lowerBound: 0, upperBound: 1) (changeable:
true, volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false)
main [debug.session] Registering meta instance: -53 <->
Re: [CDO] examples question [message #614348 is a reply to message #110626] Wed, 30 January 2008 16:00 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6506
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020107090701070600010700
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Gosh! I just remember that one important line was missing from the
example code!
I noticed that some minutes ago when I copied the example for Martin. I
changed it already for him. You can look at a correct ImportXML.java in
my test plugin, too, if you want.

After opening the session you have to register the packages you want use:

| CDOSession session = CDOUtil.openSession(connector, REPOSITORY_NAME, *true*);// Open a CDO session
session.getPackageRegistry().putEPackage(Model1Package.eINST ANCE);// Not needed after first commit!!!|



Since the package will be committed to the repository it doesn't need to
be actively registered in subsequent sessions!

Did that help?

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j



Stefan Winkler schrieb:
> Eike,
>> I see your point.
>> Can you please update all projects from CVS.
> done.
>> I saw a few traces that indicate that you don't have the latest
>> version. Some days ago I accidentally committed code that broke the
>> CDOStateMachine and the trace indicates that you have a version
>> before I fixed that.
>>
>> Does that already help?
> No :-(
>
> Here's the current trace:
>
> Configuration location:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/
>
> Configuration file:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini
> loaded
> Install location:
> file:/C:/Programme/Eclipse-3.4/eclipse/
> Framework located:
>
> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
>
> Framework classpath:
>
> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar
>
> Debug options:
>
> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options
> loaded
> Time to load bundles: 157
> Starting application: 8421
> Application Started: 23329
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util
> Worker-4 [debug.lifecycle] Activating ManagedContainer
> Worker-4 [debug.lifecycle] Activating {}
> Worker-4 [debug.lifecycle.dump] DUMP PluginFactoryRegistry@1
> Registry.autoCommit = true
> Registry.transaction = null
> HashMapRegistry.map =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
> jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
> tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
> tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> extensionRegistryListener =
> org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@4a1535
>
> Worker-4 [debug.lifecycle] Activating []
> Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.tcp
> Worker-4 [debug.lifecycle.dump] DUMP PluginElementProcessorList@2
> processors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
>
> org.eclipse.internal.net4j.Net4jTransportInjector@81255
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
> extensionRegistryListener =
> org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@4814f9
>
>
> Worker-4 [debug.lifecycle.dump] DUMP PluginContainer@3
> ManagedContainer.factoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
> jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
> tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
> tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> ManagedContainer.postProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
>
> org.eclipse.internal.net4j.Net4jTransportInjector@81255
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
> ManagedContainer.elementRegistry =
> ManagedContainer.maxElementID = 0
> ManagedContainer.elementListener =
> org.eclipse.net4j.internal.util.container.ManagedContainer$1@1d95643
>
> Worker-4 [debug.om] Plugin container created: ManagedContainer
> Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util.ui
> Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver.ui
> main [debug.om] Starting bundle org.eclipse.emf.cdo.server
> main [debug.om] Starting bundle org.eclipse.net4j.jvm
> main [debug.lifecycle] Activating BufferPool[4.096]
> BufferPoolMonitor [debug.buffer] Start monitoring
> main [debug.lifecycle.dump] DUMP BufferPool@4
> BufferProvider.bufferCapacity = 4096
> BufferProvider.providedBuffers = 0
> BufferProvider.retainedBuffers = 0
> provider = BufferFactory[4.096]
> pooledBuffers = 0
>
> main [debug.lifecycle] Activating JVMAcceptor[default]
> main [debug.lifecycle.dump] DUMP JVMAcceptor@5
> Acceptor.negotiator = null
> Acceptor.bufferProvider = BufferPool[4.096]
> Acceptor.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
> jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
> tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
> tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Acceptor.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
>
> org.eclipse.internal.net4j.Net4jTransportInjector@81255
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
> Acceptor.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@10d4170
> Acceptor.lifecycleEventConverter =
> org.eclipse.internal.net4j.acceptor.Acceptor$1@14355f1
> Acceptor.acceptedConnectors =
> name = default
>
> Worker-3 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver
> main [debug.repository] Configuring CDO server from
> C:\work\work\diss\requipse-workspace\CDOTests\configuration\ cdo-config.xml
>
> main [debug.repository] Configuring repository requipse-repo
> (type=default)
> main [debug.om] Starting bundle org.eclipse.emf.cdo.protocol
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOObject)
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOResource)
> main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
> main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.model] Created CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.om] Starting bundle org.eclipse.emf.cdo.server.db
> main [debug.om] Starting bundle org.eclipse.net4j.db
> main [debug.lifecycle] Activating Repository[requipse-repo, null]
> main [debug.lifecycle] Activating DBStore@6
> main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
> feature INTEGER, name LONGTEXT, type INTEGER, reference_package
> LONGTEXT, reference_classifier INTEGER, many BOOLEAN, containment
> BOOLEAN, idx INTEGER)
> main [debug.sql] CREATE INDEX cdo_features_idx0 ON cdo_features (id)
> main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package
> INTEGER, classifier INTEGER, name LONGTEXT, abstract BOOLEAN)
> main [debug.sql] CREATE INDEX cdo_classes_idx0 ON cdo_classes (id)
> main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri LONGTEXT,
> name LONGTEXT, ecore LONGTEXT, dynamic BOOLEAN, range_lb BIGINT,
> range_ub BIGINT)
> main [debug.sql] CREATE INDEX cdo_packages_idx0 ON cdo_packages (id)
> main [debug.sql] CREATE UNIQUE INDEX cdo_packages_idx1 ON cdo_packages
> (uri(255))
> main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
> supertype_package LONGTEXT, supertype_classifier INTEGER)
> main [debug.sql] CREATE INDEX cdo_supertypes_idx0 ON cdo_supertypes
> (type_id)
> main [debug.sql] CREATE TABLE cdo_repository (name LONGTEXT, uuid
> LONGTEXT, starts BIGINT, started BIGINT, stopped BIGINT, next_cdoid
> BIGINT, next_metaid BIGINT)
> main [debug.sql] INSERT IGNORE INTO cdo_repository VALUES ('requipse-repo',
> '1ff5d226-b1f0-40fb-aba2-0c31b38c764f', 1, 1201707015563, 0, 0, 0)
> main [debug.model] Setting server info: CDOClass(ID=0,
> name=CDOResource) --> -2
> main [debug.sql] CREATE TABLE CDOResource (cdo_id BIGINT NOT NULL,
> cdo_version INTEGER NOT NULL, cdo_class INTEGER NOT NULL, cdo_created
> BIGINT NOT NULL, cdo_revised BIGINT NOT NULL, cdo_resource BIGINT NOT
> NULL, cdo_container BIGINT NOT NULL, cdo_feature INTEGER NOT NULL,
> path LONGTEXT NOT NULL)
> main [debug.sql] CREATE UNIQUE INDEX CDOResource_idx0 ON CDOResource
> (cdo_version, path(760))
> main [debug.sql] CREATE TABLE CDOResource_contents_refs (cdo_source
> BIGINT, cdo_version INTEGER, cdo_idx INTEGER, cdo_target BIGINT)
> main [debug.sql] SELECT MAX(id) FROM cdo_packages
> main [debug.sql] SELECT MAX(id) FROM cdo_classes
> main [debug.sql] SELECT MAX(id) FROM cdo_features
> main [debug.lifecycle] Activating horizontal
> main [debug.lifecycle] Activating ObjectTypeCache@7
> main [debug.lifecycle.dump] DUMP ObjectTypeCache@7
> mappingStrategy = horizontal
> table = null
> idField = null
> typeField = null
> initializeLock = java.lang.Object@cafce4
>
> main [debug.lifecycle.dump] DUMP HorizontalMappingStrategy@8
> MappingStrategy.store = DBStore@6
> MappingStrategy.properties =
> toManyReferences=ONE_TABLE_PER_REFERENCE
> mappingPrecedence=MODEL
> toOneReferences=LIKE_ATTRIBUTES
> MappingStrategy.referenceTables =
> CDOFeature(ID=2, name=contents, type=OBJECT,
> referenceType=CDOClass(ID=0, name=CDOObject))=CDOResource_contents_refs
> MappingStrategy.classRefs =
> MappingStrategy.resourceClassMapping =
> org.eclipse.emf.cdo.server.internal.db.HorizontalClassMappin g @23d1ab
> MappingStrategy.resourcePathMapping =
> org.eclipse.emf.cdo.server.internal.db.AttributeMapping$AMString@19a6904
> MappingStrategy.resourceTable = CDOResource
> MappingStrategy.resourceIDField = cdo_id
> MappingStrategy.resourcePathField = path
> objectTypeCache = ObjectTypeCache@7
>
> main [debug.lifecycle.dump] DUMP DBStore@6
> Store.type = db
> Store.properties = null
> Store.repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> Store.nextOIDValue = 2
> mappingStrategy = horizontal
> dbSchema = requipse-repo
> dbAdapter = mysql-5.1.5
> dbConnectionProvider =
> com.mysql.jdbc.jdbc2.optional.MysqlDataSource@2ea871
> nextPackageID = 1
> nextClassID = 1
> nextFeatureID = 1
>
> main [debug.lifecycle] Activating PackageManager@9
> main [debug.sql] SELECT uri, dynamic, range_lb, range_ub FROM
> cdo_packages
> main [debug.lifecycle.dump] DUMP PackageManager@9
> CDOPackageManagerImpl.packages =
>
> http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
>
> http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoCorePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoResourcePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
>
> main [debug.lifecycle] Activating SessionManager@10
> main [debug.lifecycle.dump] DUMP SessionManager@10
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> sessions =
> lastSessionID = 0
>
> main [debug.lifecycle] Activating ResourceManager@11
> main [debug.lifecycle.dump] DUMP ResourceManager@11
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> idToPathMap =
> pathToIDMap =
>
> main [debug.lifecycle] Activating RevisionManager@12
> main [debug.lifecycle.dump] DUMP RevisionManager@12
> CDORevisionResolverImpl.revisions =
> CDORevisionResolverImpl.currentLRUCapacity = 10000
> CDORevisionResolverImpl.revisedLRUCapacity = 100
> CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=10.000]
> CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=100]
> repository = Repository[requipse-repo,
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f]
> cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
>
> main [debug.lifecycle.dump] DUMP Repository@13
> name = requipse-repo
> store = DBStore@6
> uuid = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> properties =
> revisedLRUCapacity=100
> supportingAudits=false
> currentLRUCapacity=10000
> verifyingRevisions=true
> overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> supportingRevisionDeltas = null
> supportingAudits = false
> verifyingRevisions = null
> packageManager = PackageManager@9
> sessionManager = SessionManager@10
> resourceManager = ResourceManager@11
> revisionManager = RevisionManager@12
> elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@cedf4e
> nextMetaIDValue = 1
>
> main [debug.lifecycle] Activating JVMClientConnector@14
> main [debug.connector] Setting state CONNECTING (was disconnected) for
> JVMClientConnector@14
> main [debug.connector] Setting state CONNECTED (was connecting) for
> JVMClientConnector@14
> main [debug.lifecycle.dump] DUMP JVMClientConnector@14
> Connector.userID = null
> Connector.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
> jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
> tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
> tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Connector.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
>
> org.eclipse.internal.net4j.Net4jTransportInjector@81255
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
> Connector.negotiator = null
> Connector.negotiationContext = null
> Connector.bufferProvider = BufferPool[4.096]
> Connector.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@10d4170
> Connector.nextChannelID = 0
> Connector.channels =
> Connector.channelsLock =
> org.eclipse.net4j.util.concurrent.RWLock@1ac0c5[Write locks = 0, Read
> locks = 0]
> Connector.connectorState = CONNECTED
> Connector.channelListener =
> org.eclipse.internal.net4j.connector.Connector$1@65cfd2
> Connector.finishedConnecting =
> java.util.concurrent.CountDownLatch@2f1989[Count = 1]
> Connector.finishedNegotiating =
> java.util.concurrent.CountDownLatch@35acf6[Count = 1]
> JVMConnector.peer = null
> JVMConnector.name = default
> acceptor = JVMAcceptor[default]
> peerLifecycleListener =
> org.eclipse.net4j.internal.jvm.JVMClientConnector$1@1ee6b69
>
> main [debug.lifecycle] Activating JVMServerConnector@15
> main [debug.connector] Setting state CONNECTING (was disconnected) for
> JVMServerConnector@15
> main [debug.connector] Setting state CONNECTED (was connecting) for
> JVMServerConnector@15
> main [debug.lifecycle.dump] DUMP JVMServerConnector@15
> Connector.userID = null
> Connector.protocolFactoryRegistry =
>
> org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
> jvm]
>
> org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
> jvm]
>
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
> default]
>
> org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
> buddies]
>
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
> buddies]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
> chat]
>
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
> default]
>
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
> tcp]
>
> org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
> challenge]
>
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
> tcp]
>
> org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
> default]
>
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
> chat]
>
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
> tcp]
>
> org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
> cdo]
> Connector.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46
>
> org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
>
> org.eclipse.internal.net4j.Net4jTransportInjector@81255
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65
> Connector.negotiator = null
> Connector.negotiationContext = null
> Connector.bufferProvider = BufferPool[4.096]
> Connector.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@10d4170
> Connector.nextChannelID = 0
> Connector.channels =
> Connector.channelsLock =
> org.eclipse.net4j.util.concurrent.RWLock@1349b1[Write locks = 0, Read
> locks = 0]
> Connector.connectorState = CONNECTED
> Connector.channelListener =
> org.eclipse.internal.net4j.connector.Connector$1@4b0cbc
> Connector.finishedConnecting =
> java.util.concurrent.CountDownLatch@1312369[Count = 1]
> Connector.finishedNegotiating =
> java.util.concurrent.CountDownLatch@10bca49[Count = 1]
> JVMConnector.peer = JVMClientConnector@14
> JVMConnector.name = default
>
> main [debug.acceptor] Added connector JVMServerConnector@15
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOObject)
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOResource)
> main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
> referenceType=null)
> main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.model] Created CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
> type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource)
> main [debug.model] Added package:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> main [debug.model] Setting client info:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null) -->
> org.eclipse.emf.ecore.impl.EcorePackageImpl@c5384d (name: ecore)
> (nsURI: http://www.eclipse.org/emf/2002/Ecore, nsPrefix: ecore)
> main [debug.model] Setting client info: CDOClass(ID=0, name=CDOObject)
> --> org.eclipse.emf.ecore.impl.EClassImpl@16dd9c5 (name: EObject)
> (instanceClassName: null) (abstract: false, interface: false)
> main [debug.model] Setting client info:
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null) -->
> org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@39d3d3 (name:
> eresource) (nsURI: http://www.eclipse.org/emf/CDO/resource/1.0.0,
> nsPrefix: eresource)
> main [debug.model] Setting client info: CDOClass(ID=0,
> name=CDOResource) --> org.eclipse.emf.ecore.impl.EClassImpl@e9b75e
> (name: CDOResource) (instanceClassName: null) (abstract: false,
> interface: false)
> main [debug.model] Setting client info: CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)) --> org.eclipse.emf.ecore.impl.EReferenceImpl@81df82
> (name: contents) (ordered: true, unique: true, lowerBound: 0,
> upperBound: -1) (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false)
> (containment: true, resolveProxies: false)
> main [debug.model] Setting client info: CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null) -->
> org.eclipse.emf.ecore.impl.EAttributeImpl@78e59b (name: path)
> (ordered: true, unique: true, lowerBound: 0, upperBound: 1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false) (iD: false)
> main [debug.lifecycle] Activating
> CDOSession[JVMClientConnector@14/requipse-repo]
> main [debug.connector] Waiting for connection...
> main [debug.lifecycle] Activating SignalProtocol[cdo]
> main [debug.lifecycle.dump] DUMP CDOClientProtocol@16
> Protocol.channel = Channel[-32.768]
> Protocol.bufferProvider = BufferPool[4.096]
> Protocol.executorService =
> java.util.concurrent.ThreadPoolExecutor@10d4170
> Protocol.infraStructure = CDOSession[JVMClientConnector@14/requipse-repo]
> SignalProtocol.streamWrapper = null
> SignalProtocol.signals =
> SignalProtocol.nextCorrelationID = 1
>
> main [debug.connector] Opening channel 0 with protocol cdo
> main [debug.lifecycle] Activating SignalProtocol[cdo]
> main [debug.lifecycle.dump] DUMP CDOServerProtocol@17
> Protocol.channel = Channel[-32.768]
> Protocol.bufferProvider = BufferPool[4.096]
> Protocol.executorService =
> java.util.concurrent.ThreadPoolExecutor@10d4170
> Protocol.infraStructure =
> org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @175e354
> SignalProtocol.streamWrapper = null
> SignalProtocol.signals =
> SignalProtocol.nextCorrelationID = 1
> session = null
>
> main [debug.connector] Opening channel 0 with protocol cdo
> main [debug.lifecycle] Activating Channel[0]
> main [debug.lifecycle] Activating ChannelReceiveSerializer@18
> main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@18
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@ceaf8c[Count = 0]
> Worker.workerThread = Thread[ReceiveSerializer0,6,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
>
> main [debug.lifecycle.dump] DUMP Channel@19
> channelID = 0
> channelMultiplexer = JVMServerConnector@15
> channelIndex = 0
> receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
> receiveHandler = SignalProtocol[cdo]
> receiveSerializer = ChannelReceiveSerializer@18
> sendQueue =
>
> main [debug.lifecycle] Activating Channel[0]
> main [debug.lifecycle] Activating ChannelReceiveSerializer@20
> main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@20
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@161b9b2[Count = 0]
> Worker.workerThread = Thread[ReceiveSerializer0,6,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
>
> main [debug.lifecycle.dump] DUMP Channel@21
> channelID = 0
> channelMultiplexer = JVMClientConnector@14
> channelIndex = 0
> receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170
> receiveHandler = SignalProtocol[cdo]
> receiveSerializer = ChannelReceiveSerializer@20
> sendQueue =
>
> main [debug.signal] ================ Requesting OpenSessionRequest
> main [debug.protocol] Writing repositoryName: requipse-repo
> main [debug.buffer] Created Buffer@22
> main [debug.buffer] Obtained Buffer@22
> main [debug.buffer.stream] Put signal id 1
> main [debug.protocol] Writing disableLegacyObjects: true
> main [debug.channel] Handling buffer from client: Buffer@22 -->
> Channel[0]
> main [debug] Multiplexing 00 00 00 00 00 00 00 01 00 01 01 00 0d 72 65
> 71 75 69 70 73 65 2d 72 65 70 6f 00 01
> main [debug.channel] Handling buffer from multiplexer: Buffer@22 -->
> Channel[0]
> main [debug.signal] ================ Confirming OpenSessionRequest
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 1
> ReceiveSerializer0 [debug.signal] Got signal id 1
> Thread-4 [debug.signal] ================ Indicating OpenSessionIndication
> Thread-4 [debug.protocol] Read repositoryName: requipse-repo
> Thread-4 [debug.buffer] Retaining Buffer@22
> Thread-4 [debug.protocol] Read disableLegacyObjects: true
> Thread-4 [debug.signal] ================ Responding OpenSessionIndication
> Thread-4 [debug.session] Opening session 1
> Thread-4 [debug.lifecycle] Activating Session[1, Channel[0]]
> Thread-4 [debug.lifecycle.dump] DUMP Session@23
> sessionManager = SessionManager@10
> protocol = SignalProtocol[cdo]
> sessionID = 1
> disableLegacyObjects = true
> views =
> protocolListener = org.eclipse.emf.cdo.internal.server.Session$1@1f7456f
>
> Thread-4 [debug.protocol] Writing sessionID: 1
> Thread-4 [debug.buffer] Obtained Buffer@22
> Thread-4 [debug.protocol] Writing repositoryUUID:
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> Thread-4 [debug.channel] Handling buffer from client: Buffer@22 -->
> Channel[0]
> Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 00 00 00 00 01 01
> 00 24 31 66 66 35 64 32 32 36 2d 62 31 66 30 2d 34 30 66 62 2d 61 62
> 61 32 2d 30 63 33 31 62 33 38 63 37 36 34 66 00 00
> Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@22
> --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation -1
> main [debug.protocol] Read sessionID: 1
> main [debug.protocol] Read repositoryUUID:
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> main [debug.buffer] Retaining Buffer@22
> main [debug.lifecycle] Activating CDOSessionPackageManagerImpl@24
> main [debug.lifecycle.dump] DUMP CDOSessionPackageManagerImpl@24
> CDOPackageManagerImpl.packages =
>
> http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
>
> http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoCorePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null)
> CDOPackageManagerImpl.cdoResourcePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null)
> session = CDOSession[JVMClientConnector@14/requipse-repo]
>
> main [debug.lifecycle] Activating CDORevisionManagerImpl@25
> main [debug.lifecycle.dump] DUMP CDORevisionManagerImpl@25
> CDORevisionResolverImpl.revisions =
> CDORevisionResolverImpl.currentLRUCapacity = 0
> CDORevisionResolverImpl.revisedLRUCapacity = 0
> CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=0]
> CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=0]
> session = CDOSession[JVMClientConnector@14/requipse-repo]
> ruleManager =
> org.eclipse.emf.internal.cdo.analyzer.NOOPFetchRuleManager@1026d9f
>
> main [debug.lifecycle.dump] DUMP CDOSessionImpl@26
> nextTemporaryID = -1
> sessionID = 1
> disableLegacyObjects = true
> referenceChunkSize = -1
> failOverStrategy = null
> failOverStrategyListener =
> org.eclipse.emf.internal.cdo.CDOSessionImpl$1@b243d7
> connector = JVMClientConnector@14
> channel = Channel[0]
> repositoryName = requipse-repo
> repositoryUUID = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> packageRegistry =
> packageManager = CDOSessionPackageManagerImpl@24
> revisionManager = CDORevisionManagerImpl@25
> idToMetaInstanceMap =
> metaInstanceToIDMap =
> types =
> views =
> lastViewID = 0
> channelListener = org.eclipse.emf.internal.cdo.CDOSessionImpl$2@183f762
>
> BufferPoolMonitor [debug.buffer] Collected buffer
> main [debug.view] Attaching CDO view to
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl@66f987 resources=[]
> main [debug.signal] ================ Requesting ViewsChangedRequest
> main [debug.buffer] Created Buffer@27
> main [debug.buffer] Obtained Buffer@27
> main [debug.buffer.stream] Put signal id 2
> main [debug.channel] Handling buffer from client: Buffer@27 -->
> Channel[0]
> main [debug] Multiplexing 00 00 00 00 00 00 00 02 00 02 00 00 00 01 01
> main [debug.channel] Handling buffer from multiplexer: Buffer@27 -->
> Channel[0]
> main [debug.signal] ================ Confirming ViewsChangedRequest
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 2
> ReceiveSerializer0 [debug.signal] Got signal id 2
> Thread-4 [debug.signal] ================ Indicating
> ViewsChangedIndication
> Thread-4 [debug.buffer] Retaining Buffer@27
> Thread-4 [debug.signal] ================ Responding
> ViewsChangedIndication
> Thread-4 [debug.buffer] Obtained Buffer@27
> Thread-4 [debug.channel] Handling buffer from client: Buffer@27 -->
> Channel[0]
> Thread-4 [debug] Multiplexing 00 00 00 00 00 00 00 01 01
> Thread-4 [debug.channel] Handling buffer from multiplexer: Buffer@27
> --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation -2
> main [debug.buffer] Retaining Buffer@27
> [INFO] Legacy system not available
> main [debug.object] PREPARE: CDOResource? --> CDOTransaction(1)
> main [debug] Processing event PREPARE in state TRANSIENT for
> CDOResource? (data=ResourceAndView(CDOResource?, CDOTransaction(1)))
> main [debug.object] Setting ID: -2
> main [debug.object] Setting view: CDOTransaction(1)
> main [debug.object] Setting state PREPARED for CDOResource@-2
> main [debug.revision] Setting version for CDOResource@-2v0: v-1
> main [debug.revision] Setting resourceID CDOResource@-2v-1: -2
> main [debug.object] Setting revision: CDOResource@-2v-1
> main [debug.view] Registering CDOResource@-2
> main [debug.transaction] Registering new object CDOResource@-2
> main [debug.object] ATTACH: CDOResource@-2 --> CDOTransaction(1)
> main [debug] Processing event ATTACH in state PREPARED for
> CDOResource@-2 (data=null)
> main [debug.object] Populating revision for CDOResource@-2
> main [debug.revision] Setting containerID CDOResource@-2v-1: NULL
> main [debug.revision] Setting containingFeatureID CDOResource@-2v-1: 0
> main [debug.object] Populating feature CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null)
> main [debug.object] Setting state NEW for CDOResource@-2
> main [debug.object] isSet(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)))
> main [debug.object] READ:
> org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
> main [debug.object] get(CDOResource@-2, CDOFeature(ID=9, name=path,
> type=STRING, referenceType=null), -1)
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)))
> main [debug.object] contains(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)), RequipseProject?)
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)))
> main [debug.object] size(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)))
> main [debug.object] add(CDOResource@-2, CDOFeature(ID=2,
> name=contents, type=OBJECT, referenceType=CDOClass(ID=0,
> name=CDOObject)), 0, RequipseProject?)
> main [debug.object] PREPARE: RequipseProject? --> CDOTransaction(1)
> main [debug] Processing event PREPARE in state TRANSIENT for
> RequipseProject? (data=ResourceAndView(CDOResource@-2,
> CDOTransaction(1)))
> main [debug.object] Setting ID: -4
> main [debug.object] Setting resource: CDOResource@-2
> main [debug.object] Setting state PREPARED for RequipseProject@-4
> main [debug.session] Registering meta instance: -1 <->
> de.feuh.st.requipse.project.Requipse.impl.RequipsePackageImp l @89a339
> (name: Requipse) (nsURI:
> http://www.fernuni-hagen.de/st/ecore/Requipse.ecore, nsPrefix: requipse)
> main [debug.session] Registering meta instance: -3 <->
> org.eclipse.emf.ecore.impl.EClassImpl@1c2df08 (name: RequipseProject)
> (instanceClassName: null) (abstract: false, interface: false)
> main [debug.session] Registering meta instance: -5 <->
> org.eclipse.emf.ecore.impl.EOperationImpl@3b1e8b (name: addCategory)
> (ordered: true, unique: true, lowerBound: 0, upperBound: 1)
> main [debug.session] Registering meta instance: -7 <->
> org.eclipse.emf.ecore.impl.EParameterImpl@152441a (name: name)
> (ordered: true, unique: true, lowerBound: 1, upperBound: 1)
> main [debug.session] Registering meta instance: -9 <->
> org.eclipse.emf.ecore.impl.EGenericTypeImpl@1f530ab (expression: EString)
> main [debug.session] Registering meta instance: -11 <->
> org.eclipse.emf.ecore.impl.EReferenceImpl@4e63f9 (name: categories)
> (ordered: true, unique: true, lowerBound: 0, upperBound: -1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false)
> (containment: true, resolveProxies: false)
> main [debug.session] Registering meta instance: -13 <->
> org.eclipse.emf.ecore.impl.EGenericTypeImpl@85968b (expression: Category)
> main [debug.session] Registering meta instance: -15 <->
> org.eclipse.emf.ecore.impl.EReferenceImpl@c27576 (name: traceSets)
> (ordered: true, unique: true, lowerBound: 0, upperBound: -1)
> (changeable: true, volatile: false, transient: false,
> defaultValueLiteral: null, unsettable: false, derived: false)
> (containment: true, resolveProxies: false)


Re: [CDO] examples question [message #614349 is a reply to message #110992] Wed, 30 January 2008 16:36 Go to previous message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Eike,<br>
<br>
Eike Stepper schrieb:
<blockquote cite="mid:fnq6v0$qa8$18@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
Gosh! I just remember that one important line was missing from the
example code!<br>
I noticed that some minutes ago when I copied the example for Martin. I
changed it already for him. You can look at a correct ImportXML.java in
my test plugin, too, if you want.<br>
<br>
After opening the session you have to register the packages you want
use:<br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type" content="text/html; ">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = --><!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top"> <code><font color="#ffffff">    </font><font
color="#000000">CDOSession session = CDOUtil.openSession </font><font
color="#000000">(</font><font color="#000000">connector, REPOSITORY_NAME, </font><font
color="#7f0055"><b>true</b></font><font color="#000000">)</font><font
color="#000000">;</font><font color="#3f7f5f">// Open a CDO session</font><br>
<font color="#ffffff">    </font><font color="#000000">session.getPackageRegistry</font><font
color="#000000">()</font><font color="#000000">.putEPackage</font><font
color="#000000">(</font><font color="#000000">Model1Package.eINSTANCE</font><font
color="#000000">)</font><font color="#000000">;</font><font
color="#3f7f5f">// Not needed after first commit!!!</font ></code> </td>
<!-- end source code --> </tr>
</tbody>
</table>
</div>
<!-- = END of automatically generated HTML code = -->
<!-- ======================================================== --><br>
</blockquote>
that did it, tanks ;-)<br>
<blockquote cite="mid:fnq6v0$qa8$18@build.eclipse.org" type="cite">
Since the package will be committed to the repository it doesn't need
to be actively registered in subsequent sessions!<br>
</blockquote>
Is it a problem if I do register it every session?<br>
Or should I check, if my package is registered (using getEPackage(uri)
== null?)<br>
<br>
Cheers,<br>
Stefan<br>
<br>
<br>
<br>
<blockquote cite="mid:fnq6v0$qa8$18@build.eclipse.org" type="cite"><br>
Did that help?<br>
<br>
Regards,<br>
Eike Stepper<br>
----<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wiki.eclipse.org/CDO">http://wiki.eclipse.org/CDO</a><br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wiki.eclipse.org/Net4j">http://wiki.eclipse.org/Net4j</a><br>
<br>
<br>
<br>
Stefan Winkler schrieb:
<blockquote cite="mid:fnq5mn$qg0$1@build.eclipse.org" type="cite">Eike,
<br>
<blockquote type="cite">I see your point. <br>
Can you please update all projects from CVS. <br>
</blockquote>
done. <br>
<blockquote type="cite">I saw a few traces that indicate that you
don't have the latest version. Some days ago I accidentally committed
code that broke the CDOStateMachine and the trace indicates that you
have a version before I fixed that. <br>
<br>
Does that already help? <br>
</blockquote>
No :-( <br>
<br>
Here's the current trace: <br>
<br>
Configuration location: <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/ "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/ </a>
<br>
Configuration file: <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/config.ini </a>
loaded <br>
Install location: <br>
   <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="file:/C:/Programme/Eclipse-3.4/eclipse/">file:/C:/Programme/Eclipse-3.4/eclipse/ </a>
<br>
Framework located: <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar "> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar </a>
<br>
Framework classpath: <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar "> file:/C:/Programme/Eclipse-3.4/eclipse/plugins/org.eclipse.o sgi_3.4.0.v20071207.jar </a>
<br>
Debug options: <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options "> file:/C:/work/work/diss/requipse-workspace/.metadata/.plugin s/org.eclipse.pde.core/pde-junit/.options </a>
loaded <br>
Time to load bundles: 157 <br>
Starting application: 8421 <br>
Application Started: 23329 <br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util <br>
Worker-4 [debug.lifecycle] Activating ManagedContainer <br>
Worker-4 [debug.lifecycle] Activating {} <br>
Worker-4 [debug.lifecycle.dump] DUMP PluginFactoryRegistry@1 <br>
Registry.autoCommit = true <br>
Registry.transaction = null <br>
HashMapRegistry.map = <br>
  
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm] <br>
  
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm] <br>
  
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default] <br>
  
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies] <br>
  
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file] <br>
  
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo] <br>
  
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies] <br>
  
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo] <br>
  
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat] <br>
  
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default] <br>
  
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp] <br>
  
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge] <br>
  
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp] <br>
  
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default] <br>
  
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat] <br>
  
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp] <br>
  
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo] <br>
extensionRegistryListener =
org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@4a1535 <br>
<br>
Worker-4 [debug.lifecycle] Activating [] <br>
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo <br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j <br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.tcp <br>
Worker-4 [debug.lifecycle.dump] DUMP PluginElementProcessorList@2 <br>
processors = <br>
   org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46 <br>
  
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
<br>
   org.eclipse.internal.net4j.Net4jTransportInjector@81255 <br>
   org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65 <br>
extensionRegistryListener =
org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@4814f9
<br>
<br>
Worker-4 [debug.lifecycle.dump] DUMP PluginContainer@3 <br>
ManagedContainer.factoryRegistry = <br>
  
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm] <br>
  
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm] <br>
  
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default] <br>
  
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies] <br>
  
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file] <br>
  
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo] <br>
  
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies] <br>
  
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo] <br>
  
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat] <br>
  
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default] <br>
  
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp] <br>
  
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge] <br>
  
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp] <br>
  
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default] <br>
  
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat] <br>
  
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp] <br>
  
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo] <br>
ManagedContainer.postProcessors = <br>
   org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46 <br>
  
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
<br>
   org.eclipse.internal.net4j.Net4jTransportInjector@81255 <br>
   org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65 <br>
ManagedContainer.elementRegistry = <br>
ManagedContainer.maxElementID = 0 <br>
ManagedContainer.elementListener =
org.eclipse.net4j.internal.util.container.ManagedContainer$1@1d95643 <br>
<br>
Worker-4 [debug.om] Plugin container created: ManagedContainer <br>
Worker-4 [debug.om] Starting bundle org.eclipse.net4j.util.ui <br>
Worker-4 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver.ui <br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.server <br>
main [debug.om] Starting bundle org.eclipse.net4j.jvm <br>
main [debug.lifecycle] Activating BufferPool[4.096] <br>
BufferPoolMonitor [debug.buffer] Start monitoring <br>
main [debug.lifecycle.dump] DUMP BufferPool@4 <br>
BufferProvider.bufferCapacity = 4096 <br>
BufferProvider.providedBuffers = 0 <br>
BufferProvider.retainedBuffers = 0 <br>
provider = BufferFactory[4.096] <br>
pooledBuffers = 0 <br>
<br>
main [debug.lifecycle] Activating JVMAcceptor[default] <br>
main [debug.lifecycle.dump] DUMP JVMAcceptor@5 <br>
Acceptor.negotiator = null <br>
Acceptor.bufferProvider = BufferPool[4.096] <br>
Acceptor.protocolFactoryRegistry = <br>
  
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm] <br>
  
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm] <br>
  
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default] <br>
  
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies] <br>
  
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file] <br>
  
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo] <br>
  
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies] <br>
  
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo] <br>
  
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat] <br>
  
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default] <br>
  
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp] <br>
  
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge] <br>
  
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp] <br>
  
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default] <br>
  
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat] <br>
  
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp] <br>
  
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo] <br>
Acceptor.protocolPostProcessors = <br>
   org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46 <br>
  
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
<br>
   org.eclipse.internal.net4j.Net4jTransportInjector@81255 <br>
   org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65 <br>
Acceptor.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
Acceptor.lifecycleEventConverter =
org.eclipse.internal.net4j.acceptor.Acceptor$1@14355f1 <br>
Acceptor.acceptedConnectors = <br>
name = default <br>
<br>
Worker-3 [debug.om] Starting bundle org.eclipse.emf.cdo.weaver <br>
main [debug.repository] Configuring CDO server from
C:\work\work\diss\requipse-workspace\CDOTests\configuration\ cdo-config.xml
<br>
main [debug.repository] Configuring repository requipse-repo
(type=default) <br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.protocol <br>
main [debug.model] Created
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) <br>
main [debug.model] Created CDOClass(ID=0, name=CDOObject) <br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject) <br>
main [debug.model] Added package:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) <br>
main [debug.model] Created
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
main [debug.model] Created CDOClass(ID=0, name=CDOResource) <br>
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null) <br>
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null) <br>
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject)) <br>
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)) <br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource) <br>
main [debug.model] Added package:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
main [debug.om] Starting bundle org.eclipse.emf.cdo.server.db <br>
main [debug.om] Starting bundle org.eclipse.net4j.db <br>
main [debug.lifecycle] Activating Repository[requipse-repo, null] <br>
main [debug.lifecycle] Activating DBStore@6 <br>
main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
feature INTEGER, name LONGTEXT, type INTEGER, reference_package
LONGTEXT, reference_classifier INTEGER, many BOOLEAN, containment
BOOLEAN, idx INTEGER) <br>
main [debug.sql] CREATE INDEX cdo_features_idx0 ON cdo_features (id) <br>
main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package INTEGER,
classifier INTEGER, name LONGTEXT, abstract BOOLEAN) <br>
main [debug.sql] CREATE INDEX cdo_classes_idx0 ON cdo_classes (id) <br>
main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri LONGTEXT,
name LONGTEXT, ecore LONGTEXT, dynamic BOOLEAN, range_lb BIGINT,
range_ub BIGINT) <br>
main [debug.sql] CREATE INDEX cdo_packages_idx0 ON cdo_packages (id) <br>
main [debug.sql] CREATE UNIQUE INDEX cdo_packages_idx1 ON cdo_packages
(uri(255)) <br>
main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
supertype_package LONGTEXT, supertype_classifier INTEGER) <br>
main [debug.sql] CREATE INDEX cdo_supertypes_idx0 ON cdo_supertypes
(type_id) <br>
main [debug.sql] CREATE TABLE cdo_repository (name LONGTEXT, uuid
LONGTEXT, starts BIGINT, started BIGINT, stopped BIGINT, next_cdoid
BIGINT, next_metaid BIGINT) <br>
main [debug.sql] INSERT IGNORE INTO cdo_repository VALUES ('requipse-repo',
'1ff5d226-b1f0-40fb-aba2-0c31b38c764f', 1, 1201707015563, 0, 0, 0) <br>
main [debug.model] Setting server info: CDOClass(ID=0,
name=CDOResource) --&gt; -2 <br>
main [debug.sql] CREATE TABLE CDOResource (cdo_id BIGINT NOT NULL,
cdo_version INTEGER NOT NULL, cdo_class INTEGER NOT NULL, cdo_created
BIGINT NOT NULL, cdo_revised BIGINT NOT NULL, cdo_resource BIGINT NOT
NULL, cdo_container BIGINT NOT NULL, cdo_feature INTEGER NOT NULL, path
LONGTEXT NOT NULL) <br>
main [debug.sql] CREATE UNIQUE INDEX CDOResource_idx0 ON CDOResource
(cdo_version, path(760)) <br>
main [debug.sql] CREATE TABLE CDOResource_contents_refs (cdo_source
BIGINT, cdo_version INTEGER, cdo_idx INTEGER, cdo_target BIGINT) <br>
main [debug.sql] SELECT MAX(id) FROM cdo_packages <br>
main [debug.sql] SELECT MAX(id) FROM cdo_classes <br>
main [debug.sql] SELECT MAX(id) FROM cdo_features <br>
main [debug.lifecycle] Activating horizontal <br>
main [debug.lifecycle] Activating ObjectTypeCache@7 <br>
main [debug.lifecycle.dump] DUMP ObjectTypeCache@7 <br>
mappingStrategy = horizontal <br>
table = null <br>
idField = null <br>
typeField = null <br>
initializeLock = java.lang.Object@cafce4 <br>
<br>
main [debug.lifecycle.dump] DUMP HorizontalMappingStrategy@8 <br>
MappingStrategy.store = DBStore@6 <br>
MappingStrategy.properties = <br>
   toManyReferences=ONE_TABLE_PER_REFERENCE <br>
   mappingPrecedence=MODEL <br>
   toOneReferences=LIKE_ATTRIBUTES <br>
MappingStrategy.referenceTables = <br>
   CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject))=CDOResource_contents_refs
<br>
MappingStrategy.classRefs = <br>
MappingStrategy.resourceClassMapping =
org.eclipse.emf.cdo.server.internal.db.HorizontalClassMappin g @23d1ab <br>
MappingStrategy.resourcePathMapping =
org.eclipse.emf.cdo.server.internal.db.AttributeMapping$AMString@19a6904
<br>
MappingStrategy.resourceTable = CDOResource <br>
MappingStrategy.resourceIDField = cdo_id <br>
MappingStrategy.resourcePathField = path <br>
objectTypeCache = ObjectTypeCache@7 <br>
<br>
main [debug.lifecycle.dump] DUMP DBStore@6 <br>
Store.type = db <br>
Store.properties = null <br>
Store.repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f] <br>
Store.nextOIDValue = 2 <br>
mappingStrategy = horizontal <br>
dbSchema = requipse-repo <br>
dbAdapter = mysql-5.1.5 <br>
dbConnectionProvider =
com.mysql.jdbc.jdbc2.optional.MysqlDataSource@2ea871 <br>
nextPackageID = 1 <br>
nextClassID = 1 <br>
nextFeatureID = 1 <br>
<br>
main [debug.lifecycle] Activating PackageManager@9 <br>
main [debug.sql] SELECT uri, dynamic, range_lb, range_ub FROM
cdo_packages <br>
main [debug.lifecycle.dump] DUMP PackageManager@9 <br>
CDOPackageManagerImpl.packages = <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage%28U RI=http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage%28URI=h ttp://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0=CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore, dynamic=false, metaIDRange=null) <br>
CDOPackageManagerImpl.cdoCorePackage =
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) <br>
CDOPackageManagerImpl.cdoResourcePackage =
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f] <br>
<br>
main [debug.lifecycle] Activating SessionManager@10 <br>
main [debug.lifecycle.dump] DUMP SessionManager@10 <br>
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f] <br>
sessions = <br>
lastSessionID = 0 <br>
<br>
main [debug.lifecycle] Activating ResourceManager@11 <br>
main [debug.lifecycle.dump] DUMP ResourceManager@11 <br>
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f] <br>
idToPathMap = <br>
pathToIDMap = <br>
<br>
main [debug.lifecycle] Activating RevisionManager@12 <br>
main [debug.lifecycle.dump] DUMP RevisionManager@12 <br>
CDORevisionResolverImpl.revisions = <br>
CDORevisionResolverImpl.currentLRUCapacity = 10000 <br>
CDORevisionResolverImpl.revisedLRUCapacity = 100 <br>
CDORevisionResolverImpl.currentLRU = LRU[size=0, capacity=10.000] <br>
CDORevisionResolverImpl.revisedLRU = LRU[size=0, capacity=100] <br>
repository = Repository[requipse-repo,
1ff5d226-b1f0-40fb-aba2-0c31b38c764f] <br>
cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING,
referenceType=null) <br>
<br>
main [debug.lifecycle.dump] DUMP Repository@13 <br>
name = requipse-repo <br>
store = DBStore@6 <br>
uuid = 1ff5d226-b1f0-40fb-aba2-0c31b38c764f <br>
properties = <br>
   revisedLRUCapacity=100 <br>
   supportingAudits=false <br>
   currentLRUCapacity=10000 <br>
   verifyingRevisions=true <br>
   overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f <br>
supportingRevisionDeltas = null <br>
supportingAudits = false <br>
verifyingRevisions = null <br>
packageManager = PackageManager@9 <br>
sessionManager = SessionManager@10 <br>
resourceManager = ResourceManager@11 <br>
revisionManager = RevisionManager@12 <br>
elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@cedf4e <br>
nextMetaIDValue = 1 <br>
<br>
main [debug.lifecycle] Activating JVMClientConnector@14 <br>
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMClientConnector@14 <br>
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMClientConnector@14 <br>
main [debug.lifecycle.dump] DUMP JVMClientConnector@14 <br>
Connector.userID = null <br>
Connector.protocolFactoryRegistry = <br>
  
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm] <br>
  
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm] <br>
  
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default] <br>
  
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies] <br>
  
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file] <br>
  
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo] <br>
  
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies] <br>
  
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo] <br>
  
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat] <br>
  
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default] <br>
  
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp] <br>
  
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge] <br>
  
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp] <br>
  
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default] <br>
  
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat] <br>
  
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp] <br>
  
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo] <br>
Connector.protocolPostProcessors = <br>
   org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46 <br>
  
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
<br>
   org.eclipse.internal.net4j.Net4jTransportInjector@81255 <br>
   org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65 <br>
Connector.negotiator = null <br>
Connector.negotiationContext = null <br>
Connector.bufferProvider = BufferPool[4.096] <br>
Connector.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
Connector.nextChannelID = 0 <br>
Connector.channels = <br>
Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@1ac0c5[Write locks = 0, Read
locks = 0] <br>
Connector.connectorState = CONNECTED <br>
Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@65cfd2 <br>
Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@2f1989[Count = 1] <br>
Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@35acf6[Count = 1] <br>
JVMConnector.peer = null <br>
JVMConnector.name = default <br>
acceptor = JVMAcceptor[default] <br>
peerLifecycleListener =
org.eclipse.net4j.internal.jvm.JVMClientConnector$1@1ee6b69 <br>
<br>
main [debug.lifecycle] Activating JVMServerConnector@15 <br>
main [debug.connector] Setting state CONNECTING (was disconnected) for
JVMServerConnector@15 <br>
main [debug.connector] Setting state CONNECTED (was connecting) for
JVMServerConnector@15 <br>
main [debug.lifecycle.dump] DUMP JVMServerConnector@15 <br>
Connector.userID = null <br>
Connector.protocolFactoryRegistry = <br>
  
org.eclipse.net4j.acceptors[jvm]=Factory[org.eclipse.net4j.a cceptors,
jvm] <br>
  
org.eclipse.net4j.connectors[jvm]=Factory[org.eclipse.net4j. connectors,
jvm] <br>
  
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.n et4j.randomizers,
default] <br>
  
org.eclipse.net4j.serverProtocols[buddies]=Factory[org.eclip se.net4j.serverProtocols,
buddies] <br>
  
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
file] <br>
  
org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
cdo] <br>
  
org.eclipse.net4j.clientProtocols[buddies]=Factory[org.eclip se.net4j.clientProtocols,
buddies] <br>
  
org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
cdo] <br>
  
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org .eclipse.net4j.buddies.clientFacilities,
chat] <br>
  
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclip se.net4j.bufferProviders,
default] <br>
  
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.a cceptors,
tcp] <br>
  
org.eclipse.net4j.Negotiators[challenge]=Factory[org.eclipse .net4j.Negotiators,
challenge] <br>
  
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j. connectors,
tcp] <br>
  
org.eclipse.net4j.executorServices[default]=Factory[org.ecli pse.net4j.executorServices,
default] <br>
  
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org .eclipse.net4j.buddies.serverFacilities,
chat] <br>
  
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.s electors,
tcp] <br>
  
org.eclipse.emf.cdo.sessions[cdo]=Factory[org.eclipse.emf.cd o.sessions,
cdo] <br>
Connector.protocolPostProcessors = <br>
   org.eclipse.emf.internal.cdo.util.ChannelInjector@10f9a46 <br>
  
org.eclipse.net4j.internal.util.security.ChallengeNegotiator Configurer @1597cac
<br>
   org.eclipse.internal.net4j.Net4jTransportInjector@81255 <br>
   org.eclipse.net4j.internal.tcp.TCPSelectorInjector@1ebaf65 <br>
Connector.negotiator = null <br>
Connector.negotiationContext = null <br>
Connector.bufferProvider = BufferPool[4.096] <br>
Connector.receiveExecutor =
java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
Connector.nextChannelID = 0 <br>
Connector.channels = <br>
Connector.channelsLock =
org.eclipse.net4j.util.concurrent.RWLock@1349b1[Write locks = 0, Read
locks = 0] <br>
Connector.connectorState = CONNECTED <br>
Connector.channelListener =
org.eclipse.internal.net4j.connector.Connector$1@4b0cbc <br>
Connector.finishedConnecting =
java.util.concurrent.CountDownLatch@1312369[Count = 1] <br>
Connector.finishedNegotiating =
java.util.concurrent.CountDownLatch@10bca49[Count = 1] <br>
JVMConnector.peer = JVMClientConnector@14 <br>
JVMConnector.name = default <br>
<br>
main [debug.acceptor] Added connector JVMServerConnector@15 <br>
main [debug.model] Created
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) <br>
main [debug.model] Created CDOClass(ID=0, name=CDOObject) <br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOObject) <br>
main [debug.model] Added package:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) <br>
main [debug.model] Created
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
main [debug.model] Created CDOClass(ID=0, name=CDOResource) <br>
main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING,
referenceType=null) <br>
main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null) <br>
main [debug.model] Created CDOFeature(ID=2, name=contents, type=OBJECT,
referenceType=CDOClass(ID=0, name=CDOObject)) <br>
main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)) <br>
main [debug.model] Adding class: CDOClass(ID=0, name=CDOResource) <br>
main [debug.model] Added package:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) <br>
main [debug.model] Setting client info:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/core/1.0.0">http://www.eclipse.org/emf/CDO/core/1.0.0</a>,
name=cdocore,
dynamic=false, metaIDRange=null) --&gt;
org.eclipse.emf.ecore.impl.EcorePackageImpl@c5384d (name: ecore)
(nsURI: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/2002/Ecore">http://www.eclipse.org/emf/2002/Ecore</a>,
nsPrefix: ecore) <br>
main [debug.model] Setting client info: CDOClass(ID=0, name=CDOObject)
--&gt; org.eclipse.emf.ecore.impl.EClassImpl@16dd9c5 (name: EObject)
(instanceClassName: null) (abstract: false, interface: false) <br>
main [debug.model] Setting client info:
CDOPackage(URI=<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
name=cdoresource, dynamic=false, metaIDRange=null) --&gt;
org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@39d3d3 (name:
eresource) (nsURI: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.eclipse.org/emf/CDO/resource/1.0.0">http://www.eclipse.org/emf/CDO/resource/1.0.0</a>,
nsPrefix: eresource) <br>
main [debug.model] Setting client info: CDOClass(ID=0,
name=CDOResource) --&gt; org.eclipse.emf.ecore.impl.EClassImpl@e9b75e
(name: CDOResource) (instanceClassName: null) (abstract: false,
interface: false) <br>
main [debug.model] Setting client info: CDOFeature(ID=2, name=contents,
type=OBJECT, referenceType=CDOClass(ID=0, name=CDOObject)) --&gt;
org.eclipse.emf.ecore.impl.EReferenceImpl@81df82 (name: contents)
(ordered: true, unique: true, lowerBound: 0, upperBound: -1)
(changeable: true, volatile: false, transient: false,
defaultValueLiteral: null, unsettable: false, derived: false)
(containment: true, resolveProxies: false) <br>
main [debug.model] Setting client info: CDOFeature(ID=9, name=path,
type=STRING, referenceType=null) --&gt;
org.eclipse.emf.ecore.impl.EAttributeImpl@78e59b (name: path) (ordered:
true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true,
volatile: false, transient: false, defaultValueLiteral: null,
unsettable: false, derived: false) (iD: false) <br>
main [debug.lifecycle] Activating
CDOSession[JVMClientConnector@14/requipse-repo] <br>
main [debug.connector] Waiting for connection... <br>
main [debug.lifecycle] Activating SignalProtocol[cdo] <br>
main [debug.lifecycle.dump] DUMP CDOClientProtocol@16 <br>
Protocol.channel = Channel[-32.768] <br>
Protocol.bufferProvider = BufferPool[4.096] <br>
Protocol.executorService =
java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
Protocol.infraStructure =
CDOSession[JVMClientConnector@14/requipse-repo] <br>
SignalProtocol.streamWrapper = null <br>
SignalProtocol.signals = <br>
SignalProtocol.nextCorrelationID = 1 <br>
<br>
main [debug.connector] Opening channel 0 with protocol cdo <br>
main [debug.lifecycle] Activating SignalProtocol[cdo] <br>
main [debug.lifecycle.dump] DUMP CDOServerProtocol@17 <br>
Protocol.channel = Channel[-32.768] <br>
Protocol.bufferProvider = BufferPool[4.096] <br>
Protocol.executorService =
java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
Protocol.infraStructure =
org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @175e354 <br>
SignalProtocol.streamWrapper = null <br>
SignalProtocol.signals = <br>
SignalProtocol.nextCorrelationID = 1 <br>
session = null <br>
<br>
main [debug.connector] Opening channel 0 with protocol cdo <br>
main [debug.lifecycle] Activating Channel[0] <br>
main [debug.lifecycle] Activating ChannelReceiveSerializer@18 <br>
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@18 <br>
Worker.daemon = false <br>
Worker.activationTimeout = 2000 <br>
Worker.deactivationTimeout = 2000 <br>
Worker.activationLatch =
java.util.concurrent.CountDownLatch@ceaf8c[Count = 0] <br>
Worker.workerThread = Thread[ReceiveSerializer0,6,main] <br>
QueueWorker.queue = <br>
QueueWorker.pollMillis = 100 <br>
<br>
main [debug.lifecycle.dump] DUMP Channel@19 <br>
channelID = 0 <br>
channelMultiplexer = JVMServerConnector@15 <br>
channelIndex = 0 <br>
receiveExecutor = java.util.concurrent.ThreadPoolExecutor@10d4170 <br>
receiveHandler = SignalProtocol[cdo] <br>
receiveSerializer = ChannelReceiveSerializer@18 <br>
sendQueue = <br>
<br>
main [debug.lifecycle] Activating Channel[0] <br>
main [debug.lifecycle] Activating ChannelReceiveSerializer@20 <br>
main [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@20 <br>
Worker.daemon = false <br>
Worker.activationTimeout = 2000 <br>
Worker.deactivationTimeout = 2000 <br>
Worker.activationLatch =
java.util.concurrent.CountDownLatch@161b9b2[Count = 0] <br>
Worker.workerThread = Thread[ReceiveSerializer0,6,main] <br>
QueueWorker.queue = <br><