Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Re: CDO 1.0.4 problem: Revision not found
Re: CDO 1.0.4 problem: Revision not found [message #425557] Mon, 01 December 2008 15:59 Go to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6483
Registered: July 2009
Senior Member
Christian,

Since Ganymede CDO is supported through the EMF newsgroup, which I
included in this discussion.

A long time passed since 1.0.0 and I must admit that I can not
immediately remember what exactly can cause such upgrade problems. In
our maintenance stream this should usually not happen. Please let us
wait if Simon can remember of any changes in the maintenance stream that
could cause your problem...

Cheers
/Eike

----
http://thegordian.blogspot.com



Christian Hauser schrieb:
> Hello CDO gurus
>
> I'm running Eclipse 3.4.1 with EMF and updated CDO from 1.0.0 to
> 1.0.4. Then I started a CDO server and after the server came up I
> started my application that should use the server.
>
> However, I get the following error:
>
> Thread-2 [debug] Selecting revision: OID2
> Thread-2 [debug] Selecting object type: OID2
> Thread-2 [debug.sql] SELECT cdo_class FROM cdo_objects WHERE cdo_id=2
> Thread-2 [debug.sql] SELECT classifier, package FROM cdo_classes WHERE
> id=1
> Thread-2 [debug.sql] SELECT uri FROM cdo_packages WHERE id=1
> Thread-2 [debug] SELECT cdo_version, cdo_created, cdo_revised,
> cdo_resource, cdo_container, cdo_feature FROM PersonList WHERE
> cdo_id=2 AND cdo_revised=0
> [ERROR] Revision not found: 2
> java.lang.IllegalStateException: Revision not found: 2
> at
> org.eclipse.emf.cdo.server.internal.db.ClassMapping.readAttr ibutes(ClassMapping.java:560)
>
> at
> org.eclipse.emf.cdo.server.internal.db.ClassMapping.readRevi sion(ClassMapping.java:528)
>
> at
> org.eclipse.emf.cdo.server.internal.db.ClassMapping.readRevi sion(ClassMapping.java:501)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreReader.readRev ision(DBStoreReader.java:236)
>
> at
> org.eclipse.emf.cdo.internal.server.RevisionManager.loadRevi sion(RevisionManager.java:210)
>
> at
> org.eclipse.emf.cdo.internal.common.revision.CDORevisionReso lverImpl.getRevision(CDORevisionResolverImpl.java:283)
>
> at
> org.eclipse.emf.cdo.internal.common.revision.CDORevisionReso lverImpl.getRevision(CDORevisionResolverImpl.java:145)
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.LoadRevisionInd ication.getRevision(LoadRevisionIndication.java:171)
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.LoadRevisionInd ication.responding(LoadRevisionIndication.java:147)
>
> at
> org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:54)
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.CDOReadIndicati on.execute(CDOReadIndication.java:38)
>
> 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)
>
>
> Any help on what I might do wrong is highly appreciated. The complete
> log is at the bottom of this mail (please snip when replying).
>
> Thanks in advance,
> Christian
>
>
>
> =============
> COMPLETE LOG:
> =============
>
> Configuration location:
>
> file:/D:/files/eclipse/workspaces/emf_testing/.metadata/.plu gins/org.eclipse.pde.core/CDOServer.product/
>
> Configuration file:
>
> file:/D:/files/eclipse/workspaces/emf_testing/.metadata/.plu gins/org.eclipse.pde.core/CDOServer.product/config.ini
> loaded
> Install location:
> file:/D:/files/eclipse/builds/eclipse-SDK-3.4.1/eclipse/
> Framework located:
>
> file:/D:/files/eclipse/builds/eclipse-SDK-3.4.1/eclipse/plug ins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
>
> Framework classpath:
>
> file:/D:/files/eclipse/builds/eclipse-SDK-3.4.1/eclipse/plug ins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
>
> Splash location:
> null
> Debug options:
>
> file:/D:/files/eclipse/workspaces/emf_testing/.metadata/.plu gins/org.eclipse.pde.core/CDOServer.product/.options
> loaded
>
> osgi> Time to load bundles: 187
> Starting application: 750
> main [debug.om] Starting bundle org.eclipse.net4j.util
> main [debug.lifecycle] Activating ManagedContainer
> main [debug.lifecycle] Activating {}
> main [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.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> 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.connectors[http]=Factory[org.eclipse.net4j .connectors,
> http]
>
> 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]
>
> org.eclipse.net4j.acceptors[http]=Factory[org.eclipse.net4j. acceptors,
> http]
> extensionRegistryListener =
> org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@22ab57
>
> main [debug.lifecycle] Activating []
> main [debug.om] Starting bundle org.eclipse.emf.cdo
> main [debug.om] Starting bundle org.eclipse.net4j
> main [debug.om] Starting bundle org.eclipse.net4j.http.server
> main [debug.om] Starting bundle org.eclipse.net4j.tcp
> main [debug.lifecycle.dump] DUMP PluginElementProcessorList@2
> processors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@e49dcd
> org.eclipse.net4j.util.security.ChallengeNegotiatorConfigure r @1343ed0
> org.eclipse.net4j.Net4jTransportInjector@107f45d
> org.eclipse.net4j.http.internal.server.RandomizerInjector@13c0b53
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@10b9279
> extensionRegistryListener =
> org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@192a848
>
>
> main [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.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> 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.connectors[http]=Factory[org.eclipse.net4j .connectors,
> http]
>
> 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]
>
> org.eclipse.net4j.acceptors[http]=Factory[org.eclipse.net4j. acceptors,
> http]
> ManagedContainer.postProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@e49dcd
> org.eclipse.net4j.util.security.ChallengeNegotiatorConfigure r @1343ed0
> org.eclipse.net4j.Net4jTransportInjector@107f45d
> org.eclipse.net4j.http.internal.server.RandomizerInjector@13c0b53
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@10b9279
> ManagedContainer.elementRegistry =
> ManagedContainer.maxElementID = 0
> ManagedContainer.elementListener =
> org.eclipse.net4j.util.container.ManagedContainer$1@979e8b
>
> main [debug.om] Plugin container created: ManagedContainer
> main [debug.om] Starting bundle org.eclipse.emf.cdo.server
> main [debug.om] Starting application org.eclipse.emf.cdo.server.app
> [INFO] CDO Server starting
> main [debug.repository] Configuring CDO server from
> D:\files\eclipse\workspaces\emf_testing\org.eclipse.emf.cdo. server.product\rootfiles\configuration\cdo-server.xml
>
> main [debug.repository] Configuring repository repo1 (type=default)
> main [debug.om] Starting bundle org.eclipse.emf.cdo.common
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null, parentURI=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, parentURI=null)
> main [debug.model] Created
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null, parentURI=null)
> main [debug.model] Created CDOClass(ID=0, name=CDOResource)
> main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING)
> main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
> type=STRING)
> main [debug.model] Created CDOFeature(ID=2, name=contents,
> type=CDOClass(ID=0, name=CDOObject))
> main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
> type=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, parentURI=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[repo1]
> main [debug.lifecycle] Activating DBStore@4
> main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
> feature INTEGER, name VARCHAR(255), type INTEGER, reference_package
> VARCHAR(255), reference_classifier INTEGER, many SMALLINT, containment
> SMALLINT, idx INTEGER)
> main [debug.sql] -- Table/View 'CDO_FEATURES' already exists in Schema
> 'APP'.
> main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package
> INTEGER, classifier INTEGER, name VARCHAR(255), abstract SMALLINT)
> main [debug.sql] -- Table/View 'CDO_CLASSES' already exists in Schema
> 'APP'.
> main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri
> VARCHAR(255), name VARCHAR(255), ecore CLOB, dynamic SMALLINT,
> range_lb BIGINT, range_ub BIGINT, parent VARCHAR(255))
> main [debug.sql] -- Table/View 'CDO_PACKAGES' already exists in Schema
> 'APP'.
> main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
> supertype_package VARCHAR(255), supertype_classifier INTEGER)
> main [debug.sql] -- Table/View 'CDO_SUPERTYPES' already exists in
> Schema 'APP'.
> main [debug.sql] CREATE TABLE cdo_repository (starts BIGINT, started
> BIGINT, stopped BIGINT, next_cdoid BIGINT, next_metaid BIGINT)
> main [debug.sql] -- Table/View 'CDO_REPOSITORY' already exists in
> Schema 'APP'.
> main [debug.sql] SELECT MAX(next_cdoid) FROM cdo_repository
> main [debug.sql] SELECT MAX(next_metaid) FROM cdo_repository
> [WARN] Detected restart after crash
> main [debug.sql] UPDATE cdo_repository SET starts=starts+1,
> started=1228145788395, stopped=0, next_cdoid=-1, next_metaid=-1
> 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@5
> main [debug.lifecycle.dump] DUMP ObjectTypeCache@5
> mappingStrategy = horizontal
> table = null
> idField = null
> typeField = null
> initializeLock = java.lang.Object@1c67248
>
> main [debug.lifecycle.dump] DUMP HorizontalMappingStrategy@6
> MappingStrategy.store = DBStore@4
> MappingStrategy.properties =
> toManyReferences=ONE_TABLE_PER_REFERENCE
> qualifiedNames=false
> toOneReferences=LIKE_ATTRIBUTES
> MappingStrategy.referenceTables =
> MappingStrategy.classRefs =
> MappingStrategy.resourceClassMapping = null
> MappingStrategy.resourcePathMapping = null
> MappingStrategy.resourceTable = null
> MappingStrategy.resourceIDField = null
> MappingStrategy.resourcePathField = null
> objectTypeCache = ObjectTypeCache@5
>
> main [debug.lifecycle.dump] DUMP DBStore@4
> Store.type = db
> Store.repository = Repository[repo1]
> Store.lastMetaID = -1
> LongIDStore.lastObjectID = -1
> mappingStrategy = horizontal
> dbSchema = null
> dbAdapter = derby-embedded-10.3.2.1
> dbConnectionProvider = org.apache.derby.jdbc.EmbeddedDataSource@9be2b5
> nextPackageID = 2
> nextClassID = 3
> nextFeatureID = 7
>
> main [debug.lifecycle] Activating PackageManager@7
> main [debug.sql] SELECT uri, dynamic, range_lb, range_ub, parent FROM
> cdo_packages
> main [debug.model] Created proxy package
> http://www.ruag.com/panther/person/model/1.0.0, dynamic=true,
> metaIDRange=[MID1:MID17],
> parentURI=http://www.ruag.com/panther/person/model/1.0.0
> main [debug.model] Added package:
> CDOPackage(URI=http://www.ruag.com/panther/person/model/1.0.0,
> name=null, dynamic=true, metaIDRange=[MID1:MID17], parentURI=null)
> main [debug.lifecycle.dump] DUMP PackageManager@7
> 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, parentURI=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, parentURI=null)
>
> http://www.ruag.com/panther/person/model/1.0.0=CDOPackage(URI=http://www.ruag.com/panther/person/model/1.0.0,
> name=null, dynamic=true, metaIDRange=[MID1:MID17], parentURI=null)
> CDOPackageManagerImpl.cdoCorePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
> name=cdocore, dynamic=false, metaIDRange=null, parentURI=null)
> CDOPackageManagerImpl.cdoResourcePackage =
> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
> name=cdoresource, dynamic=false, metaIDRange=null, parentURI=null)
> repository = Repository[repo1]
>
> main [debug.sql] SELECT id, name, ecore FROM cdo_packages WHERE uri =
> 'http://www.ruag.com/panther/person/model/1.0.0'
> main [debug.model] Setting server info:
> CDOPackage(URI=http://www.ruag.com/panther/person/model/1.0.0,
> name=null, dynamic=true, metaIDRange=[MID1:MID17], parentURI=null) --> 1
> main [debug.sql] SELECT id, classifier, name, abstract FROM
> cdo_classes WHERE package=1
> main [debug.model] Created CDOClass(ID=0, name=PersonList)
> main [debug.model] Setting server info: CDOClass(ID=0,
> name=PersonList) --> 1
> main [debug.model] Adding class: CDOClass(ID=0, name=PersonList)
> main [debug.sql] SELECT supertype_package, supertype_classifier FROM
> cdo_supertypes WHERE type_id=1
> main [debug.sql] SELECT id, feature, name, type, reference_package,
> reference_classifier, many, containment FROM cdo_features WHERE class=1
> main [debug.model] Created CDOFeature(ID=0, name=personen,
> type=CDOClassRef(http://www.ruag.com/panther/person/model/1.0.0, 1))
> main [debug.model] Setting server info: CDOFeature(ID=0,
> name=personen,
> type=CDOClassRef(http://www.ruag.com/panther/person/model/1.0.0, 1))
> --> 1
> main [debug.model] Adding feature: CDOFeature(ID=0, name=personen,
> type=CDOClassRef(http://www.ruag.com/panther/person/model/1.0.0, 1))
> main [debug.model] Created CDOClass(ID=1, name=Person)
> main [debug.model] Setting server info: CDOClass(ID=1, name=Person) --> 2
> main [debug.model] Adding class: CDOClass(ID=1, name=Person)
> main [debug.sql] SELECT supertype_package, supertype_classifier FROM
> cdo_supertypes WHERE type_id=2
> main [debug.sql] SELECT id, feature, name, type, reference_package,
> reference_classifier, many, containment FROM cdo_features WHERE class=2
> main [debug.model] Created CDOFeature(ID=0, name=vorname, type=STRING)
> main [debug.model] Setting server info: CDOFeature(ID=0, name=vorname,
> type=STRING) --> 2
> main [debug.model] Adding feature: CDOFeature(ID=0, name=vorname,
> type=STRING)
> main [debug.model] Created CDOFeature(ID=1, name=nachname, type=STRING)
> main [debug.model] Setting server info: CDOFeature(ID=1,
> name=nachname, type=STRING) --> 3
> main [debug.model] Adding feature: CDOFeature(ID=1, name=nachname,
> type=STRING)
> main [debug.model] Created CDOFeature(ID=2, name=plz, type=INT)
> main [debug.model] Setting server info: CDOFeature(ID=2, name=plz,
> type=INT) --> 4
> main [debug.model] Adding feature: CDOFeature(ID=2, name=plz, type=INT)
> main [debug.model] Created CDOFeature(ID=3, name=wohnort, type=STRING)
> main [debug.model] Setting server info: CDOFeature(ID=3, name=wohnort,
> type=STRING) --> 5
> main [debug.model] Adding feature: CDOFeature(ID=3, name=wohnort,
> type=STRING)
> main [debug.model] Created CDOFeature(ID=4, name=geburtsdatum, type=DATE)
> main [debug.model] Setting server info: CDOFeature(ID=4,
> name=geburtsdatum, type=DATE) --> 6
> main [debug.model] Adding feature: CDOFeature(ID=4, name=geburtsdatum,
> type=DATE)
> main [debug.model] Setting server info: CDOClass(ID=0,
> name=CDOResource) --> -2
> main [debug.sql] SELECT MAX(cdo_id) FROM CDOResource
> main [debug] Max CDOID of table CDOResource: 1
> main [debug.sql] SELECT MAX(cdo_id) FROM PersonList
> main [debug] Max CDOID of table PersonList: 0
> main [debug.sql] SELECT MAX(cdo_id) FROM Person
> main [debug] Max CDOID of table Person: 4
> main [debug.sql] SELECT MAX(range_ub) FROM cdo_packages
> [INFO] Repaired after crash: maxObjectID=6, maxMetaID=17
> main [debug.lifecycle] Activating SessionManager@8
> main [debug.lifecycle.dump] DUMP SessionManager@8
> repository = Repository[repo1]
> sessions =
> lastSessionID = 0
>
> main [debug.lifecycle] Activating ResourceManager@9
> main [debug.lifecycle.dump] DUMP ResourceManager@9
> repository = Repository[repo1]
> idToPathMap =
> pathToIDMap =
>
> main [debug.lifecycle] Activating RevisionManager@10
> main [debug.lifecycle.dump] DUMP RevisionManager@10
> 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[repo1]
> cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING)
>
> main [debug.lifecycle.dump] DUMP Repository@11
> name = repo1
> store = DBStore@4
> uuid = null
> properties =
> revisedLRUCapacity=100
> supportingAudits=true
> currentLRUCapacity=10000
> verifyingRevisions=false
> overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> supportingRevisionDeltas = false
> supportingAudits = true
> verifyingRevisions = null
> packageManager = PackageManager@7
> sessionManager = SessionManager@8
> resourceManager = ResourceManager@9
> revisionManager = RevisionManager@10
> elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@1296d1d
> lastMetaID = 17
>
> main [debug] Configuring Net4j server from
> D:\files\eclipse\workspaces\emf_testing\org.eclipse.emf.cdo. server.product\rootfiles\configuration\cdo-server.xml
>
> main [debug.lifecycle] Activating BufferPool[4'096]
> BufferPoolMonitor [debug.buffer] Start monitoring
> main [debug.lifecycle.dump] DUMP BufferPool@12
> BufferProvider.bufferCapacity = 4096
> BufferProvider.providedBuffers = 0
> BufferProvider.retainedBuffers = 0
> provider = BufferFactory[4'096]
> pooledBuffers = 0
>
> main [debug.lifecycle] Activating TCPSelector
> main [debug.lifecycle.dump] DUMP TCPSelector@13
> selector = sun.nio.ch.WindowsSelectorImpl@1a3aa2c
> clientOperations =
> serverOperations =
> thread = Thread[TCPSelector,5,main]
> running = true
>
> main [debug.lifecycle] Activating TCPAcceptor[0.0.0.0:2'036]
> main [debug] Ordering server operation REGISTER
> sun.nio.ch.ServerSocketChannelImpl[unbound]
> TCPSelector [debug] Executing server operation REGISTER
> sun.nio.ch.ServerSocketChannelImpl[unbound]
> TCPSelector [debug] Registering
> sun.nio.ch.ServerSocketChannelImpl[unbound]
> main [debug.lifecycle.dump] DUMP TCPAcceptor@14
> 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.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> 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.connectors[http]=Factory[org.eclipse.net4j .connectors,
> http]
>
> 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]
>
> org.eclipse.net4j.acceptors[http]=Factory[org.eclipse.net4j. acceptors,
> http]
> Acceptor.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@e49dcd
> org.eclipse.net4j.util.security.ChallengeNegotiatorConfigure r @1343ed0
> org.eclipse.net4j.Net4jTransportInjector@107f45d
> org.eclipse.net4j.http.internal.server.RandomizerInjector@13c0b53
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@10b9279
> Acceptor.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@1ca1588
> Acceptor.connectorListener =
> org.eclipse.internal.net4j.acceptor.Acceptor$1@4bb369
> Acceptor.acceptedConnectors =
> selector = TCPSelector
> selectionKey = sun.nio.ch.SelectionKeyImpl@9dd6e2
> startSynchronously = true
> synchronousStartTimeout = 4000
> startLatch = java.util.concurrent.CountDownLatch@1abdac9[Count = 0]
> serverSocketChannel = sun.nio.ch.ServerSocketChannelImpl[/0.0.0.0:2036]
> address = 0.0.0.0
> port = 2036
>
> [INFO] CDO Server started
> Application Started: 2859
> TCPSelector [debug] Accepting
> sun.nio.ch.ServerSocketChannelImpl[/0.0.0.0:2036]
> TCPSelector [debug] Accepted socketChannel
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195]
> TCPSelector [debug.lifecycle] Activating
> ServerTCPConnector[127.0.0.1:3'195]
> TCPSelector [debug.connector] Setting state CONNECTING (was
> disconnected) for ServerTCPConnector[127.0.0.1:3'195]
> TCPSelector [debug.lifecycle] Activating Channel[Control]
> TCPSelector [debug.lifecycle] Activating ChannelReceiveSerializer@15
> TCPSelector [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@15
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@14426a6[Count = 0]
> Worker.workerThread = Thread[ReceiveSerializer-1,5,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
>
> TCPSelector [debug.lifecycle.dump] DUMP ControlChannel@16
> Channel.channelID = 0
> Channel.channelMultiplexer = ServerTCPConnector[127.0.0.1:3'195]
> Channel.channelIndex = -1
> Channel.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@1ca1588
> Channel.receiveHandler = null
> Channel.receiveSerializer = ChannelReceiveSerializer@15
> Channel.sendQueue =
> registrations = SynchronizingCorrelator{}
>
> TCPSelector [debug] Ordering server operation REGISTER
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195]
> TCPSelector [debug] Executing server operation REGISTER
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195]
> TCPSelector [debug] Registering
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195]
> TCPSelector [debug.connector] Setting state CONNECTED (was connecting)
> for ServerTCPConnector[127.0.0.1:3'195]
> TCPSelector [debug.lifecycle.dump] DUMP TCPServerConnector@17
> 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.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
> file]
>
> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
> cdo]
>
> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
> cdo]
>
> 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.connectors[http]=Factory[org.eclipse.net4j .connectors,
> http]
>
> 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]
>
> org.eclipse.net4j.acceptors[http]=Factory[org.eclipse.net4j. acceptors,
> http]
> Connector.protocolPostProcessors =
> org.eclipse.emf.internal.cdo.util.ChannelInjector@e49dcd
> org.eclipse.net4j.util.security.ChallengeNegotiatorConfigure r @1343ed0
> org.eclipse.net4j.Net4jTransportInjector@107f45d
> org.eclipse.net4j.http.internal.server.RandomizerInjector@13c0b53
> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@10b9279
> Connector.negotiator = null
> Connector.negotiationContext = null
> Connector.bufferProvider = BufferPool[4'096]
> Connector.receiveExecutor =
> java.util.concurrent.ThreadPoolExecutor@1ca1588
> Connector.nextChannelID = 1
> Connector.channels =
> Connector.channelsLock =
> org.eclipse.net4j.util.concurrent.RWLock@1c01ba9[Write locks = 0, Read
> locks = 0]
> Connector.connectorState = CONNECTED
> Connector.channelListener =
> org.eclipse.internal.net4j.connector.Connector$1@1582a7c
> Connector.finishedConnecting =
> java.util.concurrent.CountDownLatch@14d556e[Count = 1]
> Connector.finishedNegotiating =
> java.util.concurrent.CountDownLatch@23d275[Count = 1]
> TCPConnector.socketChannel =
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195]
> TCPConnector.selector = TCPSelector
> TCPConnector.selectionKey = sun.nio.ch.SelectionKeyImpl@5cc942
> TCPConnector.writeQueue =
> TCPConnector.inputBuffer = null
> TCPConnector.controlChannel = Channel[Control]
> TCPConnector.host = null
> TCPConnector.port = 0
> acceptor = TCPAcceptor[0.0.0.0:2'036]
>
> TCPSelector [debug.acceptor] Added connector
> ServerTCPConnector[127.0.0.1:3'195]
> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
> TCPSelector [debug.buffer] Created Buffer@18
> TCPSelector [debug.buffer] Obtained Buffer@18
> TCPSelector [debug.buffer] Read 12 bytes
> 02 00 00 00 01 00 00 00 03 63 64 6f
> TCPSelector [debug.lifecycle] Activating SignalProtocol[cdo]
> TCPSelector [debug.lifecycle.dump] DUMP CDOServerProtocol@19
> Protocol.channel = Channel[-32'768]
> Protocol.bufferProvider = BufferPool[4'096]
> Protocol.executorService =
> java.util.concurrent.ThreadPoolExecutor@1ca1588
> Protocol.infraStructure =
> org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @109da93
> SignalProtocol.streamWrapper = null
> SignalProtocol.signals =
> SignalProtocol.nextCorrelationID = 1
>
> TCPSelector [debug.connector] Opening channel ID 1 with protocol cdo
> TCPSelector [debug.lifecycle] Activating Channel[0]
> TCPSelector [debug.lifecycle] Activating ChannelReceiveSerializer@20
> TCPSelector [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@20
> Worker.daemon = false
> Worker.activationTimeout = 2000
> Worker.deactivationTimeout = 2000
> Worker.activationLatch =
> java.util.concurrent.CountDownLatch@145e5a6[Count = 0]
> Worker.workerThread = Thread[ReceiveSerializer0,5,main]
> QueueWorker.queue =
> QueueWorker.pollMillis = 100
>
> TCPSelector [debug.lifecycle.dump] DUMP Channel@21
> channelID = 1
> channelMultiplexer = ServerTCPConnector[127.0.0.1:3'195]
> channelIndex = 0
> receiveExecutor = java.util.concurrent.ThreadPoolExecutor@1ca1588
> receiveHandler = SignalProtocol[cdo]
> receiveSerializer = ChannelReceiveSerializer@20
> sendQueue =
>
> TCPSelector [debug.buffer] Created Buffer@22
> TCPSelector [debug.buffer] Obtained Buffer@22
> TCPSelector [debug.channel] Handling buffer from client: Buffer@22 -->
> Channel[Control]
> TCPSelector [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = true
> TCPSelector [debug.buffer] Retaining Buffer@18
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = true
> TCPSelector [debug] Setting interest READ|WRITE (was read)
> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
> TCPSelector [debug.buffer] Writing 4 bytes
> 03 00 00 01
> TCPSelector [debug.buffer] Retaining Buffer@22
> TCPSelector [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = false
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = false
> TCPSelector [debug] Setting interest READ (was read|write)
> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
> TCPSelector [debug.buffer] Obtained Buffer@18
> TCPSelector [debug.buffer] Read 16 bytes (EOS)
> 00 00 00 01 00 01 01 00 05 72 65 70 6f 31 00 00
> TCPSelector [debug.channel] Handling buffer from multiplexer:
> Buffer@18 --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 1
> ReceiveSerializer0 [debug.signal] Got signal id 1
> Thread-2 [debug.signal] ================ Indicating OpenSessionIndication
> Thread-2 [debug.protocol] Read repositoryName: repo1
> Thread-2 [debug.buffer] Retaining Buffer@18
> Thread-2 [debug.protocol] Read legacySupportEnabled: false
> Thread-2 [debug.signal] ================ Responding OpenSessionIndication
> Thread-2 [debug.session] Opening session 1
> Thread-2 [debug.lifecycle] Activating Session[1, Channel[0]]
> Thread-2 [debug.lifecycle.dump] DUMP Session@23
> sessionManager = SessionManager@8
> protocol = SignalProtocol[cdo]
> sessionID = 1
> legacySupportEnabled = false
> views =
> protocolListener = org.eclipse.emf.cdo.internal.server.Session$1@1f2edd2
>
> Thread-2 [debug.protocol] Writing sessionID: 1
> Thread-2 [debug.buffer] Obtained Buffer@22
> Thread-2 [debug.protocol] Writing repositoryUUID:
> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
> Thread-2 [debug.protocol] Writing factory name:
> org.eclipse.emf.cdo.spi.common.CDOIDLongFactoryImpl
> Thread-2 [debug.protocol] Writing 0 library names
> Thread-2 [debug.protocol] Writing package info:
> uri=http://www.ruag.com/panther/person/model/1.0.0, dynamic=true,
> metaIDRange=[MID1:MID17], parentURI=null
> Thread-2 [debug.model] Writing CDOID of type 4 (META)
> Thread-2 [debug.channel] Handling buffer from client: Buffer@22 -->
> Channel[0]
> Thread-2 [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = true
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = true
> TCPSelector [debug] Setting interest READ|WRITE (was read)
> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
> TCPSelector [debug.buffer] Writing 174 bytes (EOS)
> 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 01 00 33 6f 72 67 2e 65 63 6c 69 70 73 65 2e 65 6d 66 2e 63 64
> 6f 2e 73 70 69 2e 63 6f 6d 6d 6f 6e 2e 43 44 4f 49 44 4c 6f 6e 67 46
> 61 63 74 6f 72 79 49 6d 70 6c 00 00 00 00 00 01 00 2e 68 74 74 70 3a
> 2f 2f 77 77 77 2e 72 75 61 67 2e 63 6f 6d 2f 70 61 6e 74 68 65 72 2f
> 70 65 72 73 6f 6e 2f 6d 6f 64 65 6c 2f 31 2e 30 2e 30 00 01 01 04 00
> 00 00 00 00 00 00 01 00 00 00 11 00 00
> TCPSelector [debug.buffer] Retaining Buffer@22
> TCPSelector [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = false
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = false
> TCPSelector [debug] Setting interest READ (was read|write)
> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
> TCPSelector [debug.buffer] Obtained Buffer@18
> TCPSelector [debug.buffer] Read 11 bytes (EOS)
> 00 00 00 02 00 03 00 00 00 01 01
> TCPSelector [debug.channel] Handling buffer from multiplexer:
> Buffer@18 --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 2
> ReceiveSerializer0 [debug.signal] Got signal id 3
> Thread-2 [debug.signal] ================ Indicating
> ViewsChangedIndication
> Thread-2 [debug.buffer] Retaining Buffer@18
> Thread-2 [debug.signal] ================ Responding
> ViewsChangedIndication
> Thread-2 [debug.buffer] Obtained Buffer@22
> Thread-2 [debug.channel] Handling buffer from client: Buffer@22 -->
> Channel[0]
> Thread-2 [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = true
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = true
> TCPSelector [debug] Setting interest READ|WRITE (was read)
> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
> TCPSelector [debug.buffer] Writing 5 bytes (EOS)
> 00 00 00 01 01
> TCPSelector [debug.buffer] Retaining Buffer@22
> TCPSelector [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = false
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = false
> TCPSelector [debug] Setting interest READ (was read|write)
> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
> TCPSelector [debug.buffer] Obtained Buffer@18
> TCPSelector [debug.buffer] Read 27 bytes (EOS)
> 00 00 00 03 00 04 01 00 11 2f 70 65 72 73 6f 6e 65 6e 2f 70 65 72 73
> 6f 6e 31 00
> TCPSelector [debug.channel] Handling buffer from multiplexer:
> Buffer@18 --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 3
> ReceiveSerializer0 [debug.signal] Got signal id 4
> Thread-2 [debug.signal] ================ Indicating ResourceIDIndication
> Thread-2 [debug.buffer] Retaining Buffer@18
> Thread-2 [debug.protocol] Read path: /personen/person1
> Thread-2 [debug] SELECT cdo_id FROM CDOResource WHERE
> path='/personen/person1'
> Thread-2 [debug.session] Registering resource: OID1 <-->
> /personen/person1
> Thread-2 [debug.signal] ================ Responding ResourceIDIndication
> Thread-2 [debug.protocol] Writing ID: OID1
> Thread-2 [debug.model] Writing CDOID of type 1 (OBJECT)
> Thread-2 [debug.buffer] Obtained Buffer@22
> Thread-2 [debug.channel] Handling buffer from client: Buffer@22 -->
> Channel[0]
> Thread-2 [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = true
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = true
> TCPSelector [debug] Setting interest READ|WRITE (was read)
> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
> TCPSelector [debug.buffer] Writing 13 bytes (EOS)
> 00 00 00 02 01 00 00 00 00 00 00 00 01
> TCPSelector [debug.buffer] Retaining Buffer@22
> TCPSelector [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = false
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = false
> TCPSelector [debug] Setting interest READ (was read|write)
> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
> TCPSelector [debug.buffer] Obtained Buffer@18
> TCPSelector [debug.buffer] Read 27 bytes (EOS)
> 00 00 00 04 00 04 01 00 11 2f 70 65 72 73 6f 6e 65 6e 2f 70 65 72 73
> 6f 6e 31 00
> TCPSelector [debug.channel] Handling buffer from multiplexer:
> Buffer@18 --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 4
> ReceiveSerializer0 [debug.signal] Got signal id 4
> Thread-2 [debug.signal] ================ Indicating ResourceIDIndication
> Thread-2 [debug.buffer] Retaining Buffer@18
> Thread-2 [debug.protocol] Read path: /personen/person1
> Thread-2 [debug.signal] ================ Responding ResourceIDIndication
> Thread-2 [debug.protocol] Writing ID: OID1
> Thread-2 [debug.model] Writing CDOID of type 1 (OBJECT)
> Thread-2 [debug.buffer] Obtained Buffer@22
> Thread-2 [debug.channel] Handling buffer from client: Buffer@22 -->
> Channel[0]
> Thread-2 [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = true
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = true
> TCPSelector [debug] Setting interest READ|WRITE (was read)
> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
> TCPSelector [debug.buffer] Writing 13 bytes (EOS)
> 00 00 00 03 01 00 00 00 00 00 00 00 01
> TCPSelector [debug.buffer] Retaining Buffer@22
> TCPSelector [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = false
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = false
> TCPSelector [debug] Setting interest READ (was read|write)
> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
> TCPSelector [debug.buffer] Obtained Buffer@18
> TCPSelector [debug.buffer] Read 27 bytes (EOS)
> 00 00 00 05 00 07 00 00 00 00 00 00 00 01 01 00 00 00 00 00 00 00 01
> 00 00 00 00
> TCPSelector [debug.channel] Handling buffer from multiplexer:
> Buffer@18 --> Channel[0]
> ReceiveSerializer0 [debug.signal] Received buffer for correlation 5
> ReceiveSerializer0 [debug.signal] Got signal id 7
> Thread-2 [debug.signal] ================ Indicating
> LoadRevisionIndication
> Thread-2 [debug.protocol] Read referenceChunk: -1
> Thread-2 [debug.protocol] Reading 1 IDs
> Thread-2 [debug.model] Reading CDOID of type 1 (OBJECT)
> Thread-2 [debug.protocol] Read ID: OID1
> Thread-2 [debug.buffer] Retaining Buffer@18
> Thread-2 [debug.signal] ================ Responding
> LoadRevisionIndication
> Thread-2 [debug.protocol] Writing 1 revisions
> Thread-2 [debug] Selecting revision: OID1
> Thread-2 [debug] Selecting object type: OID1
> Thread-2 [debug.sql] CREATE TABLE cdo_objects (cdo_id BIGINT,
> cdo_class INTEGER)
> Thread-2 [debug.sql] -- Table/View 'CDO_OBJECTS' already exists in
> Schema 'APP'.
> Thread-2 [debug.sql] SELECT cdo_class FROM cdo_objects WHERE cdo_id=1
> Thread-2 [debug] SELECT cdo_version, cdo_created, cdo_revised,
> cdo_resource, cdo_container, cdo_feature, path FROM CDOResource WHERE
> cdo_id=1 AND cdo_revised=0
> Thread-2 [debug.revision] Setting version for CDOResource@OID1v0: v1
> Thread-2 [debug.revision] Setting created CDOResource@OID1v1:
> 26.11.2008 16:51:11
> Thread-2 [debug.revision] Setting revised CDOResource@OID1v1:
> 01.01.1970 01:00:00
> Thread-2 [debug.revision] Setting resourceID CDOResource@OID1v1: OID1
> Thread-2 [debug.revision] Setting containerID CDOResource@OID1v1: NULL
> Thread-2 [debug.revision] Setting containingFeatureID
> CDOResource@OID1v1: 0
> Thread-2 [debug] SELECT cdo_target FROM CDOResource_contents_refs
> WHERE cdo_source=1 AND cdo_version=1 ORDER BY cdo_idx
> Thread-2 [debug.session] Registering resource: OID1 <-->
> /personen/person1
> Thread-2 [debug.revision] Adding revision: CDOResource@OID1v1,
> created=26.11.2008 16:51:11, revised=01.01.1970 01:00:00, current=true
> Thread-2 [debug.revision] Writing revision: ID=OID1,
> classRef=CDOClassRef(http://www.eclipse.org/emf/CDO/resource/1.0.0,
> 0), className=CDOResource, version=1, created=1'227'714'671'442,
> revised=0, resource=OID1, container=NULL, feature=0
> Thread-2 [debug.buffer] Obtained Buffer@22
> Thread-2 [debug.model] Writing CDOID of type 1 (OBJECT)
> Thread-2 [debug.model] Writing CDOID of type 1 (OBJECT)
> Thread-2 [debug.model] Writing CDOID of type 0 (NULL)
> Thread-2 [debug.revision] Writing feature CDOFeature(ID=9, name=path,
> type=STRING): /personen/person1
> Thread-2 [debug.revision] Writing feature CDOFeature(ID=2,
> name=contents, type=CDOClass(ID=0, name=CDOObject)): size=2
> Thread-2 [debug.revision] OID2
> Thread-2 [debug.model] Writing CDOID of type 1 (OBJECT)
> Thread-2 [debug.revision] OID4
> Thread-2 [debug.model] Writing CDOID of type 1 (OBJECT)
> Thread-2 [debug.protocol] Writing 0 additional revisions
> Thread-2 [debug.channel] Handling buffer from client: Buffer@22 -->
> Channel[0]
> Thread-2 [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:3195] = true
> TCPSelector [debug] Executing server operation INTEREST WRITE


Re: CDO 1.0.4 problem: Revision not found [message #425565 is a reply to message #425557] Mon, 01 December 2008 16:34 Go to previous messageGo to next message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Yes I remembered a fix we did previously that could cause that if you
are using an old database. (objects created with 1.0.0)

Can you confirm that you didn't reset your database ?

But without that fix you could not be able to modify that object.


This is what could cause the problems:

BEFORE

if (attributeMappings != null)
{
writeAttributes(storeWriter, (InternalCDORevision)revision);
}

AFTER
writeAttributes(storeWriter, (InternalCDORevision)revision);

/**
252982: [DB] exception when trying to commit changes
https://bugs.eclipse.org/bugs/show_bug.cgi?id=252982
**/

Basically, before that patch some data wasn't inserted in the database..
like the version and revision value.

Simon

Eike Stepper wrote:
> Christian,
>
> Since Ganymede CDO is supported through the EMF newsgroup, which I
> included in this discussion.
>
> A long time passed since 1.0.0 and I must admit that I can not
> immediately remember what exactly can cause such upgrade problems. In
> our maintenance stream this should usually not happen. Please let us
> wait if Simon can remember of any changes in the maintenance stream that
> could cause your problem...
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
>
>
>
> Christian Hauser schrieb:
>> Hello CDO gurus
>>
>> I'm running Eclipse 3.4.1 with EMF and updated CDO from 1.0.0 to
>> 1.0.4. Then I started a CDO server and after the server came up I
>> started my application that should use the server.
>>
>> However, I get the following error:
>>
>> Thread-2 [debug] Selecting revision: OID2
>> Thread-2 [debug] Selecting object type: OID2
>> Thread-2 [debug.sql] SELECT cdo_class FROM cdo_objects WHERE cdo_id=2
>> Thread-2 [debug.sql] SELECT classifier, package FROM cdo_classes WHERE
>> id=1
>> Thread-2 [debug.sql] SELECT uri FROM cdo_packages WHERE id=1
>> Thread-2 [debug] SELECT cdo_version, cdo_created, cdo_revised,
>> cdo_resource, cdo_container, cdo_feature FROM PersonList WHERE
>> cdo_id=2 AND cdo_revised=0
>> [ERROR] Revision not found: 2
>> java.lang.IllegalStateException: Revision not found: 2
>> at
>> org.eclipse.emf.cdo.server.internal.db.ClassMapping.readAttr ibutes(ClassMapping.java:560)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.ClassMapping.readRevi sion(ClassMapping.java:528)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.ClassMapping.readRevi sion(ClassMapping.java:501)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreReader.readRev ision(DBStoreReader.java:236)
>>
>> at
>> org.eclipse.emf.cdo.internal.server.RevisionManager.loadRevi sion(RevisionManager.java:210)
>>
>> at
>> org.eclipse.emf.cdo.internal.common.revision.CDORevisionReso lverImpl.getRevision(CDORevisionResolverImpl.java:283)
>>
>> at
>> org.eclipse.emf.cdo.internal.common.revision.CDORevisionReso lverImpl.getRevision(CDORevisionResolverImpl.java:145)
>>
>> at
>> org.eclipse.emf.cdo.internal.server.protocol.LoadRevisionInd ication.getRevision(LoadRevisionIndication.java:171)
>>
>> at
>> org.eclipse.emf.cdo.internal.server.protocol.LoadRevisionInd ication.responding(LoadRevisionIndication.java:147)
>>
>> at
>> org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:54)
>>
>> at
>> org.eclipse.emf.cdo.internal.server.protocol.CDOReadIndicati on.execute(CDOReadIndication.java:38)
>>
>> 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)
>>
>>
>> Any help on what I might do wrong is highly appreciated. The complete
>> log is at the bottom of this mail (please snip when replying).
>>
>> Thanks in advance,
>> Christian
>>
>>
>>
>> =============
>> COMPLETE LOG:
>> =============
>>
>> Configuration location:
>>
>> file:/D:/files/eclipse/workspaces/emf_testing/.metadata/.plu gins/org.eclipse.pde.core/CDOServer.product/
>>
>> Configuration file:
>>
>> file:/D:/files/eclipse/workspaces/emf_testing/.metadata/.plu gins/org.eclipse.pde.core/CDOServer.product/config.ini
>> loaded
>> Install location:
>> file:/D:/files/eclipse/builds/eclipse-SDK-3.4.1/eclipse/
>> Framework located:
>>
>> file:/D:/files/eclipse/builds/eclipse-SDK-3.4.1/eclipse/plug ins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
>>
>> Framework classpath:
>>
>> file:/D:/files/eclipse/builds/eclipse-SDK-3.4.1/eclipse/plug ins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
>>
>> Splash location:
>> null
>> Debug options:
>>
>> file:/D:/files/eclipse/workspaces/emf_testing/.metadata/.plu gins/org.eclipse.pde.core/CDOServer.product/.options
>> loaded
>>
>> osgi> Time to load bundles: 187
>> Starting application: 750
>> main [debug.om] Starting bundle org.eclipse.net4j.util
>> main [debug.lifecycle] Activating ManagedContainer
>> main [debug.lifecycle] Activating {}
>> main [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.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
>> file]
>>
>> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
>> cdo]
>>
>> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
>> cdo]
>>
>> 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.connectors[http]=Factory[org.eclipse.net4j .connectors,
>> http]
>>
>> 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]
>>
>> org.eclipse.net4j.acceptors[http]=Factory[org.eclipse.net4j. acceptors,
>> http]
>> extensionRegistryListener =
>> org.eclipse.net4j.internal.util.factory.PluginFactoryRegistr y$1@22ab57
>>
>> main [debug.lifecycle] Activating []
>> main [debug.om] Starting bundle org.eclipse.emf.cdo
>> main [debug.om] Starting bundle org.eclipse.net4j
>> main [debug.om] Starting bundle org.eclipse.net4j.http.server
>> main [debug.om] Starting bundle org.eclipse.net4j.tcp
>> main [debug.lifecycle.dump] DUMP PluginElementProcessorList@2
>> processors =
>> org.eclipse.emf.internal.cdo.util.ChannelInjector@e49dcd
>> org.eclipse.net4j.util.security.ChallengeNegotiatorConfigure r @1343ed0
>> org.eclipse.net4j.Net4jTransportInjector@107f45d
>> org.eclipse.net4j.http.internal.server.RandomizerInjector@13c0b53
>> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@10b9279
>> extensionRegistryListener =
>> org.eclipse.net4j.internal.util.container.PluginElementProce ssorList$1@192a848
>>
>>
>> main [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.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
>> file]
>>
>> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
>> cdo]
>>
>> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
>> cdo]
>>
>> 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.connectors[http]=Factory[org.eclipse.net4j .connectors,
>> http]
>>
>> 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]
>>
>> org.eclipse.net4j.acceptors[http]=Factory[org.eclipse.net4j. acceptors,
>> http]
>> ManagedContainer.postProcessors =
>> org.eclipse.emf.internal.cdo.util.ChannelInjector@e49dcd
>> org.eclipse.net4j.util.security.ChallengeNegotiatorConfigure r @1343ed0
>> org.eclipse.net4j.Net4jTransportInjector@107f45d
>> org.eclipse.net4j.http.internal.server.RandomizerInjector@13c0b53
>> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@10b9279
>> ManagedContainer.elementRegistry =
>> ManagedContainer.maxElementID = 0
>> ManagedContainer.elementListener =
>> org.eclipse.net4j.util.container.ManagedContainer$1@979e8b
>>
>> main [debug.om] Plugin container created: ManagedContainer
>> main [debug.om] Starting bundle org.eclipse.emf.cdo.server
>> main [debug.om] Starting application org.eclipse.emf.cdo.server.app
>> [INFO] CDO Server starting
>> main [debug.repository] Configuring CDO server from
>> D:\files\eclipse\workspaces\emf_testing\org.eclipse.emf.cdo. server.product\rootfiles\configuration\cdo-server.xml
>>
>> main [debug.repository] Configuring repository repo1 (type=default)
>> main [debug.om] Starting bundle org.eclipse.emf.cdo.common
>> main [debug.model] Created
>> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
>> name=cdocore, dynamic=false, metaIDRange=null, parentURI=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, parentURI=null)
>> main [debug.model] Created
>> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
>> name=cdoresource, dynamic=false, metaIDRange=null, parentURI=null)
>> main [debug.model] Created CDOClass(ID=0, name=CDOResource)
>> main [debug.model] Created CDOFeature(ID=9, name=path, type=STRING)
>> main [debug.model] Adding feature: CDOFeature(ID=9, name=path,
>> type=STRING)
>> main [debug.model] Created CDOFeature(ID=2, name=contents,
>> type=CDOClass(ID=0, name=CDOObject))
>> main [debug.model] Adding feature: CDOFeature(ID=2, name=contents,
>> type=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, parentURI=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[repo1]
>> main [debug.lifecycle] Activating DBStore@4
>> main [debug.sql] CREATE TABLE cdo_features (id INTEGER, class INTEGER,
>> feature INTEGER, name VARCHAR(255), type INTEGER, reference_package
>> VARCHAR(255), reference_classifier INTEGER, many SMALLINT, containment
>> SMALLINT, idx INTEGER)
>> main [debug.sql] -- Table/View 'CDO_FEATURES' already exists in Schema
>> 'APP'.
>> main [debug.sql] CREATE TABLE cdo_classes (id INTEGER, package
>> INTEGER, classifier INTEGER, name VARCHAR(255), abstract SMALLINT)
>> main [debug.sql] -- Table/View 'CDO_CLASSES' already exists in Schema
>> 'APP'.
>> main [debug.sql] CREATE TABLE cdo_packages (id INTEGER, uri
>> VARCHAR(255), name VARCHAR(255), ecore CLOB, dynamic SMALLINT,
>> range_lb BIGINT, range_ub BIGINT, parent VARCHAR(255))
>> main [debug.sql] -- Table/View 'CDO_PACKAGES' already exists in Schema
>> 'APP'.
>> main [debug.sql] CREATE TABLE cdo_supertypes (type_id INTEGER,
>> supertype_package VARCHAR(255), supertype_classifier INTEGER)
>> main [debug.sql] -- Table/View 'CDO_SUPERTYPES' already exists in
>> Schema 'APP'.
>> main [debug.sql] CREATE TABLE cdo_repository (starts BIGINT, started
>> BIGINT, stopped BIGINT, next_cdoid BIGINT, next_metaid BIGINT)
>> main [debug.sql] -- Table/View 'CDO_REPOSITORY' already exists in
>> Schema 'APP'.
>> main [debug.sql] SELECT MAX(next_cdoid) FROM cdo_repository
>> main [debug.sql] SELECT MAX(next_metaid) FROM cdo_repository
>> [WARN] Detected restart after crash
>> main [debug.sql] UPDATE cdo_repository SET starts=starts+1,
>> started=1228145788395, stopped=0, next_cdoid=-1, next_metaid=-1
>> 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@5
>> main [debug.lifecycle.dump] DUMP ObjectTypeCache@5
>> mappingStrategy = horizontal
>> table = null
>> idField = null
>> typeField = null
>> initializeLock = java.lang.Object@1c67248
>>
>> main [debug.lifecycle.dump] DUMP HorizontalMappingStrategy@6
>> MappingStrategy.store = DBStore@4
>> MappingStrategy.properties =
>> toManyReferences=ONE_TABLE_PER_REFERENCE
>> qualifiedNames=false
>> toOneReferences=LIKE_ATTRIBUTES
>> MappingStrategy.referenceTables =
>> MappingStrategy.classRefs =
>> MappingStrategy.resourceClassMapping = null
>> MappingStrategy.resourcePathMapping = null
>> MappingStrategy.resourceTable = null
>> MappingStrategy.resourceIDField = null
>> MappingStrategy.resourcePathField = null
>> objectTypeCache = ObjectTypeCache@5
>>
>> main [debug.lifecycle.dump] DUMP DBStore@4
>> Store.type = db
>> Store.repository = Repository[repo1]
>> Store.lastMetaID = -1
>> LongIDStore.lastObjectID = -1
>> mappingStrategy = horizontal
>> dbSchema = null
>> dbAdapter = derby-embedded-10.3.2.1
>> dbConnectionProvider = org.apache.derby.jdbc.EmbeddedDataSource@9be2b5
>> nextPackageID = 2
>> nextClassID = 3
>> nextFeatureID = 7
>>
>> main [debug.lifecycle] Activating PackageManager@7
>> main [debug.sql] SELECT uri, dynamic, range_lb, range_ub, parent FROM
>> cdo_packages
>> main [debug.model] Created proxy package
>> http://www.ruag.com/panther/person/model/1.0.0, dynamic=true,
>> metaIDRange=[MID1:MID17],
>> parentURI=http://www.ruag.com/panther/person/model/1.0.0
>> main [debug.model] Added package:
>> CDOPackage(URI=http://www.ruag.com/panther/person/model/1.0.0,
>> name=null, dynamic=true, metaIDRange=[MID1:MID17], parentURI=null)
>> main [debug.lifecycle.dump] DUMP PackageManager@7
>> 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, parentURI=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, parentURI=null)
>>
>> http://www.ruag.com/panther/person/model/1.0.0=CDOPackage(URI=http://www.ruag.com/panther/person/model/1.0.0,
>> name=null, dynamic=true, metaIDRange=[MID1:MID17], parentURI=null)
>> CDOPackageManagerImpl.cdoCorePackage =
>> CDOPackage(URI=http://www.eclipse.org/emf/CDO/core/1.0.0,
>> name=cdocore, dynamic=false, metaIDRange=null, parentURI=null)
>> CDOPackageManagerImpl.cdoResourcePackage =
>> CDOPackage(URI=http://www.eclipse.org/emf/CDO/resource/1.0.0,
>> name=cdoresource, dynamic=false, metaIDRange=null, parentURI=null)
>> repository = Repository[repo1]
>>
>> main [debug.sql] SELECT id, name, ecore FROM cdo_packages WHERE uri =
>> 'http://www.ruag.com/panther/person/model/1.0.0'
>> main [debug.model] Setting server info:
>> CDOPackage(URI=http://www.ruag.com/panther/person/model/1.0.0,
>> name=null, dynamic=true, metaIDRange=[MID1:MID17], parentURI=null) --> 1
>> main [debug.sql] SELECT id, classifier, name, abstract FROM
>> cdo_classes WHERE package=1
>> main [debug.model] Created CDOClass(ID=0, name=PersonList)
>> main [debug.model] Setting server info: CDOClass(ID=0,
>> name=PersonList) --> 1
>> main [debug.model] Adding class: CDOClass(ID=0, name=PersonList)
>> main [debug.sql] SELECT supertype_package, supertype_classifier FROM
>> cdo_supertypes WHERE type_id=1
>> main [debug.sql] SELECT id, feature, name, type, reference_package,
>> reference_classifier, many, containment FROM cdo_features WHERE class=1
>> main [debug.model] Created CDOFeature(ID=0, name=personen,
>> type=CDOClassRef(http://www.ruag.com/panther/person/model/1.0.0, 1))
>> main [debug.model] Setting server info: CDOFeature(ID=0,
>> name=personen,
>> type=CDOClassRef(http://www.ruag.com/panther/person/model/1.0.0, 1))
>> --> 1
>> main [debug.model] Adding feature: CDOFeature(ID=0, name=personen,
>> type=CDOClassRef(http://www.ruag.com/panther/person/model/1.0.0, 1))
>> main [debug.model] Created CDOClass(ID=1, name=Person)
>> main [debug.model] Setting server info: CDOClass(ID=1, name=Person) --> 2
>> main [debug.model] Adding class: CDOClass(ID=1, name=Person)
>> main [debug.sql] SELECT supertype_package, supertype_classifier FROM
>> cdo_supertypes WHERE type_id=2
>> main [debug.sql] SELECT id, feature, name, type, reference_package,
>> reference_classifier, many, containment FROM cdo_features WHERE class=2
>> main [debug.model] Created CDOFeature(ID=0, name=vorname, type=STRING)
>> main [debug.model] Setting server info: CDOFeature(ID=0, name=vorname,
>> type=STRING) --> 2
>> main [debug.model] Adding feature: CDOFeature(ID=0, name=vorname,
>> type=STRING)
>> main [debug.model] Created CDOFeature(ID=1, name=nachname, type=STRING)
>> main [debug.model] Setting server info: CDOFeature(ID=1,
>> name=nachname, type=STRING) --> 3
>> main [debug.model] Adding feature: CDOFeature(ID=1, name=nachname,
>> type=STRING)
>> main [debug.model] Created CDOFeature(ID=2, name=plz, type=INT)
>> main [debug.model] Setting server info: CDOFeature(ID=2, name=plz,
>> type=INT) --> 4
>> main [debug.model] Adding feature: CDOFeature(ID=2, name=plz, type=INT)
>> main [debug.model] Created CDOFeature(ID=3, name=wohnort, type=STRING)
>> main [debug.model] Setting server info: CDOFeature(ID=3, name=wohnort,
>> type=STRING) --> 5
>> main [debug.model] Adding feature: CDOFeature(ID=3, name=wohnort,
>> type=STRING)
>> main [debug.model] Created CDOFeature(ID=4, name=geburtsdatum, type=DATE)
>> main [debug.model] Setting server info: CDOFeature(ID=4,
>> name=geburtsdatum, type=DATE) --> 6
>> main [debug.model] Adding feature: CDOFeature(ID=4, name=geburtsdatum,
>> type=DATE)
>> main [debug.model] Setting server info: CDOClass(ID=0,
>> name=CDOResource) --> -2
>> main [debug.sql] SELECT MAX(cdo_id) FROM CDOResource
>> main [debug] Max CDOID of table CDOResource: 1
>> main [debug.sql] SELECT MAX(cdo_id) FROM PersonList
>> main [debug] Max CDOID of table PersonList: 0
>> main [debug.sql] SELECT MAX(cdo_id) FROM Person
>> main [debug] Max CDOID of table Person: 4
>> main [debug.sql] SELECT MAX(range_ub) FROM cdo_packages
>> [INFO] Repaired after crash: maxObjectID=6, maxMetaID=17
>> main [debug.lifecycle] Activating SessionManager@8
>> main [debug.lifecycle.dump] DUMP SessionManager@8
>> repository = Repository[repo1]
>> sessions =
>> lastSessionID = 0
>>
>> main [debug.lifecycle] Activating ResourceManager@9
>> main [debug.lifecycle.dump] DUMP ResourceManager@9
>> repository = Repository[repo1]
>> idToPathMap =
>> pathToIDMap =
>>
>> main [debug.lifecycle] Activating RevisionManager@10
>> main [debug.lifecycle.dump] DUMP RevisionManager@10
>> 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[repo1]
>> cdoPathFeature = CDOFeature(ID=9, name=path, type=STRING)
>>
>> main [debug.lifecycle.dump] DUMP Repository@11
>> name = repo1
>> store = DBStore@4
>> uuid = null
>> properties =
>> revisedLRUCapacity=100
>> supportingAudits=true
>> currentLRUCapacity=10000
>> verifyingRevisions=false
>> overrideUUID=1ff5d226-b1f0-40fb-aba2-0c31b38c764f
>> supportingRevisionDeltas = false
>> supportingAudits = true
>> verifyingRevisions = null
>> packageManager = PackageManager@7
>> sessionManager = SessionManager@8
>> resourceManager = ResourceManager@9
>> revisionManager = RevisionManager@10
>> elements = [Lorg.eclipse.emf.cdo.server.IRepositoryElement;@1296d1d
>> lastMetaID = 17
>>
>> main [debug] Configuring Net4j server from
>> D:\files\eclipse\workspaces\emf_testing\org.eclipse.emf.cdo. server.product\rootfiles\configuration\cdo-server.xml
>>
>> main [debug.lifecycle] Activating BufferPool[4'096]
>> BufferPoolMonitor [debug.buffer] Start monitoring
>> main [debug.lifecycle.dump] DUMP BufferPool@12
>> BufferProvider.bufferCapacity = 4096
>> BufferProvider.providedBuffers = 0
>> BufferProvider.retainedBuffers = 0
>> provider = BufferFactory[4'096]
>> pooledBuffers = 0
>>
>> main [debug.lifecycle] Activating TCPSelector
>> main [debug.lifecycle.dump] DUMP TCPSelector@13
>> selector = sun.nio.ch.WindowsSelectorImpl@1a3aa2c
>> clientOperations =
>> serverOperations =
>> thread = Thread[TCPSelector,5,main]
>> running = true
>>
>> main [debug.lifecycle] Activating TCPAcceptor[0.0.0.0:2'036]
>> main [debug] Ordering server operation REGISTER
>> sun.nio.ch.ServerSocketChannelImpl[unbound]
>> TCPSelector [debug] Executing server operation REGISTER
>> sun.nio.ch.ServerSocketChannelImpl[unbound]
>> TCPSelector [debug] Registering
>> sun.nio.ch.ServerSocketChannelImpl[unbound]
>> main [debug.lifecycle.dump] DUMP TCPAcceptor@14
>> 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.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
>> file]
>>
>> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
>> cdo]
>>
>> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
>> cdo]
>>
>> 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.connectors[http]=Factory[org.eclipse.net4j .connectors,
>> http]
>>
>> 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]
>>
>> org.eclipse.net4j.acceptors[http]=Factory[org.eclipse.net4j. acceptors,
>> http]
>> Acceptor.protocolPostProcessors =
>> org.eclipse.emf.internal.cdo.util.ChannelInjector@e49dcd
>> org.eclipse.net4j.util.security.ChallengeNegotiatorConfigure r @1343ed0
>> org.eclipse.net4j.Net4jTransportInjector@107f45d
>> org.eclipse.net4j.http.internal.server.RandomizerInjector@13c0b53
>> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@10b9279
>> Acceptor.receiveExecutor =
>> java.util.concurrent.ThreadPoolExecutor@1ca1588
>> Acceptor.connectorListener =
>> org.eclipse.internal.net4j.acceptor.Acceptor$1@4bb369
>> Acceptor.acceptedConnectors =
>> selector = TCPSelector
>> selectionKey = sun.nio.ch.SelectionKeyImpl@9dd6e2
>> startSynchronously = true
>> synchronousStartTimeout = 4000
>> startLatch = java.util.concurrent.CountDownLatch@1abdac9[Count = 0]
>> serverSocketChannel = sun.nio.ch.ServerSocketChannelImpl[/0.0.0.0:2036]
>> address = 0.0.0.0
>> port = 2036
>>
>> [INFO] CDO Server started
>> Application Started: 2859
>> TCPSelector [debug] Accepting
>> sun.nio.ch.ServerSocketChannelImpl[/0.0.0.0:2036]
>> TCPSelector [debug] Accepted socketChannel
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195]
>> TCPSelector [debug.lifecycle] Activating
>> ServerTCPConnector[127.0.0.1:3'195]
>> TCPSelector [debug.connector] Setting state CONNECTING (was
>> disconnected) for ServerTCPConnector[127.0.0.1:3'195]
>> TCPSelector [debug.lifecycle] Activating Channel[Control]
>> TCPSelector [debug.lifecycle] Activating ChannelReceiveSerializer@15
>> TCPSelector [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@15
>> Worker.daemon = false
>> Worker.activationTimeout = 2000
>> Worker.deactivationTimeout = 2000
>> Worker.activationLatch =
>> java.util.concurrent.CountDownLatch@14426a6[Count = 0]
>> Worker.workerThread = Thread[ReceiveSerializer-1,5,main]
>> QueueWorker.queue =
>> QueueWorker.pollMillis = 100
>>
>> TCPSelector [debug.lifecycle.dump] DUMP ControlChannel@16
>> Channel.channelID = 0
>> Channel.channelMultiplexer = ServerTCPConnector[127.0.0.1:3'195]
>> Channel.channelIndex = -1
>> Channel.receiveExecutor =
>> java.util.concurrent.ThreadPoolExecutor@1ca1588
>> Channel.receiveHandler = null
>> Channel.receiveSerializer = ChannelReceiveSerializer@15
>> Channel.sendQueue =
>> registrations = SynchronizingCorrelator{}
>>
>> TCPSelector [debug] Ordering server operation REGISTER
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195]
>> TCPSelector [debug] Executing server operation REGISTER
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195]
>> TCPSelector [debug] Registering
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195]
>> TCPSelector [debug.connector] Setting state CONNECTED (was connecting)
>> for ServerTCPConnector[127.0.0.1:3'195]
>> TCPSelector [debug.lifecycle.dump] DUMP TCPServerConnector@17
>> 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.userManagers[file]=Factory[org.eclipse.net 4j.userManagers,
>> file]
>>
>> org.eclipse.net4j.clientProtocols[cdo]=Factory[org.eclipse.n et4j.clientProtocols,
>> cdo]
>>
>> org.eclipse.net4j.serverProtocols[cdo]=Factory[org.eclipse.n et4j.serverProtocols,
>> cdo]
>>
>> 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.connectors[http]=Factory[org.eclipse.net4j .connectors,
>> http]
>>
>> 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]
>>
>> org.eclipse.net4j.acceptors[http]=Factory[org.eclipse.net4j. acceptors,
>> http]
>> Connector.protocolPostProcessors =
>> org.eclipse.emf.internal.cdo.util.ChannelInjector@e49dcd
>> org.eclipse.net4j.util.security.ChallengeNegotiatorConfigure r @1343ed0
>> org.eclipse.net4j.Net4jTransportInjector@107f45d
>> org.eclipse.net4j.http.internal.server.RandomizerInjector@13c0b53
>> org.eclipse.net4j.internal.tcp.TCPSelectorInjector@10b9279
>> Connector.negotiator = null
>> Connector.negotiationContext = null
>> Connector.bufferProvider = BufferPool[4'096]
>> Connector.receiveExecutor =
>> java.util.concurrent.ThreadPoolExecutor@1ca1588
>> Connector.nextChannelID = 1
>> Connector.channels =
>> Connector.channelsLock =
>> org.eclipse.net4j.util.concurrent.RWLock@1c01ba9[Write locks = 0, Read
>> locks = 0]
>> Connector.connectorState = CONNECTED
>> Connector.channelListener =
>> org.eclipse.internal.net4j.connector.Connector$1@1582a7c
>> Connector.finishedConnecting =
>> java.util.concurrent.CountDownLatch@14d556e[Count = 1]
>> Connector.finishedNegotiating =
>> java.util.concurrent.CountDownLatch@23d275[Count = 1]
>> TCPConnector.socketChannel =
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195]
>> TCPConnector.selector = TCPSelector
>> TCPConnector.selectionKey = sun.nio.ch.SelectionKeyImpl@5cc942
>> TCPConnector.writeQueue =
>> TCPConnector.inputBuffer = null
>> TCPConnector.controlChannel = Channel[Control]
>> TCPConnector.host = null
>> TCPConnector.port = 0
>> acceptor = TCPAcceptor[0.0.0.0:2'036]
>>
>> TCPSelector [debug.acceptor] Added connector
>> ServerTCPConnector[127.0.0.1:3'195]
>> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
>> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
>> TCPSelector [debug.buffer] Created Buffer@18
>> TCPSelector [debug.buffer] Obtained Buffer@18
>> TCPSelector [debug.buffer] Read 12 bytes
>> 02 00 00 00 01 00 00 00 03 63 64 6f
>> TCPSelector [debug.lifecycle] Activating SignalProtocol[cdo]
>> TCPSelector [debug.lifecycle.dump] DUMP CDOServerProtocol@19
>> Protocol.channel = Channel[-32'768]
>> Protocol.bufferProvider = BufferPool[4'096]
>> Protocol.executorService =
>> java.util.concurrent.ThreadPoolExecutor@1ca1588
>> Protocol.infraStructure =
>> org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider @109da93
>> SignalProtocol.streamWrapper = null
>> SignalProtocol.signals =
>> SignalProtocol.nextCorrelationID = 1
>>
>> TCPSelector [debug.connector] Opening channel ID 1 with protocol cdo
>> TCPSelector [debug.lifecycle] Activating Channel[0]
>> TCPSelector [debug.lifecycle] Activating ChannelReceiveSerializer@20
>> TCPSelector [debug.lifecycle.dump] DUMP ChannelReceiveSerializer@20
>> Worker.daemon = false
>> Worker.activationTimeout = 2000
>> Worker.deactivationTimeout = 2000
>> Worker.activationLatch =
>> java.util.concurrent.CountDownLatch@145e5a6[Count = 0]
>> Worker.workerThread = Thread[ReceiveSerializer0,5,main]
>> QueueWorker.queue =
>> QueueWorker.pollMillis = 100
>>
>> TCPSelector [debug.lifecycle.dump] DUMP Channel@21
>> channelID = 1
>> channelMultiplexer = ServerTCPConnector[127.0.0.1:3'195]
>> channelIndex = 0
>> receiveExecutor = java.util.concurrent.ThreadPoolExecutor@1ca1588
>> receiveHandler = SignalProtocol[cdo]
>> receiveSerializer = ChannelReceiveSerializer@20
>> sendQueue =
>>
>> TCPSelector [debug.buffer] Created Buffer@22
>> TCPSelector [debug.buffer] Obtained Buffer@22
>> TCPSelector [debug.channel] Handling buffer from client: Buffer@22 -->
>> Channel[Control]
>> TCPSelector [debug] Ordering server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = true
>> TCPSelector [debug.buffer] Retaining Buffer@18
>> TCPSelector [debug] Executing server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = true
>> TCPSelector [debug] Setting interest READ|WRITE (was read)
>> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected
>> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
>> TCPSelector [debug.buffer] Writing 4 bytes
>> 03 00 00 01
>> TCPSelector [debug.buffer] Retaining Buffer@22
>> TCPSelector [debug] Ordering server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = false
>> TCPSelector [debug] Executing server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = false
>> TCPSelector [debug] Setting interest READ (was read|write)
>> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
>> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
>> TCPSelector [debug.buffer] Obtained Buffer@18
>> TCPSelector [debug.buffer] Read 16 bytes (EOS)
>> 00 00 00 01 00 01 01 00 05 72 65 70 6f 31 00 00
>> TCPSelector [debug.channel] Handling buffer from multiplexer:
>> Buffer@18 --> Channel[0]
>> ReceiveSerializer0 [debug.signal] Received buffer for correlation 1
>> ReceiveSerializer0 [debug.signal] Got signal id 1
>> Thread-2 [debug.signal] ================ Indicating OpenSessionIndication
>> Thread-2 [debug.protocol] Read repositoryName: repo1
>> Thread-2 [debug.buffer] Retaining Buffer@18
>> Thread-2 [debug.protocol] Read legacySupportEnabled: false
>> Thread-2 [debug.signal] ================ Responding OpenSessionIndication
>> Thread-2 [debug.session] Opening session 1
>> Thread-2 [debug.lifecycle] Activating Session[1, Channel[0]]
>> Thread-2 [debug.lifecycle.dump] DUMP Session@23
>> sessionManager = SessionManager@8
>> protocol = SignalProtocol[cdo]
>> sessionID = 1
>> legacySupportEnabled = false
>> views =
>> protocolListener = org.eclipse.emf.cdo.internal.server.Session$1@1f2edd2
>>
>> Thread-2 [debug.protocol] Writing sessionID: 1
>> Thread-2 [debug.buffer] Obtained Buffer@22
>> Thread-2 [debug.protocol] Writing repositoryUUID:
>> 1ff5d226-b1f0-40fb-aba2-0c31b38c764f
>> Thread-2 [debug.protocol] Writing factory name:
>> org.eclipse.emf.cdo.spi.common.CDOIDLongFactoryImpl
>> Thread-2 [debug.protocol] Writing 0 library names
>> Thread-2 [debug.protocol] Writing package info:
>> uri=http://www.ruag.com/panther/person/model/1.0.0, dynamic=true,
>> metaIDRange=[MID1:MID17], parentURI=null
>> Thread-2 [debug.model] Writing CDOID of type 4 (META)
>> Thread-2 [debug.channel] Handling buffer from client: Buffer@22 -->
>> Channel[0]
>> Thread-2 [debug] Ordering server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = true
>> TCPSelector [debug] Executing server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = true
>> TCPSelector [debug] Setting interest READ|WRITE (was read)
>> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected
>> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
>> TCPSelector [debug.buffer] Writing 174 bytes (EOS)
>> 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 01 00 33 6f 72 67 2e 65 63 6c 69 70 73 65 2e 65 6d 66 2e 63 64
>> 6f 2e 73 70 69 2e 63 6f 6d 6d 6f 6e 2e 43 44 4f 49 44 4c 6f 6e 67 46
>> 61 63 74 6f 72 79 49 6d 70 6c 00 00 00 00 00 01 00 2e 68 74 74 70 3a
>> 2f 2f 77 77 77 2e 72 75 61 67 2e 63 6f 6d 2f 70 61 6e 74 68 65 72 2f
>> 70 65 72 73 6f 6e 2f 6d 6f 64 65 6c 2f 31 2e 30 2e 30 00 01 01 04 00
>> 00 00 00 00 00 00 01 00 00 00 11 00 00
>> TCPSelector [debug.buffer] Retaining Buffer@22
>> TCPSelector [debug] Ordering server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = false
>> TCPSelector [debug] Executing server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = false
>> TCPSelector [debug] Setting interest READ (was read|write)
>> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
>> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
>> TCPSelector [debug.buffer] Obtained Buffer@18
>> TCPSelector [debug.buffer] Read 11 bytes (EOS)
>> 00 00 00 02 00 03 00 00 00 01 01
>> TCPSelector [debug.channel] Handling buffer from multiplexer:
>> Buffer@18 --> Channel[0]
>> ReceiveSerializer0 [debug.signal] Received buffer for correlation 2
>> ReceiveSerializer0 [debug.signal] Got signal id 3
>> Thread-2 [debug.signal] ================ Indicating
>> ViewsChangedIndication
>> Thread-2 [debug.buffer] Retaining Buffer@18
>> Thread-2 [debug.signal] ================ Responding
>> ViewsChangedIndication
>> Thread-2 [debug.buffer] Obtained Buffer@22
>> Thread-2 [debug.channel] Handling buffer from client: Buffer@22 -->
>> Channel[0]
>> Thread-2 [debug] Ordering server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = true
>> TCPSelector [debug] Executing server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = true
>> TCPSelector [debug] Setting interest READ|WRITE (was read)
>> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected
>> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
>> TCPSelector [debug.buffer] Writing 5 bytes (EOS)
>> 00 00 00 01 01
>> TCPSelector [debug.buffer] Retaining Buffer@22
>> TCPSelector [debug] Ordering server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = false
>> TCPSelector [debug] Executing server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = false
>> TCPSelector [debug] Setting interest READ (was read|write)
>> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
>> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
>> TCPSelector [debug.buffer] Obtained Buffer@18
>> TCPSelector [debug.buffer] Read 27 bytes (EOS)
>> 00 00 00 03 00 04 01 00 11 2f 70 65 72 73 6f 6e 65 6e 2f 70 65 72 73
>> 6f 6e 31 00
>> TCPSelector [debug.channel] Handling buffer from multiplexer:
>> Buffer@18 --> Channel[0]
>> ReceiveSerializer0 [debug.signal] Received buffer for correlation 3
>> ReceiveSerializer0 [debug.signal] Got signal id 4
>> Thread-2 [debug.signal] ================ Indicating ResourceIDIndication
>> Thread-2 [debug.buffer] Retaining Buffer@18
>> Thread-2 [debug.protocol] Read path: /personen/person1
>> Thread-2 [debug] SELECT cdo_id FROM CDOResource WHERE
>> path='/personen/person1'
>> Thread-2 [debug.session] Registering resource: OID1 <-->
>> /personen/person1
>> Thread-2 [debug.signal] ================ Responding ResourceIDIndication
>> Thread-2 [debug.protocol] Writing ID: OID1
>> Thread-2 [debug.model] Writing CDOID of type 1 (OBJECT)
>> Thread-2 [debug.buffer] Obtained Buffer@22
>> Thread-2 [debug.channel] Handling buffer from client: Buffer@22 -->
>> Channel[0]
>> Thread-2 [debug] Ordering server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = true
>> TCPSelector [debug] Executing server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = true
>> TCPSelector [debug] Setting interest READ|WRITE (was read)
>> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected
>> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
>> TCPSelector [debug.buffer] Writing 13 bytes (EOS)
>> 00 00 00 02 01 00 00 00 00 00 00 00 01
>> TCPSelector [debug.buffer] Retaining Buffer@22
>> TCPSelector [debug] Ordering server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = false
>> TCPSelector [debug] Executing server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = false
>> TCPSelector [debug] Setting interest READ (was read|write)
>> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
>> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
>> TCPSelector [debug.buffer] Obtained Buffer@18
>> TCPSelector [debug.buffer] Read 27 bytes (EOS)
>> 00 00 00 04 00 04 01 00 11 2f 70 65 72 73 6f 6e 65 6e 2f 70 65 72 73
>> 6f 6e 31 00
>> TCPSelector [debug.channel] Handling buffer from multiplexer:
>> Buffer@18 --> Channel[0]
>> ReceiveSerializer0 [debug.signal] Received buffer for correlation 4
>> ReceiveSerializer0 [debug.signal] Got signal id 4
>> Thread-2 [debug.signal] ================ Indicating ResourceIDIndication
>> Thread-2 [debug.buffer] Retaining Buffer@18
>> Thread-2 [debug.protocol] Read path: /personen/person1
>> Thread-2 [debug.signal] ================ Responding ResourceIDIndication
>> Thread-2 [debug.protocol] Writing ID: OID1
>> Thread-2 [debug.model] Writing CDOID of type 1 (OBJECT)
>> Thread-2 [debug.buffer] Obtained Buffer@22
>> Thread-2 [debug.channel] Handling buffer from client: Buffer@22 -->
>> Channel[0]
>> Thread-2 [debug] Ordering server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = true
>> TCPSelector [debug] Executing server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = true
>> TCPSelector [debug] Setting interest READ|WRITE (was read)
>> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected
>> local=/127.0.0.1:2036 remote=/127.0.0.1:3195]
>> TCPSelector [debug.buffer] Writing 13 bytes (EOS)
>> 00 00 00 03 01 00 00 00 00 00 00 00 01
>> TCPSelector [debug.buffer] Retaining Buffer@22
>> TCPSelector [debug] Ordering server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = false
>> TCPSelector [debug] Executing server operation INTEREST WRITE
>> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
>> remote=/127.0.0.1:3195] = false
>> TCPSelector [debug] Setting interest READ (was read|write)
>> TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected
>> local=/127.0.0.1:2036 remote=/127.
Re: CDO 1.0.4 problem: Revision not found [message #425580 is a reply to message #425565] Tue, 02 December 2008 14:17 Go to previous message
Christian Hauser is currently offline Christian HauserFriend
Messages: 189
Registered: July 2009
Senior Member
Thanks Simon for your response. I didn't reset the database.

Now that I set up the database again it works. Thanks.

Christian


Simon McDuff wrote:
> Yes I remembered a fix we did previously that could cause that if you
> are using an old database. (objects created with 1.0.0)
>
> Can you confirm that you didn't reset your database ?
>
> But without that fix you could not be able to modify that object.
>
>
> This is what could cause the problems:
>
> BEFORE
>
> if (attributeMappings != null)
> {
> writeAttributes(storeWriter, (InternalCDORevision)revision);
> }
>
> AFTER
> writeAttributes(storeWriter, (InternalCDORevision)revision);
>
> /**
> 252982: [DB] exception when trying to commit changes
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=252982
> **/
>
> Basically, before that patch some data wasn't inserted in the database..
> like the version and revision value.
>
> Simon
Previous Topic:OrderBy example?
Next Topic:EStore: remove method is invoked right after an adding
Goto Forum:
  


Current Time: Tue Feb 25 16:26:35 GMT 2020

Powered by FUDForum. Page generated in 0.01673 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top