The device the application and the database are deployed on is a Sierra Wireless FX30 modem. The output of ‘fwupdate query’ for firmware information is:
Firmware Version: SWI9X15Y_07.11.22.00 r33729 CARMD-EV-FRMWR1 2017/01/11 18:04:06
Bootloader Version: SWI9X15Y_07.11.22.00 r33729 CARMD-EV-FRMWR1 2017/01/11 18:04:06
Linux Version: 3.14.29ltsi-a00e464379_3f15cd39ad #2 PREEMPT Mon Feb 20 11:11:17 PST 2017
FX30 Version: R13.1.2.004
The tcp/ip socket is created from java code (through the jav.sql.DriverManager.getConnection method). The database connection was tested with the a) ij tool running from the FX30 linux command line (FX30) b) the ij tool running on my host computer (windows 7) c) my application when started from the linux command line (FX30). In all these cases the database connection is functional. The ij tool is a java cli application.
My application is executed through the legato af with the following directive on the .adef file:
// Run sh (shell) and pass it the script for it to run.
The point of starting through the legato is the automatic startup of the application.