File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes problem encountered with clustering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "problem encountered with clustering" Watch "problem encountered with clustering" New topic

problem encountered with clustering

binu sukumar

Joined: Aug 07, 2001
Posts: 7
We are using ejb on Weblogic server with clustering. For stateful session beans,handle (javax.ejb.Handle) is stored in HttpSession and is reactivated whenever needed.
Problem is, when we stop one of the servers and run the application, handle reactivation is giving error.(NoSuchObject).
It seems, the handle is specific to one server instance of the cluster ,other server instances are not aware of this handle.
Any suggestions to solve this..,
Is this a set up issue..?
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
AFIK, you should chache the Remote interface and not the handle. Handle is supposed to be container specific and Remotes (& homes) are clusterable.
I agree. Here's the link:
subject: problem encountered with clustering
It's not a secret anymore!