Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Understanding Net4j
Understanding Net4j [message #1157598] Sun, 27 October 2013 10:15 Go to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
I am a beginner to Net4j Signalling Platform. I installed "Net4j signalling platform" in a classic eclipse(Kepler). Then I tried to run the Buddies example. But it did not work. I could start the server without any problems. But I could not start any of the clients. I receive an exception showing "No application ID has been found".


Then I installed the same "Net4j signalling platform" in a Modeling eclipse(Kepler). But it works now. I can run it without any problems. I think it is because there is CDO already in the Modeling Eclipse but not in the classic eclipse. So I just unchecked the CDO plugins then run the clients. Now I get the same problem which I received in the classic version of eclipse.


Now, the question is: I always believed CDO is based on Net4j. So, Net4j should not require CDO for its operation. But why could not I run the Net4j examples when I do not have CDO?

Another question is that: Why there is CDO-Server.xml file (in the config folder) in the "org.eclipse.net4j.buddies.server" plugin project?
Re: Understanding Net4j [message #1157619 is a reply to message #1157598] Sun, 27 October 2013 10:30 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6441
Registered: July 2009
Senior Member
Am 27.10.2013 11:15, schrieb UmaShankar Subramani:
> I am a beginner to Net4j Signalling Platform. I installed "Net4j signalling platform" in a classic eclipse(Kepler).
> Then I tried to run the Buddies example. But it did not work. I could start the server without any problems. But I
> could not start any of the clients. I receive an exception showing "No application ID has been found".
That's normally an indication that some directly or indirectly needed bundles are not deployed or can't start. You
should try to run with all available bundles to see if it works.

> Then I installed the same "Net4j signalling platform" in a Modeling eclipse(Kepler). But it works now. I can run it
> without any problems. I think it is because there is CDO already in the Modeling Eclipse but not in the classic
> eclipse. So I just unchecked the CDO plugins then run the clients. Now I get the same problem which I received in
> the classic version of eclipse.
The chosen distribution might well have an impact on the available bundles.

> Now, the question is: I always believed CDO is based on Net4j. So, Net4j should not require CDO for its operation.
That's not necessarily true, but in this case it is ;-)

> But why could not I run the Net4j examples when I do not have CDO?
Not sure if your conclusion is correct.

> Another question is that: Why there is CDO-Server.xml file (in the config folder) in the
> "org.eclipse.net4j.buddies.server" plugin project?
I think the name of that file is a relict from times when CDO and Net4j had not been separated, yet.

Cheers
/Eike

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


Re: Understanding Net4j [message #1157663 is a reply to message #1157619] Sun, 27 October 2013 11:12 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Okay. That was clear Eike.

I just started the Buddies Server and clients. Then I opened one of the clients and "Buddies View". In "Buddies View" I clicked "Connect". Then nothing happened and I received this exception given below. Am I doing something wrong here. I do not see any tutorial for using this example.

TCPSelector [debug] Connecting java.nio.channels.SocketChannel[connection-pending remote=localhost/127.0.0.1:2036]
Exception in thread "buddies-connector" org.eclipse.net4j.util.lifecycle.LifecycleException: Could not activate TCPClientConnector[localhost:2 036]
at org.eclipse.net4j.util.container.ManagedContainer.activateElement(ManagedContainer.java:355)
at org.eclipse.net4j.util.container.ManagedContainer.getElement(ManagedContainer.java:325)
at org.eclipse.net4j.util.container.ManagedContainer.getElement(ManagedContainer.java:301)
at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:81)
at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:98)
at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:117)
at org.eclipse.net4j.internal.buddies.SessionManager$1.run(SessionManager.java:116)
Re: Understanding Net4j [message #1157764 is a reply to message #1157663] Sun, 27 October 2013 12:49 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6441
Registered: July 2009
Senior Member
Am 27.10.2013 12:12, schrieb UmaShankar Subramani:
> Okay. That was clear Eike.
>
> I just started the Buddies Server and clients.
What port is the server running on?

> Then I opened one of the clients and "Buddies View". In "Buddies View" I clicked "Connect". Then nothing happened
> and I received this exception given below. Am I doing something wrong here.
Not sure, yet.

> I do not see any tutorial for using this example.
Then there are none, yet. Maybe you write one when everything is working ;-)

> TCPSelector [debug] Connecting java.nio.channels.SocketChannel[connection-pending remote=localhost/127.0.0.1:2036]
> Exception in thread "buddies-connector" org.eclipse.net4j.util.lifecycle.LifecycleException: Could not activate
> TCPClientConnector[localhost:2 036]
> at org.eclipse.net4j.util.container.ManagedContainer.activateElement(ManagedContainer.java:355)
> at org.eclipse.net4j.util.container.ManagedContainer.getElement(ManagedContainer.java:325)
> at org.eclipse.net4j.util.container.ManagedContainer.getElement(ManagedContainer.java:301)
> at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:81)
> at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:98)
> at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:117)
> at org.eclipse.net4j.internal.buddies.SessionManager$1.run(SessionManager.java:116)
Is there more log output or ErrorLog entries?

Cheers
/Eike

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


Re: Understanding Net4j [message #1157785 is a reply to message #1157764] Sun, 27 October 2013 13:11 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Eike,

I do not really know on which port the server is running.
I did not change anything. I am just running the example as it is.
Could you please tell me, how to see the port on which the Server
is running on?

I will definitely make a tutorial. If I get understand how it works in the future.
It will be a really useful thing to do.

The complete Errorlog is given below

Time to load bundles: 35
Starting application: 7683
main [debug.om] Starting bundle org.eclipse.net4j.util
main [debug.lifecycle] Activating ManagedContainer
main [debug.lifecycle] Activating {}
main [debug.lifecycle.dump] DUMP PluginFactoryRegistry
ShareableLifecycle.refCount = null
Registry.autoCommit = true
Registry.transaction = null
HashMapRegistry.map =
org.eclipse.net4j.acceptors[ssl]=Factory[org.eclipse.net4j.acceptors, ssl]
org.eclipse.net4j.connectors[ssl]=Factory[org.eclipse.net4j.connectors, ssl]
org.eclipse.net4j.util.security.credentialsProviders[interactive]=Factory[org.eclipse.net4j.util.security.credentialsProviders, interactive]
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.net4j.randomizers, default]
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net4j.userManagers, file]
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org.eclipse.net4j.buddies.clientFacilities, chat]
org.eclipse.net4j.serverProtocols[heartbeat]=Factory[org.eclipse.net4j.serverProtocols, heartbeat]
org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.acceptors:jvm]=Factory[org.eclipse.net4j.util.ui.elementWizards, org.eclipse.net4j.acceptors:jvm]
org.eclipse.net4j.authenticators[file]=Factory[org.eclipse.net4j.authenticators, file]
org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.connectors:jvm]=Factory[org.eclipse.net4j.util.ui.elementWizards, org.eclipse.net4j.connectors:jvm]
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclipse.net4j.bufferProviders, default]
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.acceptors, tcp]
org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.connectors:tcp]=Factory[org.eclipse.net4j.util.ui.elementWizards, org.eclipse.net4j.connectors:tcp]
org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.acceptors:tcp]=Factory[org.eclipse.net4j.util.ui.elementWizards, org.eclipse.net4j.acceptors:tcp]
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j.connectors, tcp]
org.eclipse.net4j.executorServices[default]=Factory[org.eclipse.net4j.executorServices, default]
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org.eclipse.net4j.buddies.serverFacilities, chat]
org.eclipse.net4j.util.timers[daemon]=Factory[org.eclipse.net4j.util.timers, daemon]
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.selectors, tcp]
container = ManagedContainer
extensionRegistryListener = org.eclipse.net4j.internal.util.factory.PluginFactoryRegistry$1@13e10bc

main [debug.lifecycle] Activating []
main [debug.om] Starting bundle org.eclipse.net4j
main [debug.om] Starting bundle org.eclipse.net4j.tcp
main [debug.lifecycle.dump] DUMP PluginElementProcessorList
processors =
org.eclipse.net4j.TransportInjector@47c92
org.eclipse.net4j.signal.heartbeat.HeartBeatProtocol$Server$TimerInjector@8e595a
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18c5435
extensionRegistryListener = org.eclipse.net4j.internal.util.container.PluginElementProcessorList$1@1ec8e6d

main [debug.lifecycle.dump] DUMP PluginContainer
ManagedContainer.factoryRegistry =
org.eclipse.net4j.acceptors[ssl]=Factory[org.eclipse.net4j.acceptors, ssl]
org.eclipse.net4j.connectors[ssl]=Factory[org.eclipse.net4j.connectors, ssl]
org.eclipse.net4j.util.security.credentialsProviders[interactive]=Factory[org.eclipse.net4j.util.security.credentialsProviders, interactive]
org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.net4j.randomizers, default]
org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net4j.userManagers, file]
org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org.eclipse.net4j.buddies.clientFacilities, chat]
org.eclipse.net4j.serverProtocols[heartbeat]=Factory[org.eclipse.net4j.serverProtocols, heartbeat]
org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.acceptors:jvm]=Factory[org.eclipse.net4j.util.ui.elementWizards, org.eclipse.net4j.acceptors:jvm]
org.eclipse.net4j.authenticators[file]=Factory[org.eclipse.net4j.authenticators, file]
org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.connectors:jvm]=Factory[org.eclipse.net4j.util.ui.elementWizards, org.eclipse.net4j.connectors:jvm]
org.eclipse.net4j.bufferProviders[default]=Factory[org.eclipse.net4j.bufferProviders, default]
org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.acceptors, tcp]
org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.connectors:tcp]=Factory[org.eclipse.net4j.util.ui.elementWizards, org.eclipse.net4j.connectors:tcp]
org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.acceptors:tcp]=Factory[org.eclipse.net4j.util.ui.elementWizards, org.eclipse.net4j.acceptors:tcp]
org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j.connectors, tcp]
org.eclipse.net4j.executorServices[default]=Factory[org.eclipse.net4j.executorServices, default]
org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org.eclipse.net4j.buddies.serverFacilities, chat]
org.eclipse.net4j.util.timers[daemon]=Factory[org.eclipse.net4j.util.timers, daemon]
org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.selectors, tcp]
ManagedContainer.postProcessors =
org.eclipse.net4j.TransportInjector@47c92
org.eclipse.net4j.signal.heartbeat.HeartBeatProtocol$Server$TimerInjector@8e595a
org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18c5435
ManagedContainer.elementRegistry =

main [debug.om] Plugin container created: ManagedContainer
main [debug.om] Starting bundle org.eclipse.net4j.util.ui
main [debug.om] Starting bundle org.eclipse.net4j.buddies.ui
main [debug.om] Starting bundle org.eclipse.net4j.buddies
main [debug.lifecycle] Activating SessionManager
main [debug.om] Starting bundle org.eclipse.net4j.buddies.common
main [debug.lifecycle.dump] DUMP SessionManager
session = null
state = DISCONNECTED
connecting = false
flashing = false

main [debug.om] Starting bundle org.eclipse.net4j.ui.shared
Application Started: 13341
main [debug.om] Starting bundle org.eclipse.net4j.ui
buddies-connector [debug.connector] Setting userID null for TCPClientConnector[localhost:2 036]
buddies-connector [debug.lifecycle] Activating BufferPool[4 096]
buddies-connector [debug.lifecycle.dump] DUMP BufferPool
BufferProvider.bufferCapacity = 4096
BufferProvider.providedBuffers = 0
BufferProvider.retainedBuffers = 0
provider = BufferFactory[4 096]
pooledBuffers = 0

buddies-connector [debug.lifecycle] Activating TCPSelector
buddies-connector [debug.lifecycle.dump] DUMP TCPSelector
selector = sun.nio.ch.WindowsSelectorImpl@117c544
clientOperations =
serverOperations =
thread = Thread[TCPSelector,6,main]
running = true

buddies-connector [debug.lifecycle] Activating TCPClientConnector[localhost:2 036]
buddies-connector [debug.connector] Setting state CONNECTING (was disconnected) for TCPClientConnector[localhost:2 036]
buddies-connector [debug.lifecycle] Activating Channel[Control, CLIENT]
buddies-connector [debug.lifecycle] Activating ReceiveSerializer
buddies-connector [debug.lifecycle.dump] DUMP ReceiveSerializer
Worker.daemon = true
Worker.activationTimeout = 10000
Worker.deactivationTimeout = 10000
QueueWorker.queue =
QueueWorker.pollMillis = 100

buddies-connector [debug.lifecycle.dump] DUMP ControlChannel
Channel.userID = null
Channel.channelMultiplexer = TCPClientConnector[localhost:2 036]
Channel.id = 0
Channel.receiveExecutor = java.util.concurrent.ThreadPoolExecutor@d0892[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
Channel.receiveHandler = null
Channel.receiveSerializer = ReceiveSerializer
Channel.sendQueue =
Channel.sentBuffers = 0
Channel.receivedBuffers = 0
acknowledgements = SynchronizingCorrelator{}

buddies-connector [debug] Ordering client operation REGISTER java.nio.channels.SocketChannel[unconnected]
TCPSelector [debug] Executing client operation REGISTER java.nio.channels.SocketChannel[unconnected]
TCPSelector [debug] Registering java.nio.channels.SocketChannel[unconnected]
buddies-connector [debug.lifecycle.dump] DUMP TCPClientConnector
ShareableLifecycle.refCount = null
ChannelMultiplexer.config = TransportConfig[receiveExecutor=java.util.concurrent.ThreadPoolExecutor@d0892[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], bufferProvider=BufferPool[4 096], protocolProvider=org.eclipse.net4j.ContainerProtocolProvider$Client@54e88c, negotiator=null]
ChannelMultiplexer.openChannelTimeout = -1
ChannelMultiplexer.channels =
Connector.userID = null
Connector.connectorState = CONNECTING
TCPConnector.socketChannel = java.nio.channels.SocketChannel[unconnected]
TCPConnector.selector = TCPSelector
TCPConnector.writeQueue =
TCPConnector.inputBuffer = null
TCPConnector.controlChannel = Channel[Control, CLIENT]
TCPConnector.host = localhost
TCPConnector.port = 2036

TCPSelector [debug] Connecting java.nio.channels.SocketChannel[connection-pending remote=localhost/127.0.0.1:2036]
Exception in thread "buddies-connector" org.eclipse.net4j.util.lifecycle.LifecycleException: Could not activate TCPClientConnector[localhost:2 036]
at org.eclipse.net4j.util.container.ManagedContainer.activateElement(ManagedContainer.java:355)
at org.eclipse.net4j.util.container.ManagedContainer.getElement(ManagedContainer.java:325)
at org.eclipse.net4j.util.container.ManagedContainer.getElement(ManagedContainer.java:301)
at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:81)
at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:98)
at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:117)
at org.eclipse.net4j.internal.buddies.SessionManager$1.run(SessionManager.java:116)

[Updated on: Sun, 27 October 2013 21:20]

Report message to a moderator

Re: Understanding Net4j [message #1159326 is a reply to message #1157785] Mon, 28 October 2013 13:00 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
I dont know how it worked now. But when I clicked "Connect" again and again(for 3 or 4 times), it worked(in the buddies view). I think I have started the connection between the Client and the Server.

But still I see that all the tool items are inactive. I think, they should have been active when the connection with the server was 100% successful.

The log details (when the connection is established) is given below:

buddies-connector [debug] Registering channel 9 with protocol SignalProtocol[buddies]
buddies-connector [debug.channel] Handling buffer: Buffer@1[PUTTING] --> Channel[Control, CLIENT]
buddies-connector [debug] Ordering client operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:57080 remote=localhost/127.0.0.1:2036] = true
TCPSelector [debug] Executing client operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:57080 remote=localhost/127.0.0.1:2036] = true
TCPSelector [debug] Setting interest READ|WRITE (was read)
TCPSelector [debug] Writing java.nio.channels.SocketChannel[connected local=/127.0.0.1:57080 remote=localhost/127.0.0.1:2036]
TCPSelector [debug] Ordering client operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:57080 remote=localhost/127.0.0.1:2036] = false
TCPSelector [debug] Executing client operation INTEREST WRITE java.nio.channels.SocketChannel[connected local=/127.0.0.1:57080 remote=localhost/127.0.0.1:2036] = false
TCPSelector [debug] Setting interest READ (was read|write)
TCPSelector [debug] Reading java.nio.channels.SocketChannel[connected local=/127.0.0.1:57080 remote=localhost/127.0.0.1:2036]

[Updated on: Mon, 28 October 2013 13:03]

Report message to a moderator

Re: Understanding Net4j [message #1165412 is a reply to message #1157785] Fri, 01 November 2013 09:04 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6441
Registered: July 2009
Senior Member
Sorry for the late reply. The launch configs are a little out-dated. In the server launch you need to add the
org.eclipse.emf.cdo.server.net4j plugin and its required plugins. In the clients that you launch make sure that you
first go to the preferences and use unique userIDs in the Net4j Buddies settings of each client. Then make sure that you
also open the Collaborations view.

After years this example system could need some polishing, but unfortunately I have no time. If you want to work a
little on it your contributions would be welcome ;-)

Cheers
/Eike

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


Am 27.10.2013 14:11, schrieb UmaShankar Subramani:
> Hi Eike,
>
> The complete Errorlog is given below
>
> Time to load bundles: 35
> Starting application: 7683
> main [debug.om] Starting bundle org.eclipse.net4j.util
> main [debug.lifecycle] Activating ManagedContainer
> main [debug.lifecycle] Activating {}
> main [debug.lifecycle.dump] DUMP PluginFactoryRegistry
> ShareableLifecycle.refCount = null
> Registry.autoCommit = true
> Registry.transaction = null
> HashMapRegistry.map = org.eclipse.net4j.acceptors[ssl]=Factory[org.eclipse.net4j.acceptors, ssl]
> org.eclipse.net4j.connectors[ssl]=Factory[org.eclipse.net4j.connectors, ssl]
> org.eclipse.net4j.util.security.credentialsProviders[interactive]=Factory[org.eclipse.net4j.util.security.credentialsProviders,
> interactive]
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.net4j.randomizers, default]
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net4j.userManagers, file]
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org.eclipse.net4j.buddies.clientFacilities, chat]
> org.eclipse.net4j.serverProtocols[heartbeat]=Factory[org.eclipse.net4j.serverProtocols, heartbeat]
> org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.acceptors:jvm]=Factory[org.eclipse.net4j.util.ui.elementWizards,
> org.eclipse.net4j.acceptors:jvm]
> org.eclipse.net4j.authenticators[file]=Factory[org.eclipse.net4j.authenticators, file]
> org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.connectors:jvm]=Factory[org.eclipse.net4j.util.ui.elementWizards,
> org.eclipse.net4j.connectors:jvm]
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclipse.net4j.bufferProviders, default]
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.acceptors, tcp]
> org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.connectors:tcp]=Factory[org.eclipse.net4j.util.ui.elementWizards,
> org.eclipse.net4j.connectors:tcp]
> org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.acceptors:tcp]=Factory[org.eclipse.net4j.util.ui.elementWizards,
> org.eclipse.net4j.acceptors:tcp]
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j.connectors, tcp]
> org.eclipse.net4j.executorServices[default]=Factory[org.eclipse.net4j.executorServices, default]
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org.eclipse.net4j.buddies.serverFacilities, chat]
> org.eclipse.net4j.util.timers[daemon]=Factory[org.eclipse.net4j.util.timers, daemon]
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.selectors, tcp]
> container = ManagedContainer
> extensionRegistryListener = org.eclipse.net4j.internal.util.factory.PluginFactoryRegistry$1@13e10bc
>
> main [debug.lifecycle] Activating []
> main [debug.om] Starting bundle org.eclipse.net4j
> main [debug.om] Starting bundle org.eclipse.net4j.tcp
> main [debug.lifecycle.dump] DUMP PluginElementProcessorList
> processors = mailto:org.eclipse.net4j.TransportInjector@47c92
> org.eclipse.net4j.signal.heartbeat.HeartBeatProtocol$Server$TimerInjector@8e595a
> mailto:org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18c5435
> extensionRegistryListener = org.eclipse.net4j.internal.util.container.PluginElementProcessorList$1@1ec8e6d
>
> main [debug.lifecycle.dump] DUMP PluginContainer
> ManagedContainer.factoryRegistry = org.eclipse.net4j.acceptors[ssl]=Factory[org.eclipse.net4j.acceptors, ssl]
> org.eclipse.net4j.connectors[ssl]=Factory[org.eclipse.net4j.connectors, ssl]
> org.eclipse.net4j.util.security.credentialsProviders[interactive]=Factory[org.eclipse.net4j.util.security.credentialsProviders,
> interactive]
> org.eclipse.net4j.randomizers[default]=Factory[org.eclipse.net4j.randomizers, default]
> org.eclipse.net4j.userManagers[file]=Factory[org.eclipse.net4j.userManagers, file]
> org.eclipse.net4j.buddies.clientFacilities[chat]=Factory[org.eclipse.net4j.buddies.clientFacilities, chat]
> org.eclipse.net4j.serverProtocols[heartbeat]=Factory[org.eclipse.net4j.serverProtocols, heartbeat]
> org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.acceptors:jvm]=Factory[org.eclipse.net4j.util.ui.elementWizards,
> org.eclipse.net4j.acceptors:jvm]
> org.eclipse.net4j.authenticators[file]=Factory[org.eclipse.net4j.authenticators, file]
> org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.connectors:jvm]=Factory[org.eclipse.net4j.util.ui.elementWizards,
> org.eclipse.net4j.connectors:jvm]
> org.eclipse.net4j.bufferProviders[default]=Factory[org.eclipse.net4j.bufferProviders, default]
> org.eclipse.net4j.acceptors[tcp]=Factory[org.eclipse.net4j.acceptors, tcp]
> org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.connectors:tcp]=Factory[org.eclipse.net4j.util.ui.elementWizards,
> org.eclipse.net4j.connectors:tcp]
> org.eclipse.net4j.util.ui.elementWizards[org.eclipse.net4j.acceptors:tcp]=Factory[org.eclipse.net4j.util.ui.elementWizards,
> org.eclipse.net4j.acceptors:tcp]
> org.eclipse.net4j.connectors[tcp]=Factory[org.eclipse.net4j.connectors, tcp]
> org.eclipse.net4j.executorServices[default]=Factory[org.eclipse.net4j.executorServices, default]
> org.eclipse.net4j.buddies.serverFacilities[chat]=Factory[org.eclipse.net4j.buddies.serverFacilities, chat]
> org.eclipse.net4j.util.timers[daemon]=Factory[org.eclipse.net4j.util.timers, daemon]
> org.eclipse.net4j.selectors[tcp]=Factory[org.eclipse.net4j.selectors, tcp]
> ManagedContainer.postProcessors = mailto:org.eclipse.net4j.TransportInjector@47c92
> org.eclipse.net4j.signal.heartbeat.HeartBeatProtocol$Server$TimerInjector@8e595a
> mailto:org.eclipse.net4j.internal.tcp.TCPSelectorInjector@18c5435
> ManagedContainer.elementRegistry =
> main [debug.om] Plugin container created: ManagedContainer
> main [debug.om] Starting bundle org.eclipse.net4j.util.ui
> main [debug.om] Starting bundle org.eclipse.net4j.buddies.ui
> main [debug.om] Starting bundle org.eclipse.net4j.buddies
> main [debug.lifecycle] Activating SessionManager
> main [debug.om] Starting bundle org.eclipse.net4j.buddies.common
> main [debug.lifecycle.dump] DUMP SessionManager
> session = null
> state = DISCONNECTED
> connecting = false
> flashing = false
>
> main [debug.om] Starting bundle org.eclipse.net4j.ui.shared
> Application Started: 13341
> main [debug.om] Starting bundle org.eclipse.net4j.ui
> buddies-connector [debug.connector] Setting userID null for TCPClientConnector[localhost:2 036]
> buddies-connector [debug.lifecycle] Activating BufferPool[4 096]
> buddies-connector [debug.lifecycle.dump] DUMP BufferPool
> BufferProvider.bufferCapacity = 4096
> BufferProvider.providedBuffers = 0
> BufferProvider.retainedBuffers = 0
> provider = BufferFactory[4 096]
> pooledBuffers = 0
>
> buddies-connector [debug.lifecycle] Activating TCPSelector
> buddies-connector [debug.lifecycle.dump] DUMP TCPSelector
> selector = mailto:sun.nio.ch.WindowsSelectorImpl@117c544
> clientOperations = serverOperations = thread = Thread[TCPSelector,6,main]
> running = true
>
> buddies-connector [debug.lifecycle] Activating TCPClientConnector[localhost:2 036]
> buddies-connector [debug.connector] Setting state CONNECTING (was disconnected) for TCPClientConnector[localhost:2 036]
> buddies-connector [debug.lifecycle] Activating Channel[Control, CLIENT]
> buddies-connector [debug.lifecycle] Activating ReceiveSerializer
> buddies-connector [debug.lifecycle.dump] DUMP ReceiveSerializer
> Worker.daemon = true
> Worker.activationTimeout = 10000
> Worker.deactivationTimeout = 10000
> QueueWorker.queue = QueueWorker.pollMillis = 100
>
> buddies-connector [debug.lifecycle.dump] DUMP ControlChannel
> Channel.userID = null
> Channel.channelMultiplexer = TCPClientConnector[localhost:2 036]
> Channel.id = 0
> Channel.receiveExecutor = mailto:java.util.concurrent.ThreadPoolExecutor@d0892[Running, pool size = 0, active threads
> = 0, queued tasks = 0, completed tasks = 0]
> Channel.receiveHandler = null
> Channel.receiveSerializer = ReceiveSerializer
> Channel.sendQueue = Channel.sentBuffers = 0
> Channel.receivedBuffers = 0
> acknowledgements = SynchronizingCorrelator{}
>
> buddies-connector [debug] Ordering client operation REGISTER java.nio.channels.SocketChannel[unconnected]
> TCPSelector [debug] Executing client operation REGISTER java.nio.channels.SocketChannel[unconnected]
> TCPSelector [debug] Registering java.nio.channels.SocketChannel[unconnected]
> buddies-connector [debug.lifecycle.dump] DUMP TCPClientConnector
> ShareableLifecycle.refCount = null
> ChannelMultiplexer.config =
> TransportConfig[receiveExecutor=mailto:java.util.concurrent.ThreadPoolExecutor@d0892[Running, pool size = 0, active
> threads = 0, queued tasks = 0, completed tasks = 0], bufferProvider=BufferPool[4 096],
> protocolProvider=org.eclipse.net4j.ContainerProtocolProvider$Client@54e88c, negotiator=null]
> ChannelMultiplexer.openChannelTimeout = -1
> ChannelMultiplexer.channels = Connector.userID = null
> Connector.connectorState = CONNECTING
> TCPConnector.socketChannel = java.nio.channels.SocketChannel[unconnected]
> TCPConnector.selector = TCPSelector
> TCPConnector.writeQueue = TCPConnector.inputBuffer = null
> TCPConnector.controlChannel = Channel[Control, CLIENT]
> TCPConnector.host = localhost
> TCPConnector.port = 2036
>
> TCPSelector [debug] Connecting java.nio.channels.SocketChannel[connection-pending remote=localhost/127.0.0.1:2036]
> Exception in thread "buddies-connector" org.eclipse.net4j.util.lifecycle.LifecycleException: Could not activate
> TCPClientConnector[localhost:2 036]
> at org.eclipse.net4j.util.container.ManagedContainer.activateElement(ManagedContainer.java:355)
> at org.eclipse.net4j.util.container.ManagedContainer.getElement(ManagedContainer.java:325)
> at org.eclipse.net4j.util.container.ManagedContainer.getElement(ManagedContainer.java:301)
> at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:81)
> at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:98)
> at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:117)
> at org.eclipse.net4j.internal.buddies.SessionManager$1.run(SessionManager.java:116)
>


Re: Understanding Net4j [message #1167445 is a reply to message #1165412] Sat, 02 November 2013 17:24 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Eike,

Thanks for your reply. Now, the Buddies Example is working fine.

It works only in the "Modeling Eclipse". I am okay with the "Modelling Eclipse", where I can run BuddiesExample without any problem. But I am curious to know about running BuddiesExample on the "Classic Eclipse".

What are the plugins should I install. When I tried to install just "Net4j Signalling Platform" alone it obviously did not work. So, I think CDO should also be installed.
Is it not possible to use "Net4j Sinalling Platform" without CDO's support even today?

Finally, I am really happy to Contribute to Eclipse. I can do the polishing thing for this BuddiesExample. I am also thinking about making a tutorial for installing "Net4j Signalling Platform", using the Buddies Example, with steps.

[Updated on: Sat, 02 November 2013 17:26]

Report message to a moderator

Re: Understanding Net4j [message #1169802 is a reply to message #1167445] Mon, 04 November 2013 07:44 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6441
Registered: July 2009
Senior Member
Am 02.11.2013 18:24, schrieb UmaShankar Subramani:
> Hi Eike,
>
> Thanks for your reply. Now, the Buddies Example is working fine.
> It works only in the "Modeling Eclipse". I am okay with the "Modelling Eclipse", where I can run BuddiesExample
> without any problem. But I am curious to know abount running BuddiesExample on the "Classic Eclipse".
>
> What are the plugins should I install. When I tried to install just "Net4j Signalling Platform" alone it obviously
> did not work. So, I think CDO should also be installed.
> Is it not possible to use "Net4j Sinalling Platform" without CDO's support even today?
Net4j can perfectly run without CDO because it doesn't have any dependencies on it. Only the Buddies example uses CDO's
server/config file mechanism, which I think is acceptale for an example.

>
> Finally, I am really happy to Contribute to Eclipse. I can do the polishing thing for this BuddiesExample. I am also
> thinking about making a tutorial for installing "Net4j Signalling Platform", using the Buddies Example, with steps.
That would be awesome. Send me a link when you want me to review it.

Cheers
/Eike

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


Re: Understanding Net4j [message #1173156 is a reply to message #1169802] Wed, 06 November 2013 10:21 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Eike,

Thanks for your reply. Is there any Net4j example which does not depend on CDO at all?

Sure, I will send you the link for reviewing, when I am done.


thanks,
Uma
Re: Understanding Net4j [message #1173212 is a reply to message #1173156] Wed, 06 November 2013 11:10 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6441
Registered: July 2009
Senior Member
Am 06.11.2013 11:21, schrieb UmaShankar Subramani:
> Hi Eike,
>
> Thanks for your reply. Is there any Net4j example which does not depend on CDO at all?
Why is it a problem that the Net4j Buddies example makes use of the CDO mechanism to read the acceptor configuration
from the xml fie?

There are other smaller examples, all under net4j.examples.* and there's te bigger JMS example.

Cheers
/Eike

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


> Sure, I will send you the link for reviewing, when I am done.
>
>
> thanks,
> Uma


Re: Understanding Net4j [message #1183472 is a reply to message #1173212] Tue, 12 November 2013 22:16 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Eike,

I am done with a simple tutorial for Net4jChatBuddies Example. But seriously, I do not know where should I put it Sad . Could you please tell me? I have not done any contributions like this before Razz
Re: Understanding Net4j [message #1193995 is a reply to message #1183472] Mon, 18 November 2013 09:30 Go to previous message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Eike,

Here is the link http://wiki.eclipse.org/Using_Net4j_example

Please edit, if something is wrong.

[Updated on: Mon, 18 November 2013 09:31]

Report message to a moderator

Previous Topic:EMF Compare plugin does not compile
Next Topic:How to use swt TextField to edit an attribute?
Goto Forum:
  


Current Time: Mon Aug 19 14:02:31 GMT 2019

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

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

Back to the top