gradle-cargo-plugin
gradle-cargo-plugin copied to clipboard
Wildfly10 fails to start when adding standalone.xml to configuration directory via configFile closure
I expect it's a problem with Cargo itself rather than this plugin. Manually copying the file to wildfly-10.0.0.Final/wildfly-10.0.0.Final/standalone/configuration/ works fine, however adding the following to the build script causes the task cargoStartLocal to hang indefinitely.
cargo {
containerId = "wildfly10x"
...
local {
configFile {
file = file("containerConfig/wildfly/standalone.xml")
toDir = "configuration"
}
The file is correctly copied to /tmp/cargo/conf/configuration/standalone.xml and none of the log files reports any errors. The app appears to deploy, but all connections are refused.
The last line in the log is:
INFO [org.jboss.as](Controller Boot Thread) WFLYSRV0025: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started in 9460ms - Started 444 of 739 services (394 services are lazy, passive or on-demand)
I thought I'd try a different container, yet the problem persists with each one I've tried: TomEE, Wildfly 9, Wildfly 10, Glassfish 4.