Skip to content

Commit 5d094c0

Browse files
Merge branch 'master' of github.com:ibm-messaging/mq-container-mft
2 parents 3c4e16e + 925c9ce commit 5d094c0

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,27 @@ Step-by-step [guide](lab/README.md) to using agent container.
4646
1) Private key and trust stores are not yet supported for Protocol Bridge Agents. Hence only a userid and password combination must be used for connecting to FTP/SFTP/FTPS servers.
4747

4848
## Issues and contributions
49+
### Known issues
50+
51+
When using secure connections to queue manager, agent running in a container may log the following warning messages to console or agent's output0.log. Container will continue to run though.
52+
```
53+
[11/07/2022 07:32:16:099 GMT] 00000022 FileSystemPre W Could not lock User prefs. Unix error code 2.
54+
[11/07/2022 07:32:16:100 GMT] 00000022 FileSystemPre W Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
55+
56+
```
57+
58+
Do the following to resolve the warnings:
59+
1) Include the following environment variable in your deployment yaml if you are deploying in OpenShift Container Platform
60+
```
61+
- name: BFG_JVM_PROPERTIES
62+
value: -Djava.util.prefs.systemRoot=/jprefs/.java/.systemPrefs -Djava.util.prefs.userRoot=/jprefs/.java/.userPrefs
63+
64+
```
65+
2) Include the following environemt variable while running podman/docker runtime:
66+
```
67+
--env BFG_JVM_PROPERTIES=-Djava.util.prefs.systemRoot=/jprefs/.java/.systemPrefs -Djava.util.prefs.userRoot=/jprefs/.java/.userPrefs
68+
```
69+
4970

5071
For issues relating specifically to the container image, please use the [GitHub issue tracker](https://github.com/ibm-messaging/mft-cloud/issues). If you do submit a Pull Request related to this container image, please indicate in the Pull Request that you accept and agree to be bound by the terms of the [IBM Contributor License Agreement](CLA.md).
5172

@@ -61,4 +82,4 @@ Note: The IBM MQ Advanced for Developers license does not permit further distrib
6182

6283
## Copyright
6384

64-
© Copyright IBM Corporation 2020, 2022
85+
© Copyright IBM Corporation 2020, 2022

0 commit comments

Comments
 (0)