Hi Boris,

That path looks weird:
BalancingPool-/akka.tcp/systemB@localhost:61705/user/receiver/c1/workerPool

Maybe an URI encoding missing somewhere. Do you have a minimized code that
reproduces the problem?

-Endre


On Tue, Mar 25, 2014 at 11:40 PM, Boris Capitanu <bor...@gmail.com> wrote:

> In the mean time I found that I was looking at a slightly older version of
> the configuration (for 2.3-M1), and found the "BalancingPool" in the 2.3.0
> docs.
> However, using the following config:
>
>   actor.deployment {
>     /receiver {
>       router = round-robin-pool
>       nr-of-instances = 1
>       target.nodes = [ "akka.tcp://systemA@localhost:2553" ]
>     }
>
>     "/receiver/*/workerPool" {
>       router = balancing-pool
>       nr-of-instances = 4
>     }
>   }
>
> and the following actor creation code in the "Receiver":
>
>   val workerPool = context.actorOf(FromConfig.props(Props[Worker]),
> "workerPool")
>
> I still get the first exception from my previous post:
>
>
>> path parameter: Invalid path 
>> 'BalancingPool-/akka.tcp/systemB@localhost:61671/user/receiver/c1/workerPool':
>> Token not allowed in path expression: '@' (Reserved character '@' is not
>> allowed outside quotes) (you can double-quote this token if you really want
>> it here)
>
>
> Same error if I try to define it in code, rather than in config (having
> removed the configuration entry for "/receiver/*/workerPool" shown above):
>
>   val workerPool = context.actorOf(
>     BalancingPool(4).props(Props[Worker]),
>     name = "workerPool"
>   )
>
> The error:
>
>> path parameter: Invalid path 
>> 'BalancingPool-/akka.tcp/systemB@localhost:61705/user/receiver/c1/workerPool':
>>> Token not allowed in path expression: '@' (Reserved character '@' is not
>>> allowed outside quotes) (you can double-quote this token if you really want
>>> it here)
>>
>>
>>
> -Boris
>
> --
> >>>>>>>>>> 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.
>



-- 
Akka Team
Typesafe - The software stack for applications that scale
Blog: letitcrash.com
Twitter: @akkateam

-- 
>>>>>>>>>>      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