<div dir="ltr"><div><div>$BBgCf$G$9!#(B<br><br></div>Tomcat$B$N%;%C%7%g%s%l%W%j%1!<%7%g%s$O%G%U%)%k%H$,%j%/%(%9%H$KBP$7$FHsF14|$N$?$a!"(B<br></div>Teeda$B$N$h$&$J(BPage$B$N=hM}$N8e%j%@%$%l%/%H$9$k$N$,86B'$J%U%l!<%`%o!<%/$N>l9g!"(B<br>$B%j%@%$%l%/%H$7$?8e$K%j%/%(%9%H@h$N(Btomcat$B$K(B($B%l%W%j%1!<%7%g%s$,$^$@=*$o$C$F$$$J$$$?$a(B)<br>$B%;%C%7%g%s>pJs$,$H$I$+$:!"%;%C%7%g%s$N>uBV$KIT@09g$,5/$-$k2DG=@-$,$"$j$^$9!#(B<br>

($B<+J,$,7P83$7$?$N$O(BTeeda$B$G$J$$%U%l!<%`%o!<%/$N$?$a!"$"$/$^$G2DG=@-$G$9$,(B...)<br><br><div>$B$3$l$rHr$1$k3N<B$JJ}K!$O!"%9%F%#%C%-!<%;%C%7%g%s$rJ;MQ$7$F!"%;%C%7%g%s%l%W%j%1!<%7%g%s$O(B<br>$B%5!<%P!<$K>c32$,5/$-$?>l9g$NJ]81$*$h$S!"%G%W%m%$;~$N%;%C%7%g%s7QB3$N<jCJ$H$7$F(B<br>$B;H$&!"$H$$$&$3$H$K$J$j$^$9!#(B<br><div><br><br></div></div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">2013$BG/(B9$B7n(B3$BF|(B 14:35 $B@>B<0l><(B <span dir="ltr">&lt;<a href="mailto:k-nishimura@ts.cnt.dnes.jp.nec.com" target="_blank">k-nishimura@ts.cnt.dnes.jp.nec.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

$B$*@$OC$K$J$C$F$*$j$^$9!#(B<br>
$B@>B<$H?=$7$^$9!#(B<br>
<br>
Tomcat$B$G$N%;%C%7%g%s%l%W%j%1!<%7%g%s$N<BAuJ}K!$K$D$$$F$*;G$$$7$^$9!#(B<br>
<br>
$B8=:_!"(B<br>
$B!!(BWEB(Apache)$B!_(B3 - LB - AP(Tomcat)$B!_(B2 - DB(MySQL)$B!_(B1<br>
$B$N9=@.$G(BTomcat$B$G$N%;%C%7%g%s%l%W%j%1!<%7%g%s$N<BAu$r8!F$$7$F$$$^$9!#(B<br>
<br>
$B2a5n$N(BML$B$r;29M$K2<5-$N$h$&$J<BAu$r9T$*$&$H9M$($F$$$k$N$G$9$,!"(B<br>
$B2?$+2aITB-$,$"$j$^$7$?$i$4;XE&$r$*4j$$$7$^$9!#(B<br>
<br>
<br>
1.Tomcat$B$N@_Dj(B<br>
$B!&(BTomcat$B$N(Bserver.xml$B$N(B&lt;Cluster&gt;$B%?%0$N%3%a%s%H%"%&%H$r2r=|$7!"M-8z$K$9$k(B<br>
$B!&(B&lt;Cluster&gt;$B%?%0$N(B&lt;Valve className=&quot;$B!A(B.ReplicationValve&quot;/&gt;$B$N=|30BP>]$+$i!V(B.*\.html$B!W$r:o=|$9$k(B<br>
<br>
2.$B%"%W%j$N@_Dj(B<br>
$B!&(Bweb.xml$B$K!V(B&lt;distributable/&gt;$B!W$rDI5-$9$k(B<br>
$B!&(Bhtml$B$G!V(B&lt;te:include&gt;$B!W$r;HMQ$7$F$$$k2U=j$d(BForm$BItIJ$K(Bid$BB0@-$r@_Dj$7!"!V(Bname=&quot;_idXX&quot;$B!W$,IUM?$5$l$J$$$h$&$K$9$k(B<br>
&nbsp;$B"(!V(B&lt;te:include&gt;$B!W0J30$KCm0U$,I,MW$J8D=j$O$"$j$^$9$+!)(B<br>
$B!&(BFilter$B$d(BIntercepter$B$GL@<(E*$K(BHttpSession#setAttribute()$B$r9T$&(B<br>
$B!!!!%$%s%?!<%;%W%?$X$N<BAu0F(B:<br>
&nbsp; &nbsp; public class SessionSetAttributeInterceptor extends AbstractInterceptor {<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; /** $B%7%j%"%k%P!<%8%g%s(BUID */<br>
&nbsp; &nbsp; &nbsp; &nbsp; private static final long serialVersionUID = 1L;<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; /**<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* $B%$%s%?%;%W%?$N%]%$%s%H%+%C%H;~$K8F$S=P$5$l$k%a%=%C%I(B<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/<br>
&nbsp; &nbsp; &nbsp; &nbsp; public Object invoke(MethodInvocation methodInvocation) throws Throwable {<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Object ret = methodInvocation.proceed();<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HttpSession httpSession = SingletonS2Container.getComponent(&quot;session&quot;);<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // $B%f!<%6>pJs(BDto<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Object objUserInfoDto = httpSession.getAttribute(&quot;userInfoDto&quot;);<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; httpSession.setAttribute(&quot;userInfoDto&quot;, objUserInfoDto);<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //TODO $B$=$NB>%;%C%7%g%s3JG<(BDto<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Teeda Extension<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Object objPageScope = httpSession.getAttribute(javax.faces.internal.scope.PageScope.class.getName());<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; httpSession.setAttribute(javax.faces.internal.scope.PageScope.class.getName(), objPageScope);<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Object objSubApplicationScope = httpSession.getAttribute(javax.faces.internal.scope.SubApplicationScope.class.getName());<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; httpSession.setAttribute(javax.faces.internal.scope.SubApplicationScope.class.getName(), objSubApplicationScope);<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Object objRedirectScope = httpSession.getAttribute(javax.faces.internal.scope.RedirectScope.class.getName());<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; httpSession.setAttribute(javax.faces.internal.scope.RedirectScope.class.getName(), objRedirectScope);<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return ret;<br>
&nbsp; &nbsp; &nbsp; &nbsp; }<br>
&nbsp; &nbsp; }<br>
<br>
$B%7%9%F%`9=@.!'(B<br>
$B!&(BRedhat-Linux ES release 4<br>
$B!&(BApache2.0.52<br>
$B!&(Bjdk1.5.0.9<br>
$B!&(BTomcat 6.0.35<br>
$B!&(Bs2-framework 2.4.24<br>
$B!&(BTeeda 1.0.13-sp6<br>
$B!&(BMySQL 5.0.27<br>
<br>
$B;29M$K$7$?(BML:<br>
$B!&(B[Seasar-user:11433]<br>
$B!&(B[Seasar-user:17881]<br>
$B!&(B[Seasar-user:21674]<br>
<br>
_______________________________________________<br>
Seasar-user mailing list<br>
<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
<a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
</blockquote></div><br></div>