본문 바로가기
WAS/JBOSS_WILDFLY

23. [JBoss 6, 7]웹서버 없이 세션 복제 테스트 하기

by coldplayer83 2025. 9. 11.
728x90
반응형

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

 

Without using Frontend WebServer how to Test Session Replication in EAP 6 and 7 - Red Hat Customer Portal

Is there a way to see whether HttpSession replication is working fine in my EAP6 servers without configuring a front end Load Balancer or WebServer. How to validate that session replication is indeed happening in EAP 6 and 7? How to test the session replic

access.redhat.com

 

1. 브라우저에서 어플리케이션 호출 후 JSESSIONID 확인

http://192.168.56.101:8080/welcome/session.jsp

 

2. 각 서버에서 아래 명령어로 동일한 JSESSIONID 전달

curl -v -XPOST http://192.168.56.101:8080/welcome/session.jsp --header "Cookie: JSESSIONID=pb7-B_d878b2yTbKIat0jIFZqqAjenAj_RCefCzc"
curl -v -XPOST http://192.168.56.102:8080/welcome/session.jsp --header "Cookie: JSESSIONID=pb7-B_d878b2yTbKIat0jIFZqqAjenAj_RCefCzc"

 

3. 로그에서 동일한 JSESSIONID 확인

1호기)

 

2호기)

728x90
반응형

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

25. jboss-deployment-structure.xml  (0) 2025.10.21
24. instance id 설정하기  (0) 2025.09.15
22. [JBoss 7] JDK 17 update  (0) 2025.09.05
21. DB 종류별 Datasource 설정  (1) 2025.08.11
20. 로그 레벨 변경  (0) 2025.08.06