Hi,
you should implement a retry in case you connect to a starting server. For example, in WildFly CLI we do: https://github.com/wildfly/wildfly-core/blob/main/cli/src/main/java/org/jboss/as/cli/impl/CommandContextImpl.java#L1463
JF.
--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/ca0ad504-dc55-481c-b91f-1ff258174aeen%40googlegroups.com.
As I feared, this just ends with the server in a deadlocked state. So another idea would be to delay deployment until WildFly is fully started and the management interface is available.Can anyone help with delaying deployment until WildFly is fully started by using the provided Windows Service?
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/1ebc47b4-7c50-439b-9620-b0ff6e4b20e6n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/50a7dcf1-daa5-4ab7-ad09-bcba36c228b5%40redhat.com.