[
https://issues.jboss.org/browse/WFCORE-3937?page=com.atlassian.jira.plugi...
]
Stephen Buergler commented on WFCORE-3937:
------------------------------------------
This cleans it up too:
{code:Dockerfile}
FROM jboss/wildfly
RUN ./wildfly/bin/jboss-cli.sh "embed-server --std-out=echo, \
/system-property=ee8.preview.mode:add(value=true)"
FROM jboss/wildfly
COPY --from=0 /opt/jboss/wildfly/standalone/configuration/standalone.xml
/opt/jboss/wildfly/standalone/configuration/standalone.xml
{code}
I guess I kind of like it better because there are a bunch of other files that get
touched.
{noformat}
A /opt/jboss/wildfly/standalone/data/content
A /opt/jboss/wildfly/standalone/data/kernel/process-uuid
A /opt/jboss/wildfly/standalone/log/audit.log
A /opt/jboss/wildfly/standalone/log/server.log
A /opt/jboss/wildfly/standalone/tmp/vfs/temp
A /tmp/hsperfdata_jboss
{noformat}
Is it fine if all of my containers are running with the same process-uuid file?
Error when running configured wildfly
-------------------------------------
Key: WFCORE-3937
URL:
https://issues.jboss.org/browse/WFCORE-3937
Project: WildFly Core
Issue Type: Bug
Components: Management
Affects Versions: 5.0.0.Final
Reporter: Stephen Buergler
Assignee: Jeff Mesnil
Priority: Minor
Attachments: Dockerfile
08:32:20,676 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0056: Could
not rename /opt/jboss/wildfly/standalone/configuration/standalone_xml_history/current to
/opt/jboss/wildfly/standalone/configuration/standalone_xml_history/20180619-083220673:
java.nio.file.DirectoryNotEmptyException:
/opt/jboss/wildfly/standalone/configuration/standalone_xml_history/current
...
08:50:08,531 WARN [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0414: Could
not create a timestamped backup of current history dir
/opt/jboss/wildfly/standalone/configuration/standalone_xml_history/current, so it may
still include versions from the previous boot.
To reproduce:
docker build -t testing .
docker run --rm -it testing
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)