On Tuesday, 26 November 2013 at 03:06, tigerfoot wrote:
Hello,I've got two Akka ActorSystems (using Cluster for test cases). Config below. I know--cluster is way overkill here, but I'm testing the mechanism for a much larger use.My test looks like this:val s1 = Server1() // initiates an ActorSystem inside the Server1 class// Establish a second ActorSystem to simulate another remote client on the network sending messages to the first.val host = s1.context.myHostname // my local IP address (not localhost)val sys2 = ActorSystem("foobar", ConfigFactory.parseString(ServerConfigs.svr2Cfg) )val selection = sys2.actorSelection( s"""akka.tcp://MyCluster@$host:9021/user/awe.server.ServerModule""" )selection ! ServerEvent( "acme", "hello", None )// Simulate doing workThread.sleep(500)// Shut things down cleanlys1.shutdowns1.system.awaitTerminationsys2.shutdownsys2.awaitTerminationassert( s1.system.isTerminated )assert( sys2.isTerminated )Now this functions just fine, but I'm getting the noisy exception at the bottom of my post. Any idea what's causing that?I saw this post here and wondered if this is the same thing: https://www.assembla.com/spaces/akka/tickets/3096#/activity/ticket:
--
>>>>>>>>>> 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 akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>>> 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 akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
Patrik Nordwall
Typesafe - Reactive apps on the JVM
Twitter: @patriknw
InternalLoggerFactory.setDefaultFactory(new Slf4JLoggerFactory)After that, I added the following entry to our log4j properties:
If the issue persists with this workaround and on akka 2.3.9, I'll file a bug.log4j.logger.org.jboss.netty.channel.DefaultChannelPipeline=ERROR, fileWith these two changes, our users won't see the exceptions anymore during shutdown. My initial tests indicate that this resolved the issue.
You received this message because you are subscribed to a topic in the Google Groups "Akka User List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/akka-user/fhKE6aLdxSs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to akka-user+...@googlegroups.com.
watch-failure-detector{
heartbeat-interval = 10 s
acceptable-heartbeat-pause = 100 s
threshold = 12
}
Thanks for the quick reply.This is the setting:watch-failure-detector{
heartbeat-interval = 10 s
acceptable-heartbeat-pause = 100 s