Re: [akka-user] Basic Akka + Mongo App

2014-01-15 Thread Sandeep Singh
Thanks will try :) On Wednesday, January 15, 2014 12:35:19 PM UTC+5:30, christian@gmail.com wrote: > > Hi, > > as long as there is no official reactive mongo release for akka 2.3-M2, > your only chance is to build reactivemongo yourself with an updated akka > version and publish it to your

Re: [akka-user] Basic Akka + Mongo App

2014-01-14 Thread christian . kitzmueller
Hi, as long as there is no official reactive mongo release for akka 2.3-M2, your only chance is to build reactivemongo yourself with an updated akka version and publish it to your local repo this works, I am currently doing the same Am Montag, 13. Januar 2014 15:01:01 UTC+1 schrieb Sandeep Si

Re: [akka-user] Basic Akka + Mongo App

2014-01-13 Thread √iktor Ҡlang
It's ReactiveMongo that can't handle Akka 2.3 (since it is incompatible with 2.2) On Mon, Jan 13, 2014 at 3:01 PM, Sandeep Singh wrote: > Tried but same error > "org.reactivemongo" %% "reactivemongo" % "0.10.0" excludeAll( > ExclusionRule(organization = "com.typesafe")) > > On Monday, Januar

Re: [akka-user] Basic Akka + Mongo App

2014-01-13 Thread Sandeep Singh
Tried but same error "org.reactivemongo" %% "reactivemongo" % "0.10.0" excludeAll( ExclusionRule(organization = "com.typesafe")) On Monday, January 13, 2014 7:19:53 PM UTC+5:30, Sandeep Singh wrote: > > Yupp saw that but can't change my version, i need some features from > 2.3-M2, is there a

Re: [akka-user] Basic Akka + Mongo App

2014-01-13 Thread √iktor Ҡlang
Ask if the reactive mongo guys have aversion released against 2.3-M2 Cheers, √ On Mon, Jan 13, 2014 at 2:49 PM, Sandeep Singh wrote: > Yupp saw that but can't change my version, i need some features from > 2.3-M2, is there a way around this ? > > On Monday, January 13, 2014 7:09:08 PM UTC+5:30,

Re: [akka-user] Basic Akka + Mongo App

2014-01-13 Thread Sandeep Singh
Yupp saw that but can't change my version, i need some features from 2.3-M2, is there a way around this ? On Monday, January 13, 2014 7:09:08 PM UTC+5:30, √ wrote: > > ReactiveMongo uses another version of Akka which is not compatible with > the version you are using: > > https://github.com/Reac

Re: [akka-user] Basic Akka + Mongo App

2014-01-13 Thread √iktor Ҡlang
ReactiveMongo uses another version of Akka which is not compatible with the version you are using: https://github.com/ReactiveMongo/ReactiveMongo/blob/master/project/ReactiveMongo.scala#L124 Cheers, √ On Mon, Jan 13, 2014 at 2:11 PM, Sandeep Singh wrote: > I'm using sbt, > Here's my build.sbt >

Re: [akka-user] Basic Akka + Mongo App

2014-01-13 Thread Sandeep Singh
I'm using sbt, Here's my build.sbt name := "Steelix" scalaVersion := "2.10.3" resolvers ++= Seq( "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/";, "spray repo" at "http://repo.spray.io"; ) libraryDependencies ++= Seq( "com.typesafe.akka" %% "akka-actor" % "2.3-M2", "com.

Re: [akka-user] Basic Akka + Mongo App

2014-01-13 Thread √iktor Ҡlang
Akka will never throw an AbstractMethodError, something is wrong with your classpath. Cheers, √ On Mon, Jan 13, 2014 at 11:39 AM, Sandeep Singh wrote: > My whole actor code > > class Getter(url: String, depth: Int, id: ActorRef) extends Actor { > > implicit val executor = context.dispatcher.a

Re: [akka-user] Basic Akka + Mongo App

2014-01-13 Thread Sandeep Singh
My whole actor code class Getter(url: String, depth: Int, id: ActorRef) extends Actor { implicit val executor = context.dispatcher.asInstanceOf[Executor with ExecutionContext] def client: WebClient = AsyncWebClient client get url pipeTo self def receive = { case body: String =>

Re: [akka-user] Basic Akka + Mongo App

2014-01-13 Thread Björn Antonsson
Hi, The log output says that it fails creating an actor. There is just to much missing from you code and the logs to say anything more useful. Could you please provide more information? B/ On Monday, 13 January 2014 at 09:28, sand...@techaddict.me wrote: > I wrote this code this is a recie

[akka-user] Basic Akka + Mongo App

2014-01-13 Thread sandeep
I wrote this code this is a recieve function of an actor, def receive = { case body: String => import reactivemongo.api.MongoDriver import reactivemongo.api.collections.default._ import reactivemongo.api._ import reactivemongo.bson._ import scala.concurrent.