Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Connector is not connected
Connector is not connected [message #425526] Sun, 30 November 2008 17:15 Go to next message
Tankut Koray is currently offline Tankut KorayFriend
Messages: 48
Registered: July 2009
Member
Hi,

I am trying to run a CDO server but when I client (CDO Sessions View) tries
to connect, It gives the following exception:

[ERROR] Connector is not connected
java.lang.IllegalStateException: Connector is not connected
at
org.eclipse.net4j.internal.tcp.ControlChannel.assertConnecte d(ControlChannel.java:238)
at
org.eclipse.net4j.internal.tcp.ControlChannel.handleBufferFr omMultiplexer(ControlChannel.java:137)
at
org.eclipse.net4j.internal.tcp.TCPConnector.handleRead(TCPCo nnector.java:179)
at
org.eclipse.net4j.internal.tcp.TCPSelector.handleSelection(T CPSelector.java:255)
at org.eclipse.net4j.internal.tcp.TCPSelector.run(TCPSelector.j ava:170)
at java.lang.Thread.run(Unknown Source)

Any ideas,
Tankut
Re: Connector is not connected [message #425542 is a reply to message #425526] Mon, 01 December 2008 11:35 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6483
Registered: July 2009
Senior Member
Tankut,

I nearly overlooked you question because it is neither tagged with [CDO]
nor with [Net4j]. Just a hint for future questions ;-)

From your question I only see that a connection was not opened. This
copuld have so many reasons, including:
- server not started
- server started but acceptor not started
- acceptor listens on different port or address
- connector and acceptor started but network failed
- connector deactivated locally after initial requests had been sent
- ...

I'd really need more context information to answer your question. Could
you describe what you have done so far?
Additionally you could provide the client and server console logs (did
you enable tracing at both ends?)...

Cheers
/Eike

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


Tankut Koray schrieb:
> Hi,
>
> I am trying to run a CDO server but when I client (CDO Sessions View)
> tries to connect, It gives the following exception:
>
> [ERROR] Connector is not connected
> java.lang.IllegalStateException: Connector is not connected
> at
> org.eclipse.net4j.internal.tcp.ControlChannel.assertConnecte d(ControlChannel.java:238)
>
> at
> org.eclipse.net4j.internal.tcp.ControlChannel.handleBufferFr omMultiplexer(ControlChannel.java:137)
>
> at
> org.eclipse.net4j.internal.tcp.TCPConnector.handleRead(TCPCo nnector.java:179)
>
> at
> org.eclipse.net4j.internal.tcp.TCPSelector.handleSelection(T CPSelector.java:255)
>
> at org.eclipse.net4j.internal.tcp.TCPSelector.run(TCPSelector.j ava:170)
> at java.lang.Thread.run(Unknown Source)
>
> Any ideas,
> Tankut


Re: Connector is not connected [CDO] [message #425750 is a reply to message #425542] Sat, 06 December 2008 22:51 Go to previous messageGo to next message
Tankut Koray is currently offline Tankut KorayFriend
Messages: 48
Registered: July 2009
Member
Thanks Eike,

I was writing a reply with my logs but I have another look at configuration
of server and when I commented out the negotiator in my acceptor, every
thing is working fine now.

Just a note if someone will have the same issue,

Tankut

"Eike Stepper" <stepper@esc-net.de> wrote in message
news:gh0i5k$vfc$5@build.eclipse.org...
> Tankut,
>
> I nearly overlooked you question because it is neither tagged with [CDO]
> nor with [Net4j]. Just a hint for future questions ;-)
>
> From your question I only see that a connection was not opened. This
> copuld have so many reasons, including:
> - server not started
> - server started but acceptor not started
> - acceptor listens on different port or address
> - connector and acceptor started but network failed
> - connector deactivated locally after initial requests had been sent
> - ...
>
> I'd really need more context information to answer your question. Could
> you describe what you have done so far?
> Additionally you could provide the client and server console logs (did you
> enable tracing at both ends?)...
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
>
>
> Tankut Koray schrieb:
>> Hi,
>>
>> I am trying to run a CDO server but when I client (CDO Sessions View)
>> tries to connect, It gives the following exception:
>>
>> [ERROR] Connector is not connected
>> java.lang.IllegalStateException: Connector is not connected
>> at
>> org.eclipse.net4j.internal.tcp.ControlChannel.assertConnecte d(ControlChannel.java:238)
>> at
>> org.eclipse.net4j.internal.tcp.ControlChannel.handleBufferFr omMultiplexer(ControlChannel.java:137)
>> at
>> org.eclipse.net4j.internal.tcp.TCPConnector.handleRead(TCPCo nnector.java:179)
>> at
>> org.eclipse.net4j.internal.tcp.TCPSelector.handleSelection(T CPSelector.java:255)
>> at org.eclipse.net4j.internal.tcp.TCPSelector.run(TCPSelector.j ava:170)
>> at java.lang.Thread.run(Unknown Source)
>>
>> Any ideas,
>> Tankut
Re: Connector is not connected [CDO] [message #425751 is a reply to message #425750] Sun, 07 December 2008 09:45 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6483
Registered: July 2009
Senior Member
Tankut,

Oh yes, the negotiators of a connector / acceptor pair must match
together or be empty both.
Good that you found it.

Cheers
/Eike

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




Tankut Koray schrieb:
> Thanks Eike,
>
> I was writing a reply with my logs but I have another look at
> configuration
> of server and when I commented out the negotiator in my acceptor, every
> thing is working fine now.
>
> Just a note if someone will have the same issue,
>
> Tankut
>
> "Eike Stepper" <stepper@esc-net.de> wrote in message
> news:gh0i5k$vfc$5@build.eclipse.org...
>> Tankut,
>>
>> I nearly overlooked you question because it is neither tagged with
>> [CDO] nor with [Net4j]. Just a hint for future questions ;-)
>>
>> From your question I only see that a connection was not opened. This
>> copuld have so many reasons, including:
>> - server not started
>> - server started but acceptor not started
>> - acceptor listens on different port or address
>> - connector and acceptor started but network failed
>> - connector deactivated locally after initial requests had been sent
>> - ...
>>
>> I'd really need more context information to answer your question.
>> Could you describe what you have done so far?
>> Additionally you could provide the client and server console logs
>> (did you enable tracing at both ends?)...
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>>
>>
>> Tankut Koray schrieb:
>>> Hi,
>>>
>>> I am trying to run a CDO server but when I client (CDO Sessions
>>> View) tries to connect, It gives the following exception:
>>>
>>> [ERROR] Connector is not connected
>>> java.lang.IllegalStateException: Connector is not connected
>>> at
>>> org.eclipse.net4j.internal.tcp.ControlChannel.assertConnecte d(ControlChannel.java:238)
>>>
>>> at
>>> org.eclipse.net4j.internal.tcp.ControlChannel.handleBufferFr omMultiplexer(ControlChannel.java:137)
>>>
>>> at
>>> org.eclipse.net4j.internal.tcp.TCPConnector.handleRead(TCPCo nnector.java:179)
>>>
>>> at
>>> org.eclipse.net4j.internal.tcp.TCPSelector.handleSelection(T CPSelector.java:255)
>>>
>>> at org.eclipse.net4j.internal.tcp.TCPSelector.run(TCPSelector.j ava:170)
>>> at java.lang.Thread.run(Unknown Source)
>>>
>>> Any ideas,
>>> Tankut
>


Previous Topic:[TENEO] MappingException
Next Topic:"run as eclipse application" starts always old plugin
Goto Forum:
  


Current Time: Mon Feb 24 09:22:36 GMT 2020

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

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

Back to the top