Please read the cluster docs: http://doc.akka.io/docs/akka/2.4/java/cluster-usage.html#A_Simple_Cluster_Example
as the error hints at. -- Konrad `ktoso` Malawski Akka <http://akka.io> @ Lightbend <http://lightbend.com> On 11 July 2016 at 09:23:56, Drisha Roy ([email protected]) wrote: hi, I am getting exception like this. Cant understand why i am getting this please help. my akkaVersion = "2.4.4",play 2.5.0 [MQReceiver-akka.actor.default-dispatcher-7] [akka://MQReceiver/user/TOPIC;actionExchange&actiontopicES] null akka.actor.ActorInitializationException: akka://MQReceiver/user/TOPIC;actionExchange&actiontopicES: exception during creation at akka.actor.ActorInitializationException$.apply(Actor.scala:174) at akka.actor.ActorCell.create(ActorCell.scala:606) at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:461) at akka.actor.ActorCell.systemInvoke(ActorCell.scala:483) at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282) at akka.dispatch.Mailbox.run(Mailbox.scala:223) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at akka.util.Reflect$.instantiate(Reflect.scala:65) at akka.actor.ArgsReflectConstructor.produce(IndirectActorProducer.scala:96) at akka.actor.Props.newActor(Props.scala:213) at akka.actor.ActorCell.newActor(ActorCell.scala:562) at akka.actor.ActorCell.create(ActorCell.scala:588) ... 7 more Caused by: akka.ConfigurationException: ActorSystem [akka://MQReceiver] needs to have a 'ClusterActorRefProvider' enabled in the configuration, currently uses [akka.actor.LocalActorRefProvider] at akka.cluster.Cluster.<init>(Cluster.scala:71) at akka.cluster.Cluster$.createExtension(Cluster.scala:34) at akka.cluster.Cluster$.createExtension(Cluster.scala:29) at akka.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:755) at akka.actor.ExtensionId$class.apply(Extension.scala:79) at akka.cluster.Cluster$.apply(Cluster.scala:29) at akka.actor.ExtensionId$class.get(Extension.scala:91) at akka.cluster.Cluster$.get(Cluster.scala:30) at akka.cluster.Cluster.get(Cluster.scala) at controllers.RecvArgv.<init>(RecvArgv.java:42) ... 16 more [INFO] [07/08/2016 11:32:38.092] [MQReceiver-akka.actor.default-dispatcher-7] [akka://MQReceiver/user/TOPIC;actionExchange&actiontopicES] Message [java.lang.String] from Actor[akka://MQReceiver/user/TOPIC;actionExchange&actiontopicES#1160606344] to Actor[akka://MQReceiver/user/TOPIC;actionExchange&actiontopicES#1160606344] was not delivered. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
