Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

  1. 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.
  2. 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 NameDescription
binTQL Command Line Interface Tool (Windows: tql.bat; Linux: tql)
libLibraries used by TQL Command Line Interface Tool
syslib

Atomiton Provided Drivers associated with various protocol handlers.

Please look at

logsLog files generated by A-Stack
examplesSample Models
sff.local.config.xmlAdd you local project specific settings here
resourcesTemporary store where you projects gets imported and stored
sff.auto.launch

Folder containing runtime / 3rd party redistributable bundlers

(Including Protocol Handlers prepackaged by Atomiton)

tqlengineuiA-Stack Javascipt/HTML files
atomiton.A-Stack.jarA-Stack Runtime (Main one!)


Starting A-Stack

Verify Installation

There are two ways you can verify that the engine has started successly

  1. Using TQL Command Line Interface Engine command with Status option
  2. 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**

    LoginPassword
    TQLEngine@atomiton.comtql123
  • Login URL

    http://<hostipaddress>:<defaultPort>/app/index.html


  • Accept the Agreement


Next, let's try importing a sample project.


  • No labels