본문 바로가기
WAS/JBOSS_WILDFLY

26. jboss-cli.sh connection

by coldplayer83 2025. 11. 3.
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
반응형

'WAS > JBOSS_WILDFLY' 카테고리의 다른 글

28. 핸들러(handler)  (0) 2025.12.15
27. Access log 설정  (0) 2025.11.24
25. jboss-deployment-structure.xml  (0) 2025.10.21
24. instance id 설정하기  (0) 2025.09.15
23. [JBoss 6, 7]웹서버 없이 세션 복제 테스트 하기  (0) 2025.09.11