Looks like you are still mixing Akka 2.3 and 2.4. That is not possible when using Distributed PubSub. It was experimental in contrib in 2.3, and then moved to cluster-tools in 2.4.
Note: Unimplemented deserialization of message with manifest [akka.contrib.pattern.DistributedPubSubMediator$Internal$Status] /Patrik tis 28 mars 2017 kl. 15:55 skrev Anton Gerbracht <[email protected] >: > Added the akka-cluster-tool jar to provide the missing > serializer. Serializer 9 is DistributedPubSubMessageSerializer > > now getting this error: > > > [error] a.r.Remoting - Unimplemented deserialization of message with > manifest [akka.contrib.pattern.DistributedPubSubMediator$Internal$Status] > in [akka.cluster.pubsub.protobuf.DistributedPubSubMessageSerializer] > java.lang.IllegalArgumentException: Unimplemented deserialization of > message with manifest > [akka.contrib.pattern.DistributedPubSubMediator$Internal$Status] in > [akka.cluster.pubsub.protobuf.DistributedPubSubMessageSerializer] > at > akka.cluster.pubsub.protobuf.DistributedPubSubMessageSerializer.fromBinary(DistributedPubSubMessageSerializer.scala:75) > at > akka.serialization.Serialization.akka$serialization$Serialization$$deserializeByteArray(Serialization.scala:148) > at > akka.serialization.Serialization$$anonfun$deserialize$2.apply(Serialization.scala:137) > at scala.util.Try$.apply(Try.scala:192) > at > akka.serialization.Serialization.deserialize(Serialization.scala:131) > at > akka.remote.serialization.MessageContainerSerializer.fromBinary(MessageContainerSerializer.scala:80) > at > akka.serialization.Serialization.akka$serialization$Serialization$$deserializeByteArray(Serialization.scala:151) > at > akka.serialization.Serialization$$anonfun$deserialize$2.apply(Serialization.scala:137) > at scala.util.Try$.apply(Try.scala:192) > at > akka.serialization.Serialization.deserialize(Serialization.scala:131) > > On Friday, March 24, 2017 at 3:13:00 AM UTC-5, Russ Goldstein wrote: > > Hello, > I am writing a Scala Play application (Play version 2.5 using Akka 2.4.12 > on Scala 2.11) in which I would like it to join to seed nodes. These seed > nodes are within a Java application (running Akka 2.4.12 on Java 8). The > application.conf snippet pertaining to Akka looks as follows: > > play.akka.actor-system="MyActorSystem" > > akka { > actor { > provider = "akka.cluster.ClusterActorRefProvider" > serializers { > java = "akka.serialization.JavaSerializer" > } > serialization-bindings { > "java.util.Serializable" = java #just using this for testing purposes > } > } > remote { > log-remote-lifecycle-events = off > netty.tcp { > hostname = localhost > port = 9076 > } > } > cluster { > seed-nodes = [ > "akka.tcp://MyActorSystem@localhost:9079" #seeding application is on > same server > ] > auto-down-unreachable-after = 10s > metrics { > enabled = off > } > } > } > > > When I try to start the play application, the following error occurs: > > [error] a.r.Remoting - Cannot find serializer with id [9]. The most > probable reason is that the configuration entry akka.actor.serializers is > not in synch between the two systems. > java.io.NotSerializableException: Cannot find serializer with id [9]. The > most probable reason is that the configuration entry akka.actor.serializers > is not in synch between the two systems. > at > akka.serialization.Serialization$$anonfun$deserialize$2.apply(Serialization.scala:133) > at scala.util.Try$.apply(Try.scala:192) > at akka.serialization.Serialization.deserialize(Serialization.scala:131) > at > akka.remote.serialization.MessageContainerSerializer.fromBinary(MessageContainerSerializer.scala:80) > at > akka.serialization.Serialization.akka$serialization$Serialization$$deserializeByteArray(Serialization.scala:151) > at > akka.serialization.Serialization$$anonfun$deserialize$2.apply(Serialization.scala:137) > at scala.util.Try$.apply(Try.scala:192) > at akka.serialization.Serialization.deserialize(Serialization.scala:131) > at akka.remote.MessageSerializer$.deserialize(MessageSerializer.scala:30) > at > akka.remote.DefaultMessageDispatcher.payload$lzycompute$1(Endpoint.scala:64) > > Any help would be greatly appreciated. > > Thanks, > Russ > > -- > >>>>>>>>>> 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.
