WAS/JBOSS_WILDFLY

26. jboss-cli.sh connection

coldplayer83 2025. 11. 3. 16:01
728x90
반응형

https://access.redhat.com/solutions/377233

 

How to set connection-timeout for CLI connection in JBoss EAP? - Red Hat Customer Portal

How to set connection-timeout for CLI connection? Is there a way to set the connection-timeout in xml file of jboss-CLI? CLI interface non-responsive after inactive for a day. When trying to connect from jboss-cli.sh to the server it says the next error: T

access.redhat.com

 

jboss-cli.sh 실행시 연결 불가한 경우

 

1) WFLYPRT0023: The connection timed out

Failed to connect to the controller: The controller is not available at 192.168.56.101:9990: java.net.ConnectException: WFLYPRT0023: Could not connect to remote+http://192.168.56.101:9990. The connection timed out: WFLYPRT0023: Could not connect to remote+http://192.168.56.101:9990. The connection timed out

 

jboss-cli.sh의 timeout 값 설정 확인(기본값 5초)

$JBOSS_HOME/bin/jboss-cli.sh  --controller=$CONTROLLER_IP:$CONTROLLER_PORT --connect $@ --timeout=60000

 

2) WFLYPRT0053: The connection failed: 연결이 거부됨

Failed to connect to the controller: The controller is not available at 192.168.56.101:9990: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+http://192.168.56.101:9990. The connection failed: WFLYPRT0053: Could not connect to remote+http://192.168.56.101:9990. The connection failed: 연결이 거부됨

 

서버 리스닝 확인

1) 프로세스, 포트 확인

2) standalone-ha.xml 파일의 <interface name="management"> ip 확인

 

728x90
반응형