Here is the output from System A:

This is after a connection is made and the first request is processed

07:12:52.133 [WorkServerSystem-akka.actor.default-dispatcher-218] DEBUG 
a.s.Serialization(akka://WorkServerSystem) - Using 
serializer[akka.serialization.JavaSerializer] for message 
[org.mtsi.ksiservices.services.signature.SignatureResult]




This is after I stop the other system

07:13:00.633 [WorkServerSystem-akka.actor.default-dispatcher-3] WARN 
 a.remote.ReliableDeliverySupervisor - Association with remote system 
[akka.tcp://[email protected]:5151] has failed, address is now 
gated for [5000] ms. Reason is: [Disassociated].
07:13:00.646 [WorkServerSystem-akka.actor.default-dispatcher-3] INFO 
 akka.actor.LocalActorRef - Message 
[akka.remote.transport.ActorTransportAdapter$DisassociateUnderlying] from 
Actor[akka://WorkServerSystem/deadLetters] to 
Actor[akka://WorkServerSystem/system/transports/akkaprotocolmanager.tcp0/akkaProtocol-tcp%3A%2F%2FWorkServerSystem%40192.168.14.136%3A58147-1#1355872844]
 
was not delivered. [1] dead letters encountered. This logging can be turned 
off or adjusted with configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.



This is after I start the other system again and attempt to send it a 
request


07:13:09.459 [WorkServerSystem-akka.actor.default-dispatcher-2] WARN 
 a.remote.ReliableDeliverySupervisor - Association with remote system 
[akka.tcp://[email protected]:5151] has failed, address is now 
gated for [5000] ms. Reason is: [Association failed with 
[akka.tcp://[email protected]:5151]].
07:13:09.540 [WorkServerSystem-akka.actor.default-dispatcher-219] INFO 
 a.r.RemoteActorRefProvider$RemoteDeadLetterActorRef - Message 
[org.mtsi.ksiservices.services.signature.SignatureResult] from 
Actor[akka://WorkServerSystem/deadLetters] to 
Actor[akka://WorkServerSystem/deadLetters] was not delivered. [2] dead 
letters encountered. This logging can be turned off or adjusted with 
configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
07:13:09.541 [WorkServerSystem-akka.actor.default-dispatcher-219] INFO 
 a.r.RemoteActorRefProvider$RemoteDeadLetterActorRef - Message 
[org.mtsi.ksiservices.services.signature.SignatureResult] from 
Actor[akka://WorkServerSystem/deadLetters] to 
Actor[akka://WorkServerSystem/deadLetters] was not delivered. [3] dead 
letters encountered. This logging can be turned off or adjusted with 
configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
07:13:09.542 [WorkServerSystem-akka.actor.default-dispatcher-219] INFO 
 a.r.RemoteActorRefProvider$RemoteDeadLetterActorRef - Message 
[org.mtsi.ksiservices.services.signature.SignatureResult] from 
Actor[akka://WorkServerSystem/deadLetters] to 
Actor[akka://WorkServerSystem/deadLetters] was not delivered. [4] dead 
letters encountered. This logging can be turned off or adjusted with 
configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
07:13:09.543 [WorkServerSystem-akka.actor.default-dispatcher-219] INFO 
 a.r.RemoteActorRefProvider$RemoteDeadLetterActorRef - Message 
[org.mtsi.ksiservices.services.signature.SignatureResult] from 
Actor[akka://WorkServerSystem/deadLetters] to 
Actor[akka://WorkServerSystem/deadLetters] was not delivered. [5] dead 
letters encountered. This logging can be turned off or adjusted with 
configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
07:13:09.543 [WorkServerSystem-akka.actor.default-dispatcher-219] INFO 
 a.r.RemoteActorRefProvider$RemoteDeadLetterActorRef - Message 
[org.mtsi.ksiservices.services.signature.SignatureResult] from 
Actor[akka://WorkServerSystem/deadLetters] to 
Actor[akka://WorkServerSystem/deadLetters] was not delivered. [6] dead 
letters encountered. This logging can be turned off or adjusted with 
configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
07:13:09.552 [WorkServerSystem-akka.actor.default-dispatcher-3] INFO 
 a.r.RemoteActorRefProvider$RemoteDeadLetterActorRef - Message 
[org.mtsi.ksiservices.services.signature.SignatureResult] from 
Actor[akka://WorkServerSystem/deadLetters] to 
Actor[akka://WorkServerSystem/deadLetters] was not delivered. [7] dead 
letters encountered. This logging can be turned off or adjusted with 
configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
07:13:09.553 [WorkServerSystem-akka.actor.default-dispatcher-3] INFO 
 a.r.RemoteActorRefProvider$RemoteDeadLetterActorRef - Message 
[org.mtsi.ksiservices.services.signature.SignatureResult] from 
Actor[akka://WorkServerSystem/deadLetters] to 
Actor[akka://WorkServerSystem/deadLetters] was not delivered. [8] dead 
letters encountered. This logging can be turned off or adjusted with 
configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
07:13:09.554 [WorkServerSystem-akka.actor.default-dispatcher-3] INFO 
 a.r.RemoteActorRefProvider$RemoteDeadLetterActorRef - Message 
[org.mtsi.ksiservices.services.signature.SignatureResult] from 
Actor[akka://WorkServerSystem/deadLetters] to 
Actor[akka://WorkServerSystem/deadLetters] was not delivered. [9] dead 
letters encountered. This logging can be turned off or adjusted with 
configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
07:13:09.561 [WorkServerSystem-akka.actor.default-dispatcher-3] INFO 
 a.r.RemoteActorRefProvider$RemoteDeadLetterActorRef - Message 
[org.mtsi.ksiservices.services.signature.SignatureResult] from 
Actor[akka://WorkServerSystem/deadLetters] to 
Actor[akka://WorkServerSystem/deadLetters] was not delivered. [10] dead 
letters encountered, no more dead letters will be logged. This logging can 
be turned off or adjusted with configuration settings 
'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.

I am going to attempt to work through the examples you provided to see if I 
can determine my mistake.  Let me know if the debug shows you an obvious 
mistake that I've overlooked

Thanks
Rob

On Monday, March 17, 2014 3:42:01 PM UTC-4, Rob S wrote:
>
> Hi all,
>
> I am starting out with remote actors and I have run into an issue I can't 
> seem to find an answer for.  I have setup an application that performs 
> distributed work on remote systems.  Simply I have an actor system on one 
> computer that sends a work request to a remote actor, the remote performs 
> the work and returns the result.  This process works perfectly.  My issue 
> comes in when I shutdown the requesting actor system and trying to start it 
> up again.  I get a connection refused on the remote system and I can not 
> pass any messages to the remote system anymore.  When I restart both 
> applications everything works fine.  I am using Akka 2.3.0 
>
>
> 1. System A starts up
> 2. System B starts up and sends request to System A
> 3. System A sends a reply to System B
> 4. System B shutsdown
> 5. System B starts up and sends request to System A
> 6. System A outputs connection refused
>
> Rob
>

-- 
>>>>>>>>>>      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.

Reply via email to