Connector is not connected [message #425526] |
Sun, 30 November 2008 12:15  |
Eclipse User |
|
|
|
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 04:45  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03756 seconds