Organizations who utilize docker as their container solution will find iWay based docker images quite easy to create and organize. iWay uses its iWay 8 Maven Plugin in conjunction with other maven plugins to construct docker images.
Getting Started
Lets construct a docker image containing an iWay application. We first will create an iWay application under maven control. Please refer to Creating an Application Project with Maven for instructions on how to get started. This walk through assumes that you have docker installed on a machine along with IIT. Download & Installing docker can be found here.
Generating the Docker Image
Docker uses a Dockerfile for generating docker images. When enabling an Application Project to use Maven, IIT adds a docker file to the project as shown below.
Figure #1: Application Project with Maven support
The contents of this file are shown below. This script exposes the containers 9999, 9000 ports which can be mapped accordingly.
FROM java:8
RUN mkdir -p /ibi
COPY ./target/iway /ibi/iway8
RUN chmod -R 777 /ibi
# quietly add a user without password
RUN adduser --quiet --disabled-password --shell /bin/bash --home /home/ibi --gecos "User" iway
RUN echo "iway:iway" | chpasswd
RUN chmod +x /ibi/iway8/bin/*.sh
RUN chmod +x /ibi/iway8/iway8.sh
RUN chown -R iway:iway /ibi
USER iway
# Set environment variables.
ENV IWAY8SM /ibi/iway8
# Define working directory.
WORKDIR /ibi/iway8
EXPOSE 9999
EXPOSE 9900
EXPOSE 9901
CMD ["/ibi/iway8/iway8.sh","docker"]
To create an iWay docker image issue the following command as shown below:
D:\IIT\workspace\mydemo\bundle.iab>mvn package -P docker-image
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bundle 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- iway8-maven-plugin:8.0.3-SNAPSHOT:compile (default) @ mydemo ---
[iway8-plugin:compile] Building Application "bundle" in D:\IIT\workspace\mydemo\bundle.iab/bundle.iab
[INFO]
[INFO] --- iway8-maven-plugin:8.0.3-SNAPSHOT:runtimeimage (default) @ mydemo ---
[INFO] Deleting D:\IIT\workspace\mydemo\bundle.iab\target
[INFO] Configured Artifact: com.iwaysoftware:core-runtime:resources:8.0.3-SNAPSHOT:zip
Downloading: http://iwnexus:8081/nexus/content/groups/public/com/iwaysoftware/core-runtime/8.0.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://iwnexus:8081/nexus/content/groups/public/com/iwaysoftware/core-runtime/8.0.3-SNAPSHOT/maven-metadata.xml (821 B at 3.9 KB/sec)
[INFO] Unpacking C:\tools\mavenrepository\com\iwaysoftware\core-runtime\8.0.3-SNAPSHOT\core-runtime-8.0.3-SNAPSHOT-resources.zipto
D:\IIT\workspace\mydemo\bundle.iab\target\iway
with Includes null and excludes:null
[INFO] Configured Artifact: com.iwaysoftware:core-runtime:resources:8.0.3-SNAPSHOT:zip
[INFO] core-runtime-8.0.3-SNAPSHOT-resources.zip already unpacked.
[tree] Digested input for signed reference '': <edaxml xmlns:eda="http://iwaysoftware.com" timestamp="Wed Nov 28 18:10:58 EST 2018" version="6.0"><system><define><registers><parm name="ibse-port" type="integer">9000</parm></registers><agent><name comment="Returns input document to output destination" value="com.ibi.agents.XDCopyAgent">COPY</name></agent></define><settings><backups>5</backups><datadebugsize>4</datadebugsize><deadletter>deadletter</deadletter><ixtehome>./</ixtehome><log>true</log><logroot>log</logroot><info>true</info><error>true</error><warn>true</warn><wsafroot>sreg(iwayhome)/lib</wsafroot><wsdlroot>wsdl</wsdlroot><wsdriver>hsqldb</wsdriver><wsconn>jdbc:hsqldb:file:./ibsp</wsconn><wsdrivername>org.hsqldb.jdbcDriver</wsdrivername><wsuser>sa</wsuser><wspassword></wspassword><wsjdbcpool>false</wsjdbcpool><wspolicy>false</wspolicy><maxlogsize>512</maxlogsize><numlogstokeep>10</numlogstokeep><retryinterval>120</retryinterval><killinterval>60</killinterval><ucxpath>true</ucxpath><wsnsaware>true</wsnsaware></settings><properties><IBSP><prop name="DataStoreType">embedded</prop><prop name="DataProviderName">none</prop></IBSP><JDBC></JDBC></properties></system><listener protocol="soap">SOAP1<securityalgorithm>SunX509</securityalgorithm><encoding>UTF-8</encoding><precedence>1</precedence><active>true</active><count>3</count><linger>0</linger><srchar>%</srchar><keystoretype>JKS</keystoretype><timeout>2</timeout><port>SREG(ibse-port)</port><optimize>performance</optimize><securityprotocol>TLS</securityprotocol><flat>false</flat><autoReply>false</autoReply><truststoretype>JKS</truststoretype><needclientauth>false</needclientauth><localtrans>false</localtrans><securityprovider>com.sun.net.ssl.internal.ssl.Provider</securityprovider><file>cache</file><errpremit>false</errpremit><maxcount>10</maxcount></listener></edaxml>
[tree] Digested input for signed reference '': <IWAYCONFIG timestamp="Wed Nov 28 18:10:59 EST 2018" version="6.1"><Configurations master="base"><Configuration current_version="1.0" description="" name="base" port="9999"><Instances><Instance dictionary="base.xml" hidden="false" label="" location="./config/base/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration current_version="1.0" description="" hidden="true" name="raw" port="81"><Instances><Instance dictionary="raw.xml" label="" location="./config/raw/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration application="true" current_version="1.0" description="Deployed Locally" hidden="false" name="bundle" port="10000"><Instances><Instance dictionary="bundle.xml" label="" location="./config/bundle/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="binding address for multi-homed console host" name="BINDADDR" value=""></Property><Property description="whitelist of hostnames and IP addresses from which connections are accepted" name="ALLOW" value=""></Property><Property description="authentication realm for console security" name="AUTH_REALM" value="consolerealm"></Property><Property description="User ID that the console will use to communicate with this iSM instance, must be valid in the specified auth realm; default is master config setting" name="ADMIN_ID" value=""></Property><Property description="Password for console admin user; default is master config setting" name="ADMIN_PASSWORD" value=""></Property><Property description="" name="SYS_LOG_LEVEL" value=""></Property><Property description="" name="CONSOLEIDLE" value=""></Property><Property description="" name="LANGUAGE" value=""></Property></Properties></Instance></Instances></Configuration></Configurations><Users admin="iway,admin"><User create="true" delete="true" description="primary user" fullName="iway" name="iway" password="ENCR(3221324531043128312232252993153)" restart="true" stop="true"></User><User create="true" delete="true" description="administrator" fullName="admin" name="admin" password="ENCR(3157318132323177321823331003249221)" restart="true" stop="true"></User></Users><Groups><Group name="group1"><User name="iway"></User></Group></Groups><ACLS></ACLS></IWAYCONFIG>
[tree] Digested input for signed reference '': <IWAYCONFIG timestamp="Wed Nov 28 18:10:59 EST 2018" version="6.1"><Configurations master="base"><Configuration current_version="1.0" description="" name="base" port="9999"><Instances><Instance dictionary="base.xml" hidden="false" label="" location="./config/base/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration current_version="1.0" description="" hidden="true" name="raw" port="81"><Instances><Instance dictionary="raw.xml" label="" location="./config/raw/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration application="true" current_version="1.0" description="Deployed Locally" hidden="false" name="bundle" port="10000"><Instances><Instance dictionary="bundle.xml" label="" location="./config/bundle/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="binding address for multi-homed console host" name="BINDADDR" value=""></Property><Property description="whitelist of hostnames and IP addresses from which connections are accepted" name="ALLOW" value=""></Property><Property description="authentication realm for console security" name="AUTH_REALM" value="consolerealm"></Property><Property description="User ID that the console will use to communicate with this iSM instance, must be valid in the specified auth realm; default is master config setting" name="ADMIN_ID" value=""></Property><Property description="Password for console admin user; default is master config setting" name="ADMIN_PASSWORD" value=""></Property><Property description="" name="SYS_LOG_LEVEL" value=""></Property><Property description="" name="CONSOLEIDLE" value=""></Property><Property description="" name="LANGUAGE" value=""></Property></Properties></Instance></Instances></Configuration></Configurations><Users admin="iway,admin"><User create="true" delete="true" description="primary user" fullName="iway" name="iway" password="ENCR(3221324531043128312232252993153)" restart="true" stop="true"></User><User create="true" delete="true" description="administrator" fullName="admin" name="admin" password="ENCR(3157318132323177321823331003249221)" restart="true" stop="true"></User></Users><Groups><Group name="group1"><User name="iway"></User></Group></Groups><ACLS></ACLS></IWAYCONFIG>
[tree] Digested input for signed reference '': <IWAYCONFIG timestamp="Wed Nov 28 18:10:59 EST 2018" version="6.1"><Configurations master="base"><Configuration current_version="1.0" description="" name="base" port="9999"><Instances><Instance dictionary="base.xml" hidden="false" label="" location="./config/base/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration current_version="1.0" description="" hidden="true" name="raw" port="81"><Instances><Instance dictionary="raw.xml" label="" location="./config/raw/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration application="true" current_version="1.0" description="Deployed Locally" hidden="false" name="bundle" port="10000"><Instances><Instance dictionary="bundle.xml" label="" location="./config/bundle/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="binding address for multi-homed console host" name="BINDADDR" value=""></Property><Property description="whitelist of hostnames and IP addresses from which connections are accepted" name="ALLOW" value=""></Property><Property description="authentication realm for console security" name="AUTH_REALM" value="consolerealm"></Property><Property description="User ID that the console will use to communicate with this iSM instance, must be valid in the specified auth realm; default is master config setting" name="ADMIN_ID" value=""></Property><Property description="Password for console admin user; default is master config setting" name="ADMIN_PASSWORD" value=""></Property><Property description="" name="SYS_LOG_LEVEL" value=""></Property><Property description="" name="CONSOLEIDLE" value=""></Property><Property description="" name="LANGUAGE" value=""></Property></Properties></Instance></Instances></Configuration></Configurations><Users admin="iway,admin"><User create="true" delete="true" description="primary user" fullName="iway" name="iway" password="ENCR(3221324531043128312232252993153)" restart="true" stop="true"></User><User create="true" delete="true" description="administrator" fullName="admin" name="admin" password="ENCR(3157318132323177321823331003249221)" restart="true" stop="true"></User></Users><Groups><Group name="group1"><User name="iway"></User></Group></Groups><ACLS></ACLS></IWAYCONFIG>
[tree] Digested input for signed reference '': <IWAYCONFIG timestamp="Wed Nov 28 18:10:59 EST 2018" version="6.1"><Configurations master="base"><Configuration current_version="1.0" description="" name="base" port="9999"><Instances><Instance dictionary="base.xml" hidden="false" label="" location="./config/base/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration current_version="1.0" description="" hidden="true" name="raw" port="81"><Instances><Instance dictionary="raw.xml" label="" location="./config/raw/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration application="true" current_version="1.0" description="Deployed Locally" hidden="false" name="bundle" port="10000"><Instances><Instance dictionary="bundle.xml" label="" location="./config/bundle/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="binding address for multi-homed console host" name="BINDADDR" value=""></Property><Property description="whitelist of hostnames and IP addresses from which connections are accepted" name="ALLOW" value=""></Property><Property description="authentication realm for console security" name="AUTH_REALM" value="consolerealm"></Property><Property description="User ID that the console will use to communicate with this iSM instance, must be valid in the specified auth realm; default is master config setting" name="ADMIN_ID" value=""></Property><Property description="Password for console admin user; default is master config setting" name="ADMIN_PASSWORD" value=""></Property><Property description="" name="SYS_LOG_LEVEL" value=""></Property><Property description="" name="CONSOLEIDLE" value=""></Property><Property description="" name="LANGUAGE" value=""></Property></Properties></Instance></Instances></Configuration></Configurations><Users admin="iway,admin"><User create="true" delete="true" description="primary user" fullName="iway" name="iway" password="ENCR(3221324531043128312232252993153)" restart="true" stop="true"></User><User create="true" delete="true" description="administrator" fullName="admin" name="admin" password="ENCR(3157318132323177321823331003249221)" restart="true" stop="true"></User></Users><Groups><Group name="group1"><User name="iway"></User></Group></Groups><ACLS></ACLS></IWAYCONFIG>
[tree] Digested input for signed reference '': <IWAYCONFIG timestamp="Wed Nov 28 18:10:59 EST 2018" version="6.1"><Configurations master="base"><Configuration current_version="1.0" description="" name="base" port="9999"><Instances><Instance dictionary="base.xml" hidden="false" label="" location="./config/base/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration current_version="1.0" description="" hidden="true" name="raw" port="81"><Instances><Instance dictionary="raw.xml" label="" location="./config/raw/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration application="true" current_version="1.0" description="Deployed Locally" hidden="false" name="bundle" port="10000"><Instances><Instance dictionary="bundle.xml" label="" location="./config/bundle/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="binding address for multi-homed console host" name="BINDADDR" value=""></Property><Property description="whitelist of hostnames and IP addresses from which connections are accepted" name="ALLOW" value=""></Property><Property description="authentication realm for console security" name="AUTH_REALM" value="consolerealm"></Property><Property description="User ID that the console will use to communicate with this iSM instance, must be valid in the specified auth realm; default is master config setting" name="ADMIN_ID" value=""></Property><Property description="Password for console admin user; default is master config setting" name="ADMIN_PASSWORD" value=""></Property><Property description="" name="SYS_LOG_LEVEL" value=""></Property><Property description="" name="CONSOLEIDLE" value=""></Property><Property description="" name="LANGUAGE" value=""></Property></Properties></Instance></Instances></Configuration></Configurations><Users admin="iway,admin"><User create="true" delete="true" description="primary user" fullName="iway" name="iway" password="ENCR(3221324531043128312232252993153)" restart="true" stop="true"></User><User create="true" delete="true" description="administrator" fullName="admin" name="admin" password="ENCR(3157318132323177321823331003249221)" restart="true" stop="true"></User></Users><Groups><Group name="group1"><User name="iway"></User></Group></Groups><ACLS></ACLS></IWAYCONFIG>
[tree] Digested input for signed reference '': <IWAYCONFIG timestamp="Wed Nov 28 18:10:59 EST 2018" version="6.1"><Configurations master="base"><Configuration current_version="1.0" description="" name="base" port="9999"><Instances><Instance dictionary="base.xml" hidden="false" label="" location="./config/base/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration current_version="1.0" description="" hidden="true" name="raw" port="81"><Instances><Instance dictionary="raw.xml" label="" location="./config/raw/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration application="true" current_version="1.0" description="Deployed Locally" hidden="false" name="bundle" port="10000"><Instances><Instance dictionary="bundle.xml" label="" location="./config/bundle/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="binding address for multi-homed console host" name="BINDADDR" value=""></Property><Property description="whitelist of hostnames and IP addresses from which connections are accepted" name="ALLOW" value=""></Property><Property description="authentication realm for console security" name="AUTH_REALM" value="consolerealm"></Property><Property description="User ID that the console will use to communicate with this iSM instance, must be valid in the specified auth realm; default is master config setting" name="ADMIN_ID" value=""></Property><Property description="Password for console admin user; default is master config setting" name="ADMIN_PASSWORD" value=""></Property><Property description="" name="SYS_LOG_LEVEL" value=""></Property><Property description="" name="CONSOLEIDLE" value=""></Property><Property description="" name="LANGUAGE" value=""></Property></Properties></Instance></Instances></Configuration></Configurations><Users admin="iway,admin"><User create="true" delete="true" description="primary user" fullName="iway" name="iway" password="ENCR(3221324531043128312232252993153)" restart="true" stop="true"></User><User create="true" delete="true" description="administrator" fullName="admin" name="admin" password="ENCR(3157318132323177321823331003249221)" restart="true" stop="true"></User></Users><Groups><Group name="group1"><User name="iway"></User></Group></Groups><ACLS></ACLS></IWAYCONFIG>
[tree] Digested input for signed reference '': <IWAYCONFIG timestamp="Wed Nov 28 18:10:59 EST 2018" version="6.1"><Configurations master="base"><Configuration current_version="1.0" description="" name="base" port="9999"><Instances><Instance dictionary="base.xml" hidden="false" label="" location="./config/base/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration current_version="1.0" description="" hidden="true" name="raw" port="81"><Instances><Instance dictionary="raw.xml" label="" location="./config/raw/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration application="true" current_version="1.0" description="Deployed Locally" hidden="false" name="bundle" port="10000"><Instances><Instance dictionary="bundle.xml" label="" location="./config/bundle/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="binding address for multi-homed console host" name="BINDADDR" value=""></Property><Property description="whitelist of hostnames and IP addresses from which connections are accepted" name="ALLOW" value=""></Property><Property description="authentication realm for console security" name="AUTH_REALM" value="consolerealm"></Property><Property description="User ID that the console will use to communicate with this iSM instance, must be valid in the specified auth realm; default is master config setting" name="ADMIN_ID" value=""></Property><Property description="Password for console admin user; default is master config setting" name="ADMIN_PASSWORD" value=""></Property><Property description="" name="SYS_LOG_LEVEL" value=""></Property><Property description="" name="CONSOLEIDLE" value=""></Property><Property description="" name="LANGUAGE" value=""></Property></Properties></Instance></Instances></Configuration></Configurations><Users admin="iway,admin"><User create="true" delete="true" description="primary user" fullName="iway" name="iway" password="ENCR(3221324531043128312232252993153)" restart="true" stop="true"></User><User create="true" delete="true" description="administrator" fullName="admin" name="admin" password="ENCR(3157318132323177321823331003249221)" restart="true" stop="true"></User></Users><Groups><Group name="group1"><User name="iway"></User></Group></Groups><ACLS></ACLS></IWAYCONFIG>
[tree] Digested input for signed reference '': <IWAYCONFIG timestamp="Wed Nov 28 18:10:59 EST 2018" version="6.1"><Configurations master="base"><Configuration current_version="1.0" description="" name="base" port="9999"><Instances><Instance dictionary="base.xml" hidden="false" label="" location="./config/base/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration current_version="1.0" description="" hidden="true" name="raw" port="81"><Instances><Instance dictionary="raw.xml" label="" location="./config/raw/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration application="true" current_version="1.0" description="Deployed Locally" hidden="false" name="bundle" port="10000"><Instances><Instance dictionary="bundle.xml" label="" location="./config/bundle/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="binding address for multi-homed console host" name="BINDADDR" value=""></Property><Property description="whitelist of hostnames and IP addresses from which connections are accepted" name="ALLOW" value=""></Property><Property description="authentication realm for console security" name="AUTH_REALM" value="consolerealm"></Property><Property description="User ID that the console will use to communicate with this iSM instance, must be valid in the specified auth realm; default is master config setting" name="ADMIN_ID" value=""></Property><Property description="Password for console admin user; default is master config setting" name="ADMIN_PASSWORD" value=""></Property><Property description="" name="SYS_LOG_LEVEL" value=""></Property><Property description="" name="CONSOLEIDLE" value=""></Property><Property description="" name="LANGUAGE" value=""></Property></Properties></Instance></Instances></Configuration></Configurations><Users admin="iway,admin"><User create="true" delete="true" description="primary user" fullName="iway" name="iway" password="ENCR(3221324531043128312232252993153)" restart="true" stop="true"></User><User create="true" delete="true" description="administrator" fullName="admin" name="admin" password="ENCR(3157318132323177321823331003249221)" restart="true" stop="true"></User></Users><Groups><Group name="group1"><User name="iway"></User></Group></Groups><ACLS></ACLS></IWAYCONFIG>
[tree] Digested input for signed reference '': <IWAYCONFIG timestamp="Wed Nov 28 18:10:59 EST 2018" version="6.1"><Configurations master="base"><Configuration current_version="1.0" description="" name="base" port="9999"><Instances><Instance dictionary="base.xml" hidden="false" label="" location="./config/base/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration current_version="1.0" description="" hidden="true" name="raw" port="81"><Instances><Instance dictionary="raw.xml" label="" location="./config/raw/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration application="true" current_version="1.0" description="Deployed Locally" hidden="false" name="bundle" port="10000"><Instances><Instance dictionary="bundle.xml" label="" location="./config/bundle/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="binding address for multi-homed console host" name="BINDADDR" value=""></Property><Property description="whitelist of hostnames and IP addresses from which connections are accepted" name="ALLOW" value=""></Property><Property description="authentication realm for console security" name="AUTH_REALM" value="consolerealm"></Property><Property description="User ID that the console will use to communicate with this iSM instance, must be valid in the specified auth realm; default is master config setting" name="ADMIN_ID" value=""></Property><Property description="Password for console admin user; default is master config setting" name="ADMIN_PASSWORD" value=""></Property><Property description="" name="SYS_LOG_LEVEL" value=""></Property><Property description="" name="CONSOLEIDLE" value=""></Property><Property description="" name="LANGUAGE" value=""></Property></Properties></Instance></Instances></Configuration></Configurations><Users admin="iway,admin"><User create="true" delete="true" description="primary user" fullName="iway" name="iway" password="ENCR(3221324531043128312232252993153)" restart="true" stop="true"></User><User create="true" delete="true" description="administrator" fullName="admin" name="admin" password="ENCR(3157318132323177321823331003249221)" restart="true" stop="true"></User></Users><Groups><Group name="group1"><User name="iway"></User></Group></Groups><ACLS></ACLS></IWAYCONFIG>
[tree] Digested input for signed reference '': <IWAYCONFIG timestamp="Wed Nov 28 18:10:59 EST 2018" version="6.1"><Configurations master="base"><Configuration current_version="1.0" description="" name="base" port="9999"><Instances><Instance dictionary="base.xml" hidden="false" label="" location="./config/base/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration current_version="1.0" description="" hidden="true" name="raw" port="81"><Instances><Instance dictionary="raw.xml" label="" location="./config/raw/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration><Configuration application="true" current_version="1.0" description="Deployed Locally" hidden="false" name="bundle" port="10000"><Instances><Instance dictionary="bundle.xml" label="" location="./config/bundle/" version="1.0"><Properties><Property description="external classes to be appended to classpath" name="POST_CLASSPATH" value=""></Property><Property description="external classes to be prepended to class path" name="PRE_CLASSPATH" value=""></Property><Property description="options to be applied at jvm startup" name="JVM_OPTION" value=""></Property><Property description="dlls to be added to java.library.path" name="JAVA_LIB_PATH" value=""></Property><Property description="signals the server to run the admin port in secure mode" name="SECURE" value="false"></Property><Property description="location of keystore file to be used in secure mode" name="KEYSTORE" value=""></Property><Property description="password to access the keystore" name="KEYSTORE_PWD" value=""></Property><Property description="type of the keystore" name="KEYSTORE_TYPE" value=""></Property><Property description="binding address for multi-homed console host" name="BINDADDR" value=""></Property><Property description="whitelist of hostnames and IP addresses from which connections are accepted" name="ALLOW" value=""></Property><Property description="authentication realm for console security" name="AUTH_REALM" value="consolerealm"></Property><Property description="User ID that the console will use to communicate with this iSM instance, must be valid in the specified auth realm; default is master config setting" name="ADMIN_ID" value=""></Property><Property description="Password for console admin user; default is master config setting" name="ADMIN_PASSWORD" value=""></Property><Property description="" name="SYS_LOG_LEVEL" value=""></Property><Property description="" name="CONSOLEIDLE" value=""></Property><Property description="" name="LANGUAGE" value=""></Property><Property description="list of services which must start first before iSM" name="NT_DEPENDENCIES" value=""></Property></Properties></Instance></Instances></Configuration></Configurations><Users admin="iway,admin"><User create="true" delete="true" description="primary user" fullName="iway" name="iway" password="ENCR(3221324531043128312232252993153)" restart="true" stop="true"></User><User create="true" delete="true" description="administrator" fullName="admin" name="admin" password="ENCR(3157318132323177321823331003249221)" restart="true" stop="true"></User></Users><Groups><Group name="group1"><User name="iway"></User></Group></Groups><ACLS></ACLS></IWAYCONFIG>
[tree] Digested input for signed reference '': <edaxml xmlns:eda="http://iwaysoftware.com" timestamp="Wed Nov 28 18:10:59 EST 2018" version="6.0"><system><define><registers><parm name="ibse-port" type="integer">9000</parm></registers><agent><name comment="Returns input document to output destination" value="com.ibi.agents.XDCopyAgent">COPY</name></agent><emitters></emitters><pflows></pflows></define><settings><backups>5</backups><datadebugsize>4</datadebugsize><deadletter>deadletter</deadletter><ixtehome>./</ixtehome><log>true</log><logroot>log</logroot><info>true</info><error>true</error><warn>true</warn><wsafroot>sreg(iwayhome)/lib</wsafroot><wsdlroot>wsdl</wsdlroot><wsdriver>hsqldb</wsdriver><wsconn>jdbc:hsqldb:file:./ibsp</wsconn><wsdrivername>org.hsqldb.jdbcDriver</wsdrivername><wsuser>sa</wsuser><wspassword></wspassword><wsjdbcpool>false</wsjdbcpool><wspolicy>false</wspolicy><maxlogsize>512</maxlogsize><numlogstokeep>10</numlogstokeep><retryinterval>120</retryinterval><killinterval>60</killinterval><ucxpath>true</ucxpath><wsnsaware>true</wsnsaware></settings><properties><IBSP><prop name="DataStoreType">embedded</prop><prop name="DataProviderName">none</prop></IBSP><JDBC></JDBC></properties><packages><package description="null" file="bundle.iia" stamp="1543446659378" tid="5003A17FB9C61BBD2F9FE2977ECEB6BF" time="2018-11-28T18:10:59Z" version="1">bundle</package></packages><validation></validation><transform><xslt></xslt><xmlg></xmlg></transform></system><listener protocol="soap">SOAP1<securityalgorithm>SunX509</securityalgorithm><encoding>UTF-8</encoding><precedence>1</precedence><active>true</active><count>3</count><linger>0</linger><srchar>%</srchar><keystoretype>JKS</keystoretype><timeout>2</timeout><port>SREG(ibse-port)</port><optimize>performance</optimize><securityprotocol>TLS</securityprotocol><flat>false</flat><autoReply>false</autoReply><truststoretype>JKS</truststoretype><needclientauth>false</needclientauth><localtrans>false</localtrans><securityprovider>com.sun.net.ssl.internal.ssl.Provider</securityprovider><file>cache</file><errpremit>false</errpremit><maxcount>10</maxcount></listener></edaxml>
[INFO]
[INFO] --- dockerfile-maven-plugin:1.4.0:build (default) @ mydemo ---
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Building Docker context D:\IIT\workspace\mydemo\bundle.iab
[INFO]
[INFO] Image will be built as iway:latest
[INFO]
[INFO] Step 1/16 : FROM java:8
[INFO]
[INFO] Pulling from library/java
[INFO] Digest: sha256:c1ff613e8ba25833d2e1940da0940c3824f03f802c449f3d1815a66b7f8c0e9d
[INFO] Status: Image is up to date for java:8
[INFO] ---> d23bdf5b1b1b
[INFO] Step 2/16 : RUN mkdir -p /ibi
[INFO]
[INFO] ---> Using cache
[INFO] ---> 1727a71f3911
[INFO] Step 3/16 : COPY ./target/iway /ibi/iway8
[INFO]
[INFO] ---> 20704012aba5
[INFO] Step 4/16 : RUN chmod -R 777 /ibi
[INFO]
[INFO] ---> Running in cc5182226922
[INFO] Removing intermediate container cc5182226922
[INFO] ---> 0e405b1c21e4
[INFO] Step 5/16 : RUN adduser --quiet --disabled-password --shell /bin/bash --home /home/ibi --gecos "User" iway
[INFO]
[INFO] ---> Running in 076de53741c3
[INFO] Removing intermediate container 076de53741c3
[INFO] ---> 374e7d648e47
[INFO] Step 6/16 : RUN echo "iway:iway" | chpasswd
[INFO]
[INFO] ---> Running in bce28886e737
[INFO] Removing intermediate container bce28886e737
[INFO] ---> c77a679c3165
[INFO] Step 7/16 : RUN chmod +x /ibi/iway8/bin/*.sh
[INFO]
[INFO] ---> Running in a804fe68395c
[INFO] Removing intermediate container a804fe68395c
[INFO] ---> 81d580631e1e
[INFO] Step 8/16 : RUN chmod +x /ibi/iway8/iway8.sh
[INFO]
[INFO] ---> Running in 8d695d8f5ea9
[INFO] Removing intermediate container 8d695d8f5ea9
[INFO] ---> fb4ab86d5651
[INFO] Step 9/16 : RUN chown -R iway:iway /ibi
[INFO]
[INFO] ---> Running in 63a3e6dca360
[INFO] Removing intermediate container 63a3e6dca360
[INFO] ---> b7dc5f9dc3b0
[INFO] Step 10/16 : USER iway
[INFO]
[INFO] ---> Running in d8cf975874f1
[INFO] Removing intermediate container d8cf975874f1
[INFO] ---> 600794192bd4
[INFO] Step 11/16 : ENV IWAY8SM /ibi/iway8
[INFO]
[INFO] ---> Running in 1f83094bbded
[INFO] Removing intermediate container 1f83094bbded
[INFO] ---> e2fca5a76d2f
[INFO] Step 12/16 : WORKDIR /ibi/iway8
[INFO]
[INFO] ---> Running in 53a29b9c0b40
[INFO] Removing intermediate container 53a29b9c0b40
[INFO] ---> 813c5b750424
[INFO] Step 13/16 : EXPOSE 9999
[INFO]
[INFO] ---> Running in 28c71cdfafa6
[INFO] Removing intermediate container 28c71cdfafa6
[INFO] ---> 36e52a1148fd
[INFO] Step 14/16 : EXPOSE 9900
[INFO]
[INFO] ---> Running in 084393aca52a
[INFO] Removing intermediate container 084393aca52a
[INFO] ---> 9321a4fce44f
[INFO] Step 15/16 : EXPOSE 9901
[INFO]
[INFO] ---> Running in 1d75b326fab5
[INFO] Removing intermediate container 1d75b326fab5
[INFO] ---> 167abf28251d
[INFO] Step 16/16 : CMD ["/ibi/iway8/iway8.sh","docker"]
[INFO]
[INFO] ---> Running in aa861a894b97
[INFO] Removing intermediate container aa861a894b97
[INFO] ---> d6cdde73e22a
[INFO] [Warning] One or more build-args [JAR_FILE] were not consumed
[INFO] Successfully built d6cdde73e22a
[INFO] Successfully tagged iway:latest
[INFO]
[INFO] Detected build of image with id d6cdde73e22a
[INFO] Building jar: D:\IIT\workspace\mydemo\bundle.iab\target\mydemo-1.0-SNAPSHOT-docker-info.jar
[INFO] Successfully built iway:latest
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.716s
[INFO] Finished at: Wed Nov 28 18:11:35 EST 2018
[INFO] Final Memory: 34M/488M
[INFO] ------------------------------------------------------------------------
D:\IIT\workspace\mydemo\bundle.iab>
IIT Docker Explorer
IIT comes with an embedded docker explorer. As shown below the explorer is connected to a local Docker registry accessible via http://localhost:2375.
Figure #2: Docker Explorer
As shown above there is an "iway" entry in the registry. This represents our docker image we created up above. To create a running container right mouse click on the image as shown below:
Figure #3: Docker Explorer Running a Container
This will bring up the dialog as shown below which allows you to customize the container launch. For our purposes we will want to use the same ports as described in the docker file. To expose these ports as is, click on the check box pointed to as shown below. Once completed, click Finish.
Starting a Container
Figure #3: Docker Explorer Container Configuration
The Application will start and its console log will be shown in IIT as shown in Figure #4 below.
Figure #4: IIT Console View of iWay Docker Container running
To view the running container in the Docker Explorer in IIT click on the Containers folder as shown below.
Figure #5: Docker Explorer - Deployed Container
You should notice that our "iway:latest" docker image has been started with a generated container name of "loving_tesla". Also we can see that all the ports are mapped accordingly. The containers properties are all determined by its container configuration as shown in Figure 5.
For our test we will bring up the iWay runtime console running in the container. To do so bring up a browser and type in the following URL: http://localhost:9999
Login with default credentials of iway/iway for the userid and password. The browser should connect to the console as shown below.
Introduction
Many of today's organizations utilize Apache Maven in their software manufacturing process. iWay provides a maven plugin to both build and deploy artifacts within a maven manufacturing cycle.
The best resource for understanding what this plugin can do is to refer to the documentation as described below.
Lets take a look at how we can utilize this plugin in both building and deploying an iWay Application. To get started create a new Application Project and click on the check box "Use Maven" as shown below.
Figure #2 : iWay Application Project Creation
The Application Project wizard will prompt you for information for creating a valid Maven POM file.
By default many of these values do not need to be changed. However its best to read the pom.xml file to see how they are used.
Understanding POM.xml - Profiles
There are several maven profiles defined in the pom.xml to make calling it a bit easier.
They are defined in the pom file as shown below:
Maven Profiles
Name
Description
publish-iia
Publish an application archive to a server runtime instance.
unpublish-iia
Delete an application archive from a server runtime instance.
publish-template
Publish a deployment template to a server runtime instance.
unpublish-template
Delete a deployment template from a server runtime instance.
deploy
Deploy an iWay application as a runtime instance.
undeploy
Undeploy an iWay application from a server runtime instance
start
Start a deployed runtime instance.
stop
Stop a deployed runtmie instance.
docker-image
Create an iWay Application docker image.
Lets try and build, publish and deploy an iWay Application using the generated pom file.
Building an iWay Application
To build the iWay Application enter "mvn package" as shown below
D:\IIT\workspace\mydemo\bundle.iab>mvn package
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bundle 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- iway8-maven-plugin:8.0.3-SNAPSHOT:compile (default) @ mydemo ---
[iway8-plugin:compile] Building Application "bundle" in D:\IIT\workspace\mydemo\bundle.iab/bundle.iab
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.220s
[INFO] Finished at: Wed Nov 28 15:33:53 EST 2018
[INFO] Final Memory: 17M/491M
[INFO] ------------------------------------------------------------------------
D:\IIT\workspace\mydemo\bundle.iab>
iWay Application Publishing
To publish an iWay Application enter "mvn package" and invoke the profile as shown below:
D:\IIT\workspace\mydemo\bundle.iab>mvn package -P publish-iia
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bundle 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- iway8-maven-plugin:8.0.3-SNAPSHOT:compile (default) @ mydemo ---
[iway8-plugin:compile] Building Application "bundle" in D:\IIT\workspace\mydemo\bundle.iab/bundle.iab
[INFO]
[INFO] --- iway8-maven-plugin:8.0.3-SNAPSHOT:publish-application (default) @ mydemo ---
[iway8-plugin:publish-application] Uploading Application "bundle.iia" at D:\IIT\workspace\mydemo\bundle.iab\bundle.iia to http://localhost:9000
[iway8-plugin:publish-application] Logging in as iway...
[iway8-plugin:publish-application] Done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.392s
[INFO] Finished at: Wed Nov 28 15:43:49 EST 2018
[INFO] Final Memory: 17M/491M
[INFO] ------------------------------------------------------------------------
D:\IIT\workspace\mydemo\bundle.iab>
Deploying an iWay Application
To deploy an iWay Application enter "mvn package" and invoke the profile as shown below:
D:\IIT\workspace\mydemo\bundle.iab>mvn package -P deploy
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bundle 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- iway8-maven-plugin:8.0.3-SNAPSHOT:compile (default) @ mydemo ---
[iway8-plugin:compile] Building Application "bundle" in D:\IIT\workspace\mydemo\bundle.iab/bundle.iab
[INFO]
[INFO] --- iway8-maven-plugin:8.0.3-SNAPSHOT:deploy-application (default) @ mydemo ---
[iway8-plugin:deploy-application] Deploying Application "bundle" to http://localhost:9000 as "mydemo" using template "raw".
[iway8-plugin:deploy-application] Logging in as iway...
[iway8-plugin:deploy-application] Done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.581s
[INFO] Finished at: Wed Nov 28 16:11:21 EST 2018
[INFO] Final Memory: 18M/491M
[INFO] ------------------------------------------------------------------------
D:\IIT\workspace\mydemo\bundle.iab>
Starting the Application
To start an iWay Application enter "mvn package" and invoke the profile as shown below:
D:\IIT\workspace\mydemo\bundle.iab>mvn package -P start
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bundle 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- iway8-maven-plugin:8.0.3-SNAPSHOT:compile (default) @ mydemo ---
[iway8-plugin:compile] Building Application "bundle" in D:\IIT\workspace\mydemo\bundle.iab/bundle.iab
[INFO]
[INFO] --- iway8-maven-plugin:8.0.3-SNAPSHOT:start-application (default) @ mydemo ---
[iway8-plugin:start-application] Logging in as iway...
[iway8-plugin:start-application] Checking status...
[iway8-plugin:start-application] Deployed application "mydemo" on http://localhost:9000 is down
[iway8-plugin:start-application] Issuing start...
[iway8-plugin:start-application] Checking status...
[iway8-plugin:start-application] Application deployment mydemo is active.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.708s
[INFO] Finished at: Wed Nov 28 16:21:36 EST 2018
[INFO] Final Memory: 18M/491M
[INFO] ------------------------------------------------------------------------
D:\IIT\workspace\mydemo\bundle.iab>
Stopping the Application
To stop an iWay Application enter "mvn package" and invoke the profile as shown below:
D:\IIT\workspace\mydemo\bundle.iab>mvn package -P stop
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bundle 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- iway8-maven-plugin:8.0.3-SNAPSHOT:compile (default) @ mydemo ---
[iway8-plugin:compile] Building Application "bundle" in D:\IIT\workspace\mydemo\bundle.iab/bundle.iab
[INFO]
[INFO] --- iway8-maven-plugin:8.0.3-SNAPSHOT:stop-application (default) @ mydemo ---
[iway8-plugin:stop-application] Logging in as iway...
[iway8-plugin:stop-application] Checking status...
[iway8-plugin:stop-application] Deployed application "mydemo" on http://localhost:9000 is up
[iway8-plugin:stop-application] Issuing stop...
[iway8-plugin:stop-application] Checking status...
[iway8-plugin:stop-application] Application deployment mydemo is stopped.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.407s
[INFO] Finished at: Wed Nov 28 16:42:43 EST 2018
[INFO] Final Memory: 17M/491M
[INFO] ------------------------------------------------------------------------
D:\IIT\workspace\mydemo\bundle.iab>
Users who choose to script the deployment process using Apache ANT will find a rich set of ANT tasks to do so. When a user in IIT creates an application project a sample build.xml is created which ANT users can modify to script the process. This file is delivered to the user as part of the bundle as shown below.
Figure #1: Deployment Apache ANT Integration
To get started, click on the build.xml file as shown below and right-click the item as shown below.
Figure #2: Creating an ANT run configuration.
Figure #3: ANT Tasks defined in build.xml.
As we can see there are several ANT tasks available which can be executed. The target execution order can be set by clicking on the checkbox next to the ANT task . The order of the click defines the order of execution. When done, click on the Run button to execute.
The Test Drive
Now since we have introduced the basics lets perform a walk though. The iWay ANT libraries rely on resources provided through the ISM runtime. Normally this is provided by having the iWay runtime installed on the same machine as the running script.
Setting up the Environment
To get started set the IWAY8 environment variable to the location of IWAYHOME. On a Windows machine this is normally set to:
IWAY8=C:\Program Files (x86)\iway8\
The default build.xml assumes that the iWay Server is installed locally and that both the userid and/or password have remained the same. If any of these properties have changed the following code snippet needs to be changed.
At this point we can either use IIT to execute the ANT tasks or drop down into a command shell. For our test run we will navigate to the root directory of the application and drop into a command shell.
Building an Application
To build the iWay Application Project enter the following command:
c:\IIT\workspace\mydemo\bundle.iab>ant
Buildfile: c:\IIT\workspace\mydemo\bundle.iab\build.xml
build:
[iwbuild] Building Application "bundle" in c:\IIT\workspace\mydemo\bundle.iab/bundle.iab
BUILD SUCCESSFUL
Total time: 3 seconds
c:\IIT\workspace\mydemo\bundle.iab>
If we look into the application directory, we now have a "bundle.iia" as shown below:
c:\IIT\workspace\mydemo\bundle.iab>dir
Volume in drive D is Data
Volume Serial Number is BE42-230D
Directory of c:\IIT\workspace\mydemo\bundle.iab
11/19/2018 06:32 PM <DIR> .
11/19/2018 06:32 PM <DIR> ..
11/20/2018 11:12 AM 632 .iwresource
11/19/2018 03:19 PM 2,410 build.xml
11/20/2018 11:12 AM 274 bundle.iab
11/21/2018 01:30 PM 9,006 bundle.iia
11/19/2018 06:32 PM 1,935 bundle.pdf
5 File(s) 14,257 bytes
2 Dir(s) 252,279,369,728 bytes free
c:\IIT\workspace\mydemo\bundle.iab>
Publishing an Application
Now to deploy the application we must first upload it to an iWay server. We can do this by entering the following command ant upload as shown below:
c:\IIT\workspace\mydemo\bundle.iab>ant upload
Buildfile: c:\IIT\workspace\mydemo\bundle.iab\build.xml
upload:
[iwupload] Uploading Application "bundle" at c:\IIT\workspace\mydemo\bundle.iab to http://localhost:9000
[iwupload] Logging in as iway...
[iwupload] log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.HttpClient).
[iwupload] log4j:WARN Please initialize the log4j system properly.
[iwupload] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[iwupload] Done.
BUILD SUCCESSFUL
Total time: 1 second
c:\IIT\workspace\mydemo\bundle.iab>
Deploying an Application
The application is now available for deployment. To deploy the iWay application enter the following command: ant deploy as shown below:
c:\IIT\workspace\mydemo\bundle.iab>ant deploy
Buildfile: c:\IIT\workspace\mydemo\bundle.iab\build.xml
deploy:
[iwdeploy] Deploying Application "bundle" to http://localhost:9000 as "bundle" using template "raw".
[iwdeploy] Logging in as iway...
[iwdeploy] log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.HttpClient).
[iwdeploy] log4j:WARN Please initialize the log4j system properly.
[iwdeploy] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[iwdeploy] Done.
BUILD SUCCESSFUL
Total time: 1 second
c:\IIT\workspace\mydemo\bundle.iab>
Starting an Application
To start the iWay Application enter the following, ant start as shown below.
c:\IIT\workspace\mydemo\bundle.iab>ant start
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_131\lib\tools.jar
Buildfile: c:\IIT\workspace\mydemo\bundle.iab\build.xml
start:
[iwstart] Logging in as iway...
[iwstart] Checking status...
[iwstart] log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.HttpClient).
[iwstart] log4j:WARN Please initialize the log4j system properly.
[iwstart] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[iwstart] Deployed application "bundle" on http://localhost:9000 is down
[iwstart] Issuing start...
[iwstart] Checking status...
[iwstart] Application deployment bundle is active.
BUILD SUCCESSFUL
Total time: 8 seconds
c:\IIT\workspace\mydemo\bundle.iab>
Stopping an Application
To stop the iWay Application enter the following, ant stop as shown below.
c:\IIT\workspace\mydemo\bundle.iab>ant stop
Buildfile: c:\IIT\workspace\mydemo\bundle.iab\build.xml
stop:
[iwstop] Logging in as iway...
[iwstop] Checking status...
[iwstop] log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.HttpClient).
[iwstop] log4j:WARN Please initialize the log4j system properly.
[iwstop] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[iwstop] Deployed application "bundle" on http://localhost:9000 is up
[iwstop] Issuing stop...
[iwstop] Checking status...
[iwstop] Application deployment bundle is stopped.
BUILD SUCCESSFUL
Total time: 4 seconds
c:\IIT\workspace\mydemo\bundle.iab>
These are just a few tasks which can scripted using Apache ANT. For a more in depth description of the scripting capabilities please refer to the iWay SDK a standalone build system which enables organizations to implement DevOps patterns.
Sample ANT code generated by IIT
<?xml version="1.0" ?>
<project name="iaa" default="build" basedir=".">
<property environment="env"/>
<property name="iway.home" location="${env.IWAY8}"/>
<property name="new.template.name" value="uploaded" />
<property name="template.file.name" value="missing.ita" />
<property name="publishedtemplate.name" value="publishedtemplate" />
<property name="server.url" value="http://localhost:9000" />
<property name="server.user" value="iway"/>
<property name="server.password" value="ENCR(3237324531043128310632252993121)"/>
<property name="templateFile.path" value="${basedir}/../../mytemplate.ita" />
<import file="${iway.home}/etc/manager/deployment/iia/iway-ant-tasks.xml" optional="true" />
<!-- A sample target for building an IAA -->
<target name="build" description="Build an application archive">
<iwbuild />
</target>
<!-- A sample target for uploading an IAA -->
<!-- Add applicationFile parameter to upload an IIA other than the local one -->
<!-- (Example: applicationFile="c:\my_application.iia") -->
<target name="upload" description="Upload an application archive to the server">
<iwupload
serverURL="${server.url}"
userName="${server.user}"
password="${server.password}"
/>
</target>
<!-- A sample target for deleting a deployed IIA -->
<target name="undeploy" description="Undeploy an application">
<iwdelete
serverURL="${server.url}"
userName="${server.user}"
password="${server.password}"
/>
</target>
<!-- A sample target for deploying an IIA -->
<target name="deploy" description="Deploy an application">
<iwdeploy
serverURL="${server.url}"
userName="${server.user}"
password="${server.password}"
/>
</target>
<!-- A sample target for deploying an IIA -->
<target name="deploywithlocaltemplate" description="Deploy an application using template">
<iwdeploy
serverURL="${server.url}"
userName="${server.user}"
password="${server.password}"
templateArchiveFile="${templateFile.path}"
/>
</target>
<target name="deploywithpublishedtemplate" description="Deploy an application using a published template">
<iwdeploy
serverURL="${server.url}"
userName="${server.user}"
password="${server.password}"
templateName="${publishedtemplate.name}"
/>
</target>
<!-- A sample target for starting a deployed IIA -->
<target name="start" description="Start deployed application">
<iwstart
serverURL="${server.url}"
userName="${server.user}"
password="${server.password}"
/>
</target>
<!-- A sample target for stopping a deployed IIA -->
<target name="stop" description="Stop deployed application">
<iwstop
serverURL="${server.url}"
userName="${server.user}"
password="${server.password}"
/>
</target>
<!-- A sample target for uploading a Template -->
<target name="addtemplate" description="Upload an application archive to the server">
<iwaddtemplate
templateName="${new.template.name}"
fileName="${template.file.name}"
serverURL="${server.url}"
userName="${server.user}"
password="${server.password}"
/>
</target>
</project>
iWay offers several technologies to deploy an iWay Application. The most form can be found within the UI interface of iWay Integration Tools. To get started launch IIT and create an iWay Application Project. If you have one handy you can just skip this step. For those of you who require assistance in creating a project please refer to the instructions found here. In our example we use an application project named mydemo as shown below.
Figure :1 Application Project
Next, select the folder named “bundle” with the mydemo project. Right mouse click this item and select the menu item named “Application Deployment”.
Figure 2: Creating a Deployment Run Configuration
A standard Eclipse style run configuration is created as shown below.
Figure 3: Inside a Deployment Run Configuration
We can choose to run the configuration “as is” or customize the deployment by specifying values for the name of the deployment, a chosen console port or whether the deployment should be started accordingly.
Run Configuration Settings
Name
Description
onFailOperation
Could not perform the operation requested.
onInvalidStorageClass
The storage class you specified is not valid.
onNoSuchBucket
The specified bucket does not exist.
onFailUnreachable
The host was located but cannot be reached.
onFailConnect
Could not connect to the external system.
onInvalidVersion
Invalid Version
onFailTimeout
The operation timed out.
onNoSuchKey
The specified key does not exist.
onInvalidAccessKeyID
The AWS access key ID you provided does not exist in our records.
By clicking the “Run” button IIT will initiate deploying the application. On a success deployment, the IIT console tab should appear with messages similar to the ones displayed below.
[INFO]18:32:00 Building Application 'bundle'...
[INFO]18:32:07 Application 'bundle' built successfully.
[INFO]18:32:08 Deploying application 'bundle' using default template and deployment name 'bundle'...
[INFO]18:32:08 Application 'bundle' deployed successfully.
In the future if there is a need relaunch the deployment process this can easily be achieved by clicking on the run configuration as shown below.