What are the steps to follow in order to run a Kaa application on Raspberry after cross-compilation of the Kaa SDK? - kaa

I have followed the instructions from http://kaaproject.github.io/kaa/docs/v0.10.0/Programming-guide/Using-Kaa-endpoint-SDKs/C++/SDK-RPi/ in order to cross-compile a generated C++ Kaa SDK for the Raspberry Pi platform.
I am now wondering what would be the next steps to properly setup the SDK on the raspberry and run a (custom, not the sample apps provided) application.

In case someone else got stuck on the same problem, I solved it by copying the compiled external libraries in RPi before executing the application binary:
scp "${INSTALLDIR}"/lib/libboost_*.so* <user>#<RPi ip address>:/usr/lib
scp "${INSTALLDIR}"/lib/libbotan*.so* <user>#<RPi ip address>:/usr/lib
scp "${INSTALLDIR}"/lib/libavrocpp*.so* <user>#<RPi ip address>:/usr/lib
P.S.: That was not mentioned in Kaa IoT platform documentation for Raspberry cross-compilation.

Related

SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080

I am windows developer trying to use Camunda model rest API client project.
I did download the sample from the GIT which has examples for Camunda samples using WPF.
https://github.com/mtringuyen/camunda-dot-net-showcase
However there seems to be some sort of socket exception.
IIS is installed. I also verified versioning of .NET STANDARD and .NET FRAMEWORK. They are compatible.
Any suggestions to resolve this error?
Thanks in advance
The project you are using only contains
a .NET tasklist implementation used by people to participate in the business processes.
.NET implementation of automated task workers, which are used to do system integration from .NET (See: https://docs.camunda.org/manual/latest/user-guide/process-engine/external-tasks/)
The Camunda server remains a Java application. However, you can start it and use it as a blackbox from .NET without Java knowledge. There are several distributions. If you are not familiar with Java you should either use the Docker image:
docker run -d --name camunda -p 8080:8080 camunda/camunda-bpm-platform:latest
or a prepackages Tomcat using the Camunda RUN distribution.
You can download a server here: https://camunda.com/download/
Also see: https://docs.camunda.org/manual/latest/installation/
If you think an application that is running is listening on a particular port a quick way to check would be to run a command prompt as administrator and do a netstat -ab . This will show you all the ports that are listening on your local device. Obviously your example requires something listening on 8080 so fire up whatever application that is supposed to be and double check it.

Which Linux OS is the most compatible to deploy a meteor app to a domain listening on port 80?

The OS should be a linux OS. Which one would be the most compatible to deploy a meteor app to a domain listening on port 80?
Meteor app has quite a documentation on their official site and offers different methods to deploy your app, either use:
Galaxy, the service built by Meteor Development;
Meteor Up which is a third party open-source tool;
Docker;
Custom deployment;
So I'd suggest to check up their docs: https://guide.meteor.com/deployment.html

How is Kaa different from Kura?

I am a student who just started working on a research project, which is to compare Kaa with Eclipse Kura. I don't have any knowledge about IoT before working this project, so I got really lost and had no idea how to compare them. Hope someone can give me some advice. Thanks!
I cannot speak to the specifics of Kaa, so you would need to thoroughly review their documentation. From my understanding, Kaa is mainly focused on the Cloud side of the IoT stack. They provide SDKs for various languages that you need to compile and install on whatever device you intend to connect to the Cloud.
Eclipse Kura is a Java/OSGi framework that runs on an IoT gateway. The framework provides built in services for managing the gateway (networking, cloud connectivity, remote management, etc.) and abstracts away many of the complexities in writing applications for the gateway (GPIO, serial, BLE, etc.). Eclipse Kura doesn't provide a Cloud backend itself, but has built in support for connecting to open source platforms such as Eclipse Kapua and industrial backends such as Eurotech Everyware Cloud, Amazon AWS IoT, Microsoft Azure, etc. In theory you could install the Kaa Java SDK in Eclipse Kura and have Kura connect to Kaa, but I have never tried this.
I hope this helps,
--Dave

Installing FreePBX as a Virtual machine

I have been trying to launch FreePBX as a VM on Openstack. The launching is successful. but the during the installation time I get the following error:Some first boot error occured and the system is not properly setup. Check to see if you have internet access and re-run /etc/pbx_first_boot.sh.!! any suggestions?
I haven't a solution for your problem, but as a contribution to this community I can tell my FreePBX runs smoothly since 5 years as a Virtual Machine on VMWare ESXi (hosted on a local physical server Dell PowerEdge 1950) managing 100 extensions and up to 15 concurrent external channels.
Abhishek, are you using centos or ubuntu. Try to install "PBX in a Flesh" great product and have FreePBX stable and bugfree.

How to execute RFT scripts on a remote machine

I have Rational Functional Tester installed on my local machine, and I have written some scripts. I need to run these scripts on a remote machine.
Research shows I should be:
using RATIONAL TEST MANAGER
but the Rational Test Manager is now obsolete, since 2010.
I tried putting the scripts on RQM and run it through the web on remote machine, but for scripts to run from RQM we need an adapter which resides on the local machine.
How do I run my RFT scripts on a remote machine without installing RFT there?
execute rft test script using agent controller?
"Post RFT 8.2.0.1 , to be able to execute a script on a remote machine RFT must be installed on that machine.
*****EDIT***
RFT's installation is a complete package installation ,meaning when you install RFT it installs a complete product that is capable of recording /playback scripts on all the supported domains.
So it's not possible to say that on this machine X install only the recorder and on the machine Y install only the playback engine.
Another approach perhaps could be to have some kind of tool on the server machine that would say that here is the script , go and execute on the machine Z , that does not have RFT installed .. but as the script may have controls recorded for all the domains (html/java/.net/SAP/Win32) all the supporting files DLLs /JARs (consiting of proxies and OS related shared libraries) would have to be transferred to that machine and that I think would be quite a task to do :) . So in my opinion it's not impossible but it's just not been done yet."
Answer Two:
"Wrong, it is not impossible. Just takes a lot of configuration. http://www-01.ibm.com/support/docview.wss?uid=swg21319598
To execute RFT scripts on a remote machine: Make sure the scripts (java or .net ) are compiled before deploy for remote execution. After they are compiled successfully, In order to start remote execution, on the master machine, the Test Manager needs to be installed and configured correctly.
The following is the configuration on the TM on the master machine: In the "Execution" tab, right click on "Computers", and add new computer,specify the computer name, property, and the port information, so TM will be able to locate the remote machine. The set up for the remote machine will be described separately for java script and .net script. For java script, the following is needed on the remote machine: Test Manager Test Agent. (can be installed from Test manager CD). Rational Functional Tester Test Agent.( can be installed from RFT installation package). For .net script, the following is needed on the remote machine: Test Manager Test Agent. (can be installed from Test manager CD). Rational Functional Tester Test Agent.( can be installed from RFT installation package). .Net framework.(Visual Studio is not needed on the remote machine, there is currently defect on this, reference to a separate tech note on the workaround for this, searching "remote execution with .net script").
Last, but not the least, If the customer's AUT is Windows/.net/SAP based, then .net framework needs to be installed on the remote machine regardless whether it is java scripting or .net scripting. This is because some part of RFT's code gets placed into the application during infestation, the RFT code for these applications are written in C#, so at run time, the .net framework is needed to playback successfully."

Resources