I'm using WildFly with embedded ActiveMQ queues on a docker container. Every time I remove the container and create in again queues are emptied. I thought mounting /opt/jboss/wildfly-10.1.0.Final/standalone/data/activemq subfolders as docker volumes could be a solution:
After those changes WildFly simply fail to start with the following log:
2020-06-10 00:05:43,094 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final
2020-06-10 00:05:43,362 FATAL [org.jboss.as.server] (main) WFLYSRV0239: Aborting with exit code 1
Can anyone help me?
I'm using WildFly with embedded ActiveMQ queues on a docker container. Every time I remove the container and create in again queues are emptied. I thought mounting /opt/jboss/wildfly-10.1.0.Final/standalone/data/activemq subfolders as docker volumes could be a solution:
Before recreating the container I executed the following instructions in order to preserve existing messages
docker cp wildfly-container:/opt/jboss/wildfly-10.1.0.Final/standalone/data/activemq/bindings . docker cp wildfly-container:/opt/jboss/wildfly-10.1.0.Final/standalone/data/activemq/journal . docker cp wildfly-container:/opt/jboss/wildfly-10.1.0.Final/standalone/data/activemq/largemessages .
docker cp wildfly-container:/opt/jboss/wildfly-10.1.0.Final/standalone/data/activemq/paging .
After those changes WildFly simply fail to start with the following log:
2020-06-10 00:05:43,094 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final 2020-06-10 00:05:43,362 FATAL [org.jboss.as.server] (main) WFLYSRV0239: Aborting with exit code 1 Can anyone help me?