Actor names must be unique amongst siblings, i.e. one parent actor can’t have 
child actors with the same name.
A different machine means a different actor system and hence a different actor 
tree, i.e. you can have actors with the same path on a different machine.

Heiko

--

Heiko Seeberger
Home: heikoseeberger.de <http://heikoseeberger.de/>
Twitter: @hseeberger <https://twitter.com/hseeberger>
Public key: keybase.io/hseeberger <https://keybase.io/hseeberger>
> On 29 Sep 2015, at 14:13, Kostas kougios <kostas.koug...@googlemail.com> 
> wrote:
> 
> Is it possible to create an actor with the same name on a different server? 
> (currently my testcase runs in the same jvm)
> 
> I am getting
> 
> [ERROR] [09/29/2015 13:07:35.555] 
> [testSystem-akka.actor.default-dispatcher-22] 
> [akka://testSystem/user/databaseServer] actor name [index:int-string] is not 
> unique!
> akka.actor.InvalidActorNameException: actor name [index:int-string] is not 
> unique!
> 
> The actor [index:int-string] was created on ActorSystem A and I am trying to 
> create [index:int-string] on ActorSystem B. The system name is testSystem on 
> both ActorSystems.
> 
> 
> -- 
> >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/>
> >>>>>>>>>> Check the FAQ: 
> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html 
> >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html>
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user 
> >>>>>>>>>> <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 akka-user+unsubscr...@googlegroups.com 
> <mailto:akka-user+unsubscr...@googlegroups.com>.
> To post to this group, send email to akka-user@googlegroups.com 
> <mailto:akka-user@googlegroups.com>.
> Visit this group at http://groups.google.com/group/akka-user 
> <http://groups.google.com/group/akka-user>.
> For more options, visit https://groups.google.com/d/optout 
> <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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to