Reputation: 91
I have noticed that Akka 2.3.2 does not have the akka-remote-test-experiment. Can anyone suggest to me on how to solve this problem:
[ERROR] [05/23/2014 12:33:38.765] [Configurations-akka.actor.default-dispatcher-15] [akka://Configurations/system/cluster/core/daemon/joinSeedNodeProcess-1] No transport is loaded for protocol: [akka], available protocols: [akka.tcp]
akka.remote.RemoteTransportException: No transport is loaded for protocol: [akka], available protocols: [akka.tcp]
at akka.remote.Remoting$.localAddressForRemote(Remoting.scala:80)
at akka.remote.Remoting.localAddressForRemote(Remoting.scala:122)
at akka.remote.RemoteActorRefProvider.rootGuardianAt(RemoteActorRefProvider.scala:338)
at akka.actor.ActorRefFactory$class.actorSelection(ActorRefProvider.scala:318)
at akka.actor.ActorCell.actorSelection(ActorCell.scala:369)
at akka.cluster.JoinSeedNodeProcess$$anonfun$receive$4$$anonfun$applyOrElse$1.applyOrElse(ClusterDaemon.scala:1084)
at akka.cluster.JoinSeedNodeProcess$$anonfun$receive$4$$anonfun$applyOrElse$1.applyOrElse(ClusterDaemon.scala:1083)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)
at scala.collection.TraversableLike$$anonfun$collect$1.apply(TraversableLike.scala:278)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at scala.collection.TraversableLike$class.collect(TraversableLike.scala:278)
at scala.collection.AbstractTraversable.collect(Traversable.scala:105)
at akka.cluster.JoinSeedNodeProcess$$anonfun$receive$4.applyOrElse(ClusterDaemon.scala:1083)
at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
at akka.cluster.JoinSeedNodeProcess.aroundReceive(ClusterDaemon.scala:1067)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
at akka.dispatch.Mailbox.run(Mailbox.scala:220)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Upvotes: 3
Views: 2807
Reputation: 1140
This is identical to Mario's answer, just different syntax. Change
val remote = context.actorFor("akka://[email protected]:5150/user/RemoteActor")
to
val remote = context.actorFor("akka.tcp://[email protected]:5150/user/RemoteActor")
Upvotes: 4
Reputation: 2353
This looks like a problem when creating the instance of akka.actor.Address
. For remoting to work the first parameter has to be "akka.tcp"
instead of "akka"
:
val addr = Address("akka.tcp", "actorSystem", hostname, port)
Upvotes: 1