Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Problem after CDO Source Installation(Alter the CDO Source Installation i got exceptions with every commit.)
[CDO] Problem after CDO Source Installation [message #634072] Wed, 20 October 2010 13:03 Go to next message
Vincent Wienecke is currently offline Vincent WieneckeFriend
Messages: 3
Registered: October 2010
Junior Member
Hi, i am new in the CDO world and i try to get feeling for it and experience.

First i installed the CDO client plugins (with net4j Plugins) in a fresh and updated Eclipse (Eclipse Modelling Tools version).

After this i installed the CDO Source accurately after this instruction:
http://wiki.eclipse.org/CDO_Source_Installation

I started the default "CDOServer" Eclipse Application Configuration and it started without an error. I prepared a simple EMF project with the giving instruction (http://wiki.eclipse.org/Preparing_EMF_Models_for_CDO).

With the first commit, which i do after an other instruction (http://wiki.eclipse.org/Using_the_CDO_User_Interface), i got some exceptions. (Output at the end of this post)

I repeaded the steps of the installation instruction, but i got always the same exceptions.

I looks like a incomplete InputSream. I try to isolate the problem in the last IF-loop of the StoreAccessor->write(). Without this IF-loop the commit works, but i get exceptions if i try to load the commited resource (which i expected).

I have no idea, what is going wrong. I make everything after an instruction a the exceptions give no hints to me.

Have anybody an idea, what the problem is ?

Here is the output, which i get, if i try to commit a resource (without any changes in the source code):

################
### client output ###
################

org.eclipse.net4j.signal.RemoteException: org.eclipse.net4j.util.WrappedException: java.io.EOFException
at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
... 17 more

org.eclipse.net4j.signal.RemoteException: org.eclipse.net4j.signal.RemoteException: org.eclipse.net4j.util.WrappedException: java.io.EOFException
at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
... 17 more

at org.eclipse.net4j.signal.RequestWithConfirmation.setRemoteEx ception(RequestWithConfirmation.java:128)
at org.eclipse.net4j.signal.SignalProtocol.handleRemoteExceptio n(SignalProtocol.java:535)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:53)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.eclipse.net4j.signal.RemoteException: org.eclipse.net4j.util.WrappedException: java.io.EOFException
at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
... 17 more

at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:50)
... 8 more


#################
### server output ###
#################

Thread-22 [debug] Writing revision: Institut@OID2:0v1
Thread-22 [debug.sql] prep7: INSERT IGNORE INTO cdo_objects(cdo_id,cdo_class,cdo_created) VALUES (?, ?, ?) {1: 2, 2: 482, 3: 1287576006625};
Thread-22 [debug.sql] prep13: INSERT IGNORE INTO Institut(cdo_id, cdo_version, cdo_branch, cdo_class, cdo_created, cdo_revised, cdo_resource, cdo_container, cdo_feature, Name) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) {1: 2, 2: 1, 3: 0, 4: 482, 5: 1287576006625, 6: 0, 7: 3, 8: 0, 9: 0, 10: 'Informatik'};
Thread-22 [debug] Writing revision: CDOResource@OID3:0v1
Thread-22 [debug.sql] prep7: INSERT IGNORE INTO cdo_objects(cdo_id,cdo_class,cdo_created) VALUES (?, ?, ?) {1: 3, 2: 441, 3: 1287576006625};
Thread-22 [debug] Created Resource Query: prep14: SELECT cdo_id FROM CDOResourceFolder WHERE cdo_version>0 AND cdo_branch=? AND cdo_container=? AND name =? AND (cdo_revised=0) {1: 0, 2: 0, 3: 'res1'};
Thread-22 [debug] Created Resource Query: prep15: SELECT cdo_id FROM CDOResource WHERE cdo_version>0 AND cdo_branch=? AND cdo_container=? AND name =? AND (cdo_revised=0) {1: 0, 2: 0, 3: 'res1'};
Thread-22 [debug] TypeMapping for folder: writing Revision.null as DB.null
Thread-22 [debug.sql] prep10: INSERT IGNORE INTO CDOResource(cdo_id, cdo_version, cdo_branch, cdo_class, cdo_created, cdo_revised, cdo_resource, cdo_container, cdo_feature, folder, name) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) {1: 3, 2: 1, 3: 0, 4: 441, 5: 1287576006625, 6: 0, 7: 1, 8: 0, 9: 0, 10: NULL, 11: 'res1'};
Thread-22 [debug] Writing value for feature CDOResource.contents index 0 of OID3v1 : OID2
Thread-22 [debug.sql] prep16: INSERT IGNORE INTO CDOResource_contents_list(cdo_source, cdo_branch, cdo_version, cdo_idx, cdo_value) VALUES (?, ?, ?, ?, ?) {1: 3, 2: 0, 3: 1, 4: 0, 5: 2};
Thread-22 [debug] Writing revision: CDOResource@OID1:0v2
Thread-22 [debug.sql] prep17: UPDATE CDOResource SET cdo_revised=? WHERE cdo_id=? AND cdo_branch=? AND cdo_revised=0 {1: 1287576006624, 2: 1, 3: 0};
Thread-22 [debug] Created Resource Query: prep8: SELECT cdo_id FROM CDOResourceFolder WHERE cdo_version>0 AND cdo_branch=? AND cdo_container=? AND name IS NULL AND (cdo_revised=0) {1: 0, 2: 0};
Thread-22 [debug] Created Resource Query: prep9: SELECT cdo_id FROM CDOResource WHERE cdo_version>0 AND cdo_branch=? AND cdo_container=? AND name IS NULL AND (cdo_revised=0) {1: 0, 2: 0};
Thread-22 [debug] TypeMapping for folder: writing Revision.null as DB.null
Thread-22 [debug] TypeMapping for name: writing Revision.null as DB.null
Thread-22 [debug.sql] prep10: INSERT IGNORE INTO CDOResource(cdo_id, cdo_version, cdo_branch, cdo_class, cdo_created, cdo_revised, cdo_resource, cdo_container, cdo_feature, folder, name) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) {1: 1, 2: 2, 3: 0, 4: 441, 5: 1287576006625, 6: 0, 7: 1, 8: 0, 9: 0, 10: NULL, 11: NULL};
Thread-22 [debug] Writing value for feature CDOResource.contents index 0 of OID1v2 : OID3
Thread-22 [debug.sql] prep16: INSERT IGNORE INTO CDOResource_contents_list(cdo_source, cdo_branch, cdo_version, cdo_idx, cdo_value) VALUES (?, ?, ?, ?, ?) {1: 1, 2: 0, 3: 2, 4: 0, 5: 3};
[ERROR] java.io.EOFException
org.eclipse.net4j.util.WrappedException: java.io.EOFException
at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
... 17 more
Thread-22 [debug] Rolling back transaction: Transaction[2:1]
Thread-22 [debug] --- DB ROLLBACK ---
Thread-22 [debug.sql] DROP TABLE Person
Thread-22 [debug.sql] DROP TABLE Mitarbeiter
Thread-22 [debug.sql] DROP TABLE Student
Thread-22 [debug.sql] DROP TABLE Institut
Thread-22 [debug.sql] DROP TABLE Vorlesung
Thread-22 [debug.sql] DROP TABLE Vorlesung_Hörer_list
[ERROR] java.io.EOFException
org.eclipse.net4j.util.WrappedException: java.io.EOFException
at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
... 17 more
Thread-22 [debug.signal] ================ Requesting: Signal[protocol=cdo, id=-1, name=RemoteExceptionRequest, correlation=1]
Thread-22 [debug.signal] Writing remote exception for signal 5: org.eclipse.net4j.util.WrappedException: java.io.EOFException

Thread-22 [debug.buffer] Obtained Buffer@41[INITIAL]
Thread-22 [debug.buffer.stream] Put signal id -1
Thread-22 [debug.channel] Handling buffer: Buffer@41[PUTTING] --> Channel[1, SERVER]
Thread-22 [debug] Ordering server operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036 remote=/127.0.0.1:1910] = true
TCPSelector [debug] Executing server operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036 remote=/127.0.0.1:1910] = true
TCPSelector [debug] Setting interest READ|WRITE (was read)
Thread-22 [debug.buffer] Obtained Buffer@37[INITIAL]
TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036 remote=/127.0.0.1:1910]
TCPSelector [debug.buffer] Writing 4092 bytes
00 00 .... 7f [ERROR] java.io.EOFException
org.eclipse.net4j.util.WrappedException: java.io.EOFException
at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
... 17 more

TCPSelector [debug.buffer] Retaining Buffer@41[RELEASED]
TCPSelector [debug] Ordering server operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036 remote=/127.0.0.1:1910] = false
TCPSelector [debug] Executing server operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036 remote=/127.0.0.1:1910] = false
TCPSelector [debug] Setting interest READ (was read|write)

[Updated on: Wed, 20 October 2010 13:07]

Report message to a moderator

Re: [CDO] Problem after CDO Source Installation [message #634091 is a reply to message #634072] Wed, 20 October 2010 13:51 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 307
Registered: July 2009
Location: Germany
Senior Member
Hi Vincent,

can you indicate which version of CDO, which platform and which DB you
are using?

Thanks,
Stefan


On 20.10.2010 15:03, Vincent Wienecke wrote:
> Hi, i am new in the CDO world and i try to get feeling for it and
> experience.
> First i installed the CDO client plugins (with net4j Plugins) in a fresh
> and updated Eclipse (Eclipse Modelling Tools version).
>
> After this i installed the CDO Source accurately after this instruction:
> http://wiki.eclipse.org/CDO_Source_Installation
>
> I started the default "CDOServer" Eclipse Application Configuration and
> it started without an error. I prepared a simple EMF project with the
> giving instruction (http://wiki.eclipse.org/Preparing_EMF_Models_for_CDO).
> With the first commit, which i do after an other instruction
> (http://wiki.eclipse.org/Using_the_CDO_User_Interface), i got some
> exceptions. (Output at the end of this post)
>
> I repeaded the steps of the installation instruction, but i got always
> the same exceptions.
> I looks like a incomplete InputSream. I try to isolate the problem in
> the last IF-loop of the StoreAccessor->write(). Without this IF-loop the
> commit works, but i get exceptions if i try to load the commited
> resource (which i expected).
> Here is the output, which i get, if i try to commit a resource (without
> any changes in the source code):
>
> ################
> ### client output ###
> ################
>
> org.eclipse.net4j.signal.RemoteException:
> org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext
> .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr
> ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating
> (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn
> put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi
> cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In
> dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa
> dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:206)
> ... 17 more
>
> org.eclipse.net4j.signal.RemoteException:
> org.eclipse.net4j.signal.RemoteException:
> org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext
> .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr
> ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating
> (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn
> put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi
> cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In
> dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa
> dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:206)
> ... 17 more
>
> at org.eclipse.net4j.signal.RequestWithConfirmation.setRemoteEx
> ception(RequestWithConfirmation.java:128)
> at org.eclipse.net4j.signal.SignalProtocol.handleRemoteExceptio
> n(SignalProtocol.java:535)
> at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin
> g(RemoteExceptionIndication.java:53)
> at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
> at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa
> dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: org.eclipse.net4j.signal.RemoteException:
> org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext
> .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr
> ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating
> (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn
> put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi
> cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In
> dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa
> dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:206)
> ... 17 more
>
> at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin
> g(RemoteExceptionIndication.java:50)
> ... 8 more
>
>
> #################
> ### server output ###
> #################
>
> Thread-22 [debug] Writing revision: mailto:Institut@OID2:0v1
> Thread-22 [debug.sql] prep7: INSERT INTO
> cdo_objects(cdo_id,cdo_class,cdo_created) VALUES (?, ?, ?) {1: 2, 2:
> 482, 3: 1287576006625};
> Thread-22 [debug.sql] prep13: INSERT IGNORE INTO Institut(cdo_id, cdo_version,
> cdo_branch, cdo_class, cdo_created, cdo_revised, cdo_resource,
> cdo_container, cdo_feature, Name) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
> {1: 2, 2: 1, 3: 0, 4: 482, 5: 1287576006625, 6: 0, 7: 3, 8: 0, 9: 0, 10:
> 'Informatik'};
> Thread-22 [debug] Writing revision: mailto:CDOResource@OID3:0v1
> Thread-22 [debug.sql] prep7: INSERT INTO
> cdo_objects(cdo_id,cdo_class,cdo_created) VALUES (?, ?, ?) {1: 3, 2:
> 441, 3: 1287576006625};
> Thread-22 [debug] Created Resource Query: prep14: SELECT cdo_id FROM
> CDOResourceFolder WHERE cdo_version>0 AND cdo_branch=? AND
> cdo_container=? AND name =? AND (cdo_revised=0) {1: 0, 2: 0, 3: 'res1'};
> Thread-22 [debug] Created Resource Query: prep15: SELECT cdo_id FROM
> CDOResource WHERE cdo_version>0 AND cdo_branch=? AND cdo_container=? AND
> name =? AND (cdo_revised=0) {1: 0, 2: 0, 3: 'res1'};
> Thread-22 [debug] TypeMapping for folder: writing Revision.null as DB.null
> Thread-22 [debug.sql] prep10: INSERT IGNORE INTO CDOResource(cdo_id,
> cdo_version, cdo_branch, cdo_class, cdo_created, cdo_revised,
> cdo_resource, cdo_container, cdo_feature, folder, name) VALUES (?, ?, ?,
> ?, ?, ?, ?, ?, ?, ?, ?) {1: 3, 2: 1, 3: 0, 4: 441, 5: 1287576006625, 6:
> 0, 7: 1, 8: 0, 9: 0, 10: NULL, 11: 'res1'};
> Thread-22 [debug] Writing value for feature CDOResource.contents index 0
> of OID3v1 : OID2
> Thread-22 [debug.sql] prep16: INSERT INTO
> CDOResource_contents_list(cdo_source, cdo_branch, cdo_version, cdo_idx,
> cdo_value) VALUES (?, ?, ?, ?, ?) {1: 3, 2: 0, 3: 1, 4: 0, 5: 2};
> Thread-22 [debug] Writing revision: mailto:CDOResource@OID1:0v2
> Thread-22 [debug.sql] prep17: UPDATE CDOResource SET cdo_revised=? WHERE
> cdo_id=? AND cdo_branch=? AND cdo_revised=0 {1: 1287576006624, 2: 1, 3: 0};
> Thread-22 [debug] Created Resource Query: prep8: SELECT cdo_id FROM
> CDOResourceFolder WHERE cdo_version>0 AND cdo_branch=? AND
> cdo_container=? AND name IS NULL AND (cdo_revised=0) {1: 0, 2: 0};
> Thread-22 [debug] Created Resource Query: prep9: SELECT cdo_id FROM
> CDOResource WHERE cdo_version>0 AND cdo_branch=? AND cdo_container=? AND
> name IS NULL AND (cdo_revised=0) {1: 0, 2: 0};
> Thread-22 [debug] TypeMapping for folder: writing Revision.null as DB.null
> Thread-22 [debug] TypeMapping for name: writing Revision.null as DB.null
> Thread-22 [debug.sql] prep10: INSERT IGNORE INTO CDOResource(cdo_id,
> cdo_version, cdo_branch, cdo_class, cdo_created, cdo_revised,
> cdo_resource, cdo_container, cdo_feature, folder, name) VALUES (?, ?, ?,
> ?, ?, ?, ?, ?, ?, ?, ?) {1: 1, 2: 2, 3: 0, 4: 441, 5: 1287576006625, 6:
> 0, 7: 1, 8: 0, 9: 0, 10: NULL, 11: NULL};
> Thread-22 [debug] Writing value for feature CDOResource.contents index 0
> of OID1v2 : OID3
> Thread-22 [debug.sql] prep16: INSERT INTO
> CDOResource_contents_list(cdo_source, cdo_branch, cdo_version, cdo_idx,
> cdo_value) VALUES (?, ?, ?, ?, ?) {1: 1, 2: 0, 3: 2, 4: 0, 5: 3};
> [ERROR] java.io.EOFException
> org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext
> .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr
> ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating
> (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn
> put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi
> cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In
> dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa
> dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:206)
> ... 17 more
> Thread-22 [debug] Rolling back transaction: Transaction[2:1]
> Thread-22 [debug] --- DB ROLLBACK ---
> Thread-22 [debug.sql] DROP TABLE Person
> Thread-22 [debug.sql] DROP TABLE Mitarbeiter
> Thread-22 [debug.sql] DROP TABLE Student
> Thread-22 [debug.sql] DROP TABLE Institut
> Thread-22 [debug.sql] DROP TABLE Vorlesung
> Thread-22 [debug.sql] DROP TABLE Vorlesung_Hörer_list
> [ERROR] java.io.EOFException
> org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext
> .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr
> ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating
> (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn
> put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi
> cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In
> dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa
> dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:206)
> ... 17 more
> Thread-22 [debug.signal] ================ Requesting:
> Signal[protocol=cdo, id=-1, name=RemoteExceptionRequest, correlation=1]
> Thread-22 [debug.signal] Writing remote exception for signal 5:
> org.eclipse.net4j.util.WrappedException: java.io.EOFException
>
> Thread-22 [debug.buffer] Obtained mailto:Buffer@41[INITIAL]
> Thread-22 [debug.buffer.stream] Put signal id -1
> Thread-22 [debug.channel] Handling buffer: mailto:Buffer@41[PUTTING] -->
> Channel[1, SERVER]
> Thread-22 [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:1910] = true
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:1910] = true
> TCPSelector [debug] Setting interest READ|WRITE (was read)
> Thread-22 [debug.buffer] Obtained mailto:Buffer@37[INITIAL]
> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:2036 remote=/127.0.0.1:1910]
> TCPSelector [debug.buffer] Writing 4092 bytes
> 00 00 .... 7f [ERROR] java.io.EOFException
> org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext
> .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo
> op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr
> ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra
> nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating
> (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn
> put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi
> cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In
> dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa
> dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce
> ssor.java:206)
> ... 17 more
>
> TCPSelector [debug.buffer] Retaining mailto:Buffer@41[RELEASED]
> TCPSelector [debug] Ordering server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:1910] = false
> TCPSelector [debug] Executing server operation INTEREST WRITE
> java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
> remote=/127.0.0.1:1910] = false
> TCPSelector [debug] Setting interest READ (was read|write)
>
>
Re: [CDO] Problem after CDO Source Installation [message #634106 is a reply to message #634072] Wed, 20 October 2010 14:04 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Vincent,

Comments below...


Am 20.10.2010 15:03, schrieb Vincent Wienecke:
> Hi, i am new in the CDO world and i try to get feeling for it and experience.
> First i installed the CDO client plugins (with net4j Plugins) in a fresh and updated Eclipse (Eclipse Modelling Tools version).
Then you have CDO version X available.

>
> After this i installed the CDO Source accurately after this instruction:
> http://wiki.eclipse.org/CDO_Source_Installation
Now you seem to have an additional CDO version from HEAD available.

If you don't ensure that both clients and server are launched from exactly the same set of plugins either version X or HEAD it's likely that you run into trouble. EOFExceptions in protocol signals are an indicator for this situation.

Note that, if you're setting up a development workspace for CDO, you're not expected to install the projects in that workspace as external plugins at the same time!

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> I started the default "CDOServer" Eclipse Application Configuration and it started without an error. I prepared a simple EMF project with the giving instruction (http://wiki.eclipse.org/Preparing_EMF_Models_for_CDO).
> With the first commit, which i do after an other instruction (http://wiki.eclipse.org/Using_the_CDO_User_Interface), i got some exceptions. (Output at the end of this post)
>
> I repeaded the steps of the installation instruction, but i got always the same exceptions.
> I looks like a incomplete InputSream. I try to isolate the problem in the last IF-loop of the StoreAccessor->write(). Without this IF-loop the commit works, but i get exceptions if i try to load the commited resource (which i expected).
> Here is the output, which i get, if i try to commit a resource (without any changes in the source code):
>
> ################
> ### client output ###
> ################
>
> org.eclipse.net4j.signal.RemoteException: org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
> ... 17 more
>
> org.eclipse.net4j.signal.RemoteException: org.eclipse.net4j.signal.RemoteException: org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
> ... 17 more
>
> at org.eclipse.net4j.signal.RequestWithConfirmation.setRemoteEx ception(RequestWithConfirmation.java:128)
> at org.eclipse.net4j.signal.SignalProtocol.handleRemoteExceptio n(SignalProtocol.java:535)
> at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:53)
> at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
> at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: org.eclipse.net4j.signal.RemoteException: org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
> ... 17 more
>
> at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:50)
> ... 8 more
>
>
> #################
> ### server output ###
> #################
>
> Thread-22 [debug] Writing revision: mailto:Institut@OID2:0v1
> Thread-22 [debug.sql] prep7: INSERT IGNORE INTO cdo_objects(cdo_id,cdo_class,cdo_created) VALUES (?, ?, ?) {1: 2, 2: 482, 3: 1287576006625};
> Thread-22 [debug.sql] prep13: INSERT IGNORE INTO Institut(cdo_id, cdo_version, cdo_branch, cdo_class, cdo_created, cdo_revised, cdo_resource, cdo_container, cdo_feature, Name) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) {1: 2, 2: 1, 3: 0, 4: 482, 5: 1287576006625, 6: 0, 7: 3, 8: 0, 9: 0, 10: 'Informatik'};
> Thread-22 [debug] Writing revision: mailto:CDOResource@OID3:0v1
> Thread-22 [debug.sql] prep7: INSERT IGNORE INTO cdo_objects(cdo_id,cdo_class,cdo_created) VALUES (?, ?, ?) {1: 3, 2: 441, 3: 1287576006625};
> Thread-22 [debug] Created Resource Query: prep14: SELECT cdo_id FROM CDOResourceFolder WHERE cdo_version>0 AND cdo_branch=? AND cdo_container=? AND name =? AND (cdo_revised=0) {1: 0, 2: 0, 3: 'res1'};
> Thread-22 [debug] Created Resource Query: prep15: SELECT cdo_id FROM CDOResource WHERE cdo_version>0 AND cdo_branch=? AND cdo_container=? AND name =? AND (cdo_revised=0) {1: 0, 2: 0, 3: 'res1'};
> Thread-22 [debug] TypeMapping for folder: writing Revision.null as DB.null
> Thread-22 [debug.sql] prep10: INSERT IGNORE INTO CDOResource(cdo_id, cdo_version, cdo_branch, cdo_class, cdo_created, cdo_revised, cdo_resource, cdo_container, cdo_feature, folder, name) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) {1: 3, 2: 1, 3: 0, 4: 441, 5: 1287576006625, 6: 0, 7: 1, 8: 0, 9: 0, 10: NULL, 11: 'res1'};
> Thread-22 [debug] Writing value for feature CDOResource.contents index 0 of OID3v1 : OID2
> Thread-22 [debug.sql] prep16: INSERT IGNORE INTO CDOResource_contents_list(cdo_source, cdo_branch, cdo_version, cdo_idx, cdo_value) VALUES (?, ?, ?, ?, ?) {1: 3, 2: 0, 3: 1, 4: 0, 5: 2};
> Thread-22 [debug] Writing revision: mailto:CDOResource@OID1:0v2
> Thread-22 [debug.sql] prep17: UPDATE CDOResource SET cdo_revised=? WHERE cdo_id=? AND cdo_branch=? AND cdo_revised=0 {1: 1287576006624, 2: 1, 3: 0};
> Thread-22 [debug] Created Resource Query: prep8: SELECT cdo_id FROM CDOResourceFolder WHERE cdo_version>0 AND cdo_branch=? AND cdo_container=? AND name IS NULL AND (cdo_revised=0) {1: 0, 2: 0};
> Thread-22 [debug] Created Resource Query: prep9: SELECT cdo_id FROM CDOResource WHERE cdo_version>0 AND cdo_branch=? AND cdo_container=? AND name IS NULL AND (cdo_revised=0) {1: 0, 2: 0};
> Thread-22 [debug] TypeMapping for folder: writing Revision.null as DB.null
> Thread-22 [debug] TypeMapping for name: writing Revision.null as DB.null
> Thread-22 [debug.sql] prep10: INSERT IGNORE INTO CDOResource(cdo_id, cdo_version, cdo_branch, cdo_class, cdo_created, cdo_revised, cdo_resource, cdo_container, cdo_feature, folder, name) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) {1: 1, 2: 2, 3: 0, 4: 441, 5: 1287576006625, 6: 0, 7: 1, 8: 0, 9: 0, 10: NULL, 11: NULL};
> Thread-22 [debug] Writing value for feature CDOResource.contents index 0 of OID1v2 : OID3
> Thread-22 [debug.sql] prep16: INSERT IGNORE INTO CDOResource_contents_list(cdo_source, cdo_branch, cdo_version, cdo_idx, cdo_value) VALUES (?, ?, ?, ?, ?) {1: 1, 2: 0, 3: 2, 4: 0, 5: 3};
> [ERROR] java.io.EOFException
> org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
> ... 17 more
> Thread-22 [debug] Rolling back transaction: Transaction[2:1]
> Thread-22 [debug] --- DB ROLLBACK ---
> Thread-22 [debug.sql] DROP TABLE Person
> Thread-22 [debug.sql] DROP TABLE Mitarbeiter
> Thread-22 [debug.sql] DROP TABLE Student
> Thread-22 [debug.sql] DROP TABLE Institut
> Thread-22 [debug.sql] DROP TABLE Vorlesung
> Thread-22 [debug.sql] DROP TABLE Vorlesung_Hörer_list
> [ERROR] java.io.EOFException
> org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
> ... 17 more
> Thread-22 [debug.signal] ================ Requesting: Signal[protocol=cdo, id=-1, name=RemoteExceptionRequest, correlation=1]
> Thread-22 [debug.signal] Writing remote exception for signal 5: org.eclipse.net4j.util.WrappedException: java.io.EOFException
>
> Thread-22 [debug.buffer] Obtained mailto:Buffer@41[INITIAL]
> Thread-22 [debug.buffer.stream] Put signal id -1
> Thread-22 [debug.channel] Handling buffer: mailto:Buffer@41[PUTTING] --> Channel[1, SERVER]
> Thread-22 [debug] Ordering server operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036 remote=/127.0.0.1:1910] = true
> TCPSelector [debug] Executing server operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036 remote=/127.0.0.1:1910] = true
> TCPSelector [debug] Setting interest READ|WRITE (was read)
> Thread-22 [debug.buffer] Obtained mailto:Buffer@37[INITIAL]
> TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036 remote=/127.0.0.1:1910]
> TCPSelector [debug.buffer] Writing 4092 bytes
> 00 00 .... 7f [ERROR] java.io.EOFException
> org.eclipse.net4j.util.WrappedException: java.io.EOFException
> at org.eclipse.net4j.util.WrappedException.wrap(WrappedExceptio n.java:50)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:223)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:407)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:40)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLo op(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(Pr ogressDistributor.java:96)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicatingCommit(CommitTransactionIndicat ion.java:342)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:199)
> at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTra nsactionIndication.indicating(CommitTransactionIndication.ja va:127)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:316)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:63)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(In dicationWithMonitoring.java:63)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.write(StoreAcce ssor.java:206)
> ... 17 more
>
> TCPSelector [debug.buffer] Retaining mailto:Buffer@41[RELEASED]
> TCPSelector [debug] Ordering server operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036 remote=/127.0.0.1:1910] = false
> TCPSelector [debug] Executing server operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036 remote=/127.0.0.1:1910] = false
> TCPSelector [debug] Setting interest READ (was read|write)
>
>


Re: [CDO] Problem after CDO Source Installation [message #634109 is a reply to message #634091] Wed, 20 October 2010 14:27 Go to previous messageGo to next message
Vincent Wienecke is currently offline Vincent WieneckeFriend
Messages: 3
Registered: October 2010
Junior Member
Hi Stefan,

i don't know really witch CDO version i got. It is the current version from CVS and with the instruction i label it with 3.0. But i found no hint with this is version x.x. I would say it is 3.0, the current one (with comment @since 2.0 and @since 3.0).

The Plattform is Eclipse 3.6 (maybe 3.6.1 after update) and it runs on Windows XP.

I tried the H2-database and the mysql database, there are the same exceptions.

Thanks,
Vincent
Re: [CDO] Problem after CDO Source Installation [message #634114 is a reply to message #634106] Wed, 20 October 2010 14:41 Go to previous messageGo to next message
Vincent Wienecke is currently offline Vincent WieneckeFriend
Messages: 3
Registered: October 2010
Junior Member
Hi Eike,

yes, i had used the server from CVS and the client from Plugin. I tried now the "CDOServer"-app and the "CDOClient1"-app. It run without an exception.

Thank you for your help, now my sky is blue again Smile.

Thanks,
Vincent
Re: [CDO] Problem after CDO Source Installation [message #634175 is a reply to message #634114] Wed, 20 October 2010 15:46 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
That sounds familiar: Just that you do it all right it suddenly works :P

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 20.10.2010 16:41, schrieb Vincent Wienecke:
> Hi Eike,
>
> yes, i had used the server from CVS and the client from Plugin. I tried now the "CDOServer"-app and the "CDOClient1"-app. It run without an exception.
>
> Thank you for your help, now my sky is blue again :).
>
> Thanks,
> Vincent


Previous Topic:[CDO] QuickStartTest with Spring/Teneo/Hibernate stack
Next Topic:Persistent feature of type EJavaObject (i.e. storing a plain java obj in an EMF model)
Goto Forum:
  


Current Time: Fri Apr 19 23:57:12 GMT 2024

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

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

Back to the top