I think you have hit this issue:
https://github.com/typesafehub/config/issues/101
It looks like it is fixed, but not released.

You can probably work around the problem by using ConfigFactory.parseString

Regards,
Patrik


On Sun, Jan 5, 2014 at 10:07 PM, Yotam <[email protected]> wrote:

>
> Hi,
>
> We try to configure the seed nodes *programatically* by supplying
> java.util.properties to the typesafe config API.
> E.g.:
> Key=akka.cluster.seed-nodes.0
> Val=< some URL>
>
> Key=akka.cluster.seed-nodes.1
> Val=< some URL>
>
>
> However, we get the following exception:
>
> com.typesafe.config.ConfigException$ValidationFailed: properties:
> akka.cluster.seed-nodes: Wrong value type at 'akka.cluster.seed-nodes',
> expecting: list but got: object with keys [0]
>         at
> com.typesafe.config.impl.SimpleConfig.checkValid(SimpleConfig.java:833)
> ~[na:na]
>         at akka.actor.ActorSystem$Settings.<init>(ActorSystem.scala:129)
> ~[na:na]
>         at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:470)
> ~[na:na]
>         at akka.actor.ActorSystem$.apply(ActorSystem.scala:111) ~[na:na]
>         at akka.actor.ActorSystem$.create(ActorSystem.scala:73) ~[na:na]
>         at akka.actor.ActorSystem.create(ActorSystem.scala) ~[na:na]
>
>
> When we use JVM system properties (i.e.. -D...) it works.
>
> Any idea what can go wrong here?
>
> Regards,
>
> Yotam
>
> AT&T
>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> 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 http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 

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

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to