Hi All,

I am currently using OSPL DDS Community Edition 5.5.1.
My DDS application is written with Java 1.6 and it is part of an Eclipse
RCP application.

I couldn't get my Eclipse RCP app to create a domain participant.

The create_participant call always return a null object.  However if I copy
and paste the following code to a standalone Java application as in not
part of my Eclipse RCP application then it would work.

I have the following code.
    String domainId = "OpenSpliceV5.5.1OSS";
    DDS.DomainParticipantFactory dpf =
DDS.DomainParticipantFactory.get_instance();
    DDS.DomainParticipantQosHolder dpQos = new
DDS.DomainParticipantQosHolder();
    dpf.get_default_participant_qos(dpQos);
    DDS.DomainParticipant dp = dpf.create_participant(domainId,
dpQos.value, null, DDS.STATUS_MASK_NONE.value);

I am just not sure what went wrong here.  There is no error output from my
Eclipse RCP application and I can't find any OSPL debug that I can set on
my app.

When I ran ospl, it created an ospl-info.log but there is not much
information there.  There's no ospl-error.log either.

Can someone please provide some recommendation on how to debug this problem?

Thanks,

David
_______________________________________________
OpenSplice DDS Developer Mailing List
Developer@opensplice.org
Subscribe / Unsubscribe http://dev.opensplice.org/mailman/listinfo/developer

Reply via email to