i try to simulate weblogic cluster on single machine. but why my weblogic installation can't replicate the session to another manage server? i try to listen from HttpSessionListener for any event (session create or destroy), but only one manage server that handling request and create the session. the other don't. where is my configuration wrong?
and when i try to access web without session, server will switched to handle the request. but when the already have the session, request will only stick on one server per session
i try to use weblogic 9 and 10.3. both behavior is the same.
here is my weblogic configuration :
Manage Server :
1. address (localhost:7004); name (ms1); machine (mcn1)
2. address (localhost:7005); name (ms2); machine (mcn1)
every session object on managed server is serializable.
and weblogic.xml on every manage server :
Cluster: Cluster messaging mode is multicast. i try MulticastTest, and its working fine.
Load balancing : i create new domain (localhost:7002) and use weblogic proxy for load balancing. just copy paste from the documentation.
weblogic.xml on proxy domain (load balancing)
web.xml (load balancing)
Mohammad Al Hadid
Joined: Jan 05, 2011
I think that you need to add the following tag to the weblogic.xml