Description:
The Dockerfiles for all platforms create directories to store Java preferences in, however only the Ubuntu Dockerfile actually sets the system properties on the image to use them.
Affected Product Version:
6.0.0.1
OS, DB, other environment details and versions:
Project tag: v6.0.0.1 (d0d177a32d1f112f47d17122a19a98ea09bb10d2)
Base Images impacted: Alpine, Centos
Steps to reproduce:
cd docker-is/dockerfiles/centos/is
docker build -t wso2/wso2is:6.0.0-centos --build-arg "WSO2_SERVER_DIST_URL=https://wso2.org/path/to/wso2is-6.0.0.zip" .
docker run wso2/wso2is:6.0.0-centos
- Wait for Identity Server to finish launching, every 30 seconds warnings are logged:
[2022-09-08 06:36:05,783] [] WARN {java.util.prefs} - Could not lock System prefs. Unix error code 32508.
[2022-09-08 06:36:05,784] [] WARN {java.util.prefs} - Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
Related Issues
#356 Ubuntu Dockerfile passes incorrect java user preferences path to image
I will be submitting a pull request shortly with the fix.
Description:
The Dockerfiles for all platforms create directories to store Java preferences in, however only the Ubuntu Dockerfile actually sets the system properties on the image to use them.
Affected Product Version:
6.0.0.1
OS, DB, other environment details and versions:
Project tag:
v6.0.0.1(d0d177a32d1f112f47d17122a19a98ea09bb10d2)Base Images impacted: Alpine, Centos
Steps to reproduce:
cd docker-is/dockerfiles/centos/isdocker build -t wso2/wso2is:6.0.0-centos --build-arg "WSO2_SERVER_DIST_URL=https://wso2.org/path/to/wso2is-6.0.0.zip" .docker run wso2/wso2is:6.0.0-centosRelated Issues
#356 Ubuntu Dockerfile passes incorrect java user preferences path to image
I will be submitting a pull request shortly with the fix.