debugging participant create failure on linux

3 posts / 0 new
Last post
rip
rip's picture
Offline
Last seen: 20 hours 59 min ago
Joined: 04/06/2012
Posts: 324
debugging participant create failure on linux

A java application works fine on Windows, but when I try to run it under Ubuntu 14.04.05 LTS I get:

com.rti.dds.infrastructure.RETCODE_ERROR: error creating entity
        at com.rti.dds.util.Utilities.rethrow(Utilities.java:91)
        at com.rti.dds.infrastructure.NativeFactoryMixin.create_entityI(NativeFactoryMixin.java:187)
        at com.rti.dds.domain.DomainParticipantFactoryImpl.create_participant(DomainParticipantFactoryImpl.java:284)

with no other information.  Windows I know what chickens I need to wave to get the middleware to work, but I'm having difficulty with the linux configuration.  Because linux.

+ export LD_LIBRARY_PATH=/home/uti/ConnextDDS/523/rti_connext_dds-5.2.3/lib/x64Linux3gcc4.8.2
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/uti/ConnextDDS/523/rti_connext_dds-5.2.3/bin
+ java -classpath .:[snippage]:/home/utimaco/ConnextDDS/523/rti_connext_dds-5.2.3/lib/java/nddsjavad.jar Launch -domainId 112 -d 5 -Dev 3001@10.19.72.217 -rate 600 -cdb ks217.cdb

what I'm wondering is if I'm using the wrong arch libraries, as uname -a returns  4.4.0-31-generic and not a Linux3 kernel variant. ldd reports all .so files are available (no unresolved links).

Is there a way in linux to drill down to the actual reason for the participant to not be created?

rtiddsping works on the arch.

Suggestions?

Thank you

bobby's picture
Offline
Last seen: 3 years 3 weeks ago
Joined: 07/25/2011
Posts: 20

Hi Rip,

How's it going? For Ubuntu 14.04 you are using the correct libs, gcc4.8.2. So that shouldn't be the problem.

Are you using license management libraries? When I've seen create_participant fail, it's usually because the libraries cannot find the license file. Can you increase the verbosity to see what else is printed out.

Bobby

rip
rip's picture
Offline
Last seen: 20 hours 59 min ago
Joined: 04/06/2012
Posts: 324

Hi Bobby,

Things progress.

It was indeed not finding a valid license.

Thank you!