I put the osgi address and port information into the bootstrap.properties file, but it wasn’t being picked up. A couple of hours later I found out why – the answer is that Liberty could see my bootstrap.properties file.
The command
ls -lT bootstrap.properties
gave
- untagged T=off -rwx------ 1 OMVSKERN SYS1 ... bootstrap.properties
which means the started task running Liberty did not have access to it, only the owner had rwx access. Java did not process it, because it could not see it.
I used the command
chmod 744 bootstrap.properties
and next time I started the Liberty instance, it could find the file.
My file had
osgi.console = 10.1.1.2:5400
The TSO command
tso netstat allconn (port 5400
saying – show all the connections which are, or were recently active, filtered by port 5400
gave
User Id Conn State
------- ---- -----
CSQ9WEB 00000139 Listen
Local Socket: ::ffff:10.1.1.2..5400
Foreign Socket: ::ffff:0.0.0.0..0
Showing it is active.