<div dir="ltr"><div>[resending as the last one got held for moderation for some reason].</div><div><br></div><div>Hi All,</div><div><br></div><div>I&#39;ve been working on a fix for  <a href="https://issues.jboss.org/browse/WFCORE-950">https://issues.jboss.org/browse/WFCORE-950</a>, and while I think I have the problem mitigated, a couple of issues have turned up regarding starting &amp; stopping an embedded instance (either standalone or host-controller) and resetting / reloading modules. I&#39;m not sure if these are realistic goals for this, so I&#39;m asking here :)</div><div><br></div><div>1) Modules: during embedded start a module loader is obtained via Module.getBootModuleLoader(). This in turn initializes a static var to return it&#39;s BOOT_MODULE_LOADER. In the case of stopping an embedded server and restarting with a new --jboss-home-dir, subsequent module use continues to return the original BOOT_MODULE_LOADER.  I expect this isn&#39;t a normal use case of modules, so I&#39;m looking for some suggestions regarding perhaps the addition of a reset() method to Module or something similar to allow this behavior. Would this be a good idea? Other thoughts? (Note, I&#39;ll probably do this as a different change from #950.)</div><div><br></div><div>2) Property org.jboss.boot.log.file: This gets set on the first embedded server start, and I can&#39;t find where the actual logger is referencing the logfile in order to reset it to the new jboss-home-dir. Anyone have a clue for me? :^) Subsequent embedded servers continue to log to the previous server.log, which I expect will confuse people somewhat.</div><div><br></div><div>Thanks!</div><div><br></div><div>Ken</div></div>