It looks like you use version 2.3.9 but reading snapshot docs. Make sure that you read the docs for the version that you are using.
/Patrik > 17 mar 2015 kl. 00:00 skrev Krishna Kadam <[email protected]>: > > Hi, > I am establishing a cluster and trying to use cluster sharding, but while > establishing I am getting this error > > > [ERROR] [03/17/2015 12:16:53.516] [main] [ActorSystem(DefaultActorSystem)] > While trying to load extension > [akka.cluster.metrics.ClusterMetricsExtension], skipping... > java.lang.ClassNotFoundException: akka.cluster.metrics.ClusterMetricsExtension > at java.net.URLClassLoader$1.run(Unknown Source) > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > I manually searched for the class ClusterMetricsExtension in akka.cluster jar > but it not there. > my application.conf file is > > > akka { > loglevel = INFO > actor { > provider = "akka.cluster.ClusterActorRefProvider" > } > remote { > log-remote-lifecycle-events = on > #transport = "akka.remote.netty.NettyRemoteTransport" > netty.tcp{ > hostname = "127.0.0.2" > port = 2552 > } > } > > cluster.seed-nodes = [ > "akka.tcp://[email protected]:2551", > "akka.tcp://[email protected]:2552"] > > auto-down-unreachable-after = 10s > > } > > # Disable legacy metrics in akka-cluster. > akka.cluster.metrics.enabled=off > > # Enable metrics extension in akka-cluster-metrics. > akka.extensions= ["akka.cluster.metrics.ClusterMetricsExtension"] > > # Sigar native library extract location during tests. > # Note: use per-jvm-instance folder when running multiple jvm on one host. > akka.cluster.metrics.native-library-extract-folder=${user.dir}/target/native > > > is there something wrong with this configuration? > > Thanks and Regards > Krishna Kadam > -- > >>>>>>>>>> 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. -- >>>>>>>>>> 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.
