Download and Install Atomiton Stack (With provided download link)
Download A-Stack
Download the A-Stack Zip file that has been provided to you using the downloadable zip file link that has been provided to your email.
Install A-Stack
Prerequisite to Install
- Make sure you have Java JDK 1.8 installed on your system. Please note that A-Stack is not compatible with latest versions of JDK.
- Make sure JAVA_HOME variable is set up correctly
Installation Steps
Unzip A-Stack Bundle
- Open a terminal or cmd window and create a directory (say, atomiton-release)
- Run unzip <Name of the A-Stack Bundler Zip file>
Content Description
Once the bundle is unzipped you will following files and folder structure.
File/Folder Name | Description |
---|---|
bin | TQL Command Line Interface Tool (Windows: tql.bat; Linux: tql) |
lib | Libraries used by TQL Command Line Interface Tool |
syslib | Atomiton Provided Drivers associated with various protocol handlers. Please look at |
logs | Log files generated by A-Stack |
examples | Sample Models |
sff.local.config.xml | Add you local project specific settings here |
resources | Temporary store where you projects gets imported and stored |
sff.auto.launch | Folder containing runtime / 3rd party redistributable bundlers (Including Protocol Handlers prepackaged by Atomiton) |
tqlengineui | A-Stack Javascipt/HTML files |
atomiton.A-Stack.jar | A-Stack Runtime (Main one!) |
Starting A-Stack
- Please refer to TQL Command Line Interface Engine command-line start options to start A-Stack
Verify Installation
There are two ways you can verify that the engine has started successly
- Using TQL Command Line Interface Engine command with Status option
- Looking at the log file (logs/startup.log) which should display
Default Configuration
Default configuration settings of A-Stack
Default Engine Configuration Setting
<SffLocalConfig> <Deploy.Location>/Users/baseerkhan/iot/atomiton/atomiton-release/</Deploy.Location> <Project.Repository.Location>[:Deploy.Location:]resources</Project.Repository.Location> <sff.server.port>8080</sff.server.port> <sff.local.deploy></sff.local.deploy> </SffLocalConfig>
- A-Stack starts on port 8080 by default. You can edit this file to change the default settings.
Log Files
- A-Stack by default creates log files in logs folder in A-Stack folder
By default Log provider configured is Log4j with following Log4j properties files
Default Log4j settings#Log4J Properties : log4j.rootLogger=INFO, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=deviceEngine.log log4j.appender.R.MaxFileSize=50Mb # Keep one backup file log4j.appender.R.MaxBackupIndex=20 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=[%d] %p %c [%t] %m%n
Login to A-Stack TQL Console
Login and Password are CaseSensitive**
Login Password TQLEngine@atomiton.com tql123 Login URL
http://<hostipaddress>:<defaultPort>/app/index.html - Accept the Agreement
Next, let's try importing a sample project.