Hi Viktor Klang, First of all, many thanks for the fast reply. I was trying to clean up my project to send you a shorter version of it so you could see the error. But I was not capable of doing it, since the shorter version was working well. So, I couldn't figure why and as I had this short deadline I worked in the shorter version to get it to the same point of the original version and it is now running successfully. I still have no clue of what was wrong. I'll try to find out and post to help any other person who maybe gets stuck in the same problem.
The only clue I can follow is that it happens whenever the system load is heavy, I use file based dispatcher and series of circuit breaker exceptions occur. I was running the system over an amazon m1.small instance and the throughput was 12.000 req/min. Anyway, I think this thread can be closed. Em quinta-feira, 6 de março de 2014 13h37min06s UTC-3, √ escreveu: > > Sounds like you are executing a Batch on the same Thread that is currently > executing a Batch. > I don't see how this could happen unless you are fiddling around with > something. > Can you create a minimized steps to reproduce? > > > On Thu, Mar 6, 2014 at 2:50 PM, Marcelo Xavier > <[email protected]<javascript:> > > wrote: > >> Hello everyone, >> >> I'm developing a distributed system using scalatra and akka actors. In my >> design I have 5 actors types: EventActor[1-4] and a SenderActor that is an >> http sender that register in other places the handled events. >> Each of these actors are router >> actors<http://doc.akka.io/docs/akka/snapshot/scala/routing.html>. >> The EventActors just receive the events and package them into meaningful >> json objects and then tell the SenderActor which sends it to the right >> place. >> >> The number of sender actors are in meaning of EventActors, i.e., >> TotalSenderActors = EventActors1 + EventActors2 + EventActors3 + >> EventActors4 >> >> The actors definition can be found in here <http://pastebin.com/N4XZJGXw> >> . >> The system definition can be found in here <http://pastebin.com/DNUZEQPY> >> . >> >> The problem is that the execution of the code is throwing an exception, >> the stack trace can be found in here <http://pastebin.com/ZEtXH3XL>. >> >> My guess is that the use of a router calling another router is messing >> around with the BatchingExecutor. Any clues? >> >> thanks in advance. >> >> -- >> >>>>>>>>>> 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. >> > > > > -- > Cheers, > √ > > * ——————— **Viktor Klang* > *Chief Architect - **Typesafe <http://www.typesafe.com/>* > > Twitter: @viktorklang > -- >>>>>>>>>> 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.
