we tried to share sessionScope with jstl in one jeus(was) container.
There are many context in a container. jeus default setting didn't share the
session. we thought session cluster but that used to share many container session
that's how to share the session in one container with many context
WEBMAIN.xml
<session-config>
<distributable>true</distributable>
<shared>true</shared>
<timeout>600</timeout>
<reload-persistent>true</reload-persistent>
</session-config>
<session-server>
<primary-server>myGroup</primary-server>
</session-server>
JEUSMAIN.xml
<node>
<name>myGroup</name>
<session-server>
<type>primary</type>
<resolution>60000</resolution>
<connect-timeout>5000</connect-timeout>
<read-timeout>20000</read-timeout>
<passivation-to>-1</passivation-to>
<removal-to>1800000</removal-to>
<check-to>30000</check-to>
</session-server>
</node>
댓글 없음:
댓글 쓰기