Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Win7 DbStore starts OK but CDO Explorer cannot connect
[CDO] Win7 DbStore starts OK but CDO Explorer cannot connect [message #659814] Tue, 15 March 2011 17:08 Go to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
I have successfully setup a CDO DbStore repo on Win7_x64. I can see from
the logs (I turned tracing on for all packages) that the "CDO Server
started" with no errors.

I am using the standards org.eclipse.emf.cdo.server.product-feature with
a modified cdo-server.xml to have the databaseName for Derby to point at
a local directory.

When I use CDO Explorer perspective to connect to this repo on
localhost:2036 it gives me a
"org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Registration
timeout after 10000 milliseconds"

Is there any other log file or somewhere that might tell me why this is
happening? When I use osgi>clode, it closes down without any exceptions.
There are no exceptions I can find anywhere.


Thx.

David
Re: [CDO] Win7 DbStore starts OK but CDO Explorer cannot connect [message #659823 is a reply to message #659814] Tue, 15 March 2011 17:53 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 15.03.2011 18:08, schrieb David Wynter:
> I have successfully setup a CDO DbStore repo on Win7_x64. I can see from the logs (I turned tracing on for all packages) that the "CDO Server started" with no errors.
>
> I am using the standards org.eclipse.emf.cdo.server.product-feature with a modified cdo-server.xml to have the databaseName for Derby to point at a local directory.
>
> When I use CDO Explorer perspective to connect to this repo on localhost:2036 it gives me a "org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Registration timeout after 10000 milliseconds"
>
> Is there any other log file or somewhere that might tell me why this is happening? When I use osgi>clode, it closes down without any exceptions. There are no exceptions I can find anywhere.
Most commonly this is because the org.eclipse.emf.cdo.server.net4j is not deployed properly to the server. Can you check that, please?

Cheers
/Eike

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


Re: [CDO] Win7 DbStore starts OK but CDO Explorer cannot connect [message #659824 is a reply to message #659823] Tue, 15 March 2011 17:54 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 15.03.2011 18:53, schrieb Eike Stepper:
> Am 15.03.2011 18:08, schrieb David Wynter:
>> I have successfully setup a CDO DbStore repo on Win7_x64. I can see from the logs (I turned tracing on for all packages) that the "CDO Server started" with no errors.
>>
>> I am using the standards org.eclipse.emf.cdo.server.product-feature with a modified cdo-server.xml to have the databaseName for Derby to point at a local directory.
>>
>> When I use CDO Explorer perspective to connect to this repo on localhost:2036 it gives me a "org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Registration timeout after 10000 milliseconds"
>>
>> Is there any other log file or somewhere that might tell me why this is happening? When I use osgi>clode, it closes down without any exceptions. There are no exceptions I can find anywhere.
> Most commonly this is because the org.eclipse.emf.cdo.server.net4j is not deployed properly to the server.
And org.eclipse.net4j.tcp is also needed on the server. Please also check your firewall settings.

I doubt this is a Win7_64 related issue, as I'm using the same for development ;-)

Cheers
/Eike

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


Re: [CDO] Win7 DbStore starts OK but CDO Explorer cannot connect [message #659825 is a reply to message #659814] Tue, 15 March 2011 17:56 Go to previous messageGo to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
On 15/03/11 17:08, David Wynter wrote:
> I have successfully setup a CDO DbStore repo on Win7_x64. I can see from
> the logs (I turned tracing on for all packages) that the "CDO Server
> started" with no errors.
>
> I am using the standards org.eclipse.emf.cdo.server.product-feature with
> a modified cdo-server.xml to have the databaseName for Derby to point at
> a local directory.
>
> When I use CDO Explorer perspective to connect to this repo on
> localhost:2036 it gives me a
> "org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Registration
> timeout after 10000 milliseconds"
>
> Is there any other log file or somewhere that might tell me why this is
> happening? When I use osgi>clode, it closes down without any exceptions.
> There are no exceptions I can find anywhere.
>
>
> Thx.
>
> David
I checked netstat -A and there is nothing on port 2036 on 0.0.0.0 or
127.0.0.1 ( I tried both in the config )

Here is the last part of the startup console output:


app thread - org.eclipse.emf.cdo.server.app.0 [debug.lifecycle.dump]
DUMP SmartPreparedStatementCache@25
AbstractPreparedStatementCache.connection =
org.apache.derby.impl.jdbc.EmbedConnection40@515768123 (XID = 715),
(SESSIONID = 15), (DATABASE =
C:/Users/David/workspace/com.example.mdwmui/cdo/derbyedmmode l), (DRDAID
= null)
cache =
org.eclipse.emf.cdo.server.internal.db.SmartPreparedStatemen tCache$Cache@4bbf8a41

checkedOut =

app thread - org.eclipse.emf.cdo.server.app.0 [debug.lifecycle.dump]
DUMP DBStoreAccessor@24
StoreAccessor.commitContexts =
StoreAccessor.store = DBStore@5
StoreAccessor.context = null
StoreAccessor.reader = true
connection = org.apache.derby.impl.jdbc.EmbedConnection40@515768123
(XID = 715), (SESSIONID = 15), (DATABASE =
C:/Users/David/workspace/com.example.mdwmui/cdo/derbyedmmode l), (DRDAID
= null)
connectionKeepAliveTask =
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$ConnectionKeepAliveTask@c0dd841

statementCache = SmartPreparedStatementCache@25
newObjects =

app thread - org.eclipse.emf.cdo.server.app.0 [debug] Created Resource
Query: a228c043-012e-ba8c-7a96-00000400ed18
app thread - org.eclipse.emf.cdo.server.app.0 [debug] Created Resource
Query: ea5bc046-012e-ba8c-7a96-00000400ed18
app thread - org.eclipse.emf.cdo.server.app.0 [debug] Resource query
returned ID 1
app thread - org.eclipse.emf.cdo.server.app.0 [debug.lifecycle]
Deactivating DBStoreAccessor@24
app thread - org.eclipse.emf.cdo.server.app.0 [debug.lifecycle]
Deactivating SmartPreparedStatementCache@25
app thread - org.eclipse.emf.cdo.server.app.0 [debug.lifecycle.dump]
DUMP Default@26
Repository.name = edmodelrepo
Repository.uuid = null
Repository.store = DBStore@5
Repository.type = MASTER
Repository.state = ONLINE
Repository.properties =
supportingAudits=true
supportingEcore=true
supportingBranches=true
overrideUUID=
Repository.supportingAudits = true
Repository.supportingBranches = true
Repository.ensuringReferentialIntegrity = false
Repository.packageRegistry =

http://www.eclipse.org/emf/2002/Ecore=CDOPackageInfo[packageURI=http://www.eclipse.org/emf/2002/Ecore,
parentURI=null, metaIDRange=[MID1:MID420]]

http://www.eclipse.org/emf/CDO/Eresource/2.0.0=CDOPackageInf o[packageURI=http://www.eclipse.org/emf/CDO/Eresource/2.0.0,
parentURI=null, metaIDRange=[MID421:MID455]]
Repository.branchManager = CDOBranchManagerImpl@21
Repository.revisionManager = CDORevisionManagerImpl@15
Repository.commitInfoManager = CDOCommitInfoManagerImpl@18
Repository.sessionManager = SessionManager@14
Repository.queryManager = QueryManager@17
Repository.commitManager = CommitManager@19
Repository.lockManager = LockManager@20
Repository.queryHandlerProvider = null
Repository.readAccessHandlers =
Repository.writeAccessHandlers =
Repository.rootResourceID = OID1

[INFO] CDO server started

!ENTRY org.eclipse.emf.cdo.server 1 0 2011-03-15 17:24:55.054
!MESSAGE CDO server started
Application Started: 5792

Plugins enabled ( clicked "Add required plugins") include
org.apache.derby (10.5.1.1)
org.apache.derby.core
....
org.eclipse.emf.cdo (3.0.1)
org.eclipse.emf.cdo.common
org.eclipse.emf.cdo.server
org.eclipse.emf.cdo.server.db
....
org.eclipse.net4j (3.0.1)
org.eclipse.net4j.db
org.eclipse.net4j.db.derby
org.eclipse.net4j.tcp
org.eclipse.net4j.derby

Helios SR2

Without exceptions being thrown kinda hard to know where to look next.

David
Re: [CDO] Win7 DbStore starts OK but CDO Explorer cannot connect [message #659826 is a reply to message #659824] Tue, 15 March 2011 18:01 Go to previous messageGo to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
On 15/03/11 17:54, Eike Stepper wrote:
> Am 15.03.2011 18:53, schrieb Eike Stepper:
>> Am 15.03.2011 18:08, schrieb David Wynter:
>>> I have successfully setup a CDO DbStore repo on Win7_x64. I can see
>>> from the logs (I turned tracing on for all packages) that the "CDO
>>> Server started" with no errors.
>>>
>>> I am using the standards org.eclipse.emf.cdo.server.product-feature
>>> with a modified cdo-server.xml to have the databaseName for Derby to
>>> point at a local directory.
>>>
>>> When I use CDO Explorer perspective to connect to this repo on
>>> localhost:2036 it gives me a
>>> "org.eclipse.net4j.util.concurrent.TimeoutRuntimeException:
>>> Registration timeout after 10000 milliseconds"
>>>
>>> Is there any other log file or somewhere that might tell me why this
>>> is happening? When I use osgi>clode, it closes down without any
>>> exceptions. There are no exceptions I can find anywhere.
>> Most commonly this is because the org.eclipse.emf.cdo.server.net4j is
>> not deployed properly to the server.
> And org.eclipse.net4j.tcp is also needed on the server. Please also
> check your firewall settings.
>
> I doubt this is a Win7_64 related issue, as I'm using the same for
> development ;-)
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
Hi,

Firewall allows all ports in and out for Eclipse. But to be safe I added
a new rule to allow port 2036 in and out for anything. It satill does
not appear in netstat -A on 0.0.0.0

As in my recent post, net4j is enabled in the plugins

Thx.

David
Re: [CDO] Win7 DbStore starts OK but CDO Explorer cannot connect [message #659827 is a reply to message #659826] Tue, 15 March 2011 18:06 Go to previous messageGo to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Ha,

I missed the org.eclipse.emf.cdo.server.tcp. I was following this
http://wiki.eclipse.org/Setting_up_a_CDO_Server

And it lists these
* org.apache.derby
* org.eclipse.emf.cdo.server.db
* org.eclipse.net4j.db.derby
* org.eclipse.net4j.tcp

And the "Add required plugins" does not pick it up, opps.

Thx.

David

On 15/03/11 18:01, David Wynter wrote:
> On 15/03/11 17:54, Eike Stepper wrote:
>> Am 15.03.2011 18:53, schrieb Eike Stepper:
>>> Am 15.03.2011 18:08, schrieb David Wynter:
>>>> I have successfully setup a CDO DbStore repo on Win7_x64. I can see
>>>> from the logs (I turned tracing on for all packages) that the "CDO
>>>> Server started" with no errors.
>>>>
>>>> I am using the standards org.eclipse.emf.cdo.server.product-feature
>>>> with a modified cdo-server.xml to have the databaseName for Derby to
>>>> point at a local directory.
>>>>
>>>> When I use CDO Explorer perspective to connect to this repo on
>>>> localhost:2036 it gives me a
>>>> "org.eclipse.net4j.util.concurrent.TimeoutRuntimeException:
>>>> Registration timeout after 10000 milliseconds"
>>>>
>>>> Is there any other log file or somewhere that might tell me why this
>>>> is happening? When I use osgi>clode, it closes down without any
>>>> exceptions. There are no exceptions I can find anywhere.
>>> Most commonly this is because the org.eclipse.emf.cdo.server.net4j is
>>> not deployed properly to the server.
>> And org.eclipse.net4j.tcp is also needed on the server. Please also
>> check your firewall settings.
>>
>> I doubt this is a Win7_64 related issue, as I'm using the same for
>> development ;-)
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
> Hi,
>
> Firewall allows all ports in and out for Eclipse. But to be safe I added
> a new rule to allow port 2036 in and out for anything. It satill does
> not appear in netstat -A on 0.0.0.0
>
> As in my recent post, net4j is enabled in the plugins
>
> Thx.
>
> David
>
Re: [CDO] Win7 DbStore starts OK but CDO Explorer cannot connect [message #659834 is a reply to message #659827] Tue, 15 March 2011 18:10 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 15.03.2011 19:06, schrieb David Wynter:
> Ha,
>
> I missed the org.eclipse.emf.cdo.server.tcp.
There's no such plugin. You mean org.eclipse.emf.cdo.server.net4j? That's important and Add Required Plugins wouldn't pick it up because it's optional from a repository's perspective. So, does it work now?

Cheers
/Eike

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


> I was following this
> http://wiki.eclipse.org/Setting_up_a_CDO_Server
>
> And it lists these
> * org.apache.derby
> * org.eclipse.emf.cdo.server.db
> * org.eclipse.net4j.db.derby
> * org.eclipse.net4j.tcp
>
> And the "Add required plugins" does not pick it up, opps.
>
> Thx.
>
> David
>
> On 15/03/11 18:01, David Wynter wrote:
>> On 15/03/11 17:54, Eike Stepper wrote:
>>> Am 15.03.2011 18:53, schrieb Eike Stepper:
>>>> Am 15.03.2011 18:08, schrieb David Wynter:
>>>>> I have successfully setup a CDO DbStore repo on Win7_x64. I can see
>>>>> from the logs (I turned tracing on for all packages) that the "CDO
>>>>> Server started" with no errors.
>>>>>
>>>>> I am using the standards org.eclipse.emf.cdo.server.product-feature
>>>>> with a modified cdo-server.xml to have the databaseName for Derby to
>>>>> point at a local directory.
>>>>>
>>>>> When I use CDO Explorer perspective to connect to this repo on
>>>>> localhost:2036 it gives me a
>>>>> "org.eclipse.net4j.util.concurrent.TimeoutRuntimeException:
>>>>> Registration timeout after 10000 milliseconds"
>>>>>
>>>>> Is there any other log file or somewhere that might tell me why this
>>>>> is happening? When I use osgi>clode, it closes down without any
>>>>> exceptions. There are no exceptions I can find anywhere.
>>>> Most commonly this is because the org.eclipse.emf.cdo.server.net4j is
>>>> not deployed properly to the server.
>>> And org.eclipse.net4j.tcp is also needed on the server. Please also
>>> check your firewall settings.
>>>
>>> I doubt this is a Win7_64 related issue, as I'm using the same for
>>> development ;-)
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://www.esc-net.de
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>>
>>>
>> Hi,
>>
>> Firewall allows all ports in and out for Eclipse. But to be safe I added
>> a new rule to allow port 2036 in and out for anything. It satill does
>> not appear in netstat -A on 0.0.0.0
>>
>> As in my recent post, net4j is enabled in the plugins
>>
>> Thx.
>>
>> David
>>
>


Re: [CDO] Win7 DbStore starts OK but CDO Explorer cannot connect [message #659835 is a reply to message #659834] Tue, 15 March 2011 18:28 Go to previous messageGo to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Yeah, sorry, what you said ;)

Yes it works fine, the tutorial just needs to have
org.eclipse.emf.cdo.server.net4j
added to the list, which I just did.

Thx.

David

On 15/03/11 18:10, Eike Stepper wrote:
> Am 15.03.2011 19:06, schrieb David Wynter:
>> Ha,
>>
>> I missed the org.eclipse.emf.cdo.server.tcp.
> There's no such plugin. You mean org.eclipse.emf.cdo.server.net4j?
> That's important and Add Required Plugins wouldn't pick it up because
> it's optional from a repository's perspective. So, does it work now?
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>> I was following this
>> http://wiki.eclipse.org/Setting_up_a_CDO_Server
>>
>> And it lists these
>> * org.apache.derby
>> * org.eclipse.emf.cdo.server.db
>> * org.eclipse.net4j.db.derby
>> * org.eclipse.net4j.tcp
>>
>> And the "Add required plugins" does not pick it up, opps.
>>
>> Thx.
>>
>> David
>>
>> On 15/03/11 18:01, David Wynter wrote:
>>> On 15/03/11 17:54, Eike Stepper wrote:
>>>> Am 15.03.2011 18:53, schrieb Eike Stepper:
>>>>> Am 15.03.2011 18:08, schrieb David Wynter:
>>>>>> I have successfully setup a CDO DbStore repo on Win7_x64. I can see
>>>>>> from the logs (I turned tracing on for all packages) that the "CDO
>>>>>> Server started" with no errors.
>>>>>>
>>>>>> I am using the standards org.eclipse.emf.cdo.server.product-feature
>>>>>> with a modified cdo-server.xml to have the databaseName for Derby to
>>>>>> point at a local directory.
>>>>>>
>>>>>> When I use CDO Explorer perspective to connect to this repo on
>>>>>> localhost:2036 it gives me a
>>>>>> "org.eclipse.net4j.util.concurrent.TimeoutRuntimeException:
>>>>>> Registration timeout after 10000 milliseconds"
>>>>>>
>>>>>> Is there any other log file or somewhere that might tell me why this
>>>>>> is happening? When I use osgi>clode, it closes down without any
>>>>>> exceptions. There are no exceptions I can find anywhere.
>>>>> Most commonly this is because the org.eclipse.emf.cdo.server.net4j is
>>>>> not deployed properly to the server.
>>>> And org.eclipse.net4j.tcp is also needed on the server. Please also
>>>> check your firewall settings.
>>>>
>>>> I doubt this is a Win7_64 related issue, as I'm using the same for
>>>> development ;-)
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://www.esc-net.de
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>>>>
>>>>
>>> Hi,
>>>
>>> Firewall allows all ports in and out for Eclipse. But to be safe I added
>>> a new rule to allow port 2036 in and out for anything. It satill does
>>> not appear in netstat -A on 0.0.0.0
>>>
>>> As in my recent post, net4j is enabled in the plugins
>>>
>>> Thx.
>>>
>>> David
>>>
>>
Re: [CDO] Win7 DbStore starts OK but CDO Explorer cannot connect [message #659876 is a reply to message #659835] Tue, 15 March 2011 20:42 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 15.03.2011 19:28, schrieb David Wynter:
> Yeah, sorry, what you said ;)
>
> Yes it works fine,
Great ;-)

> the tutorial just needs to have
> org.eclipse.emf.cdo.server.net4j
> added to the list, which I just did.
Thank you!

Cheers
/Eike

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


>
> Thx.
>
> David
>
> On 15/03/11 18:10, Eike Stepper wrote:
>> Am 15.03.2011 19:06, schrieb David Wynter:
>>> Ha,
>>>
>>> I missed the org.eclipse.emf.cdo.server.tcp.
>> There's no such plugin. You mean org.eclipse.emf.cdo.server.net4j?
>> That's important and Add Required Plugins wouldn't pick it up because
>> it's optional from a repository's perspective. So, does it work now?
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>> I was following this
>>> http://wiki.eclipse.org/Setting_up_a_CDO_Server
>>>
>>> And it lists these
>>> * org.apache.derby
>>> * org.eclipse.emf.cdo.server.db
>>> * org.eclipse.net4j.db.derby
>>> * org.eclipse.net4j.tcp
>>>
>>> And the "Add required plugins" does not pick it up, opps.
>>>
>>> Thx.
>>>
>>> David
>>>
>>> On 15/03/11 18:01, David Wynter wrote:
>>>> On 15/03/11 17:54, Eike Stepper wrote:
>>>>> Am 15.03.2011 18:53, schrieb Eike Stepper:
>>>>>> Am 15.03.2011 18:08, schrieb David Wynter:
>>>>>>> I have successfully setup a CDO DbStore repo on Win7_x64. I can see
>>>>>>> from the logs (I turned tracing on for all packages) that the "CDO
>>>>>>> Server started" with no errors.
>>>>>>>
>>>>>>> I am using the standards org.eclipse.emf.cdo.server.product-feature
>>>>>>> with a modified cdo-server.xml to have the databaseName for Derby to
>>>>>>> point at a local directory.
>>>>>>>
>>>>>>> When I use CDO Explorer perspective to connect to this repo on
>>>>>>> localhost:2036 it gives me a
>>>>>>> "org.eclipse.net4j.util.concurrent.TimeoutRuntimeException:
>>>>>>> Registration timeout after 10000 milliseconds"
>>>>>>>
>>>>>>> Is there any other log file or somewhere that might tell me why this
>>>>>>> is happening? When I use osgi>clode, it closes down without any
>>>>>>> exceptions. There are no exceptions I can find anywhere.
>>>>>> Most commonly this is because the org.eclipse.emf.cdo.server.net4j is
>>>>>> not deployed properly to the server.
>>>>> And org.eclipse.net4j.tcp is also needed on the server. Please also
>>>>> check your firewall settings.
>>>>>
>>>>> I doubt this is a Win7_64 related issue, as I'm using the same for
>>>>> development ;-)
>>>>>
>>>>> Cheers
>>>>> /Eike
>>>>>
>>>>> ----
>>>>> http://www.esc-net.de
>>>>> http://thegordian.blogspot.com
>>>>> http://twitter.com/eikestepper
>>>>>
>>>>>
>>>> Hi,
>>>>
>>>> Firewall allows all ports in and out for Eclipse. But to be safe I added
>>>> a new rule to allow port 2036 in and out for anything. It satill does
>>>> not appear in netstat -A on 0.0.0.0
>>>>
>>>> As in my recent post, net4j is enabled in the plugins
>>>>
>>>> Thx.
>>>>
>>>> David
>>>>
>>>
>


Previous Topic:[Persistence] Customize Resource Persistence
Next Topic:Generate Ecore facade model from POJO API
Goto Forum:
  


Current Time: Thu Apr 25 11:40:33 GMT 2024

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

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

Back to the top