Thanks for the tip. I turned it on and I'll get back to you.
Are you running in domain mode by chance? You may be hitting [WFCORE-1577] After a full-replace-deployment operation a server on a hosts subsystem model is empty - JBoss Issue Track… .
James R. Perkins
You're right, thanks!
I'm pretty sure it's this related issue: [WFLY-6897] Replacing a disabled deployment destroys profile section of xml config - JBoss Issue Tracker
I was doing redeployments of disabled apps, indeed. The effect is probably noticable after a server restart, so I thought something was breaking in between the times I was using the VM.