본문 바로가기
WAS/JBOSS_WILDFLY

33. JBoss session timeout

by coldplayer83 2026. 3. 16.
728x90
반응형

https://docs.redhat.com/ko/documentation/red_hat_jboss_enterprise_application_platform/7.4/html/configuration_guide/undertow-config-http-session-timeout

 

17.11. HTTP 세션 시간 제한 구성 | Configuration Guide | Red Hat JBoss Enterprise Application Platform | 7.4 | Red Hat Do

Red Hat JBoss Enterprise Application Platform 형식멀티 페이지단일 페이지모든 문서를 PDF로 표시

docs.redhat.com

 

jboss의 session timeout은 어플리케이션의 web.xml 파일에 구성됨 - 어플리케이션 별 별도 적용

<web-app ...>
    <!-- 세션 타임아웃을 60분으로 설정하는 예시 -->
    <session-config>
        <session-timeout>60</session-timeout>
    </session-config>
</web-app>

 

Global 설정을 원한다면 jboss의 standalone-ha.xml 파일에 구성할 수 있음

cli에서 다음을 수행

https://docs.redhat.com/ko/documentation/red_hat_jboss_enterprise_application_platform/7.4/html/configuration_guide/undertow-config-http-session-timeout

 

standalone-ha.xml 파일에서 다음 내용이 추가됨을 볼 수 있음

 

기본값은 30분이며, 설정하지 않은 상태에서는 위 내용이 작성되어 있지 않음

0 이하로 설정시 세션이 만료되지 않음

 

web.xml과 standalone-ha.xml 둘 다 설정되어 있다면 어플리케이션(web.xml) > jboss(standalone-ha.xml) 순서로 적용됨

=> 어플리케이션 설정 우선

728x90
반응형

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

35. JBoss ERROR 코드  (0) 2026.04.01
34. JBoss 7.4 한글 깨짐 현상  (0) 2026.03.20
32. deployment-info  (0) 2026.01.23
31. 언어 설정 변경(charset)  (0) 2026.01.22
30. JBoss X-Forwarded-For(XFF) 설정  (0) 2026.01.16