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.