[Seasar-user:17879] Re: TomcatセッションレプリケーションでDTOの値が取得できない

Shunya Osanai [E-MAIL ADDRESS DELETED]
2009年 6月 30日 (火) 17:46:05 JST


$BD9Fb$G$9!#(B

$B$9$_$^$;$s!#>pJsDI2C$7$^$9!#(B

$BD4::$7$?FbMF$r0J2<$K5-:\$7$^$9!#(B

$B%5!<%P9=@.(B
$B!&(BLoad Balancer$B!J(BApache2.2$B!K(B
$B!&(BTomcat-A
$B!&(BTomcat-B

Tomcat-A$B$H(BTomcat-B$B$r%l%W%j%1!<%7%g%s(B(cluster$B![E-MAIL ADDRESS DELETED](B

$B-!(BTomcat-A$B$K@\B3$7$F%m%0%$%s>pJs!J(BUserDto$B!K$[E-MAIL ADDRESS DELETED](B

UserDto.java ---------------------------------------------
@Component(instance = InstanceType.SESSION)
public class UserDto implements Serializable {
private static final long serialVersionUID = 1L;
public String userId;
public String passWord;
public String userName;
}
-----------------------------------------------------------

$B-"(BTomcat-A$B$rDd;_!#(B
$B-#(BLoad Balancer$B$K$h$j(BTomcat-B$B$K!#(B
$B-$(BUserDto.userId$B$NCM$r;2>H$9$k$H!"(BNULL$B$H$J$C$F$$$k!#(B

$B"(%=!<%9$rDI$C$?$H$3$m!"(B
org.seasar.framework.container.deployer.SessionComponentDeployer$B$N(B
$B!!(Bdeploy() $B$N(B54$B9TL\(B sessionMap.get(componentName)$B$,(BNULL$B$H$J$j!"(BUserDto$B$,(B
$B=i4|2=$5$l$k$h$&$K8+$($^$9!#(B

$B$h$m$7$/$*4j$$CW$7$^$9!#(B



Seasar-user メーリングリストの案内