Thursday, May 7, 2020

Saturday, April 4, 2020

Termux on my Android One Nokia 6.2 smartphone running Android 9

Install Termux from the Play Store.

Run apt update && apt upgrade to make sure that certain handy tools are available.

Execute termux-setup-storage to ensure that permission to system storage is granted. Including other convenient stuff like symlinks to different storage folders.

To copy files from the phone to a PC, just use scp. On a Mac, make sure Sharing > Remote Login is enabled:

Then execute scp <source-file> <username>@<ip-address-target-pc>:<full-path-target-folder>


References:












Wednesday, November 13, 2019

Howto set TIBCO BusinessWorks Container Edition (BWCE) environment variables in AWS Fargate

When you want to run a Docker command in a new container, you use the -e flag for setting environment variables. Below you will find a list of Docker compatible environment variables that users can set during BusinessWorks Container Edition container (BWCE) deployment:

VariableDefault valuesDescription
BW_LOGLEVELERRORUsed to set a log level for the TIBCO BusinessWorks™ Container Edition application. The default value is ERROR. Supported values are:
  • INFO
  • DEBUG
  • WARN
  • ERROR
BW_ENGINE_THREADCOUNT8Used to set engine thread count for the TIBCO BusinessWorks™ Container Edition application.
BW_ENGINE_STEPCOUNT-1Used to set engine step count for the TIBCO BusinessWorks™ Container Edition application.
BW_APPLICATION_JOB_FLOWLIMITn/aUsed to set flow limit for TIBCO BusinessWorks™ Container Edition application.
APP_CONFIG_PROFILEdefaultName of the application profile that is to be used from a configuration management system such as ZUUL, Spring Cloud Config etc.
BW_PROFILEn/aUsed to set the name of the BusinessWorks profile from the application.
BW_JAVA_OPTSn/aUsed to set Java properties that are used at run time. The properties are specified using name-value pairs and are separated by spaces.
For example,
BW_JAVA_OPTS="-Dname=value -Dname=value"
In the AWS Fargate compute engine for Amazon ECS you can set environment variables in the Container Definition as part of your Task Definition. Below example shows how to set the loglevel to "DEBUG". 



Further reading:


  • A quick howto on deploying BWCE applications to AWS Fargate can be found here.
  • For more info on how to use other out-of-thebox logging capabilities of BWCE, check out this blog from Jurriaan Brandsma here