As part of one requirement i have created the package.tar file using the ioxclient in windows and uploaded the same tar in Kinetic application and deployed the application in to a respective gateway
But once the application deployed in the Gateway the application is not working as expected and facing the 2 different issues as follows,
“Invalid Archive file:Invalid Archive file: Mandatory metadata section is missing : app.apptype”
Please let me know am I doing any mistake while creating the tar file.
Steps followed to create tar as follows,
Ø Downloaded “iotsp-device-sdk-java-master” from Devnet.
Ø Built the application using the “gradlew clean build”.
Ø Copied the .tar file from lib folder to IOxClient package.
Ø Prepared the tar file using the “ioxclient package IOxPackage/“ command.
Showing application status as stopped instead of running and if I check in WatchDog.log file , it showing the message as follows ,
"App 2373_CS_FOG_APPLICATION_44687 Completed with exit code 2"
"Stopping the container"
Please let me know how can I build the working copy of the application through ioxclient ? Your help really helpful to me.
P.S:- I am using the java 1.8 version
... View more