Need your advice


I'm working on master thesis project where I need to apply DDS with existing CPS system for smart buildings. CSP system's source code written with modeling language called ThingML. After compiling program runs as Java application.

Simple version of this CPS receive temperature from one or more thermometers. After that CPS sends signal to turn on/off heater switcher.

So my question is how/where to start?

Copy of samples from sequence in Java API

This question has to do with general programming and concurrency, but since the Java API is an exception

from the other languages in the RTI API, it is a valid question for this  forum I think. According to a post (, the Java API does not support deep copy of objects from

sequences. For example the C++ API support copy of object without using Loanable sequences.


RTI DDS on Raspberry Pi

Hello all,

I am currently setting up my raspberry pi to run some RTI DDS applications, and I am interested in coding in Java.

I have gone through the HOWTO page here:

However, I think there is a missing section which is important if you want to run java applications which is section: 6.2.3


I noticed in the explanation of how to run the java example, that after copying the example using: 

Receiving DDS messages in Java

I am new to DDS, and have a task to integrate a Java application with a C++ application that runs on a different PC and has already written that uses DDS. We have a license for the C++ application. I have several questions about this:


TypeSupport.serialize causing ArrayIndexOutOfBoundsException

I have an idl file that defines a char[] in a struct as follows:

struct baseDataHdr_S {
octet paramId[16];
short miscHdrBytes;

The autogenerated Java code looks correct, but when sending the Topic I get an error:

java.lang.ArrayIndexOutOfBoundsException: 8
at ...baseDataHdr_STypeSupport.serialize

Looking in the java code the char[] is correctly defined as a char[16], so I'm stumped why indexing char[8] during serialization would cause this exception.

Error while running java example of Connect_dds

I am trying to run hello_simple example implementation in Java, I am facing an issue as the application is throwing the following exception 

Exception in thread "main" java.lang.UnsatisfiedLinkError:;

I am unable to find topics similar to this exception, I would be greatful if anyone can help

Full Trace:

Pi w/Jessie and running Java apps

Anyone with experience running DDS with Java on Jessie on Raspberry Pi?

I can't tell if this is a unix problem, Java problem, config problem, or a DDS problem.

uname -a reports:  Linux ... 4.1.13+ ... armv6l GNU/Linux.  Is Jessie the correct kernel for the 5.2.0 Raspberry Pi build available in the Downloads?  Should I downgrade to the older Wheezy install?  The tools (spy, ping) work without issue, however they are prelinked.

Java version on the Pi is 1.8.0-b132

Env variables set by the rti-supplied configuration (.bash) script.


Using RTI Connext with NetBeans

How do you configure RTI Connext and NetBeans to develop Java applications using RTI Connext classes with NetBeans? 

Importing RTI Connext classes in a NetBeans application gives an error that states" the class does not exit".

What has to be done to make NetBeans recognize the RTI Connext .jar files.


Setting QoS in java


I've created a writer that works as expected with normal QoS, but when I want to change some of the settings (programatically, in Java) it resets to the default QoS. Is there some sort of overwriting mechanism going on, or is there a hierarchy of prioritised QoS settings? What I'm doing is this:



Subscribe to RSS - Java