Wildfly로 세션 클러스트링을 할 경우에는 jboss-web.xml에 설정이 추가적으로 필요하다.

 

<jboss-web>
       <context-root>/</context-root>
        <replication-config>
                <replication-trigger>SET</replication-trigger>
                <replication-granularity>SESSION</replication-granularity>
        </replication-config>
</jboss-web>

 

replication-config 부분이 추가적으로 필요하다.

 

web.xml에는 distributable를 추가 해야 한다.

<distributable/>

+ Recent posts