Jump to content
OpenSplice DDS Forum


  • Content count

  • Joined

  • Last visited

About Morly

  • Rank

Profile Information

  • Company
  1. Morly

    Problem while executing JAR

    Hi Niels ! Thank for the reply! No ospl-error.log is generated so I'm pretty sure the problem is not coming from the code but from the environment variables. Here is the generated info log: It is really weird that I don't have an ospl-error.log o-O
  2. Hi back guys! I have another problem this time with the final step of my project and that is integration on the Raspberry Pi. I cannot seem to get my jar to be executed on the raspberry Pi while it works perfectly fine on my other node-computers. My guts tell me that it come from environnement variables but I tried everything without any progress... When I execute my jar I have the following error: While the same jar works perfectly fine on my computer... Here are the environments variables: echo $OSPL_HOME /home/ubuntu/HDE/armv6l.linux echo $OSPL_URI file:///home/ubuntu/HDE/armv6l.linux/etc/config/ospl_shmem_nativeRT.xml echo $CPATH /home/ubuntu/HDE/armv6l.linux/include:/home/ubuntu/HDE/armv6l.linux/include/sys: $LD_LIBRARY_PATH /home/ubuntu/HDE/armv6l.linux/lib echo $PATH /home/ubuntu/HDE/armv6l.linux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin I saw that there was someone who posted about the same problem and solved it but he didn't explain he dit it ...Geez P.S: I use Java 8 Runtime SE. Thanks for your help, Waiting behind my screen (no pressure : ) ), Morly
  3. Morly

    Durability Feature/Example not working

    Hi back guys! I have followed James advice and went step by step using my Wireshark (it took some time) and there was indeed a QoS incompatibility. I hope eveything works out on your side !
  4. Morly

    Durability Feature/Example not working

    Hi James, Thanks for the help and sorry for my unclear explanation, DDS is a sweety until it drives you crazy trying to make it do what you want it to do... I solved half of the problem. Now, I can change my QoS setting, generate the code et run it without problems (not jinxing myself) but I still have a problem to get all the missed samples using the TRANSCIENT/PERSISTENT status. for now, my system does this: Data Writer publishes: Sample 0 Sample 1 Sample 2 Sample 3 Sample 4 New Subscriber is initiated at this point and it gets: Sample 0 Sample 5 Sample 6 etc. As you see, I only get Sample 0 from all the samples the subscriber misses. This behavior does not change whether I am in transcient mode or persistent mode. Here is a folder with a screen shot of all the QoS Settings, I couldn't include the pictures in my post. Can you please take a look and help me find out what i did wrong? http://www68.zippyshare.com/v/R3UCWZwn/file.html Thanks, Morly
  5. Morly

    DDS implementation in eclipse

    Hello, The only possible way I can think of right now is to use an IDE for your programming would be to install OpenSplice Modeler. It has the same environment as eclipse.
  6. Morly

    Durability Feature/Example not working

    Hi back! I have tried as directed but to no avail. I changed the QoS using the QoS edition tool of Opensplice Modeler, exported the module then stopped the ospl, deleted the log files, searched all the processes active on my node (I am using just one for now) then restarted but still getting that bloody hell error. Once I go back to the first QoS set, (Volatile) everything works... I tried to generate an automatic example Simple Converter which is available on OpenSplice Modeler. If before exporting the module (generating the source files) I change its QoS to Transient, then export it , it works ... but when I try for example to change to another QoS, I get the same error... After changing the QoS and generating the src files, I used the OpenSplice Tuner and when I checked my Topic it was still in the "old" QoS even though I changed it and reloaded it... Thank you for any assistance you can provide, I am at my wits' end.
  7. Morly

    Durability Feature/Example not working

    Thanks for the swift reply! Indeed when I look into the ospl. files, I had some clues... ======================================================================================== Report : WARNING Date : Fri Jul 31 10:57:50 CEST 2015 Description : Did not install signal handlers to cleanup resources. To ensure cleanup for Java applications, the path to the 'jsig' library (libjsig.so) must be set in the LD_PRELOAD environment variable. This library is part of your Java distribution. To ensure proper cleanup set this before starting your application. Node : *****-Workstation Process : java <13287> Thread : main thread 7fb97e31e700 Internals : V6.4.3p4/aa01487/4303c45/OS abstraction layer/os_signalHandler.c/107/0/1438333070.037074643 ======================================================================================== Report : WARNING Date : Fri Jul 31 10:57:50 CEST 2015 Description : Create Topic <QuickDemo_FireOrder> failed: Unmatching QoS Policy: 'Durability'. Node : ******-Workstation Process : java <13287> Thread : main thread 7fb97e31e700 Internals : V6.4.3p4/aa01487/4303c45/v_topicNew/v_topic.c/343/0/1438333070.116563439 ======================================================================================== Report : WARNING Date : Fri Jul 31 10:57:50 CEST 2015 Description : Create kernel entity failed. For Topic: <QuickDemo_FireOrder> Node : *****-Workstation Process : java <13287> Thread : main thread 7fb97e31e700 Internals : V6.4.3p4/aa01487/4303c45/u_topicNew/u_topic.c/74/0/1438333070.116597784 As you've pointed out, there an unmatched QoS status. However I'm sure that everyhting was passed to "TRANSCIENT". In addition I cannot seem to resolve the cleaning problem... In the error log I have a : ======================================================================================== Report : API_INFO Date : Thu Jul 23 18:55:13 CEST 2015 Description : DomainParticipant::create_topic : Unspecified error Node : *****-Workstation Process : java <13461> Thread : main thread 7f80e16d1700 Internals : V6.4.3p4/aa01487/4303c45/DCPS API/gapi_topic.c/128/0/1437670513.905965257 ========================================================================================
  8. Hello eveyone! I hope that someone, ANYONE, can help me! I am getting stuck with the Durability feature that I am trying to implement in my program. I use both the community version and the Vortex version ( with OpenSplice Modeler) on two differents computers but with both the Durability does NOT work one I change it to something other than VOLATILE. *Community version 6.5 latest ospl.xml sourced is the RTI_native one ( I had serious issues with the default one, no packets were being sent on the network Oo, verified with Wireshark). The Durability example does not work! Subscriber is displaying " Subscriber Ready" but once I run the Publisher, it doesn't receive any of those packets sent. *Vortex version: 6.4 My code is working just fine on OpenSplice Modeler as long as I stay in "VOLATILE". When I try to change the Durability Qos to TRANSCIENT for the topic, its datareader, it datawriter, I generate my code, run it and then I get a DDS failure : DDS fails to start the application in the MyApp.start(); Once I go back to the volatile, everything works like a charm... I know that there are not that many people in this forum and not much support but I hope someone can try to help me because I am seriously going crazy with this. Thank you! P.S: I would be grateful for any support to help me through my project so please if you feel like making a good deed, send me a private message.
  9. Morly

    Problem with OpenSplice Eclipse

    UP ! Any help please?
  10. Morly

    Problem with OpenSplice Eclipse

    Hi, Thanks again for the help. I am using the Evaluation version with a 30-day license which I intend to extend. Let me give you more details: - Target OS: Ubuntu 12.04 - Vortex OpenSplice Modeler V2.x Evaluation for Linux (64-bit) 2.5.3 - Vortex OpenSplice Evaluation for Linux Kernel 3.0 and above (64-bit), gcc 4.6, x86 chipset 6.5.0p1 Jar files available in jar directory: -cmapi.jar dcpssaj5.jar nodemon.jar rmipp.jar dcpscj5.jar dcpssaj5-src.jar osplconf.jar tooling_common.jar dcpscj5-src.jar dcpssaj.jar ospltest.jar dcpscj.jar dcpssaj-osgi-bundle.jar ospltun.jar dcpsprotobuf.jar ddsrmi.jar rlm.jar ==> No dcpsapi.jar I've tried to install the Windows version on my old home PC and same problem no dcpsapi.jar.
  11. Hello! I am back again with a problem that have been making my life a living hell this past week. The OpenSplice Eclipse ( or OpenSplice Modeler) does not want to build my project because there is a jar missing called dcpsapi.jar. In the tutorials shown in youtube, the jar is present but when I check the package provided with the Vortex OpenSplice there is only the dcpssaj.jar and some other jar which don't concern me for now. I've searched high and low for this jar but no success,. Very grateful for your help guys, Morly
  12. Thank you ! I always sleep better when I get to understand what went wrong. I'm still trying to tame OpenSplice so I'm pretty sure this is not the last time you are gonna hear from me .
  13. Hello and thanks again! I'm using the latest version 6.4 and there was no increased StackSize for the listeners. However I did as was told and the problem was fixed Nevertheless, I'm not entirely satisfied as I have yet to understand the source of the problem.
  14. Hello back and thank you for your help 1) I've already thought about the IcedTea so I installed Oracle JDK. However still having that problem as soon as I run the Chatter on the other side. I det this error : # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000000000000000, pid=14052, tid=139983387830016 # # JRE version: Java SE Runtime Environment (7.0_76-b13) (build 1.7.0_76-b13) # Java VM: Java HotSpot 64-Bit Server VM (24.76-b04 mixed mode linux-amd64 compressed oops) # Problematic frame: # C 0x0000000000000000 # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /home/glachgar/OpenSpliceDDS/HDE/x86_64.linux2.6/examples/dcps/Tutorial/Java/SAJ/hs_err_pid14052.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # Aborted 2) I don't know if it's exactly what you requested but here is the backtrace There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /usr/bin/java...(no debugging symbols found)...done. (gdb) java -classpath $OSPL_HOME/jar/dcpssaj.jar:bld chatroom.MessageBoard Undefined command: "java". Try "help". (gdb) run Starting program: /usr/bin/java -classpath /home/glachgar/OpenSpliceDDS/HDE/x86_64.linux2.6/jar/dcpssaj.jar:bld chatroom.MessageBoard [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff7fe2700 (LWP 16691)] [New Thread 0x7ffff4ca7700 (LWP 16692)] [New Thread 0x7ffff4ba6700 (LWP 16693)] [New Thread 0x7fffe9998700 (LWP 16694)] [New Thread 0x7fffe9897700 (LWP 16695)] [New Thread 0x7fffe9796700 (LWP 16696)] [New Thread 0x7fffe9297700 (LWP 16697)] [New Thread 0x7fffe9196700 (LWP 16698)] [New Thread 0x7fffe9095700 (LWP 16699)] [New Thread 0x7fffe8f94700 (LWP 16700)] [New Thread 0x7fffe8e93700 (LWP 16701)] [New Thread 0x7fffe3740700 (LWP 16702)] [New Thread 0x7ffff4060700 (LWP 16703)] [New Thread 0x7ffff404f700 (LWP 16704)] [New Thread 0x7ffff403e700 (LWP 16705)] [New Thread 0x7fffb3fff700 (LWP 16706)] MessageBoard has opened: send a ChatMessage with userID = -1 to close it.... Program received signal SIGSEGV, Segmentation fault. [switching to Thread 0x7fffb3fff700 (LWP 16706)] 0x0000000000000000 in ?? () (gdb) backtrace #0 0x0000000000000000 in ?? () #1 0x00007fffe84dfaaa in _StatusNotifyDataAvailable () from /home/xx/OpenSpliceDDS/HDE/x86_64.linux2.6/lib/libdcpsgapi.so #2 0x00007fffe84c0c8a in _DataReaderNotifyListener () from /home/xx/OpenSpliceDDS/HDE/x86_64.linux2.6/lib/libdcpsgapi.so #3 0x00007fffe84c83ef in gapi_entityNotifyEvent () from /home/xx/OpenSpliceDDS/HDE/x86_64.linux2.6/lib/libdcpsgapi.so #4 0x00007fffe84c31ea in listenerEventThread () from /home/xx/OpenSpliceDDS/HDE/x86_64.linux2.6/lib/libdcpsgapi.so #5 0x00007fffe8942169 in os_startRoutineWrapper () from /home/xx/OpenSpliceDDS/HDE/x86_64.linux2.6/lib/libddsos.so #6 0x00007ffff7bc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #7 0x00007ffff74d68bd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x0000000000000000 in ?? () The problem is obviously coming from the .so libraries. UPDATE : I've already enabled the core stack but no use