It can be my machines (a mac and a ubuntu both with latest java 7), but it is not possible to run the examples from pulsar.
lein with-profile cluster update-in :jvm-opts conj '"-Dgalaxy.nodeId=2"' '"-Dgalaxy.port=7052"' '"-Dgalaxy.slave_port=8052"' -- run -m co.paralleluniverse.pulsar.examples.cluster.ping
Pong started
21:30:47.763 [udpCommReceiveExecutor-6] netty.UDPComm [WARN ] {} Exception caught in channel [id: 0x36d1504c,
0.0.0.0/0.0.0.0:7050]: java.lang.RuntimeException Message received from unhandled node -1 java.lang.RuntimeException: Message received from unhandled node -1
at co.paralleluniverse.galaxy.netty.UDPComm.messageReceived(UDPComm.java:454)
at co.paralleluniverse.galaxy.netty.UDPComm$1$1.messageReceived(UDPComm.java:299)
at co.paralleluniverse.galaxy.netty.ChannelMessageNodeResolver.messageReceived(ChannelMessageNodeResolver.java:36)
at co.paralleluniverse.galaxy.netty.OneToOneCodec.handleUpstream(OneToOneCodec.java:63)
at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)
at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)
at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314)
21:30:47.817 [udpCommReceiveExecutor-1] netty.UDPComm [WARN ] {} Exception caught in channel [id: 0x36d1504c,
0.0.0.0/0.0.0.0:7050]: java.lang.RuntimeException Message received from unhandled node -1 java.lang.RuntimeException: Message received from unhandled node -1
at co.paralleluniverse.galaxy.netty.UDPComm.messageReceived(UDPComm.java:454)
at co.paralleluniverse.galaxy.netty.UDPComm$1$1.messageReceived(UDPComm.java:299)
at co.paralleluniverse.galaxy.netty.ChannelMessageNodeResolver.messageReceived(ChannelMessageNodeResolver.java:36)
at co.paralleluniverse.galaxy.netty.OneToOneCodec.handleUpstream(OneToOneCodec.java:63)
at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)
at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)
at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314)
21:30:47.932 [pool-9-thread-1] core.Cache [WARN ] {} TIMEOUT: Op.GET(line:3497f8, data:co.paralleluniverse.galaxy.core.StringRootManager$StringRootPageHandler@716cb856)
21:30:47.934 [ForkJoinPool-default-fiber-pool-worker-5] galaxy.GlxGlobalRegistry [ERROR] {} Registering actor LocalActorRef{actor: PulsarActor@pong[owner: fiber-10000001]} at root pong failed due to timeout
Exception in thread "main" java.lang.RuntimeException: Actor registration failed
at co.paralleluniverse.remote.galaxy.GlxGlobalRegistry.register(GlxGlobalRegistry.java:74)
There is no changes. It is a simples checkout/run procedure. And no expected outcome.
Running the pingpong-register with a single instance, all the thing works as expected.
Adding a galaxy server to scenari, I get the following output on node startups:
21:36:46.364 [jgroups-0] core.AbstractCluster [WARN ] {} No reader set for property ip_server_port (found in node freeplastic-28313)
21:36:46.366 [jgroups-0] core.AbstractCluster [WARN ] {} No reader set for property ip_server_port (found in node freeplastic-28313)
21:36:46.367 [jgroups-0] netty.SocketNodeAddressResolver [WARN ] {} Socket port (property ip_port) not set for node NODE freeplastic-28313 id: 0 ip_addr: /
127.0.1.1 jg_addr: freeplastic-28313
I don't know. Tried to combine two different machines, one for server other for peers. Nothing happens. If anybody managed to run the very first examples, please share what you did.
regards
--
Paulo Suzart
@paulosuzart