On Thu, May 21, 2015 at 1:46 PM, Przemek Piotrowski <
piotrowski.prze...@gmail.com> wrote:

> Is there some workaround to use actors under BalancingPool in Akka 2.3.x ?
> The issue says that bug activates when actors are children of Router.
> Should I create them externally from the router and then add them to the
> pool?
>

If I remember correctly we didn't find a good workaround for 2.3.x. It is
fixed in 2.4-M1 <http://akka.io/news/2015/05/22/akka-2.4-M1-released.html>.

/Patrik


>
>
> W dniu sobota, 14 marca 2015 18:29:01 UTC+1 użytkownik sinel napisał:
>>
>>
>> Oops, I didn't pay attention to the milestone on the right. Thanks.
>>
>>
>> On Saturday, March 14, 2015 at 12:03:53 AM UTC+2, Patrik Nordwall wrote:
>>>
>>>
>>>
>>> On Wed, Mar 11, 2015 at 8:27 AM, sinel <sinan...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> In my code, I am creating a pool in the following standard manner:
>>>>
>>>> private lazy val scriptProcessor: ActorRef =
>>>> context.actorOf(BalancingPool(poolSize).props(ScriptProcessor.props()),
>>>> "scriptProcessor")
>>>>
>>>> If I use RoundRobinPool or SmallestMailboxPool, my code works fine.
>>>> However, for BalancingPool, I get the following error:
>>>>
>>>> com.typesafe.config.ConfigException$BadPath: path parameter: Invalid
>>>> path
>>>> 'BalancingPool-/scriptBroker/connio-dev$acc315007900463911240$sp/scriptProcessor':
>>>> Token not allowed in path expression: 'a' ('$' not followed by {, 'a' not
>>>> allowed after '$') (you can double-quote this token if you really want it
>>>> here)
>>>>
>>>> It might be related to issue #13981, but apparently this was fixed and
>>>> closed back in April, 2014. I'm using Scala 2.11.5 and Akka 2.3.9.
>>>>
>>>
>>> Right, but it was fixed for 2.4-M1, which has not been released yet. It
>>> is not fixed in 2.3.9.
>>>
>>> /Patrik
>>>
>>>
>>>>
>>>> Any ideas?
>>>>
>>>> Thanks,
>>>>
>>>> Sinan
>>>>
>>>>
>>>>  --
>>>> >>>>>>>>>> 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+...@googlegroups.com.
>>>> To post to this group, send email to akka...@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/akka-user.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Patrik Nordwall
>>> Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
>>> Twitter: @patriknw
>>>
>>> [image: Scala Days] <http://event.scaladays.org/scaladays-sanfran-2015>
>>>
>>>   --
> >>>>>>>>>> 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.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

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