Jump to content
OpenSplice DDS Forum

How to detect DDSi2 service has not started?

Recommended Posts

Hi everyone,

I am using OpenSplice community edition with C# API.
In the DDS configuration file, I am forcing OpenSplice to use interface

    <DDSI2Service name="ddsi2">

If I disable the NIC assigned to and start OpenSplice, the error log indicates that the service did not find the interface and terminates:      


1525782292.932995/      main: does not match an available interface
1525782292.934040/      main: No network interface selected
1525782292.935084/    (anon): Finis.

However, in Opensplice, there is no indication that the service is not running, e.g. I can call CreateParticipant().
Or publish data by calling DDS.IDataWriter().Write() always returns Ok.

Is there a programmatic way to dectect that the service is not running?

Many thanks,

Share this post

Link to post
Share on other sites

Hi Joffrey,

Sorry for the delayed response, we had issues with the domain-registration of this forum and have been offline for over a month .. 

W.r.t. your question for a programmatic way to detect certain errors/warnings, we have a feature called a 'reportPlugin' which is documented in the deployment manual and which allows for a user-library to be plugged-in and that can access any info/warning/error message that (normally/also) goes to the ospl_info and ospl_error log(s).

Perhaps that would help you creating the awareness that something went wrong w.r.t. service-configuration and/or interfaces not being available.





Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now