I am encountering problems when I am trying to use this plugin to connect to a Docker with Wildfly 11, but it is not necessarily a bug in this plugin.
When I'm trying to run:
./bin/jboss-cli.bat -c --controller=localhost:9990 -u=admin -p=admin --timeout=5000
It returns the following error message:
Failed to connect to the controller: The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0023: Could not connect to remote + http://localhost:9990. The connection was in range: WFLYPRT0023: Could not connect to remote + http://localhost:9990. The connection has timed out
However, when running with a longer timeout, I can connect without problems:
./bin/jboss-cli.bat -c --controller=localhost:9990 -u=admin -p=admin --timeout=20000
There is something strange between my Docker and jboss-cli.bat, which also happens with this plugin when I try to gradle deploy task, however in this plugin it is not possible to specify any timeout at all, and maybe 5 seconds is a bit low?
As this parameter already exists in jboss-cli.bat, would it be possible to add a timeout parameter to this plugin?
I'm using version 0.2.12 and below is part of my project build.gradle, with an intended timeout.
I am encountering problems when I am trying to use this plugin to connect to a Docker with Wildfly 11, but it is not necessarily a bug in this plugin.
When I'm trying to run:
./bin/jboss-cli.bat -c --controller=localhost:9990 -u=admin -p=admin --timeout=5000
It returns the following error message:
Failed to connect to the controller: The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0023: Could not connect to remote + http://localhost:9990. The connection was in range: WFLYPRT0023: Could not connect to remote + http://localhost:9990. The connection has timed out
However, when running with a longer timeout, I can connect without problems:
./bin/jboss-cli.bat -c --controller=localhost:9990 -u=admin -p=admin --timeout=20000
There is something strange between my Docker and jboss-cli.bat, which also happens with this plugin when I try to
gradle deploy
task, however in this plugin it is not possible to specify any timeout at all, and maybe 5 seconds is a bit low?As this parameter already exists in jboss-cli.bat, would it be possible to add a timeout parameter to this plugin?
I'm using version 0.2.12 and below is part of my project build.gradle, with an intended timeout.