Unix: Installation Guide
This short guide shall enable you to install TIM on Unix.
Preconditions for UNIX
Database access preferably db_owner on either MySQL 8, SQL Server 2019 / 2022, or Oracle 19c according to our latest requirements in the release notes → Release Notes - Documentation EN - TIM BPM Documentation (atlassian.net)
Get additional tools if possible:
MSSQL Management Studio or MySQL Workbench
open Ports for incoming connections, such as 443/8443
Resources
TIM BPM Releases, please choose the latest TIM Version for this guide
Latest JDK 17 from Latest Releases | Adoptium or Downloads for Amazon Corretto 17 - Amazon Corretto 17 | a headless jdk can cause issues with the license module.
Installation
Create a folder tim under e.g /usr/local/
Create a user and group, e.g. tim that owns folder tim
Copy WildFly and WildFly JWT Delta into tim folder
Copy docs/contrib/scripts/systemd/launch.sh to bin/
Copy docs/contrib/scripts/systemd/wildfly.conf to /etc/default/
Copy docs/contrib/scripts/systemd/wildfly.service to /etc/systemd/system/
Open bin/standalone.conf to disable.
# TIM Solutions GmbH Configuration part # Feel free to edit this configuration below! #JAVA_OPTS="$JAVA_OPTS -Djboss.socket.binding.port-offset=0" #JAVA_OPTS="$JAVA_OPTS -Djboss.http.port=8080" #JAVA_OPTS="$JAVA_OPTS -Djboss.JDBC_CONNECTION=jdbc:sqlserver://database.fqdn:1433\;database=tim\;encrypt=true\;loginTimeout=30\;" #JAVA_OPTS="$JAVA_OPTS -Djboss.JDBC_DRIVER=sqlserver" #JAVA_OPTS="$JAVA_OPTS -Djboss.CHECK_ALIVE_QUERY='SELECT 1 FROM TIM_DUAL'" #JAVA_OPTS="$JAVA_OPTS -Djboss.DBUSER=tim" #JAVA_OPTS="$JAVA_OPTS -Djboss.DBPASSWORD=t1m"Open standalone/configuration/standalone-tim.xml to set datasources to the desired database.
SET ‘SELECT 1 FROM TIM_DUAL’
Check socket-binding for correct port offset
Open /usr/local/tim/wildfly-[VERSION].Final/standalone/configuration/tim.properties and add
keypair-password=changeitRun the following keytool command to create a jwt.keystore and add the key
keytool -genkey -alias jwt.key -keyalg RSA -keysize 2048 -keystore /usr/local/tim/wildfly-[VERSION].Final/standalone/configuration/jwt.keystore -storepass changeit -validity 900 -keypass changeitIterate through the questions
Open under /usr/local/tim/wildfly-[VERSION].Final/standalone/configuration/tim.properties to set default client and add initpass for custom passwords (after the initial init of the system credentials can be encrypted via admin panel). Comment out # to not make use of the default passwords.
default-client= #initpass-super-admin= #initpass-super-sys.support= #initpass-x-admin= #initpass-x-sys.support= #initpass-x-others=Encoding via the administration panel of secrets is possible after the initialization of the application.
Copy tim.ear and dashboard.war from TIM_x.x.x.zip into /usr/local/tim/wildfly-[VERSION].Final/standalone/deployments
Set WILDFLY_CONFIG=standalone-tim.xml in /etc/default/wildfly.conf
Set below parameters for /etc/systemd/system/wildfly.service
[Service] Environment=LAUNCH_JBOSS_IN_BACKGROUND=1 EnvironmentFile=-/etc/default/wildfly.conf User=tim LimitNOFILE=102642 PIDFile=/run/wildfly/wildfly.pid ExecStart=/usr/local/tim/wildfly-[VERSION].Final/bin/launch.sh $WILDFLY_MODE $WILDFLY_CONFIG $WILDFLY_BIND StandardOutput=nullEnable service with systemctl enable wildfly.service & systemctl daemon-reload
Run systemctl start wildfly.service and check server.log /usr/local/tim/wildfly-[VERSION].Final/standalone/log for any issues to resolve. Popular issues: closed ports, the network connection to the database, missing permissions, or antivirus tool intervention.
Open http://127.0.0.1:8080/loom-portal/hidden.htm to initialize the database. (InitDB)
Open Eclipse for license generation, ID Token, Multi or Single Node, Validity in month, Customer Name, values have to be provided from Ticket except ID and Node copy and paste license into customer page. Customers can order a license under https://webform.tim-solutions.de/licenserequest/
The difference between single and multi node license depends on the database instance. As soon as a multi node token is displayed, a multi node license should be ordered.
Open http://127.0.0.1:8080/loom-portal/license.htm to install the license as super/admin.
Log into super tenant http://localhost:8080/tim/client/ to create a customer tenant. Tenant Creation - Documentation EN - TIM BPM Documentation (atlassian.net)
Replace unencrypted Passwords with encrypted ones in /usr/local/tim/wildfly-[VERSION].Final/standalone/configuration/tim.properties
For further configuration - e.g SMTP, LDAP Auth & Sync or SSO with SAML - please check the links below.
Additional Configuration
https://tim-doc.atlassian.net/wiki/spaces/eng/pages/227969903
https://tim-doc.atlassian.net/wiki/spaces/eng/pages/228102152/Module+Requirements#Mailserver
https://tim-doc.atlassian.net/wiki/spaces/eng/pages/228102152/Module+Requirements#SAML-2.0
https://tim-doc.atlassian.net/wiki/spaces/eng/pages/228102152/Module+Requirements#LDAP
https://tim-doc.atlassian.net/wiki/spaces/eng/pages/227871731
https://tim-doc.atlassian.net/wiki/spaces/eng/pages/228396550
Azure SaaS Considerations
Azure Application Gateway
App Gateway Listener
Check Firewall Port
Log into the customer tenant to configure SMTP settings or create customer accounts as per ticket.
© TIM Solutions GmbH | AGB | Datenschutz | Impressum