What causes this error: "COMMENDBeReaderService_onSubmessage:!get ber remoteWriter"

The following error during shutdown:

COMMENDBeReaderService_onSubmessage:!get ber remoteWriter

indicates that a DataReader has received a sample but the corresponding remote DataWriter has already been deleted.

If you are shutting down your entire system, you can probably ignore this message. However, if you want to avoid it, you can:

  • Wait some time after sending the last message before shutting down the Publisher. This will give the DataReaders some additional time to process the message.
  • Shut down the Subscribers first. When the Publisher notes that all the remote subscriptions are lost, shut down the Publisher.