hi guys !
Sorry for showing up late, I have these typesafe dependencies :
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-remote_2.10</artifactId>
<version>2.2.3</version>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-cluster_2.10</artifactId>
<version>2.2.3</version>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-contrib_2.10</artifactId>
<version>2.2.3</version>
</dependency>
Is this issue applicable for these versions? And yeah, I will start with
new posts next time.
On Thursday, 6 March 2014 20:15:00 UTC+5:30, Patrik Nordwall wrote:
>
>
>
>
> On Thu, Mar 6, 2014 at 2:12 PM, Björn Antonsson
> <[email protected]<javascript:>
> > wrote:
>
>> Hi,
>>
>> That seems to be a known
>> issue<https://github.com/typesafehub/config/issues/101> in
>> the config library that was fixed for version 1.2.0.
>>
>
> I think that is another issue, when you define this in Properties. I'm
> sure passing -D system properties for the seed nodes in this way works with
> Akka 2.2.x, i.e. config 1.0.2. Amit, what version are you using?
>
> Please start a new mailing list thread for next question that is not
> related to an existing thread, to make the information more accessible for
> users listening in or searching the archives. Thanks.
>
> Regards,
> Patrik
>
>
>>
>> B/
>>
>> On 4 March 2014 at 17:19:24, Amit Mula ([email protected] <javascript:>)
>> wrote:
>>
>> hi guys, I am stuck with something again. Please help out.
>>
>> I am trying to pass the seed nodes from the command line like this:
>>
>> java *-Dakka.cluster.seed-nodes.0=akka.tcp://[email protected]:2551
>> <http://[email protected]:2551>*-Dakka.remote.netty.tcp.hostname=10.147.143.42
>>
>> -Dakka.remote.netty.tcp.port=2551 -jar
>> target/http-endpoint-0.0.1-SNAPSHOT.one-jar.jar
>>
>> and getting the following exception :
>>
>> Exception in thread "main" java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at com.simontuffs.onejar.Boot.run(Boot.java:340)
>> at com.simontuffs.onejar.Boot.main(Boot.java:166)
>> Caused by: com.typesafe.config.ConfigException$WrongType: system
>> properties: seed-nodes has type OBJECT rather than LIST
>> at
>> com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:124)
>> at
>> com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:136)
>> at
>> com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:150)
>> at
>> com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:155)
>> at
>> com.typesafe.config.impl.SimpleConfig.getList(SimpleConfig.java:203)
>> at
>> com.typesafe.config.impl.SimpleConfig.getHomogeneousUnwrappedList(SimpleConfig.java:260)
>> at
>> com.typesafe.config.impl.SimpleConfig.getStringList(SimpleConfig.java:318)
>> at akka.cluster.ClusterSettings.<init>(ClusterSettings.scala:45)
>> at akka.cluster.Cluster.<init>(Cluster.scala:57)
>> at akka.cluster.Cluster$.createExtension(Cluster.scala:41)
>> at akka.cluster.Cluster$.createExtension(Cluster.scala:36)
>> at
>> akka.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:654)
>> at akka.actor.ExtensionId$class.apply(Extension.scala:79)
>> at akka.cluster.Cluster$.apply(Cluster.scala:36)
>> at
>> akka.cluster.ClusterActorRefProvider.createRemoteWatcher(ClusterActorRefProvider.scala:60)
>> at
>> akka.remote.RemoteActorRefProvider.init(RemoteActorRefProvider.scala:186)
>> at
>> akka.cluster.ClusterActorRefProvider.init(ClusterActorRefProvider.scala:52)
>> at
>> akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:579)
>> at akka.actor.ActorSystemImpl._start(ActorSystem.scala:577)
>> at akka.actor.ActorSystemImpl.start(ActorSystem.scala:588)
>> at akka.actor.ActorSystem$.apply(ActorSystem.scala:111)
>> at akka.actor.ActorSystem$.apply(ActorSystem.scala:104)
>> at
>> org.fumigo.endpoint.boot.Boot$delayedInit$body.apply(Boot.scala:21)
>> at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
>> at
>> scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
>> at scala.App$$anonfun$main$1.apply(App.scala:71)
>> at scala.App$$anonfun$main$1.apply(App.scala:71)
>> at scala.collection.immutable.List.foreach(List.scala:318)
>> at
>> scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
>> at scala.App$class.main(App.scala:71)
>> at org.fumigo.endpoint.boot.Boot$.main(Boot.scala:17)
>> at org.fumigo.endpoint.boot.Boot.main(Boot.scala)
>> ... 6 more
>>
>> Please tell me if I am wrong with something?
>>
>> --
>> >>>>>>>>>> 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>> --
>> Björn Antonsson
>> Typesafe <http://typesafe.com/> – Reactive Apps on the JVM
>> twitter: @bantonsson <http://twitter.com/#!/bantonsson>
>>
>> --
>> >>>>>>>>>> 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> 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://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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.