Changed to use the other method, thanks.

As far as domain mode is concerned, the ws part is working afaics. There're other service failures during the boot in domain mode if you remove the jmx subsystem, but unrelated to WS.