Skip to content

Commit 2fd8bb2

Browse files
authored
Merge pull request #137 from jstourac/workaroundForWFLY-16588
[WFLY-16588] Workaround for WFLY-16588
2 parents ab06c7f + b06442a commit 2fd8bb2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/src/main/groovy/noe/server/AS7.groovy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import javax.net.ssl.SSLSocketFactory
3434
@Slf4j
3535
class AS7 extends ServerAbstract implements WorkerServer {
3636

37-
public static final String WELCOME_ROOT_CONTEXT = "Welcome to"
37+
public static final String WELCOME_ROOT_CONTEXT = ".*(Welcome to|HAL Management Console).*"
3838
public static final String ADDITIONAL_PARAMETERS_LIST = "ADDITIONAL_PARAMETERS_LIST"
3939
public static final String ADDITIONAL_ENV_VARIABLES_LIST = "ADDITIONAL_ENV_VARIABLES_LIST"
4040

@@ -315,6 +315,7 @@ class AS7 extends ServerAbstract implements WorkerServer {
315315
it.code 200
316316
it.enableJavaScript false
317317
it.content WELCOME_ROOT_CONTEXT
318+
it.contentAsRegex true
318319
it.timeout timeout * 1000
319320
it.webClient webClient
320321
it.swallowIOExceptions true
@@ -331,6 +332,7 @@ class AS7 extends ServerAbstract implements WorkerServer {
331332
it.code 200
332333
it.enableJavaScript false
333334
it.content WELCOME_ROOT_CONTEXT
335+
it.contentAsRegex true
334336
it.timeout timeout*1000
335337
it.swallowIOExceptions true
336338
it.webConnectionTimeout 25000

core/src/main/groovy/noe/server/AS7Domain.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import sun.reflect.generics.reflectiveObjects.NotImplementedException
2626
@Slf4j
2727
class AS7Domain extends ServerAbstract {
2828

29-
def static final WELCOME_ROOT_CONTEXT = '.*(Welcome to|JBoss Management).*'
29+
def static final WELCOME_ROOT_CONTEXT = '.*(Welcome to|JBoss Management|HAL Management Console).*'
3030

3131
AS7Cli as7Cli // cliClient abstraction for running cli commands and generating cli
3232
Version eapVersion // eap version

0 commit comments

Comments
 (0)